diff options
| author | Pushpinder Singh <Pushpinder.Singh@amd.com> | 2021-06-28 11:27:05 +0000 |
|---|---|---|
| committer | Pushpinder Singh <Pushpinder.Singh@amd.com> | 2021-06-28 11:28:04 +0000 |
| commit | 20df2c7052c09934ce87ccc409da9d3dc24b7ca0 (patch) | |
| tree | 28c3312c04dbe76f91e6d9d0661a77e1beea1825 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 8474bb13c3270d4195a663013b95e6065075ce56 (diff) | |
| download | llvm-20df2c7052c09934ce87ccc409da9d3dc24b7ca0.zip llvm-20df2c7052c09934ce87ccc409da9d3dc24b7ca0.tar.gz llvm-20df2c7052c09934ce87ccc409da9d3dc24b7ca0.tar.bz2 | |
[AMDGPU][Libomptarget] Collect allocatable memory pools using HSA
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. The goal of this series of patches is to remove
_atl_machine global. The next patch will drop g_atl_machine entirely.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D104695
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
