Rasters.jl icon indicating copy to clipboard operation
Rasters.jl copied to clipboard

GPU checklist

Open rafaqz opened this issue 3 years ago • 2 comments

Actually a lot of things dont work:

  • extend somehow breaks during broadcast. broadcast should always work so this is two problems
  • mask fails with a not isbits field in a closure
  • trim fails with broadcasts over AxisTrackers. Not sure why.
  • zonal fails with broadcast over the reshaped bitarray

We need to get this fixed and run the methods.jl tests on GPU somehow so GPU compatability becomes a solid thing.

rafaqz avatar Sep 23 '22 18:09 rafaqz

https://github.com/JuliaGPU/GPUArrays.jl/tree/master/lib/JLArrays may be helpful, it sticks to the GPUArrays interface but runs on CPU. Otherwise you could test on macos (which is guaranteed to have a GPU) but Metal.jl is still not totally stable...

asinghvi17 avatar Sep 10 '24 23:09 asinghvi17

Unfortunately JLArray is not complete, there are things it breaks that actually work with a CuArray.

But yes it's a good start, we should use it in tests everywhere.

rafaqz avatar Sep 11 '24 10:09 rafaqz