Skip to content
Snippets Groups Projects
Commit 11d8a4a5 authored by John Romein's avatar John Romein
Browse files

Merge branch 'update-source-embedding' into 'master'

Update symbol names to include full path

See merge request !10
parents bef32521 e44a439e
No related branches found
No related tags found
1 merge request!10Update symbol names to include full path
Pipeline #83185 passed
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <link.h> #include <link.h>
extern const char _binary_kernel_TCCorrelator_cu_start, _binary_kernel_TCCorrelator_cu_end; extern const char _binary_libtcc_kernel_TCCorrelator_cu_start, _binary_libtcc_kernel_TCCorrelator_cu_end;
namespace tcc { namespace tcc {
...@@ -78,7 +78,7 @@ cu::Module Correlator::compileModule(unsigned nrBits, ...@@ -78,7 +78,7 @@ cu::Module Correlator::compileModule(unsigned nrBits,
//std::for_each(options.begin(), options.end(), [] (const std::string &e) { std::cout << e << ' '; }); std::cout << std::endl; //std::for_each(options.begin(), options.end(), [] (const std::string &e) { std::cout << e << ' '; }); std::cout << std::endl;
const std::string source(&_binary_kernel_TCCorrelator_cu_start, &_binary_kernel_TCCorrelator_cu_end); const std::string source(&_binary_libtcc_kernel_TCCorrelator_cu_start, &_binary_libtcc_kernel_TCCorrelator_cu_end);
nvrtc::Program program(source, "TCCorrelator.cu"); nvrtc::Program program(source, "TCCorrelator.cu");
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment