[Openmp-commits] [PATCH] D103443: [AMDGPU][Libomptarget] Remove g_atmi_machine global

Pushpinder Singh via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jun 1 02:25:17 PDT 2021


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

Turns out the only purpose of this class was verify if device ID
was in range or not which could be done easily by using g_atl_machine.

Still getting rid of g_atl_machine is pending which would be done in
a later patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103443

Files:
  openmp/libomptarget/plugins/amdgpu/impl/atmi.cpp
  openmp/libomptarget/plugins/amdgpu/impl/atmi_interop_hsa.cpp
  openmp/libomptarget/plugins/amdgpu/impl/atmi_runtime.h
  openmp/libomptarget/plugins/amdgpu/impl/rt.h
  openmp/libomptarget/plugins/amdgpu/impl/system.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103443.348911.patch
Type: text/x-patch
Size: 5702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210601/94f6ce75/attachment.bin>


More information about the Openmp-commits mailing list