I am using tesla k20 with compute capability 35 on Linux with CUDA 5.With a simple child kernel call it gives a compile error : Unresolved extern function cudaLaunchDevice
My command line looks like:
nvcc --compile -G -O0 -g -gencode arch=compute_35 , code=sm_35 -x cu -o fill.cu fill.o
I see cudadevrt.a
in lib64.. Do we need to add it or what coukd be done to resolve it? Without child kernel call everything works fine.