Graphical Output Question Function plotting from GPU mem

Hi all,

Can anyone tell me how to plot an array of float values like a function (y-axis: array index, x-axis: float value of that index) ?
The array is already in GPU memory. Up to now I used SDL, but then I have to move the data to the CPU memory, that sounds a bit strange.
If possible, this should be really fast…


I think you need to look @ OpenGL. OpenGL has compatibility with CUDA…I am not that savvy on this though.

The “simpleGL” sample in the SDK shows how to plot points using OpenGL from data generated in CUDA.


Does that mean, the best way to plot 2d data is to use the 3d plotting routines with the view from the right (perpendicular to the unused axis) angle?