AMDGPU.jl
AMDGPU.jl copied to clipboard
`hsa_executable_freeze` can hang during high GPU load
When the GPU is under high load and spinning on AMDGPU.device_signal_wait, hsa_executable_freeze can hang as it tries to synchronize with the GPU. We should switch to using an InterruptSignal (exposed via HSA) to ensure we don't effectively hang the GPU and impede timely forward progress.