I am trying to copy an array on device 1 to the end of another array on device 0, something like
cudaMemcpyPeer( &array[device0][lengthOfArray], device0, array[device1], device1, sizeOfArray)
where array is an array of pointers to device arrays. I can can’t seem to get this syntax to work.
Thanks in advance.