Hi, I am a starter with CUDA. I know GLSL programming and find CUDA to be little different.
I know that the great bottleneck associated with GPU programming using GLSL was expensive time spent on data transfer between CPU and GPU.There are few ways I know to achieve the same using glReadPixel() , glDrawPixel … glCopy… etc .
In CUDA we have cudamemcpy() with an option to change direction of flow.
My question: [Perhaps being asked earlier]: Is data transfer on CUDA expensive than what is there in GLSL for the above functions ? If not then why cudaMemcopy fares better that glReadPixelBuffer() in normal OGL programming ?
P.S : I am not exact in writing functions names but want to post my concern only.