This is an archive of the discontinued LLVM Phabricator instance.

[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
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.

Diff Detail

Event Timeline

pdhaliwal created this revision.Jun 1 2021, 2:25 AM
pdhaliwal requested review of this revision.Jun 1 2021, 2:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2021, 2:25 AM
JonChesterfield accepted this revision.Jun 1 2021, 3:03 AM

Iirc it did more things in ATMI. Nice simplification here.

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
This revision was automatically updated to reflect the committed changes.