AMDGPU.jl
AMDGPU.jl copied to clipboard
Adopt maybe collect garbage collection scheme similar to CUDA.jl
https://github.com/JuliaGPU/CUDA.jl/pull/2304 added optimistic garbage_collection checks and apparently that had a good impact on performance. While that is a new implementation and not very battle tested, it seems like it would translate pretty well to AMDGPU.jl