/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mkldnn/tests/benchdnn/lnorm/ |
H A D | ref_lnorm.cpp | 28 const bool use_sh = prb->use_sh(); in compute_ref_fwd() local 39 : use_sh ? ((float *)sh)[c] : 0; in compute_ref_fwd() 53 const bool use_sh = prb->use_sh(); in compute_ref_bwd() local 55 if ((use_ss || use_sc || use_sh) && (prb->dir & FLAG_WEI)) { in compute_ref_bwd() 76 if (use_sh) ((float *)d_sh)[c] = d_beta; in compute_ref_bwd()
|
H A D | lnorm.cpp | 115 const bool use_sh = prb->use_sh(); in prepare_fwd() local 120 if (use_sc || use_sh) { in prepare_fwd() 122 ((float *)sh)[c] = use_sh ? sh_value : 0.0f; in prepare_fwd() 190 const bool use_sh = prb->use_sh(); in prepare_bwd() local 203 if (use_sc || use_sh) { in prepare_bwd() 205 ((float *)sh)[c] = use_sh ? sh_value : 0.0f; in prepare_bwd() 396 const float beta = prb->use_sh() ? ((const float *)sh_fp)[c] in add_additional_fwd_lnorm_check() 440 const bool use_sh = prb->use_sh(); in doit() local 499 if (use_sh) { SAFE(sh_dt.reorder(sh_fp), WARN); } in doit() 562 if (use_sh) { SAFE(sh_dt.reorder(sh_fp), WARN); } in doit() [all …]
|
H A D | lnorm.hpp | 114 bool use_sh() const { return flags & USE_SHIFT; } in use_sh() function
|
/dports/math/onednn/oneDNN-2.5.1/tests/benchdnn/lnorm/ |
H A D | ref_lnorm.cpp | 28 const bool use_sh = prb->use_sh(); in compute_ref_fwd() local 39 : use_sh ? ((float *)sh)[c] : 0; in compute_ref_fwd() 53 const bool use_sh = prb->use_sh(); in compute_ref_bwd() local 55 if ((use_ss || use_sc || use_sh) && (prb->dir & FLAG_WEI)) { in compute_ref_bwd() 76 if (use_sh) ((float *)d_sh)[c] = d_beta; in compute_ref_bwd()
|
H A D | lnorm.cpp | 115 const bool use_sh = prb->use_sh(); in prepare_fwd() local 120 if (use_sc || use_sh) { in prepare_fwd() 122 ((float *)sh)[c] = use_sh ? sh_value : 0.0f; in prepare_fwd() 190 const bool use_sh = prb->use_sh(); in prepare_bwd() local 203 if (use_sc || use_sh) { in prepare_bwd() 205 ((float *)sh)[c] = use_sh ? sh_value : 0.0f; in prepare_bwd() 398 const float beta = prb->use_sh() ? ((const float *)sh_fp)[c] in add_additional_fwd_lnorm_check() 443 const bool use_sh = prb->use_sh(); in doit() local 502 if (use_sh) { SAFE(sh_dt.reorder(sh_fp), WARN); } in doit() 566 if (use_sh) { SAFE(sh_dt.reorder(sh_fp), WARN); } in doit() [all …]
|
H A D | lnorm.hpp | 112 bool use_sh() const { return flags & USE_SHIFT; } in use_sh() function
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mkldnn/tests/benchdnn/bnorm/ |
H A D | ref_bnorm.cpp | 34 const bool use_sh = prb->use_sh(); in compute_ref_fwd() local 45 float beta = use_ss ? ss.get_elem(C + c) : use_sh ? sh.get_elem(c) : 0; in compute_ref_fwd() 75 const bool use_sh = prb->use_sh(); in compute_ref_bwd() local 104 if (use_sh && (prb->dir & FLAG_WEI)) d_sh.set_elem(c, d_beta); in compute_ref_bwd()
|
H A D | bnorm.cpp | 42 const bool use_sh = prb->use_sh(); in prepare_fwd_with_stats() local 50 if (use_sc || use_sh) { in prepare_fwd_with_stats() 52 sh.set_elem(c, use_sh ? sh_value : 0.0f); in prepare_fwd_with_stats() 123 const bool use_sh = prb->use_sh(); in prepare_fwd_no_stats() local 163 if (use_sc || use_sh) { in prepare_fwd_no_stats() 165 ((float *)sh)[c] = use_sh ? sh_value : 0.0f; in prepare_fwd_no_stats() 255 const bool use_sh = prb->use_sh(); in compare() local 290 const float beta = (use_sc || use_sh) in compare() 530 const bool use_sh = prb->use_sh(); in doit() local 590 if (use_sh) { SAFE(sh_dt.reorder(sh_fp), WARN); } in doit() [all …]
|
H A D | bnorm.hpp | 128 bool use_sh() const { return flags & USE_SHIFT; } in use_sh() function
|
/dports/math/onednn/oneDNN-2.5.1/tests/benchdnn/bnorm/ |
H A D | ref_bnorm.cpp | 34 const bool use_sh = prb->use_sh(); in compute_ref_fwd() local 45 float beta = use_ss ? ss.get_elem(C + c) : use_sh ? sh.get_elem(c) : 0; in compute_ref_fwd() 75 const bool use_sh = prb->use_sh(); in compute_ref_bwd() local 104 if (use_sh && (prb->dir & FLAG_WEI)) d_sh.set_elem(c, d_beta); in compute_ref_bwd()
|
H A D | bnorm.cpp | 42 const bool use_sh = prb->use_sh(); in prepare_fwd_with_stats() local 50 if (use_sc || use_sh) { in prepare_fwd_with_stats() 52 sh.set_elem(c, use_sh ? sh_value : 0.0f); in prepare_fwd_with_stats() 123 const bool use_sh = prb->use_sh(); in prepare_fwd_no_stats() local 163 if (use_sc || use_sh) { in prepare_fwd_no_stats() 165 ((float *)sh)[c] = use_sh ? sh_value : 0.0f; in prepare_fwd_no_stats() 255 const bool use_sh = prb->use_sh(); in compare() local 290 const float beta = (use_sc || use_sh) in compare() 533 const bool use_sh = prb->use_sh(); in doit() local 593 if (use_sh) { SAFE(sh_dt.reorder(sh_fp), WARN); } in doit() [all …]
|
H A D | bnorm.hpp | 128 bool use_sh() const { return flags & USE_SHIFT; } in use_sh() function
|
/dports/devel/efl/efl-1.25.1/src/lib/ecore/ |
H A D | ecore_exe_win32.c | 399 Eina_Bool use_sh = EINA_FALSE; in _impl_ecore_exe_efl_object_finalize() local 412 if ((flags & ECORE_EXE_USE_SH)) use_sh = EINA_TRUE; in _impl_ecore_exe_efl_object_finalize() 413 else use_sh = eina_str_has_extension(exe->cmd, ".bat"); in _impl_ecore_exe_efl_object_finalize() 415 if (use_sh) in _impl_ecore_exe_efl_object_finalize() 506 DBG("CreateProcess: shell:%s child:%s", use_sh ? "yes" : "no", exe_cmd_buf); in _impl_ecore_exe_efl_object_finalize()
|
H A D | efl_exe.c | 105 char use_sh = 1, *buf = NULL, **args = NULL; in _exec() local 143 use_sh = 0; in _exec() 165 if (use_sh) // We have to use a shell to run this. in _exec()
|
H A D | ecore_exe_posix.c | 1016 char use_sh = 1; in _ecore_exe_exec_it() local 1066 use_sh = 0; in _ecore_exe_exec_it() 1097 else if (use_sh) /* We have to use a shell to run this. */ in _ecore_exe_exec_it()
|
/dports/multimedia/mpv/mpv-0.34.1/video/out/ |
H A D | vo_direct3d.c | 287 bool use_sh = !priv->device_texture_sys; in d3dtex_allocate() local 290 case 1: memtype = D3DPOOL_MANAGED; use_sh = false; break; in d3dtex_allocate() 291 case 2: memtype = D3DPOOL_DEFAULT; use_sh = false; break; in d3dtex_allocate() 292 case 3: memtype = D3DPOOL_DEFAULT; use_sh = true; break; in d3dtex_allocate() 293 case 4: memtype = D3DPOOL_SCRATCH; use_sh = true; break; in d3dtex_allocate() 303 if (use_sh) { in d3dtex_allocate()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mkldnn/src/cpu/x64/ |
H A D | jit_uni_batch_normalization_s8.cpp | 664 const auto use_sh = pd()->use_shift(); in execute() local 672 auto shift = use_sh ? CTX_IN_MEM(const float *, DNNL_ARG_SHIFT) in execute()
|
H A D | jit_uni_batch_normalization.cpp | 2080 const auto use_sh = pd()->use_shift(); in execute() local 2088 auto shift = use_sh ? CTX_IN_MEM(const acc_data_t *, DNNL_ARG_SHIFT) in execute() 2196 const auto use_sh = pd()->use_shift(); in execute() local 2212 auto diff_shift = use_sh ? CTX_OUT_MEM(acc_data_t *, DNNL_ARG_DIFF_SHIFT) in execute()
|
H A D | jit_uni_tbb_batch_normalization.cpp | 2249 const auto use_sh = pd()->use_shift(); in execute() local 2257 auto shift = use_sh ? CTX_IN_MEM(const acc_data_t *, DNNL_ARG_SHIFT) in execute() 2363 const auto use_sh = pd()->use_shift(); in execute() local 2379 auto diff_shift = use_sh ? CTX_OUT_MEM(acc_data_t *, DNNL_ARG_DIFF_SHIFT) in execute()
|
/dports/math/onednn/oneDNN-2.5.1/src/cpu/x64/ |
H A D | jit_uni_batch_normalization_s8.cpp | 660 const auto use_sh = pd()->use_shift(); in execute() local 668 auto shift = use_sh ? CTX_IN_MEM(const float *, DNNL_ARG_SHIFT) in execute()
|
H A D | jit_uni_batch_normalization.cpp | 2078 const auto use_sh = pd()->use_shift(); in execute() local 2086 auto shift = use_sh ? CTX_IN_MEM(const acc_data_t *, DNNL_ARG_SHIFT) in execute() 2197 const auto use_sh = pd()->use_shift(); in execute() local 2213 auto diff_shift = use_sh ? CTX_OUT_MEM(acc_data_t *, DNNL_ARG_DIFF_SHIFT) in execute()
|
H A D | jit_uni_tbb_batch_normalization.cpp | 2247 const auto use_sh = pd()->use_shift(); in execute() local 2255 auto shift = use_sh ? CTX_IN_MEM(const acc_data_t *, DNNL_ARG_SHIFT) in execute() 2361 const auto use_sh = pd()->use_shift(); in execute() local 2377 auto diff_shift = use_sh ? CTX_OUT_MEM(acc_data_t *, DNNL_ARG_DIFF_SHIFT) in execute()
|