[PATCH] CUDA host device code with two code paths
jpienaar at google.com
Wed Dec 3 07:02:55 PST 2014
Creating CUDAIsDevice as language options (using fcuda-is-device frontend option). Using this flag instead of definition of __CUDA_ARCH__ to determine whether host/device compilation is occurring.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7570 bytes
Desc: not available
More information about the cfe-commits