thrust
thrust copied to clipboard
Fix RDC flags on nvc++ builds.
nvcc defaults to rdc-off, nvc++ defaults to rdc-on. We need to explicitly enable or disable these flags for each CUDA target, rather than just enabling them when needed.
run tests
I understand the problem and agree with the goal of this. But I don't know CMake well enough to review the actual changes in any useful way.
run tests
Looks like this change exposed some bugs in nvc++ now that some translation units turn RDC off. I'll aim to reduce these and file some bug reports next week.
@miscco is looking into the nvc++ failures.
This will no longer be needed after an upcoming CMake refactoring.