You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have built this system with chipyard 1.9.1 and gemmini v0.7.1, the example simulations (both spike and verilator) in README work well on my machine.
Now, I'm trying to modify the datatypes. I've tried the default int_8 (GemminiConfigs.defaultConfig) and FP32 (GemminiFPConfigs.FP32DefaultConfig) configs. With tiny modifications on tiled_matmul_ws.c, I can get correct matrix multiplication results for both.
However, when I set the datatype to BF16 (GemminiFPConfigs.BF16Default8Config), the gemmini seems using the uint16 type to calculate the matrix instead of BF16 type. and I noticed the following typedef in gemmini_params.h: typedef uint16_t elem_t;
Anyone has any comments? What else I need to do to support BF16 type matrix multiplication?
The text was updated successfully, but these errors were encountered:
Hello, I have built this system with chipyard 1.9.1 and gemmini v0.7.1, the example simulations (both spike and verilator) in README work well on my machine.
Now, I'm trying to modify the datatypes. I've tried the default int_8 (GemminiConfigs.defaultConfig) and FP32 (GemminiFPConfigs.FP32DefaultConfig) configs. With tiny modifications on tiled_matmul_ws.c, I can get correct matrix multiplication results for both.
However, when I set the datatype to BF16 (GemminiFPConfigs.BF16Default8Config), the gemmini seems using the uint16 type to calculate the matrix instead of BF16 type. and I noticed the following typedef in gemmini_params.h:
typedef uint16_t elem_t;
Anyone has any comments? What else I need to do to support BF16 type matrix multiplication?
The text was updated successfully, but these errors were encountered: