[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
Thu Aug 23 13:46:55 PDT 2018
Hahnfeld added a comment.
In https://reviews.llvm.org/D50845#1211463, @gregrodgers wrote:
> What am I missing?
As discussed above this patch doesn't fix this problem. However we need `__x86_64__` because `bits/wordsize.h` will use it to determine if we are 64- or 32-bit.
Repository:
rC Clang
https://reviews.llvm.org/D50845
More information about the cfe-commits
mailing list