cudadynamic-parallelism

Trouble compiling/running CUDA code involving dynamic parallelism


I am trying to use dynamic parallelism with CUDA, but I cannot go through the compilation step.

I am working on a GPU with Compute Capability 3.5 and the CUDA version 7.5.

Depending on the switches in the compile command I use, I am getting different error messages, but using the documentation,

I would like to understand how to correctly compile a CUDA dynamic code, because all the other compilation lines that I have tried so far have failed.


Solution

  • I fixed the problem by fully reinstalling CUDA.

    I'm now able to compile both the CUDA samples and my own code.