Hello everyone,
I have a buffer allocated in GPU memory:
buffer = CUDAMemoryAllocate["Double", 500];
then I do some operations with a function, then I take the buffer back
and compute the total of that array:
v = CUDAMemoryGet[buffer];
Total[v]
but the result I obtain with
CUDATotal[buffer]
is different...
why?
thank you all