File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ using namespace Xbyak;
36
36
37
37
using data_t = int8_t ;
38
38
39
- struct call_params_t {
39
+ struct call_params_bnorm_t {
40
40
// keep int sizes at 8 bytes -- jit code expects this
41
41
size_t channel_offt_count, spat_offt_count;
42
42
float eps;
@@ -97,7 +97,7 @@ struct jit_bnorm_base_t : public jit_generator {
97
97
uni_vmovq (xone, reg_tmp);
98
98
uni_vbroadcastss (vone, xone);
99
99
100
- #define PARAM_OFF (x ) offsetof(call_params_t , x)
100
+ #define PARAM_OFF (x ) offsetof(call_params_bnorm_t , x)
101
101
uni_vbroadcastss (veps, vmmword[reg_param + PARAM_OFF (eps)]);
102
102
uni_vpxor (vzero, vzero, vzero);
103
103
@@ -586,7 +586,7 @@ struct driver_t : public c_compatible {
586
586
dim_t W = pd_->W ();
587
587
dim_t SP = D * H * W;
588
588
589
- call_params_t p;
589
+ call_params_bnorm_t p;
590
590
591
591
p.eps = pd_->desc ()->batch_norm_epsilon ;
592
592
You can’t perform that action at this time.
0 commit comments