gaioguys / GAIO.jl

A Julia package for set oriented computations.
MIT License
9 stars 4 forks source link

Apple M-series GPU support #113

Open April-Hannah-Lena opened 2 months ago

April-Hannah-Lena commented 2 months ago

Very experimental. Just wanted to see if it would work.

I was able to verify 100x performance improvement in a rough test while I was sitting in a coffee shop.

April-Hannah-Lena commented 3 weeks ago

Ok Apple M-series support is now working and passes tests. I also added some more tests for transfer operators in general.

However, every once in a while a GPU computation causes a kernel panic, no idea why 😅😬 looking into it

gaioguy commented 2 weeks ago

Nice! Does metaltest.jl need an update? In my attempt on running it, it failed in line 22 with ERROR: MethodError: no method matching MetalExt.GPUSampledBoxMap(::typeof(f), ::Box{3, Float64}, ::Int64). Also, shall we mention Metal support in the docs?

April-Hannah-Lena commented 2 weeks ago

Yes exactly, metaltest.jl and the docs are next up to work on :)