add rocshmem_barrier() (#61)

* add team-barrier implementation

add a team-barrier API and implementation in the IPC and RO conduit.
Clean up some of the logic in the RO Conduit to distinguish between
sync, sync_all, barrier, and barrier_all.

* add team_barrier_tests to functional tests
Tento commit je obsažen v:
Edgar Gabriel
2025-03-24 11:23:03 -05:00
odevzdal GitHub
rodič e8ba20c5f5
revize bcbc42e78f
18 změnil soubory, kde provedl 271 přidání a 14 odebrání
+6
Zobrazit soubor
@@ -148,6 +148,12 @@ __device__ void Context::barrier_all() {
DISPATCH(barrier_all());
}
__device__ void Context::barrier(rocshmem_team_t team) {
ctxStats.incStat(NUM_BARRIER_ALL);
DISPATCH(barrier(team));
}
__device__ void Context::sync_all() {
ctxStats.incStat(NUM_SYNC_ALL);