[PATCH] D78392: [CUDA] Define __CUDACC__ before standard library headers
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 17 12:26:12 PDT 2020
tra added inline comments.
================
Comment at: clang/lib/Headers/__clang_cuda_runtime_wrapper.h:44
#include <stdlib.h>
// Preserve common macros that will be changed below by us or by CUDA
----------------
We should undef __CUDACC__ here to make sure it does not affect anything else in the headers we include further down.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78392/new/
https://reviews.llvm.org/D78392
More information about the cfe-commits
mailing list