This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget][amdgpu][nfc] Refactor #includes
ClosedPublic

Authored by JonChesterfield on Jul 21 2021, 9:00 AM.

Details

Summary

Create a hsa_api.h header that includes the ROCr headers in use
Drop some unused headers and _cplusplus macros

Diff Detail

Event Timeline

JonChesterfield requested review of this revision.Jul 21 2021, 9:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2021, 9:00 AM
  • drop unused hsa_ext_finalize.h
jdoerfert accepted this revision.Jul 21 2021, 9:13 AM

LG, one nit.

openmp/libomptarget/plugins/amdgpu/impl/hsa_api.h
2

Licence headers please.

This revision is now accepted and ready to land.Jul 21 2021, 9:13 AM
JonChesterfield marked an inline comment as done.Jul 21 2021, 9:19 AM
JonChesterfield added inline comments.
openmp/libomptarget/plugins/amdgpu/impl/hsa_api.h
2

It looks like a lot of the other files are marked up as MIT/ATMI. They don't have much in common with ATMI any more but I should check with the authors before changing the other files.

This revision was landed with ongoing or failed builds.Jul 21 2021, 9:28 AM
This revision was automatically updated to reflect the committed changes.
JonChesterfield marked an inline comment as done.