[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:23:45 PDT 2023

JonChesterfield wrote:

> I'm guessing it's impossible to make a test for this? Could we do a D2D memcpy on the same device and make sure that they are the same via a `memcmp`?

It's already implemented (and possibly tested) on cuda but there's no functional change from what we have at the moment that bounces through host memory. It mostly doesn't have a test because I don't think and of the CI have multiple GPUs and I haven't spent the time working out how to write an openmp test which behaves sanely with one or two gpus in this context.


More information about the Openmp-commits mailing list