File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -97,11 +97,7 @@ struct brgemm_prf_t {
97
97
};
98
98
99
99
struct brgemm_batch_element_t {
100
- brgemm_batch_element_t () {
101
- ptr.A = ptr.B = nullptr ;
102
- vvpad.top = vvpad.bottom = 0 ;
103
- has_s8s8_comp_batch_pad = 0 ;
104
- }
100
+ brgemm_batch_element_t () { ptr.A = ptr.B = nullptr ; }
105
101
union {
106
102
struct {
107
103
const void *A;
@@ -113,14 +109,14 @@ struct brgemm_batch_element_t {
113
109
} offset;
114
110
};
115
111
struct {
116
- dim_t top;
117
- dim_t bottom;
112
+ dim_t top = 0 ;
113
+ dim_t bottom = 0 ;
118
114
} vvpad; // w.r.t. M dimension
119
115
120
116
// Used to calculate compensation when batch padding is present.
121
117
// Note: batch_pad represent the overlap between weights and the height
122
118
// dimension w.r.t. convolution dimensions.
123
- dim_t has_s8s8_comp_batch_pad;
119
+ dim_t has_s8s8_comp_batch_pad = 0 ;
124
120
};
125
121
126
122
struct DNNL_API brgemm_attr_t {
You can’t perform that action at this time.
0 commit comments