diff --git a/sw/snRuntime/src/sync.h b/sw/snRuntime/src/sync.h index 07eea700f..5a1323161 100644 --- a/sw/snRuntime/src/sync.h +++ b/sw/snRuntime/src/sync.h @@ -61,6 +61,8 @@ inline void snrt_cluster_hw_barrier() { /// Synchronize clusters globally with a global software barrier inline void snrt_global_barrier() { + snrt_cluster_hw_barrier(); + // Synchronize all DM cores in software if (snrt_is_dm_core()) { // Remember previous iteration @@ -101,4 +103,4 @@ inline void snrt_partial_barrier(snrt_barrier_t *barr, uint32_t n) { while (prev_it == barr->iteration) ; } -} \ No newline at end of file +}