This is an archive of the discontinued LLVM Phabricator instance.

[HIP] Add predefined macros __HIPCC__ and __HIP_DEVICE_COMPILE__
ClosedPublic

Authored by yaxunl on Apr 9 2018, 7:49 AM.

Diff Detail

Repository
rC Clang

Event Timeline

yaxunl created this revision.Apr 9 2018, 7:49 AM
rjmccall accepted this revision.Apr 14 2018, 6:21 AM

If so, LGTM.

lib/Frontend/InitPreprocessor.cpp
481

I assume these names are defined by the HIP spec.

This revision is now accepted and ready to land.Apr 14 2018, 6:21 AM
yaxunl marked an inline comment as done.Apr 17 2018, 8:30 AM
yaxunl added inline comments.
lib/Frontend/InitPreprocessor.cpp
481
tra accepted this revision.Apr 17 2018, 4:38 PM
This revision was automatically updated to reflect the committed changes.
yaxunl marked an inline comment as done.