Add host API for enqueuing barrier on given stream (#274)

* add host API for enqueuing barrier on given stream
This commit is contained in:
Dimple Prajapati
2025-10-15 14:29:07 -07:00
committed by GitHub
parent 4ecdbc026c
commit a44b581997
10 changed files with 53 additions and 0 deletions
+6
View File
@@ -116,4 +116,10 @@ __host__ void Context::barrier_all() {
HOST_DISPATCH(barrier_all());
}
__host__ void Context::barrier_all_on_stream(hipStream_t stream) {
ctxHostStats.incStat(NUM_HOST_BARRIER_ALL);
HOST_DISPATCH(barrier_all_on_stream(stream));
}
} // namespace rocshmem