[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 16 08:04:16 PDT 2018


ABataev added a comment.

Maybe for device compilation we also should define `__NO_MATH_INLINES` and `__NO_STRING_INLINES` macros to disable inline assembly in glibc?


Repository:
  rC Clang

https://reviews.llvm.org/D50845





More information about the cfe-commits mailing list