From b97df2ce6af583ada01b4bcc0bd321aa1e84f815 Mon Sep 17 00:00:00 2001 From: Hansung Kim Date: Thu, 30 Jan 2025 01:12:32 -0800 Subject: [PATCH] Switch to fp32 for flash --- kernels/sgemm_tcore/sgemm_impl.hpp | 2 +- lib/gemmini/include/gemmini_params.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernels/sgemm_tcore/sgemm_impl.hpp b/kernels/sgemm_tcore/sgemm_impl.hpp index 39d082d9..9c2b0dc5 100644 --- a/kernels/sgemm_tcore/sgemm_impl.hpp +++ b/kernels/sgemm_tcore/sgemm_impl.hpp @@ -6,7 +6,7 @@ #include "include/gemmini.h" #include "gemmini_mmio.h" -#define FP_SIZE 16 +#define FP_SIZE 32 // "fake" fp16 type that only has the correct data width. using float16_t = uint16_t; diff --git a/lib/gemmini/include/gemmini_params.h b/lib/gemmini/include/gemmini_params.h index cf16fe06..373d9d71 120000 --- a/lib/gemmini/include/gemmini_params.h +++ b/lib/gemmini/include/gemmini_params.h @@ -1 +1 @@ -gemmini_params.dim16fp16.h \ No newline at end of file +gemmini_params.dim8fp32.h \ No newline at end of file