[Openmp-commits] [openmp] [amdgpu] Implement D2D memcpy as HSA call (PR #69955)
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Mon Oct 23 15:10:29 PDT 2023
================
@@ -2250,14 +2250,37 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
PinnedMemoryManager);
}
- /// Exchange data between two devices within the plugin. This function is not
- /// supported in this plugin.
+ /// Exchange data between two devices within the plugin.
Error dataExchangeImpl(const void *SrcPtr, GenericDeviceTy &DstGenericDevice,
void *DstPtr, int64_t Size,
AsyncInfoWrapperTy &AsyncInfoWrapper) override {
----------------
JonChesterfield wrote:
Streams approach in https://github.com/llvm/llvm-project/pull/69977/, seems to work equivalently to this one
https://github.com/llvm/llvm-project/pull/69955
More information about the Openmp-commits
mailing list