Skip to content
Snippets Groups Projects

Update symbol names to include full path

Merged Bram Veenboer requested to merge update-source-embedding into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -7,7 +7,7 @@
#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 {
@@ -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;
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");
try {
Loading