https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110813

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
CUDA for memcpy2d/memcpy3d (quote from plugin-nvptx.c):
  /* TODO: Consider using CU_MEMORYTYPE_UNIFIED if supported.  */

  Or is this unreachable due to omp_target_memcpy_check's NULL
  setting of the device pointer for 


Further optimization:
  * PR 110840 for whether some locking could be removed


The patch mentioned in comment 0:

  *  has been committed as r14-2792-g25072a477a56a7
     ("[patch] OpenMP: Call cuMemcpy2D/cuMemcpy3D for nvptx for
omp_target_memcpy_rect")

  * Additionally, a follow-up cleanup patch is about to get committed,
cf. https://gcc.gnu.org/pipermail/gcc-patches/2023-July/625725.html
"[patch] libgomp: cuda.h and omp_target_memcpy_rect cleanup"

Reply via email to