[Openmp-commits] [PATCH] D103115: [libomptarget][nfc][amdgpu] Remove atmi_status_t type

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue May 25 13:56:02 PDT 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, tianshilei1992, ye-luo, pdhaliwal, ronlieb.
Herald added subscribers: kerbowa, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
JonChesterfield requested review of this revision.
Herald added subscribers: openmp-commits, wdng.
Herald added a project: OpenMP.

[libomptarget][nfc][amdgpu] Remove atmi_status_t type

ATMI_STATUS_UNKNOWN was unused, deleted references to it.
Replaced ATMI_STATUS_{SUCCESS,ERROR} with HSA_STATUS_{SUCCESS,ERROR}
Replaced atmi_status_t with hsa_status_t

Otherwise no change. In particular, conversions between atmi_status_t and
hsa_status_t will now be conversions between hsa_status_t and itself.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103115

Files:
  openmp/libomptarget/plugins/amdgpu/impl/atmi.cpp
  openmp/libomptarget/plugins/amdgpu/impl/atmi.h
  openmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp
  openmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.h
  openmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h
  openmp/libomptarget/plugins/amdgpu/impl/data.cpp
  openmp/libomptarget/plugins/amdgpu/impl/internal.h
  openmp/libomptarget/plugins/amdgpu/impl/rt.h
  openmp/libomptarget/plugins/amdgpu/impl/system.cpp
  openmp/libomptarget/plugins/amdgpu/impl/utils.cpp
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103115.347779.patch
Type: text/x-patch
Size: 37831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210525/0097f352/attachment-0001.bin>


More information about the Openmp-commits mailing list