[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 12:21:50 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:
Maybe, this summon a signal from scratch was copied from another memcpy call. This should be slower, simpler and more robust than splicing it into the stream machinery, so better to land this version, see it goes through the testing, and then see if integration with the stream seems to work
https://github.com/llvm/llvm-project/pull/69955
More information about the Openmp-commits
mailing list