Skip to content

Commit

Permalink
Align matrices in TCDM to the first bank
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerbarton committed Jan 30, 2024
1 parent e8dbb17 commit 96b2101
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sw/blas/gemm/src/gemm_decls_tpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ typedef struct {
* \brief Maps the layout of the TCDM. May be double buffered.
*/
typedef struct {
FLOAT_T A[L1_M * L1_K];
FLOAT_T B[L1_K * L1_N];
FLOAT_T C[L1_M * L1_N];
FLOAT_T A[L1_M * L1_K] __attribute__ ((aligned (32*8)));
FLOAT_T B[L1_K * L1_N] __attribute__ ((aligned (32*8)));
FLOAT_T C[L1_M * L1_N] __attribute__ ((aligned (32*8)));
} SNBLAS_GEMM_TCDM(FLOAT_T);

// NAMED_DUMP(SNBLAS_GEMM_TCDM(FLOAT_T)*, CONCAT(l1_, FLOAT_T), 0x8)

0 comments on commit 96b2101

Please sign in to comment.