[all-commits] [llvm/llvm-project] 6de698: [OpenMP][AMDGPU] Switch host-device memory copy to...
carlobertolli via All-commits
all-commits at lists.llvm.org
Tue Dec 7 15:05:48 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6de698bf10996b532632bb9dfa9fd420c5af62af
https://github.com/llvm/llvm-project/commit/6de698bf10996b532632bb9dfa9fd420c5af62af
Author: Carlo Bertolli <carlo.bertolli at amd.com>
Date: 2021-12-07 (Tue, 07 Dec 2021)
Changed paths:
M openmp/libomptarget/plugins/amdgpu/impl/impl.cpp
M openmp/libomptarget/plugins/amdgpu/impl/impl_runtime.h
M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
Log Message:
-----------
[OpenMP][AMDGPU] Switch host-device memory copy to asynchronous version
Prepare amdgpu plugin for asynchronous implementation. This patch switches to using HSA API for asynchronous memory copy.
Moving away from hsa_memory_copy means that plugin is responsible for locking/unlocking host memory pointers.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D115279
More information about the All-commits
mailing list