[Openmp-commits] [PATCH] D104695: [AMDGPU][Libomptarget] Collect allocatable memory pools using HSA
Pushpinder Singh via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jun 22 03:00:16 PDT 2021
pdhaliwal created this revision.
pdhaliwal added reviewers: JonChesterfield, ronlieb, carlo.bertolli.
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.
The logic is almost similar to that of system.cpp with one change that
instead of adding all the memory pools to a device struct it only
keeps a single pool. The existing approach also always allocated memory on
the first HSA pool found for a GPU.
This depends on D104691 <https://reviews.llvm.org/D104691>. The goal of this series of patches is to remove
_atl_machine global. The next patch will drop g_atl_machine entirely.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104695
Files:
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104695.353588.patch
Type: text/x-patch
Size: 7462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210622/be36f1ca/attachment-0001.bin>
More information about the Openmp-commits
mailing list