From 04e47f41a86d7adee178dcc520df599d672fed14 Mon Sep 17 00:00:00 2001 From: Viviane Potocnik Date: Fri, 26 Jan 2024 16:22:12 +0100 Subject: [PATCH] sw: explicit undef of BIST due to build err --- sw/blas/gemm/src/main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sw/blas/gemm/src/main.c b/sw/blas/gemm/src/main.c index 650fe91f16..b33cacade4 100644 --- a/sw/blas/gemm/src/main.c +++ b/sw/blas/gemm/src/main.c @@ -13,6 +13,8 @@ #include "gemm.h" #include "snrt.h" +#undef BIST + int main() { int retcode = gemm(dtype_size, expand, 1, m_tiles, n_tiles, k_tiles, snrt_cluster_num(), TA, TB, M, N, K, 1, a, b, BETA, c); @@ -20,6 +22,14 @@ int main() { // TODO: currently only works for single cluster otherwise need to // synchronize all cores here #ifdef BIST + void *local_a, *local_b, *local_c; + void *remote_a, *remote_b, *remote_c; + + // Allocate space in TCDM + local_a = (void *)snrt_l1_next(); + local_b = local_a + size_frac_a; + local_c = local_b + size_b; + uint32_t errors = M * N; if (snrt_cluster_core_idx() == 0) {