Files
rocm-systems/src
Yiltan e856fbb0eb Fix broken atomics from PR #233 (#251)
* The QueuePair object was out of scope at the end of the for loop.
  So the deconstructor was called.
* Although correct for C++ to do this, it ignores that we copied the QueuePair object into
  device memory and have an instance there.
* Early deconstruction resulted in calling ibv_dereg_mr on the atomics memory region.
  So when the GPU kernel tried to use the memory region it wasn't
  registered which resulted in a protection domain error.
* The solution was to allocate our QueuePair obj with the new operator which leaves memory
  management to us, then we can manually call the deconstructor.
2025-09-11 18:11:52 -04:00
..
2025-09-08 10:55:06 -04:00
2025-06-25 17:35:54 -06:00