[PATCH] D45441: [HIP] Add predefined macros __HIPCC__ and __HIP_DEVICE_COMPILE__
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 14 06:24:01 PDT 2018
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
If so, LGTM.
================
Comment at: lib/Frontend/InitPreprocessor.cpp:473
+ Builder.defineMacro("__HIP_DEVICE_COMPILE__");
+ }
}
----------------
I assume these names are defined by the HIP spec.
https://reviews.llvm.org/D45441
More information about the cfe-commits
mailing list