[all-commits] [llvm/llvm-project] 20df2c: [AMDGPU][Libomptarget] Collect allocatable memory ...
pdhaliwal-amd via All-commits
all-commits at lists.llvm.org
Mon Jun 28 04:28:22 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 20df2c7052c09934ce87ccc409da9d3dc24b7ca0
https://github.com/llvm/llvm-project/commit/20df2c7052c09934ce87ccc409da9d3dc24b7ca0
Author: Pushpinder Singh <Pushpinder.Singh at amd.com>
Date: 2021-06-28 (Mon, 28 Jun 2021)
Changed paths:
M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list