Code Monkey home page Code Monkey logo

Comments (7)

voutcn avatar voutcn commented on July 18, 2024

How about make clean and compile again?
BTW, which operating system, cuda version and GPU card are you using?

from megahit.

jregalad avatar jregalad commented on July 18, 2024

Linux deimos 3.13.0-34-generic #60~precise1-Ubuntu SMP Wed Aug 13 15:55:33 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Quadro K4200 Quadro K4200

nvcc -V
Cuda compilation tools, release 6.5, V6.5.12

Already tested make clean and recompiled without success.

from megahit.

voutcn avatar voutcn commented on July 18, 2024

@jregalad
I need more informations. Would you please log the messages output by make clean && make use_gpu=1 and paste them here?
Before I can provide you a solution, please download and use the binary release. If it still fail, please use the cpu-only counter-part first.

from megahit.

jregalad avatar jregalad commented on July 18, 2024

make clean && make use_gpu=1 STDOUT:
rm -fr .i .cubin *.cu.c *.cudafe .fatbin.c *.ptx *.hash *.cu.cpp *.o ..cpp
example/megahit_*out
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c succinct_dbg.cpp -o succinct_dbg.o
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c rank_and_select.cpp -o rank_and_select.o
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c assembly_algorithms.cpp -o assembly_algorithms.o
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c branch_group.cpp -o branch_group.o
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c options_description.cpp -o options_description.o
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c unitig_graph.cpp -o unitig_graph.o
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt assembler.cpp rank_and_select.o succinct_dbg.o assembly_algorithms.o branch_group.o options_description.o unitig_graph.o -lz -o megahit_assemble
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -D KMER_NUM_UINT64=2 iterate_edges.cpp options_description.o -lz -o megahit_iter_k61
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -D KMER_NUM_UINT64=3 iterate_edges.cpp options_description.o -lz -o megahit_iter_k92
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -D KMER_NUM_UINT64=4 iterate_edges.cpp options_description.o -lz -o megahit_iter_k124
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c cx1_functions.cpp -o .cx1_functions.o
"/usr/local/cuda/bin/nvcc" -arch=sm_30 lv2_gpu_functions.cu -Xptxas -v -Xcudafe -# -cuda --ptxas-options=-v -Xptxas -abi=no -m64 -I"/usr/local/cuda/bin/../include" -I. -O3 -DTUNE_ARCH=300 -DTUNE_SIZE=4 -o .lv2_ gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -c .lv
2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp -o .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o
g++ -O3 -Wall -funroll-loops -fprefetch-loop-arrays -fopenmp -std=c++0x -static-libgcc -lm -mpopcnt -L/usr/local/cuda/lib64/ -lcuda -lcudart sdbg_builder.cpp .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o .cx1_functions.o options_description.o -lz -o sdbg_builder_gpu

make clean && make use_gpu=1 STDERR:
In file included from succinct_dbg.cpp:21:0:
succinct_dbg.cpp: In member function ‘void SuccinctDBG::LoadFromFile(const char_)’:
succinct_dbg.cpp:338:34: warning: ignoring return value of ‘int fscanf(FILE_, const char_, ...)’, declared with attribute warn_unused_result [-Wunused-result]
succinct_dbg.cpp:339:45: warning: ignoring return value of ‘int fscanf(FILE_, const char_, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Front end time 1.33 (CPU) 1.00 (elapsed)
Back end time 0.03 (CPU) 0.00 (elapsed)
Total compilation time 1.36 (CPU) 1.00 (elapsed)
Front end time 0.09 (CPU) 0.00 (elapsed)
Back end time 0.02 (CPU) 0.00 (elapsed)
Total compilation time 0.12 (CPU) 0.00 (elapsed)
Front end time 1.23 (CPU) 1.00 (elapsed)
Back end time 0.11 (CPU) 0.00 (elapsed)
Total compilation time 1.34 (CPU) 1.00 (elapsed)
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas info : 32 bytes gmem
ptxas info : Compiling entry function 'ZN3cub11EmptyKernelIvEEvv' for 'sm_30'
ptxas info : Used 0 registers, 320 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3cub24RadixSortDownsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE18PtxDownsweepPolicyELb0EjjiEEvPT1_S5_PT2_S7_PT3_S8_iibbNS_13GridEvenShareIS8_EE' for 'sm_30'
ptxas info : Used 62 registers, 9400 bytes smem, 412 bytes cmem[0]
ptxas info : Compiling entry function 'Z18permutation_kernelPjS_S_j' for 'sm_30'
ptxas info : Used 7 registers, 348 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3cub22RadixSortUpsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE19PtxAltUpsweepPolicyELb0EjiEEvPT1_PT2_S6_iibNS_13GridEvenShareIS6_EE' for 'sm_30'
ptxas info : Used 35 registers, 4096 bytes smem, 388 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3cub22RadixSortUpsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE16PtxUpsweepPolicyELb0EjiEEvPT1_PT2_S6_iibNS_13GridEvenShareIS6_EE' for 'sm_30'
ptxas info : Used 35 registers, 8192 bytes smem, 388 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3cub24RadixSortDownsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE21PtxAltDownsweepPolicyELb0EjjiEEvPT1_S5_PT2_S7_PT3_S8_iibbNS_13GridEvenShareIS8_EE' for 'sm_30'
ptxas info : Used 59 registers, 5240 bytes smem, 412 bytes cmem[0]
ptxas info : Compiling entry function 'Z24reset_permutation_kernelPjj' for 'sm_30'
ptxas info : Used 4 registers, 332 bytes cmem[0]
ptxas info : Compiling entry function 'ZN3cub19RadixSortScanKernelINS_23DeviceRadixSortDispatchILb0EjjiE13PtxScanPolicyEiEEvPT0_i' for 'sm_30'
ptxas info : Used 47 registers, 4240 bytes smem, 332 bytes cmem[0], 4 bytes cmem[2]
/tmp/tmpxft_00001fff_00000000-3_lv2_gpu_functions.cudafe1.stub.c: In static member function ‘static cudaError_t cub::DeviceRadixSort::SortPairs(void
, size_t&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, cudaStream_t, bool) [with Key = unsigned int, Value = unsigned int, cudaError_t = cudaError, size_t = long unsigned int, cudaStream_t = CUstream_st
]’:
/tmp/tmpxft_00001fff_00000000-3_lv2_gpu_functions.cudafe1.stub.c:15:682: warning: ‘d_spine’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:831:9: note: ‘d_spine’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:820:14: warning: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::max_grid_size’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:820:14: warning: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::tile_size’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:707:1: warning: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::smem_config’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:820:14: note: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::smem_config’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:655:128: warning: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::radix_bits’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:820:14: note: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::radix_bits’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:716:1: warning: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:820:14: note: ‘alt_downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:819:14: warning: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::max_grid_size’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:819:14: warning: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::tile_size’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:707:1: warning: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::smem_config’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:819:14: note: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::smem_config’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:655:128: warning: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::radix_bits’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:819:14: note: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::radix_bits’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:716:1: warning: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:819:14: note: ‘downsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:828:128: warning: ‘scan_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::tile_size’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:818:14: note: ‘scan_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::tile_size’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:692:1: warning: ‘scan_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:818:14: note: ‘scan_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:817:14: warning: ‘alt_upsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::tile_size’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:672:1: warning: ‘alt_upsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:817:14: note: ‘alt_upsweep_config.cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::KernelConfig::block_threads’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:554:1: warning: ‘
((void
)& alt_downsweep_config +20)’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:820:14: note: ‘
((void
)& alt_downsweep_config +20)’ was declared here
cub/device/dispatch/device_radix_sort_dispatch.cuh:554:1: warning: ‘
((void
)& downsweep_config +20)’ may be used uninitialized in this function [-Wuninitialized]
cub/device/dispatch/device_radix_sort_dispatch.cuh:819:14: note: ‘((void)& downsweep_config +20)’ was declared here
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function __device_stub__ZN3cub22RadixSortUpsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE16PtxUpsweepPolicyELb0EjiEEvPT1_PT2_S6_iibNS_13GridEvenShareIS6_EE(unsigned int_, int_, int, int, int, bool, cub::GridEvenShare<int>&) [clone .constprop.84]': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x4c): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x70): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x88): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xa0): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xb8): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o:.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xce): more undefined references tocudaSetupArgument' follow .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function device_stub__ZN3cub22RadixSortUpsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE16PtxUpsweepPolicyELb0EjiEEvPT1_PT2_S6_iibNS_13GridEvenShareIS6_EE(unsigned int, int, int, int, int, bool, cub::GridEvenShare&) [clone .constprop.84]':
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x107): undefined reference to cudaLaunch' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functiondevice_stub__ZN3cub22RadixSortUpsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE19PtxAltUpsweepPolicyELb0EjiEEvPT1_PT2_S6_iibNS_13GridEvenShareIS6_EE(unsigned int, int, int, int, int, bool, cub::GridEvenShare&) [clone .constprop.85]':
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x13c): undefined reference to cudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x160): undefined reference tocudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x178): undefined reference to cudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x190): undefined reference tocudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1a8): undefined reference to cudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o:.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1be): more undefined references tocudaSetupArgument' follow
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function __device_stub__ZN3cub22RadixSortUpsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE19PtxAltUpsweepPolicyELb0EjiEEvPT1_PT2_S6_iibNS_13GridEvenShareIS6_EE(unsigned int_, int_, int, int, int, bool, cub::GridEvenShare<int>&) [clone .constprop.85]': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1f7): undefined reference to cudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function__device_stub__ZN3cub24RadixSortDownsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE18PtxDownsweepPolicyELb0EjjiEEvPT1_S5_PT2_S7_PT3_S8_iibbNS_13GridEvenShareIS8_EE(unsigned int_, unsigned int_, unsigned int_, unsigned int_, int_, int, int, int, bool, bool, cub::GridEvenShare<int>&) [clone .constprop.86]': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x23f): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x260): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x278): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x290): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2a8): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o:.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2c0): more undefined references tocudaSetupArgument' follow .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function device_stub__ZN3cub24RadixSortDownsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE18PtxDownsweepPolicyELb0EjjiEEvPT1_S5_PT2_S7_PT3_S8_iibbNS_13GridEvenShareIS8_EE(unsigned int*, unsigned int*, unsigned int*, unsigned int*, int*, int, int, int, bool, bool, cub::GridEvenShare&) [clone .constprop.86]':
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x369): undefined reference tocudaLaunch' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function device_stub__ZN3cub24RadixSortDownsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE21PtxAltDownsweepPolicyELb0EjjiEEvPT1_S5_PT2_S7_PT3_S8_iibbNS_13GridEvenShareIS8_EE(unsigned int*, unsigned int*, unsigned int*, unsigned int*, int*, int, int, int, bool, bool, cub::GridEvenShare&) [clone .constprop.87]':
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x3bf): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x3e0): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x3f8): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x410): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x428): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o:.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x440): more undefined references to cudaSetupArgument' follow
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function__device_stub__ZN3cub24RadixSortDownsweepKernelINS_23DeviceRadixSortDispatchILb0EjjiE21PtxAltDownsweepPolicyELb0EjjiEEvPT1_S5_PT2_S7_PT3_S8_iibbNS_13GridEvenShareIS8_EE(unsigned int_, unsigned int_, unsigned int_, unsigned int_, int_, int, int, int, bool, bool, cub::GridEvenShare<int>&) [clone .constprop.87]': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x4e9): undefined reference to cudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functionreset_permutation_kernel(unsigned int_, unsigned int)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x517): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x538): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x551): undefined reference to cudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functionpermutation_kernel(unsigned int_, unsigned int_, unsigned int_, unsigned int)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x581): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x5a0): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x5b8): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x5d0): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x5e9): undefined reference to cudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functionget_cuda_memory(unsigned long&, unsigned long&)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x605): undefined reference to cudaMemGetInfo'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function__device_stub__Z18permutation_kernelPjS_S_j(unsigned int_, unsigned int_, unsigned int_, unsigned int)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x654): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x678): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x690): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x6a8): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x6c1): undefined reference to cudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function__device_stub__Z24reset_permutation_kernelPjj(unsigned int_, unsigned int)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x6ea): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x710): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x729): undefined reference to cudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functionlv2_gpu_sort(unsigned int_, unsigned int_, int, long)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x7ab): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x8e0): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x907): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x91c): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xa30): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xa57): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xa6c): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xb80): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xbaa): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xbbf): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xcd0): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xcfa): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xd6d): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xe80): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xea2): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xf33): undefined reference tocudaConfigureCall' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0xfad): undefined reference to cudaMemcpy'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x101e): undefined reference tocudaConfigureCall' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x10aa): undefined reference to cudaMemcpy'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1125): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1144): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1163): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1182): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x119f): undefined reference tocudaLaunch' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x11ce): undefined reference to cudaMemcpy'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x11f1): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x127d): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x12bf): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1350): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1386): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1499): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x14df): undefined reference tocudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x14fe): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x151b): undefined reference tocudaLaunch' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1f2c): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1f60): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1fde): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x1fef): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2001): undefined reference to cudaFree'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2191): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x21a2): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x21b4): undefined reference tocudaFree' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2226): undefined reference to cudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2237): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2249): undefined reference to cudaFree'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x23f6): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x240d): undefined reference to cudaMalloc'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2453): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x246a): undefined reference to cudaMalloc'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x24b3): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x24ca): undefined reference to cudaMalloc'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2513): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x252a): undefined reference to cudaMalloc'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x2573): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x258a): undefined reference to cudaMalloc'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function__cudaUnregisterBinaryUtil()': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x13): undefined reference to cudaUnregisterFatBinary'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functioncuda_init()': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text+0x5f3): undefined reference to cudaFree'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functionvoid cub::EmptyKernel<void>()': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub11EmptyKernelIvEEvv[void cub::EmptyKernel<void>()]+0x11): undefined reference to cudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functionvoid cub::RadixSortScanKernel<cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::PtxScanPolicy, int>(int_, int)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub19RadixSortScanKernelINS_23DeviceRadixSortDispatchILb0EjjiE13PtxScanPolicyEiEEvPT0_i[void cub::RadixSortScanKernel<cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::PtxScanPolicy, int>(int_, int)]+0x17): undefined reference to cudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub19RadixSortScanKernelINS_23DeviceRadixSortDispatchILb0EjjiE13PtxScanPolicyEiEEvPT0_i[void cub::RadixSortScanKernel<cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::PtxScanPolicy, int>(int, int)]+0x38): undefined reference to cudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub19RadixSortScanKernelINS_23DeviceRadixSortDispatchILb0EjjiE13PtxScanPolicyEiEEvPT0_i[void cub::RadixSortScanKernel<cub::DeviceRadixSortDispatch<false, unsigned int, unsigned int, int>::PtxScanPolicy, int>(int*, int)]+0x51): undefined reference tocudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function __sti____cudaRegisterAll_52_tmpxft_00001fff_00000000_6_lv2_gpu_functions_cpp1_ii_5a5104b1()': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.startup+0xb): undefined reference tocudaRegisterFatBinary'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.startup+0x64): undefined reference to __cudaRegisterFunction' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.startup+0xa5): undefined reference tocudaRegisterFunction'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.startup+0xe6): undefined reference to __cudaRegisterFunction' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.startup+0x127): undefined reference tocudaRegisterFunction'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.startup+0x168): undefined reference to __cudaRegisterFunction' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o:.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.startup+0x1a9): more undefined references tocudaRegisterFunction' follow
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x51): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st
, bool)]+0x6f): undefined reference to cudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0xd1): undefined reference tocudaDeviceGetAttribute'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st
, bool)]+0xed): undefined reference to cudaDeviceGetAttribute' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x124): undefined reference tocudaDeviceGetAttribute'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x1da): undefined reference to cudaFuncGetAttributes' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x2fd): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x41d): undefined reference to cudaFuncGetAttributes' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x57c): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x82c): undefined reference to cudaFuncGetAttributes' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o:.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x96a): more undefined references tocudaFuncGetAttributes' follow
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0xe77): undefined reference tocudaDeviceGetSharedMemConfig'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0xf18): undefined reference to cudaDeviceSetSharedMemConfig' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0xfad): undefined reference tocudaConfigureCall'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0xfba): undefined reference to cudaPeekAtLastError' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x103c): undefined reference tocudaConfigureCall'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x1049): undefined reference to cudaPeekAtLastError' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x10e9): undefined reference tocudaConfigureCall'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x10f6): undefined reference to cudaPeekAtLastError' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x1159): undefined reference tocudaDeviceSetSharedMemConfig'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x11f9): undefined reference to cudaDeviceGetSharedMemConfig' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x1275): undefined reference tocudaDeviceSetSharedMemConfig'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x12fd): undefined reference to cudaConfigureCall' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x130a): undefined reference tocudaPeekAtLastError'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x1387): undefined reference to cudaConfigureCall' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x1394): undefined reference tocudaPeekAtLastError'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x142d): undefined reference to cudaConfigureCall' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x143a): undefined reference tocudaPeekAtLastError'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st, bool)]+0x1494): undefined reference to cudaDeviceSetSharedMemConfig' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x14a8): undefined reference tocudaDeviceSetSharedMemConfig'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x15ec): undefined reference to cudaStreamSynchronize' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x1640): undefined reference tocudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x165f): undefined reference to cudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x167c): undefined reference tocudaLaunch'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x16b4): undefined reference to cudaStreamSynchronize' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x181a): undefined reference tocudaStreamSynchronize'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x1839): undefined reference to cudaDeviceSetSharedMemConfig' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x1957): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x1a7e): undefined reference to cudaFuncGetAttributes' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x1ba0): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x1cff): undefined reference to cudaFuncGetAttributes' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x1fcf): undefined reference tocudaStreamSynchronize'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x2034): undefined reference to cudaSetupArgument' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x2053): undefined reference tocudaSetupArgument'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x2070): undefined reference to cudaLaunch' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x2082): undefined reference tocudaStreamSynchronize'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x2205): undefined reference to cudaStreamSynchronize' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x22a6): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x23c8): undefined reference to cudaFuncGetAttributes' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x24ea): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x2657): undefined reference to cudaFuncGetAttributes' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void*, unsigned long&, cub::DoubleBuffer<unsigned int>&, cub::DoubleBuffer<unsigned int>&, int, int, int, CUstream_st*, bool)]+0x2acb): undefined reference tocudaFuncGetAttributes'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o:.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub15DeviceRadixSort9SortPairsIjjEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb[cudaError cub::DeviceRadixSort::SortPairs<unsigned int, unsigned int>(void, unsigned long&, cub::DoubleBuffer&, cub::DoubleBuffer&, int, int, int, CUstream_st_, bool)]+0x2bed): more undefined references to cudaFuncGetAttributes' follow .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In functioncub::CachingDeviceAllocator::~CachingDeviceAllocator()':
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD2Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0x5e): undefined reference to cudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD2Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0x7e): undefined reference tocudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD2Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0xf9): undefined reference to cudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD2Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0x110): undefined reference tocudaFree'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function cub::CachingDeviceAllocator::DeviceFree(void*, int)': .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocator10DeviceFreeEPvi[cub::CachingDeviceAllocator::DeviceFree(void*, int)]+0x268): undefined reference tocudaGetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text.ZN3cub22CachingDeviceAllocator10DeviceFreeEPvi[cub::CachingDeviceAllocator::DeviceFree(void, int)]+0x281): undefined reference to cudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocator10DeviceFreeEPvi[cub::CachingDeviceAllocator::DeviceFree(void_, int)]+0x2fa): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocator10DeviceFreeEPvi[cub::CachingDeviceAllocator::DeviceFree(void*, int)]+0x30d): undefined reference tocudaFree' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.o: In function cub::CachingDeviceAllocator::~CachingDeviceAllocator()':
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD0Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0x66): undefined reference tocudaGetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD0Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0x86): undefined reference to cudaSetDevice'
.lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD0Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0x109): undefined reference tocudaSetDevice' .lv2_gpu_functions_4B_sm300_nvvm_6.5_abi_x86_64.cpp:(.text._ZN3cub22CachingDeviceAllocatorD0Ev[_ZN3cub22CachingDeviceAllocatorD5Ev]+0x120): undefined reference to cudaFree'
collect2: ld returned 1 exit status
make: *** [sdbg_builder_gpu] Error 1

from megahit.

jregalad avatar jregalad commented on July 18, 2024

@voutcn I'm missing libcudart.so.6.5 so I can't run the binary, is compilation failing also because of this?

from megahit.

jregalad avatar jregalad commented on July 18, 2024

@voutcn libcudart.so.6.5 found and linked, binary working

from megahit.

voutcn avatar voutcn commented on July 18, 2024

@jregalad
I guess so.
Please change -L/usr/local/cuda/lib64/ in https://github.com/voutcn/megahit/blob/master/Makefile#L147 to -L/PATH/TO/YOUR/CUDA/LIB/ and see if the compilation success.

from megahit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.