I am trying to reduce an array to the sum of its elements using CUDA. I am having trouble communicating the sum calculated in the device back to the host so that it can be printed out.I am trying to reduce an array to the sum of it
I am trying to reduce an array to the sum of its elements using CUDA. I am having trouble communicating the sum calculated in the device back to the host so that it can be printed out.I am trying to reduce an array to the sum of it