[Openmp-commits] [PATCH] D122764: [OpenMP][CUDA] Fix the issue that P2P memcpy doesn't work

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 6 08:00:16 PDT 2022


jdoerfert added inline comments.


================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:1064
+        return memcpyDtoD(SrcPtr, DstPtr, Size, Stream);
+      }
+
----------------
Do we want to do this every time? Is this costly the second time around? Should we keep a flag?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122764/new/

https://reviews.llvm.org/D122764



More information about the Openmp-commits mailing list