[PATCH] D50845: [CUDA/OpenMP] Define only some host macros during device compilation
Jonas Hahnfeld via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 25 06:32:59 PDT 2018
Hahnfeld updated this revision to Diff 162543.
Hahnfeld added a comment.
Based on libc++ I guessed some more macros that may be needed on macOS and Windows. As I can't test myself if somebody else could report if this change is regressing CUDA support on these platforms.
https://reviews.llvm.org/D50845
Files:
lib/Frontend/InitPreprocessor.cpp
test/Preprocessor/aux-triple.c
test/SemaCUDA/builtins.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50845.162543.patch
Type: text/x-patch
Size: 5969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180825/8621205b/attachment-0001.bin>
More information about the cfe-commits
mailing list