From e9eb039043541c4131b6dfb6afa145489dffd541 Mon Sep 17 00:00:00 2001 From: Viviane Potocnik Date: Mon, 23 Oct 2023 20:37:59 +0200 Subject: [PATCH] transformer: typo fix --- sw/apps/transformer/src/transformer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/apps/transformer/src/transformer.h b/sw/apps/transformer/src/transformer.h index 0d5311a66..3c77c004e 100644 --- a/sw/apps/transformer/src/transformer.h +++ b/sw/apps/transformer/src/transformer.h @@ -963,7 +963,7 @@ static inline void transformer_layer_fp64(transformer_layer_fp64_t *const l) { if (is_sender == 1) { // determine the destination address double *data_dst = cluster_ofmap_lin2 - (1 << level) * cl_offset; - if (!snrt_compute_core_idx()) { + if (!snrt_is_compute_core()) { // printf("cluster_id = %d, level = %d, data_src = %d, data_dst = %d\n", cluster_id, level, data_src, data_dst); snrt_dma_txid_t txid = snrt_dma_start_1d(