AMDGPU.jl icon indicating copy to clipboard operation
AMDGPU.jl copied to clipboard

mark/wait is not thread-safe

Open jpsamaroo opened this issue 3 years ago • 0 comments

The current implementation has multiple flaws:

  • Resizing operations on Array are not thread-safe
  • wait-to-mark exhibits TOCTTOU races

We need a solution for this that doesn't involve taking the global runtime lock.

jpsamaroo avatar Mar 15 '22 14:03 jpsamaroo