Can you remind me what the CUDA compilation model is currently? My memory was 
that the clang driver was eventually going to launch two -cc1 actions, one for 
device and one for host, presumably with different flags. I would expect that 
lib/Frontend/InitPreprocessor.cpp would define this macro when targeting the 
device.

If we're doing a single compilation with a fat object approach, we may need to 
do something weird to get this right. =/

http://reviews.llvm.org/D6457



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to