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
Copy file name to clipboardExpand all lines: bebop/src/arch/gemmini/gemmini.rs
+79Lines changed: 79 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1048,6 +1048,16 @@ impl Gemmini {
1048
1048
1049
1049
self.state.c_stride = new_c_stride;
1050
1050
self.state.a_stride = new_a_stride;
1051
+
1052
+
log::info!(
1053
+
"GEMMINI: config_ex - set mode to {:?}, activation to {:?}, sys shift to {:?}, sys acc shift to {:?}, a transpose to {:?}, b transpose to {:?}",
1054
+
new_mode,
1055
+
new_act,
1056
+
new_sys_shift,
1057
+
new_sys_acc_shift,
1058
+
new_a_transpose,
1059
+
new_b_transpose
1060
+
);
1051
1061
}elseif(rs1 &0b11) == 1{
1052
1062
// config_mvin: configure load pipeline
1053
1063
let state_id = ((rs1 >> 3)&0x3)asusize;
@@ -1059,6 +1069,15 @@ impl Gemmini {
1059
1069
ifself.state.pixels_per_rows[state_id] == 0{
1060
1070
self.state.pixels_per_rows[state_id] = 1;
1061
1071
}
1072
+
1073
+
log::info!(
1074
+
"GEMMINI: config_ld - set load stride to {:?} (rs2=0x{:x}), load block stride to {:?}, load scale to {:?}, pixels per rows to {:?}",
1075
+
rs2,
1076
+
rs2,
1077
+
self.state.load_block_strides[state_id],
1078
+
self.state.load_scales[state_id],
1079
+
self.state.pixels_per_rows[state_id]
1080
+
);
1062
1081
}elseif(rs1 &0b11) == 2{
1063
1082
// config_mvout: configure store pipeline
1064
1083
self.state.store_stride = rs2 &0xFFFFFFFF;
@@ -1085,6 +1104,22 @@ impl Gemmini {
1085
1104
self.state.pool_pocols = ((rs1 >> 40)&0xFF)asu8;
1086
1105
self.state.pool_orows = ((rs1 >> 48)&0xFF)asu8;
1087
1106
self.state.pool_ocols = ((rs1 >> 56)&0xFF)asu8;
1107
+
1108
+
log::info!(
1109
+
"GEMMINI: config_st - set store stride to {:?}, activation to {:?}, acc shift to {:?}, pool stride to {:?}, pool size to {:?}, pool upad to {:?}, pool lpad to {:?}, pool out dim to {:?}, pool porows to {:?}, pool pocols to {:?}, pool orows to {:?}, pool ocols to {:?}",
"GEMMINI: loop_ws_config_bounds - set loop ws I to {:?}, loop ws J to {:?}, loop ws K to {:?}, loop ws pad I to {:?}, loop ws pad J to {:?}, loop ws pad K to {:?}",
0 commit comments