Update Barrier_All and Sync_All APIs (#72)
* Fix deadlock in `rocshmem_ctx_wg_barrier_all` API in IPC conduit by adding per-context pSync buffers and context IDs - Added separate pSync buffers for each device context - Resolved deadlock when invoking barrier API (`rocshmem_ctx_wg_barrier_all`) concurrently from multiple contexts * Update barrier_all functional tests for multi-context support * Add thread, wavefront, and workgroup-level barrier_all APIs in IPC and RO conduits - Implemented barrier_all APIs at thread, wavefront, and workgroup granularity - Added support in both IPC and RO conduits - Updated functional tests to cover all `barrier_all` APIs * Add thread, wavefront, and workgroup-level sync_all APIs in IPC and RO conduits - Implemented sync_all APIs for thread, wavefront, and workgroup scopes - Added support into both IPC and RO conduits - Added functional tests to cover all `sync_all` APIs
This commit is contained in:
committed by
GitHub
parent
e16ca7a1e3
commit
c652f58cef
@@ -43,6 +43,8 @@ enum rocshmem_stats {
|
||||
NUM_QUIET,
|
||||
NUM_TO_ALL,
|
||||
NUM_BARRIER_ALL,
|
||||
NUM_BARRIER_ALL_WAVE,
|
||||
NUM_BARRIER_ALL_WG,
|
||||
NUM_WAIT_UNTIL,
|
||||
NUM_WAIT_UNTIL_ANY,
|
||||
NUM_WAIT_UNTIL_ALL,
|
||||
@@ -70,6 +72,8 @@ enum rocshmem_stats {
|
||||
NUM_TEST,
|
||||
NUM_SHMEM_PTR,
|
||||
NUM_SYNC_ALL,
|
||||
NUM_SYNC_ALL_WAVE,
|
||||
NUM_SYNC_ALL_WG,
|
||||
NUM_BROADCAST,
|
||||
NUM_PUT_WG,
|
||||
NUM_PUT_NBI_WG,
|
||||
|
||||
Reference in New Issue
Block a user