You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use MPI communcation directly on sycl buffers. Currently, after looking in the documentation, I have to use USM and feed the USM pointer to MPI. So far it works in my tests, but it implies recoding sections of a code with USM instead of buffers ...
In Dpcpp i've tried several approaches, sadly the get_pointer method in accessors doesn't give access to the CUDA or HIP pointer, so far only copying the buffer to USM when needed seems the only option ...
So is there a way to expose the USM pointer to a sycl buffer in dpcpp to achieve the same result ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I want to use MPI communcation directly on sycl buffers. Currently, after looking in the documentation, I have to use USM and feed the USM pointer to MPI. So far it works in my tests, but it implies recoding sections of a code with USM instead of buffers ...
In HipSycl it is possible to use buffer/USM interop which solves the issue (cf https://hipsycl.github.io/hipsycl/extension/hipsycl-091-buffer-usm-interop/)
In Dpcpp i've tried several approaches, sadly the get_pointer method in accessors doesn't give access to the CUDA or HIP pointer, so far only copying the buffer to USM when needed seems the only option ...
So is there a way to expose the USM pointer to a sycl buffer in dpcpp to achieve the same result ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions