Searched refs:tmp_sum (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | local_response_norm_fp32.c | 43 float tmp_sum = 0.0f; in LocalResponseNorm() local 45 tmp_sum += in_data[j] * in_data[j]; in LocalResponseNorm() 47 out_data[depth_radius] = in_data[depth_radius] * (powf(tmp_sum * alpha + bias, -beta)); in LocalResponseNorm() 49 tmp_sum -= in_data[j - depth_radius - 1] * in_data[j - depth_radius - 1]; in LocalResponseNorm() 50 tmp_sum += in_data[j + depth_radius] * in_data[j + depth_radius]; in LocalResponseNorm() 51 out_data[j] = in_data[j] * (float)(powf(tmp_sum * alpha + bias, -beta)); in LocalResponseNorm()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_simple_shaders.c | 700 struct ureg_dst out, tmp_sum, tmp_coord, tmp; in util_make_fs_msaa_resolve() local 713 tmp_sum = ureg_DECL_temporary(ureg); in util_make_fs_msaa_resolve() 718 ureg_MOV(ureg, tmp_sum, ureg_imm1f(ureg, 0)); in util_make_fs_msaa_resolve() 733 ureg_ADD(ureg, tmp_sum, ureg_src(tmp_sum), ureg_src(tmp)); in util_make_fs_msaa_resolve() 737 ureg_MUL(ureg, tmp_sum, ureg_src(tmp_sum), in util_make_fs_msaa_resolve() 741 ureg_F2U(ureg, out, ureg_src(tmp_sum)); in util_make_fs_msaa_resolve() 743 ureg_F2I(ureg, out, ureg_src(tmp_sum)); in util_make_fs_msaa_resolve() 745 ureg_MOV(ureg, out, ureg_src(tmp_sum)); in util_make_fs_msaa_resolve() 762 struct ureg_dst tmp_coord[4], tmp_sum[4]; in util_make_fs_msaa_resolve_bilinear() local 776 tmp_sum[c] = ureg_DECL_temporary(ureg); in util_make_fs_msaa_resolve_bilinear() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_tex.c | 161 unsigned tmp_sum; in radeonTransformTEX() local 175 tmp_sum = rc_find_free_temporary(c); in radeonTransformTEX() 182 inst_rcp->U.I.DstReg.Index = tmp_sum; in radeonTransformTEX() 193 inst_mul->U.I.DstReg.Index = tmp_sum; in radeonTransformTEX() 201 inst_mul->U.I.SrcReg[1].Index = tmp_sum; in radeonTransformTEX() 209 inst_add->U.I.DstReg.Index = tmp_sum; in radeonTransformTEX() 212 inst_add->U.I.SrcReg[0].Index = tmp_sum; in radeonTransformTEX() 249 inst_cmp->U.I.SrcReg[0].Index = tmp_sum; in radeonTransformTEX() 256 assert(tmp_texsample != tmp_sum); in radeonTransformTEX()
|