[PATCH] D114812: [HIP] Add pre-defined macro `__HIPCC_RDC__`
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 30 12:06:58 PST 2021
tra added a comment.
In D114812#3162282 <https://reviews.llvm.org/D114812#3162282>, @yaxunl wrote:
> I am not sure whether we want to define a similar macro for cuda-clang.
> Maybe `__CLANG_RDC__` is better?
I think it would make sense. For CUDA compatibility we can the define __CUDACC_RDC__ in the wrapper headers.
CHANGES SINCE LAST ACTION
More information about the cfe-commits