Hi,
I’m using CUDA Fortran to build an application and I’m running into a problem.
Assume there are two arrays arr_a(m,n) and arr_b(m) with m and n being their dimensions. I want to copy a column of arr_a, e.g., arr_a(1:m,1), to arr_b. Can this achieved by using cudamemcpy and how?
Furthermore, assume there are arr_c(m,n) on device 0 and arr_d(m,n) on device 1, is it possible to copy a column of arr_c (e.g., arr_c(1:m,2)) to a column of arr_d (e.g., arr_d(1:m,3))?
Thanks a lot!