Home
last modified time | relevance | path

Searched refs:temp_pos (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dtranspose_impl.cu26 size_t temp_pos; in Transpose() local
36 temp_pos = pos; in Transpose()
38 pos_array[0] = temp_pos / pos_size; in Transpose()
40 temp_pos -= pos_array[i - 1] * pos_size; in Transpose()
42 pos_array[i] = temp_pos / pos_size; in Transpose()
Ddepthtospace_impl.cu26 size_t temp_pos = 0; in DepthToSpace() local
34 temp_pos = pos % temp_stride; in DepthToSpace()
37 output_pos_array[1] = temp_pos / temp_stride; in DepthToSpace()
38 temp_pos = pos % temp_stride; in DepthToSpace()
41 output_pos_array[2] = temp_pos / temp_stride; in DepthToSpace()
42 temp_pos = pos % temp_stride; in DepthToSpace()
45 output_pos_array[3] = temp_pos / temp_stride; in DepthToSpace()
Dspacetodepth_impl.cu27 size_t temp_pos = 0; in SpaceToDepth() local
35 temp_pos = pos % temp_stride; in SpaceToDepth()
38 input_pos_array[1] = temp_pos / temp_stride; in SpaceToDepth()
39 temp_pos = pos % temp_stride; in SpaceToDepth()
42 input_pos_array[2] = temp_pos / temp_stride; in SpaceToDepth()
43 temp_pos = pos % temp_stride; in SpaceToDepth()
46 input_pos_array[3] = temp_pos / temp_stride; in SpaceToDepth()
Dbatchtospace_impl.cu28 size_t temp_pos = 0; in BatchToSpace() local
39 temp_pos = pos % temp_stride; in BatchToSpace()
42 idx_oc = temp_pos / temp_stride; in BatchToSpace()
43 temp_pos = pos % temp_stride; in BatchToSpace()
46 idx_oh = temp_pos / temp_stride; in BatchToSpace()
47 temp_pos = pos % temp_stride; in BatchToSpace()
50 idx_ow = temp_pos / temp_stride; in BatchToSpace()
Dspacetobatch_impl.cu28 size_t temp_pos = 0; in SpaceToBatch() local
39 temp_pos = pos % temp_stride; in SpaceToBatch()
42 idx_ic = temp_pos / temp_stride; in SpaceToBatch()
43 temp_pos = pos % temp_stride; in SpaceToBatch()
46 idx_ih = temp_pos / temp_stride; in SpaceToBatch()
47 temp_pos = pos % temp_stride; in SpaceToBatch()
50 idx_iw = temp_pos / temp_stride; in SpaceToBatch()
Dtranspose_impl_opt.cu41 size_t temp_pos; in SimpleTransposeKernel() local
50 temp_pos = pos; in SimpleTransposeKernel()
52 pos_array[0] = temp_pos / pos_size; // i / (CHW) in SimpleTransposeKernel()
54 temp_pos -= pos_array[i - 1] * pos_size; in SimpleTransposeKernel()
56 pos_array[i] = temp_pos / pos_size; in SimpleTransposeKernel()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c3059 scalar(src(emit->temp_pos), TGSI_SWIZZLE_Z) )) in emit_ps_postamble()
3124 SVGA3dShaderDestToken temp_pos = emit->temp_pos; in emit_vs_postamble() local
3136 scalar(src(temp_pos), TGSI_SWIZZLE_W) )) in emit_vs_postamble()
3145 writemask(temp_pos, TGSI_WRITEMASK_XYZ), in emit_vs_postamble()
3146 src(temp_pos), in emit_vs_postamble()
3153 swizzle(src(temp_pos), 3, 3, 3, 3), in emit_vs_postamble()
3155 src(temp_pos))) in emit_vs_postamble()
3162 swizzle(src(temp_pos), 3, 3, 3, 3), in emit_vs_postamble()
3164 src(temp_pos) )) in emit_vs_postamble()
3168 SVGA3dShaderDestToken temp_pos = emit->temp_pos; in emit_vs_postamble() local
[all …]
Dsvga_tgsi_decl_sm30.c371 emit->temp_pos = emit->output_map[idx]; in ps30_output()
476 emit->temp_pos = emit->output_map[idx]; in vs30_output()
Dsvga_tgsi_emit.h120 SVGA3dShaderDestToken temp_pos; member
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dtext.cpp572 spv_position_t temp_pos = context->position(); in spvTextEncodeOpcode() local
577 context->setPosition(temp_pos); in spvTextEncodeOpcode()
/third_party/spirv-tools/source/
Dtext.cpp607 spv_position_t temp_pos = context->position(); in spvTextEncodeOpcode() local
612 context->setPosition(temp_pos); in spvTextEncodeOpcode()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext.cpp607 spv_position_t temp_pos = context->position(); in spvTextEncodeOpcode() local
612 context->setPosition(temp_pos); in spvTextEncodeOpcode()
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext.cpp607 spv_position_t temp_pos = context->position(); in spvTextEncodeOpcode() local
612 context->setPosition(temp_pos); in spvTextEncodeOpcode()