[PATCH] CUDA host device code with two code paths

Peter Collingbourne peter at pcc.me.uk
Mon Dec 1 11:11:34 PST 2014


There is already a flag for this, `-fcuda-is-device`. We should make that flag a `LangOption` and use it for this check.

http://reviews.llvm.org/D6457






More information about the cfe-commits mailing list