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.
Paths
| Differential D103443
[AMDGPU][Libomptarget] Remove g_atmi_machine global ClosedPublic Authored by pdhaliwal on Jun 1 2021, 2:25 AM.
Details Summary Turns out the only purpose of this class was verify if device ID Still getting rid of g_atl_machine is pending which would be done in
Diff Detail
Event TimelineHerald added subscribers: kerbowa, t-tye, tpr and 5 others. · View Herald TranscriptJun 1 2021, 2:25 AM This revision is now accepted and ready to land.Jun 1 2021, 3:03 AM This revision was landed with ongoing or failed builds.Jun 1 2021, 5:34 AM Closed by commit rGfb113264a8da: [AMDGPU][Libomptarget] Remove g_atmi_machine global (authored by pdhaliwal). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 348911 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
|
clang-tidy: error: 'hsa.h' file not found [clang-diagnostic-error]
not useful