[PATCH] D50845: [CUDA/OpenMP] Define only some host macros during device compilation

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 30 11:24:13 PDT 2018


ABataev added a comment.

In https://reviews.llvm.org/D50845#1219709, @tra wrote:

> FYI. This breaks our CUDA compilation. I haven't figured out what exactly is wrong yet. I may need to unroll the patch if the fix is not obvious.


+1. I think this patch must be reverted, it breaks compilation on many platforms and requires manual fine-tuning.


Repository:
  rL LLVM

https://reviews.llvm.org/D50845





More information about the cfe-commits mailing list