CUDA 5.5 - Relocatable device code causes unresolved external symbol -
i'm using cuda 5.5 , compiler vc2012. projects consists of 2 .cu files. need use dynamic parallelism have enabled "generate relocatable device code" option. option enabled following linking error:
error lnk2001: unresolved external symbol __fatbinwrap_54_tmpxft_0000110c_00000000_8_cuda_device_runtime_cpp1_ii_5f6993ef
if turn option off error disappears. error not depend on contents of files - if comment out in them (#if 0 .... #endif
empty files) still same error.
update: installed vc2010, , still exact same error message!
update 2: got tired whole thing took dynamic parallelism sample project vc2010 sdk samples (cdpsimpleprint), replaced files in , compiled. issue gone. tried compare settings between 2 projects, couldn't find anything. i don't know caused it, frankly, @ stage don't care already, long have workaround.
check linking cudadevrt library, see "compiling , linking" section in cuda dynamic parallelism programming guide more info.
Comments
Post a Comment