[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 16 11:56:58 PDT 2018
Hahnfeld added a comment.
In https://reviews.llvm.org/D50845#1202963, @hfinkel wrote:
> As a result, we should really have a separate header that has those actually-available functions. When targeting NVPTX, why don't we have the included math.h be CUDA's math.h? In the end, those are the functions we need to call when we generate code. Right?
That's what https://reviews.llvm.org/D47849 deals with.
Repository:
rC Clang
https://reviews.llvm.org/D50845
More information about the cfe-commits
mailing list