Hi,
I have 2 queues each belongs to different device. I want them to update same host
vector data.
int *A = malloc_device<int>(host.size(), Q1);
int *B = malloc_device<int>(host.size(), Q2);
How can I synchronise the data in the end ? Because when I use memcpy
it overwrites previous Queue data.
Is there a way to malloc
shared data among multi GPUs (or devices) ?