Plot GPArray/ Arrayfire


#1

Hi,

Is there a way to display 1d/2d arrays hosted by the GPU (aka with GPUArrays or ArrayFire)?

ArrayFire has some method for that but it is a bit limited,

Thank you for your help,

Best regards

Romain


#2

Visualize.jl uses GPUArrays under the hood, so it should natively work with data on the GPU - just need to release it and bring it on the same level of functionality as GLVisualize.jl…

Meanwhile, does it not work to just do array = Array(gpu_array) and plot that with the plotting package of your choice?
Or do you actually have one of those exciting use cases where that’s too slow?


#3

Great!

I solve a PDE on a square. Even the plotting with GR (when solving in the CPU) is quite slow. Including the GPU -> CPU transfer will be even slower.

Plus, I have seen what ArrayFire (limited) plotting capabilities can produce now…