Skip to content

Commit 4432d89

Browse files
committed
UNDO: Add SNRT_ENABLE_NARROW_REDUCTION flag
1 parent 51d7f6a commit 4432d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sw/runtime/src/sync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ inline void snrt_cluster_hw_barrier() {
188188
* stall indefinitely.
189189
*/
190190
static inline void snrt_inter_cluster_barrier(snrt_comm_t comm = NULL) {
191-
#ifdef SNRT_SUPPORTS_NARROW_REDUCTION
191+
#if defined(SNRT_SUPPORTS_NARROW_REDUCTION) && defined(SNRT_ENABLE_NARROW_REDUCTION)
192192
// Fetch the address for the reduction
193193
uint32_t *addr = (uint32_t *)snrt_remote_l1_ptr(&(snrt_cls()->reduction),
194194
snrt_cluster_idx(), 0);

0 commit comments

Comments
 (0)