We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SNRT_ENABLE_NARROW_REDUCTION
1 parent 51d7f6a commit 4432d89Copy full SHA for 4432d89
sw/runtime/src/sync.h
@@ -188,7 +188,7 @@ inline void snrt_cluster_hw_barrier() {
188
* stall indefinitely.
189
*/
190
static inline void snrt_inter_cluster_barrier(snrt_comm_t comm = NULL) {
191
-#ifdef SNRT_SUPPORTS_NARROW_REDUCTION
+#if defined(SNRT_SUPPORTS_NARROW_REDUCTION) && defined(SNRT_ENABLE_NARROW_REDUCTION)
192
// Fetch the address for the reduction
193
uint32_t *addr = (uint32_t *)snrt_remote_l1_ptr(&(snrt_cls()->reduction),
194
snrt_cluster_idx(), 0);
0 commit comments