AMDGPU.jl
AMDGPU.jl copied to clipboard
mark/wait is not thread-safe
The current implementation has multiple flaws:
- Resizing operations on
Arrayare not thread-safe - wait-to-mark exhibits TOCTTOU races
We need a solution for this that doesn't involve taking the global runtime lock.