This is a tracking issue for https://github.com/JuliaGPU/AMDGPU.jl/issues/840 and https://github.com/JuliaGPU/AMDGPU.jl/pull/845, which is a feature we need to implement it