Sorry for the newb questions…
Can I get direct access to the frame buffer from CUDA code? There was a similar question a couple of years ago, and the answer was ‘no’, but this seems so bizarre that I thought I’d ask it again to make sure that nothing’s changed.
If I can’t get direct access, then presumably I’m stuck with a 2-stage copy: (a) an OpenGL call (I only started on OpenGL yesterday - no idea exactly how to do this) to read the buffer out to the CPU, and then (b) a cudaMemcpy to get the data back out to the graphics card?
Does anyone have any idea on the overall streaming data rate I’d expect when using this 2-stage copy to read the frame buffer?
I want my kernel to continuously read the frame buffer and process it. Is this even possible, given that the host CPU has to initiate the buffer transfer out of the graphics card into the host memory space?