Hacker News new | ask | show | jobs
by compiler-guy 60 days ago
Yes. And this is why the nvcc preprocessor is so effective at working with the various host compilers. It emulates properties of the host compiler so that the device code and host agree on things.

You can see some discussion here:

https://forums.developer.nvidia.com/t/nvcc-preprocessing/649...

1 comments

Thank you.

But i could not find Thibaut Lutz's presentation slides linked to in the above discussion. Any idea where i can find it?

I presume the control flow in the above presentation is the same as found in "The CUDA Compilation Trajectory" chapter in the NVCC documentation (cudafe++ is EDG) - https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index...