Home
last modified time | relevance | path

Searched refs:temp_var (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dfused_cast_adam_weight_decay_cpu_kernel.cc82 auto temp_var = static_cast<float>(var16[i]); in LaunchFusedCastAdamFp16() local
87 update += decay * temp_var; in LaunchFusedCastAdamFp16()
88 temp_var -= lr * update; in LaunchFusedCastAdamFp16()
89 var16[i] = static_cast<float16>(temp_var); in LaunchFusedCastAdamFp16()
/third_party/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp631 ir_variable *temp_var = p->make_temp(glsl_type::vec4_type, "texenv_combine"); in emit_texenv() local
647 p->emit(assign(temp_var, val)); in emit_texenv()
658 p->emit(assign(temp_var, val)); in emit_texenv()
671 p->emit(assign(temp_var, val, WRITEMASK_XYZ)); in emit_texenv()
680 p->emit(assign(temp_var, val, WRITEMASK_W)); in emit_texenv()
683 deref = new(p->mem_ctx) ir_dereference_variable(temp_var); in emit_texenv()
949 ir_variable *temp_var = p->make_temp(glsl_type::float_type, "fog_temp"); in emit_fog_instructions() local
950 p->emit(assign(temp_var, mul(f, swizzle_w(oparams)))); in emit_fog_instructions()
952 f = mul(temp_var, temp_var); in emit_fog_instructions()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc5949 auto* temp_var = builder_.Var(var_name, type->Build(builder_), in MakeVectorInsertDynamic() local
5952 AddStatement(builder_.Decl({}, temp_var)); in MakeVectorInsertDynamic()
6021 auto* temp_var = builder_.Var(var_name, type->Build(builder_), in MakeCompositeInsert() local
6023 AddStatement(builder_.Decl({}, temp_var)); in MakeCompositeInsert()