The first cuda example has the project property: 1.CUDA C/C++ -> Common -> Generate Rolocatable Device Code -> -rdc=true 2.CUDA Linker -> General -> Performan