This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][Libomptarget][NFC] Split host and device malloc
ClosedPublic

Authored by pdhaliwal on May 31 2021, 12:21 AM.

Details

Summary

This patch splits the code path for host and device malloc.

Diff Detail

Event Timeline

pdhaliwal created this revision.May 31 2021, 12:21 AM
pdhaliwal requested review of this revision.May 31 2021, 12:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2021, 12:21 AM
JonChesterfield accepted this revision.May 31 2021, 2:28 AM

LGTM, thanks. Cleans up the call sites without changing the calls into HSA. Thanks for dropping the extern C shim too.

This revision is now accepted and ready to land.May 31 2021, 2:28 AM
This revision was landed with ongoing or failed builds.May 31 2021, 5:09 AM
This revision was automatically updated to reflect the committed changes.