Home
last modified time | relevance | path

Searched refs:output_offset (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dbatch_to_space_base.c27 int output_offset = 0; in BatchToSpaceNoCropForNHWC() local
39 … memcpy((int8_t *)output + output_offset, (int8_t *)input + in_offset * data_size, copy_size); in BatchToSpaceNoCropForNHWC()
40 output_offset += copy_size; in BatchToSpaceNoCropForNHWC()
68 int output_offset = 0; in BatchToSpaceForNHWC() local
88 … memcpy((int8_t *)output + output_offset, (int8_t *)input + in_offset * data_size, copy_size); in BatchToSpaceForNHWC()
89 output_offset += copy_size; in BatchToSpaceForNHWC()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Darg_min_max_fp32.c52 int output_offset = i * after_axis_count; in ArgMaxTopK1() local
53 int input_offset = output_offset * axis_count; in ArgMaxTopK1()
65 outputfp32[output_offset + j] = value; in ArgMaxTopK1()
67 outputint[output_offset + j] = index; in ArgMaxTopK1()
70 output_value[output_offset + j] = value; in ArgMaxTopK1()
82 int output_offset = i * after_axis_count; in ArgMinTopK1() local
83 int input_offset = output_offset * axis_count; in ArgMinTopK1()
95 outputfp32[output_offset + j] = value; in ArgMinTopK1()
97 outputint[output_offset + j] = index; in ArgMinTopK1()
100 output_value[output_offset + j] = value; in ArgMinTopK1()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Darg_min_max_fp16.c51 size_t output_offset = i * after_axis_count; in ArgMaxTopK1Fp16() local
52 size_t input_offset = output_offset * axis_count; in ArgMaxTopK1Fp16()
64 outputfp16[output_offset + j] = value; in ArgMaxTopK1Fp16()
66 outputint[output_offset + j] = index; in ArgMaxTopK1Fp16()
69 output_value[output_offset + j] = value; in ArgMaxTopK1Fp16()
81 size_t output_offset = i * after_axis_count; in ArgMinTopK1Fp16() local
82 size_t input_offset = output_offset * axis_count; in ArgMinTopK1Fp16()
94 outputfp16[output_offset + j] = value; in ArgMinTopK1Fp16()
96 outputint[output_offset + j] = index; in ArgMinTopK1Fp16()
99 output_value[output_offset + j] = value; in ArgMinTopK1Fp16()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dreduce_grad.c35 size_t output_offset = GetOutputOffset(input_num_dims, input_dims, input_iter, num_axes, axes); in ReduceMeanByAxes() local
36 output_data[output_offset] += input_data[input_offset]; in ReduceMeanByAxes()
85 size_t output_offset = GetOutputOffset(num_dims, input_dims, input_iter, num_axes, axes); in ReduceSumByAxes() local
86 output[output_offset] += input[input_offset]; in ReduceSumByAxes()
/third_party/mesa3d/src/amd/compiler/tests/
Dmain.cpp65 static size_t output_offset = 0; variable
83 if (output_offset == output_size && !test_skipped && !test_failed) in write_test()
86 char *data = output_data + output_offset; in write_test()
87 uint32_t size = output_size - output_offset; in write_test()
105 output_offset += size; in write_test()
150 output_offset = 0; in run_test()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dbatch_to_space_int8.c27 size_t output_offset = 0; in BatchToSpaceNoCropForNHWCInt8() local
47 output[output_offset++] = output_tmp; in BatchToSpaceNoCropForNHWCInt8()
73 size_t output_offset = 0; in BatchToSpaceForNHWCInt8() local
102 output[output_offset++] = output_tmp; in BatchToSpaceForNHWCInt8()
Darg_min_max_int8.c42 int output_offset = i * after_axis_count; in DoArgMinMaxQuant() local
43 int input_offset = output_offset * axis_count; in DoArgMinMaxQuant()
65 output[output_offset + j] = real_out * output_inverse_scale + output_zp; in DoArgMinMaxQuant()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioaggregator.c109 guint64 output_offset; /* Sample offset in output segment relative to member
221 pad->priv->output_offset = -1; in gst_audio_aggregator_pad_init()
242 pad->priv->output_offset = pad->priv->next_offset = -1; in gst_audio_aggregator_pad_flush_pad()
1812 if (pad->priv->output_offset == -1) in gst_audio_aggregator_fill_buffer()
1813 pad->priv->output_offset = aagg->priv->offset; in gst_audio_aggregator_fill_buffer()
1882 if (pad->priv->output_offset == -1 || discont) { in gst_audio_aggregator_fill_buffer()
1946 (pad->priv->output_offset != -1 && in gst_audio_aggregator_fill_buffer()
1947 start_output_offset < pad->priv->output_offset)) { in gst_audio_aggregator_fill_buffer()
1959 } else if (pad->priv->output_offset != -1 && in gst_audio_aggregator_fill_buffer()
1960 start_output_offset < pad->priv->output_offset) { in gst_audio_aggregator_fill_buffer()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch.c87 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare()
97 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare()
108 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare()
119 key.element[nr].output_offset = dst_offset; in draw_pt_fetch_prepare()
Ddraw_vs_variant.c333 fetch.element[i].output_offset = i * 4 * sizeof(float); in draw_vs_create_variant_generic()
334 assert(fetch.element[i].output_offset < fetch.output_stride); in draw_vs_create_variant_generic()
349 emit.element[i].output_offset = key->element[i].out.offset; in draw_vs_create_variant_generic()
359 emit.element[i].output_offset = key->element[i].out.offset; in draw_vs_create_variant_generic()
Ddraw_prim_assembler.c120 unsigned output_offset = in copy_verts() local
123 memcpy(output + output_offset, input + input_offset, in copy_verts()
Ddraw_pt_emit.c112 hw_key.element[i].output_offset = dst_offset; in draw_pt_emit_prepare()
Ddraw_pipe_vbuf.c239 hw_key.element[i].output_offset = dst_offset; in vbuf_start_prim()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dshift_cpu_kernel.cc122 size_t output_offset = offset + copy_dst_begin_ * inner_size; in Launch() local
124 size_t dst_max_size = outputs[0]->size - output_offset; in Launch()
125 auto ret = memcpy_s(output + output_offset, dst_max_size, input + input_offset, copy_size); in Launch()
/third_party/boost/boost/compute/algorithm/detail/
Dradix_sort.hpp341 uint_ output_offset = 0; in radix_sort_impl() local
408 scatter_kernel.set_arg(7, output_offset); in radix_sort_impl()
423 std::swap(input_offset, output_offset); in radix_sort_impl()
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/
Dradix_sort.hpp341 uint_ output_offset = 0; in radix_sort_impl() local
408 scatter_kernel.set_arg(7, output_offset); in radix_sort_impl()
423 std::swap(input_offset, output_offset); in radix_sort_impl()
/third_party/ffmpeg/libavfilter/
Daf_afir.c99 seg->output_offset[ch] += s->min_part_size; in fir_quantum()
100 if (seg->output_offset[ch] == seg->part_size) { in fir_quantum()
101 seg->output_offset[ch] = 0; in fir_quantum()
105 dst += seg->output_offset[ch]; in fir_quantum()
397 seg->output_offset = av_calloc(ctx->inputs[0]->channels, sizeof(*seg->output_offset)); in init_segment()
398 if (!seg->part_index || !seg->output_offset) in init_segment()
438 av_freep(&seg->output_offset); in uninit_segment()
Daf_afir.h43 int *output_offset; member
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c266 nir_ssa_def *output_offset = nir_load_var(b, state->gs.output_offset_var); in v3d_nir_lower_emit_vertex() local
275 output_offset = in v3d_nir_lower_emit_vertex()
276 nir_iadd(b, output_offset, in v3d_nir_lower_emit_vertex()
284 nir_store_var(b, state->gs.output_offset_var, output_offset, 0x1); in v3d_nir_lower_emit_vertex()
/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h75 unsigned output_offset; member
Dtranslate_generic.c60 unsigned output_offset; member
599 uint8_t *dst = (uint8_t *)vert + tg->attrib[attr].output_offset; in generic_run_one()
822 tg->attrib[i].output_offset = key->element[i].output_offset; in translate_generic_create()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiofxbasefirfilter.c800 guint64 output_offset; in gst_audio_fx_base_fir_filter_transform() local
888 output_offset = self->nsamples_out - self->latency - generated_samples; in gst_audio_fx_base_fir_filter_transform()
890 self->start_ts + gst_util_uint64_scale_int (output_offset, GST_SECOND, in gst_audio_fx_base_fir_filter_transform()
895 GST_BUFFER_OFFSET (outbuf) = self->start_off + output_offset; in gst_audio_fx_base_fir_filter_transform()
/third_party/mesa3d/src/amd/vulkan/
Dradv_query.c277 nir_variable *output_offset = in build_pipeline_statistics_query_shader() local
308 nir_store_var(&b, output_offset, output_base, 0x1); in build_pipeline_statistics_query_shader()
326 nir_store_ssbo(&b, result, dst_buf, nir_load_var(&b, output_offset), .write_mask = 0x1, in build_pipeline_statistics_query_shader()
331 nir_store_ssbo(&b, nir_u2u32(&b, result), dst_buf, nir_load_var(&b, output_offset), in build_pipeline_statistics_query_shader()
336 nir_store_var(&b, output_offset, nir_iadd(&b, nir_load_var(&b, output_offset), elem_size), in build_pipeline_statistics_query_shader()
/third_party/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c151 key.element[0].output_offset = 0; in main()
/third_party/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.c505 transkey.element[i].output_offset = This->elems[i].src_offset; in NineVertexDeclaration9_ConvertStreamOutput()

12