File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ using namespace Xbyak;
3636
3737using data_t = int8_t ;
3838
39- struct call_params_t {
39+ struct call_params_bnorm_t {
4040 // keep int sizes at 8 bytes -- jit code expects this
4141 size_t channel_offt_count, spat_offt_count;
4242 float eps;
@@ -97,7 +97,7 @@ struct jit_bnorm_base_t : public jit_generator {
9797 uni_vmovq (xone, reg_tmp);
9898 uni_vbroadcastss (vone, xone);
9999
100- #define PARAM_OFF (x ) offsetof(call_params_t , x)
100+ #define PARAM_OFF (x ) offsetof(call_params_bnorm_t , x)
101101 uni_vbroadcastss (veps, vmmword[reg_param + PARAM_OFF (eps)]);
102102 uni_vpxor (vzero, vzero, vzero);
103103
@@ -586,7 +586,7 @@ struct driver_t : public c_compatible {
586586 dim_t W = pd_->W ();
587587 dim_t SP = D * H * W;
588588
589- call_params_t p;
589+ call_params_bnorm_t p;
590590
591591 p.eps = pd_->desc ()->batch_norm_epsilon ;
592592
You can’t perform that action at this time.
0 commit comments