Created by: vchuravy
x-ref: https://github.com/JuliaGPU/KernelAbstractions.jl/pull/382#issuecomment-1625944968