llvm-project/openmp/libomptarget/plugins
Shilei Tian 2695e23ad9 [OpenMP][CUDA] Fix the issue that P2P memcpy doesn't work
This patch fixes the issue that P2P memcpy doesn't work. The root cause is we didn't set current context when calling the API function. In addition, a matrix to track the states of each pair of devices is also added such that we only need to query and configure the device once.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D122764
2022-06-28 15:32:03 -04:00
..
aarch64
amdgpu [Libomptarget] Add test config for compiling in LTO-mode 2022-06-14 10:16:03 -04:00
common [Libomptarget] Remove global include directory from libomptarget 2022-05-13 14:38:47 -04:00
cuda [OpenMP][CUDA] Fix the issue that P2P memcpy doesn't work 2022-06-28 15:32:03 -04:00
generic-elf-64bit/src [LIBOMPTARGET] Adding AMD to llvm-omp-device-info 2022-06-09 11:58:39 +00:00
ppc64 Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
ppc64le Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
remote [Libomptarget][remote] Add OpenMP linker flag to the plugin 2022-04-21 15:45:29 -04:00
ve [Libomptarget] Remove global include directory from libomptarget 2022-05-13 14:38:47 -04:00
x86_64 Ensure newlines at the end of files (NFC) 2021-10-23 08:45:29 -07:00
CMakeLists.txt [Libomptarget] Add test config for compiling in LTO-mode 2022-06-14 10:16:03 -04:00
exports [OpenMP] Allow to explicitly deinitialize device resources 2022-03-07 23:43:04 -06:00