Home
last modified time | relevance | path

Searched refs:out_idx (Results 1 – 24 of 24) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_user_cull.c71 unsigned out_idx = in user_cull_point() local
74 float cull1 = header->v[0]->data[out_idx][idx]; in user_cull_point()
101 unsigned out_idx = in user_cull_line() local
104 float cull1 = header->v[0]->data[out_idx][idx]; in user_cull_line()
105 float cull2 = header->v[1]->data[out_idx][idx]; in user_cull_line()
133 unsigned out_idx = in user_cull_tri() local
136 float cull1 = header->v[0]->data[out_idx][idx]; in user_cull_tri()
137 float cull2 = header->v[1]->data[out_idx][idx]; in user_cull_tri()
138 float cull3 = header->v[2]->data[out_idx][idx]; in user_cull_tri()
/third_party/mesa3d/src/gallium/auxiliary/indices/
Du_indices.c135 unsigned out_idx; in u_index_translator() local
146 out_idx = out_size_idx(*out_index_size); in u_index_translator()
163 *out_translate = translate[in_idx][out_idx][in_pv][out_pv][prim_restart][prim]; in u_index_translator()
248 unsigned out_idx; in u_index_generator() local
253 out_idx = out_size_idx(*out_index_size); in u_index_generator()
260 *out_generate = generate[out_idx][in_pv][out_pv][PIPE_PRIM_POINTS]; in u_index_generator()
263 *out_generate = generate[out_idx][in_pv][out_pv][prim]; in u_index_generator()
Du_unfilled_indices.c139 unsigned out_idx; in u_unfilled_translator() local
147 out_idx = out_size_idx(*out_index_size); in u_unfilled_translator()
173 *out_translate = translate_line[in_idx][out_idx][prim]; in u_unfilled_translator()
198 unsigned out_idx; in u_unfilled_generator() local
205 out_idx = out_size_idx(*out_index_size); in u_unfilled_generator()
220 *out_generate = generate_line[out_idx][prim]; in u_unfilled_generator()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/
Dgraph_converter.cc71 for (size_t out_idx = 0; out_idx < anf_trt_index_map.size(); out_idx++) { in BuildMakeTupleNode() local
73 auto iter = anf_trt_index_map.find(out_idx); in BuildMakeTupleNode()
75 MS_LOG(WARNING) << "Output node found: " << out_idx; in BuildMakeTupleNode()
222 for (size_t out_idx = 0; out_idx < outputs.size(); out_idx++) { in ReplaceSubgraphWithTrtNode() local
223 size_t trt_index = anf_trt_index_map[out_idx]; in ReplaceSubgraphWithTrtNode()
227 new_out->set_abstract(outputs[out_idx]->abstract()); in ReplaceSubgraphWithTrtNode()
228 manager->Replace(outputs[out_idx], new_out); in ReplaceSubgraphWithTrtNode()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/
Dunique_op.cc47 std::shared_ptr<Tensor> out_idx; in Compute() local
50 RETURN_IF_NOT_OK(Unique(in_tensor, &out, &out_idx, &out_cnt)); in Compute()
52 output->push_back(out_idx); in Compute()
/third_party/mindspore/mindspore/lite/src/train/
Dtrain_export.cc325 std::vector<uint32_t> out_idx = {static_cast<uint32_t>(last_id + 1)}; in AddTransformNode() local
327 auto cnode = CreateTransformNode(in_idx, out_idx, last_node); in AddTransformNode()
365 std::vector<uint32_t> in_idx, out_idx; in ExportNet() local
392 out_idx.push_back(tensor_idx); in ExportNet()
396 out_idx.push_back(it->second); in ExportNet()
400 auto ret = CreateAndAddCNode(kernel, in_idx, out_idx, model); in ExportNet()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/nonwritable/
Dfunction_nonwritable.amber84 %out_idx = OpIAdd %uint %i_modifier %j
85 %out_gep = OpAccessChain %ptr_ssbo_uint %out_var %uint_0 %out_idx
Dprivate_nonwritable.amber84 %out_idx = OpIAdd %uint %i_modifier %j
85 %out_gep = OpAccessChain %ptr_ssbo_uint %out_var %uint_0 %out_idx
/third_party/ffmpeg/libswresample/
Dresample.c567 int in_count, int *out_idx, int *out_sz) in invert_initial_buffer() argument
588 *out_idx = c->filter_length; in invert_initial_buffer()
602 *out_idx = c->filter_length; in invert_initial_buffer()
604 --*out_idx; in invert_initial_buffer()
608 1 + c->filter_length * 2) - *out_idx; in invert_initial_buffer()
Dsoxr_resample.c112 int in_count, int *out_idx, int *out_sz){ in invert_initial_buffer() argument
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_helper.cc413 for (size_t out_idx = 0; out_idx < outputs.size(); out_idx++) { in ReplaceNewFuseCNode() local
416 if (!IsMakeTupleOut(outputs[out_idx], &real_outs)) { in ReplaceNewFuseCNode()
420 fn_inputs.push_back(NewValueNode(MakeValue(SizeToLong(out_idx + offset)))); in ReplaceNewFuseCNode()
422 new_out->set_abstract(outputs[out_idx]->abstract()); in ReplaceNewFuseCNode()
423 mng->Replace(outputs[out_idx], new_out); in ReplaceNewFuseCNode()
428 auto users = mng->node_users()[outputs[out_idx]]; in ReplaceNewFuseCNode()
440 int64_t new_item_idx = SizeToLong(out_idx + offset) + item_idx; in ReplaceNewFuseCNode()
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Ddepthwise_conv2d_info.cc46 for (int64_t out_idx = 0; out_idx < outer_total_dim; out_idx++) { in SplitConstantData() local
47 (void)(memcpy(out_data[slice_idx] + out_idx * out_stride, src_ptr, out_stride)); in SplitConstantData()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c678 unsigned out_idx = 0; in si_build_wrapper_function() local
716 } else if (out_idx < num_out_sgpr) { in si_build_wrapper_function()
719 out_idx = num_out_sgpr; in si_build_wrapper_function()
722 assert(out_idx + param_size <= (is_sgpr ? num_out_sgpr : num_out)); in si_build_wrapper_function()
725 arg = out[out_idx]; in si_build_wrapper_function()
727 arg = ac_build_gather_values(&ctx->ac, &out[out_idx], param_size); in si_build_wrapper_function()
744 out_idx += param_size; in si_build_wrapper_function()
Dgfx10_shader_ngg.c1602 LLVMValueRef vertexptr, unsigned out_idx) in ngg_gs_get_emit_output_ptr() argument
1607 LLVMConstInt(ctx->ac.i32, out_idx, false), in ngg_gs_get_emit_output_ptr()
1646 unsigned out_idx = 0; in gfx10_ngg_gs_emit_vertex() local
1648 for (unsigned chan = 0; chan < 4; chan++, out_idx++) { in gfx10_ngg_gs_emit_vertex()
1655 LLVMBuildStore(builder, out_val, ngg_gs_get_emit_output_ptr(ctx, vertexptr, out_idx)); in gfx10_ngg_gs_emit_vertex()
1658 assert(out_idx * 4 == sel->gsvs_vertex_size); in gfx10_ngg_gs_emit_vertex()
1954 unsigned out_idx = 0; in gfx10_ngg_gs_emit_epilogue() local
1958 for (unsigned j = 0; j < 4; j++, out_idx++) { in gfx10_ngg_gs_emit_epilogue()
1959 tmp = ngg_gs_get_emit_output_ptr(ctx, vertexptr, out_idx); in gfx10_ngg_gs_emit_epilogue()
/third_party/ffmpeg/libavcodec/
Dh264dec.c927 int ret, i, out_idx; in send_next_delayed_frame() local
933 out_idx = 0; in send_next_delayed_frame()
941 out_idx = i; in send_next_delayed_frame()
944 for (i = out_idx; h->delayed_pic[i]; i++) in send_next_delayed_frame()
Dh264_slice.c1356 int i, pics, out_of_order, out_idx; in h264_select_output_frame() local
1402 out_idx = 0; in h264_select_output_frame()
1409 out_idx = i; in h264_select_output_frame()
1418 for (i = out_idx; h->delayed_pic[i]; i++) in h264_select_output_frame()
1423 …if (out_idx == 0 && h->delayed_pic[0] && (h->delayed_pic[0]->f->key_frame || h->delayed_pic[0]->mm… in h264_select_output_frame()
Ddiracdec.c2088 int i, out_idx = 0; in get_delayed_pic() local
2095 out_idx = i; in get_delayed_pic()
2098 for (i = out_idx; s->delay_frames[i]; i++) in get_delayed_pic()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_tgsi.c706 uint out_idx = inst->Dst[0].Register.Index; in etna_compile_pass_optimize_outputs() local
714 !c->file[TGSI_FILE_OUTPUT].reg[out_idx].native.valid && in etna_compile_pass_optimize_outputs()
716 c->file[TGSI_FILE_OUTPUT].reg[out_idx].native = in etna_compile_pass_optimize_outputs()
733 !c->file[TGSI_FILE_OUTPUT].reg[out_idx].native.valid && in etna_compile_pass_optimize_outputs()
734 c->file[TGSI_FILE_OUTPUT].reg[out_idx].last_use == inst_idx && in etna_compile_pass_optimize_outputs()
735 c->file[TGSI_FILE_OUTPUT].reg[out_idx].first_use == inst_idx) { in etna_compile_pass_optimize_outputs()
736 c->file[TGSI_FILE_OUTPUT].reg[out_idx].native = in etna_compile_pass_optimize_outputs()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1540 unsigned out_idx) in ngg_gs_get_emit_output_ptr() argument
1545 LLVMConstInt(ctx->ac.i32, out_idx, false), in ngg_gs_get_emit_output_ptr()
1952 unsigned out_idx = 0; in gfx10_ngg_gs_emit_epilogue_2() local
1964 for (unsigned j = 0; j < length; j++, out_idx++) { in gfx10_ngg_gs_emit_epilogue_2()
1968 tmp = ngg_gs_get_emit_output_ptr(ctx, vertexptr, out_idx); in gfx10_ngg_gs_emit_epilogue_2()
2012 unsigned out_idx = 0; in gfx10_ngg_gs_emit_vertex() local
2022 for (unsigned j = 0; j < length; j++, out_idx++) { in gfx10_ngg_gs_emit_vertex()
2030 LLVMBuildStore(builder, out_val, ngg_gs_get_emit_output_ptr(ctx, vertexptr, out_idx)); in gfx10_ngg_gs_emit_vertex()
2033 assert(out_idx * 4 <= ctx->args->shader_info->gs.gsvs_vertex_size); in gfx10_ngg_gs_emit_vertex()
/third_party/mindspore/mindspore/ops/_grad/
Dgrad_nn_ops.py153 out_idx = F.tuple_to_array(range(out_indices_num))
154 out_idx = reshape(out_idx, (1, out_row, out_col, ksizes_row * ksizes_col))
156 idx_tensor = concat((expand_dims(x_idx_patch, -1), expand_dims(out_idx, -1)))
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_model_parser.cc531 [&](auto out_idx) { return tflite_subgraph->tensors.at(out_idx)->name; }); in ConvertGraphOutputs() argument
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_session.cc185 size_t out_idx = 0; in GenOpOutputStubTensor() local
187 KernelWithIndex kernel_with_index = std::make_pair(kernel, out_idx++); in GenOpOutputStubTensor()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c3358 unsigned out_idx = key->min_samples == 1 ? 0 : s; in generate_fragment() local
3371 num_fs, fs_type, &fs_mask[mask_idx], fs_out_color[out_idx], in generate_fragment()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c3304 int out_idx = i >= outer_comps ? tessinner_idx : tessouter_idx; in r600_emit_tess_factor() local
3322 ctx->shader->output[out_idx].gpr, out_comp, in r600_emit_tess_factor()