- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Explicit data movement with USM , Whether one process can move data from host to device and another process move data from device to host?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel communities.
By default, when using explicit data movement in SYCL, a single process will be used for both copying data from the host to the device and from the device to the host for an SYCL Queue.
If we want to use two different processes, then each process should have its own execution context and SYCL queue(s) associated with the device(s) it is using. Each process will explicitly copy data between the host and device(s) using the SYCL memory management functions and commands.
When multiple processes are involved, we need to ensure that they are properly synchronized to avoid race conditions and data inconsistencies.
Please refer to the below link for more details:
Also refer to the USM chapter in Data Parallel C++ Text Book by James Reinders: https://link.springer.com/chapter/10.1007/978-1-4842-5574-2_6
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As you have mentioned (in another post) >>How to share the data in the device with two processes using SYCL queue(s) associated with the device(s) it is using
To share data between two processes using SYCL queues and devices, we can combine MPI with SYCL code. MPI can handle communication between the processes, while SYCL queues can facilitate communication between the host and the device.
Please refer to the below link for more details;
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Could you please provide an update on your issue?
Thanks & regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have not heard back from you, so I will close this inquiry now. If you need further assistance, please post a new question.
Thanks & Regards,
Noorjahan.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page