I'm trying to compile a dynamic parallelism example on CUDA and when i try to compile it gives and error saying,
kernel launch from __device__ or __global__ functions requires separate compilation modes
Later found that I have to set the --relocatable-device-code
flag to true
. But, is there a flag to set in order to make the set relocatable-device-code
to true
in Nsight Eclipse?