[Bug libgomp/101581] [OpenMP] omp_target_memcpy – support inter-device memcpy

2023-07-28 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101581 --- Comment #2 from Tobias Burnus --- Thomas pointed out that, at least with CUDA, the cuMemcpyPeer function could be used (and cuMemcpy3DPeer for PR110813). (For cuMemcpy, there is also CU_MEMORYTYPE_UNIFIED which might be of some use.) BTW:

[Bug libgomp/101581] [OpenMP] omp_target_memcpy – support inter-device memcpy

2023-07-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101581 --- Comment #1 from Tobias Burnus --- For omp_target_memcpy_rect, see: "[patch] OpenMP: Call cuMemcpy2D/cuMemcpy3D for nvptx for omp_target_memcpy_rect" https://gcc.gnu.org/pipermail/gcc-patches/2023-July/625465.html