Home
last modified time | relevance | path

Searched refs:src_index (Results 1 – 25 of 106) sorted by relevance

12345

/aosp_15_r20/system/media/audio_utils/
H A Dchannels.cpp81 size_t src_index; \
84 for (src_index = 0; src_index < num_in_samples; src_index += (in_buff_chans)) { \
114 size_t src_index; \
117 for (src_index = 0; src_index < num_in_samples; src_index += (in_buff_chans)) { \
161 size_t src_index; \
162 for (src_index = 0; src_index < num_out_samples; src_index += (out_buff_chans)) { \
192 size_t src_index; \
195 for (src_index = 0; src_index < num_in_samples; src_index += (in_buff_chans)) { \
225 size_t src_index; \
226 for (src_index = 0; src_index < num_in_samples; src_index += (in_buff_chans)) { \
[all …]
/aosp_15_r20/external/mesa3d/src/asahi/compiler/
H A Dagx_lower_uniform_sources.c16 agx_instr_accepts_uniform(enum agx_opcode op, unsigned src_index, in agx_instr_accepts_uniform() argument
30 assert(!(src_index == 2 && high) && "texture heap always low"); in agx_instr_accepts_uniform()
31 return !high && (src_index == 1 || src_index == 2); in agx_instr_accepts_uniform()
34 return src_index == 0 && !high; in agx_instr_accepts_uniform()
37 return src_index == 1 && !high; in agx_instr_accepts_uniform()
39 return src_index == 0; in agx_instr_accepts_uniform()
41 return src_index == 1; in agx_instr_accepts_uniform()
43 return src_index == 3; in agx_instr_accepts_uniform()
45 return src_index == 0; in agx_instr_accepts_uniform()
H A Dagx_nir_opt_preamble.c34 unsigned src_index = ~0; in all_uses_float() local
37 src_index = i; in all_uses_float()
42 assert(src_index != ~0); in all_uses_float()
44 nir_op_infos[use_alu->op].input_types[src_index]); in all_uses_float()
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/mkl/
H A Dmkl_relu_op.cc442 const size_t src_index = 0; // index of src input tensor in Compute() local
444 const Tensor& src_tensor = MklGetInput(context, src_index); in Compute()
446 GetMklShape(context, src_index, &dnn_shape_src); in Compute()
457 tf_shape_dst = MklGetInput(context, src_index).shape(); in Compute()
531 {static_cast<const int>(src_index)}, in Compute()
593 size_t src_index = GetSrcIndex(); in Compute() local
596 const Tensor& src_tensor = MklGetInput(context, src_index); in Compute()
601 GetMklShape(context, src_index, &dnn_shape_src); in Compute()
774 const size_t src_index = 0; // index of src input tensor in Compute_Scalar() local
776 const Tensor& src_tensor = MklGetInput(context, src_index); in Compute_Scalar()
[all …]
/aosp_15_r20/external/mesa3d/src/imagination/rogue/
H A Drogue.h319 unsigned src_index; member
669 unsigned src_index; member
1006 unsigned src_index; member
1311 unsigned src_index, in rogue_set_alu_src_mod() argument
1314 alu->src[src_index].mod |= BITFIELD64_BIT(mod); in rogue_set_alu_src_mod()
1318 unsigned src_index, in rogue_alu_src_mod_is_set() argument
1321 return !!(alu->src[src_index].mod & BITFIELD64_BIT(mod)); in rogue_alu_src_mod_is_set()
1698 unsigned src_index) in ROGUE_DEFINE_CAST()
1704 return info->phase_io[phase].src[src_index]; in ROGUE_DEFINE_CAST()
1710 return info->phase_io.src[src_index]; in ROGUE_DEFINE_CAST()
[all …]
H A Drogue_compile.c539 unsigned src_index = intr->src[0].ssa->index; in trans_nir_intrinsic_load_global_constant() local
540 rogue_regarray *src = rogue_ssa_vec_regarray(b->shader, 2, src_index, 0); in trans_nir_intrinsic_load_global_constant()
627 unsigned src_index[2] = { alu->src[0].src.ssa->index, in trans_nir_alu_iadd64() local
631 rogue_ssa_vec_regarray(b->shader, 1, src_index[0], 0), in trans_nir_alu_iadd64()
632 rogue_ssa_vec_regarray(b->shader, 1, src_index[0], 1), in trans_nir_alu_iadd64()
635 rogue_ssa_vec_regarray(b->shader, 1, src_index[1], 0), in trans_nir_alu_iadd64()
636 rogue_ssa_vec_regarray(b->shader, 1, src_index[1], 1), in trans_nir_alu_iadd64()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dtuple_points_to_analysis.cc239 ShapeIndex src_index; in HandleGetTupleElement() local
240 src_index.push_back(element_index); in HandleGetTupleElement()
242 src_index.push_back(element); in HandleGetTupleElement()
245 *points_to = operand_points_to_set.element(src_index); in HandleGetTupleElement()
247 operand_points_to_set.tuple_sources(src_index)) { in HandleGetTupleElement()
370 const ShapeIndex& src_index, in HandleAsyncDone()
372 if (!src_index.empty() && src_index.front() == 1) { in HandleAsyncDone()
373 const ShapeIndex target_index(src_index.begin() + 1, src_index.end()); in HandleAsyncDone()
377 operand_points_to_set.tuple_sources(src_index)) { in HandleAsyncDone()
417 const ShapeIndex& src_index, in HandleCopyDone()
[all …]
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vertex.h77 unsigned src_index:8; /**< map to post-xform attribs */ member
117 int src_index) in draw_emit_vertex_attr() argument
123 if (src_index < 0) { in draw_emit_vertex_attr()
124 src_index = DRAW_ATTR_NONEXIST; in draw_emit_vertex_attr()
129 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cuda/
H A DUpSample.cuh142 const int src_index = in nearest_neighbor_compute_source_index() local
144 return src_index; in nearest_neighbor_compute_source_index()
154 const int src_index = in nearest_neighbor_exact_compute_source_index() local
156 return src_index; in nearest_neighbor_exact_compute_source_index()
167 const int src_index = in nearest_neighbor_bw_compute_source_index() local
169 return src_index; in nearest_neighbor_bw_compute_source_index()
178 const int src_index = in nearest_neighbor_exact_bw_compute_source_index() local
180 return src_index; in nearest_neighbor_exact_bw_compute_source_index()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_variable.c66 int src_index = reader->U.P.Arg->Source; in rc_variable_change_dst() local
67 if (src_index == RC_PAIR_PRESUB_SRC) { in rc_variable_change_dst()
68 src_index = rc_pair_get_src_index( in rc_variable_change_dst()
72 src_index); in rc_variable_change_dst()
79 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
81 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
83 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
87 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
89 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
91 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
[all …]
H A Dradeon_optimize.c378 unsigned int src_index; in presub_helper() local
383 for (src_index = 0; src_index < info->NumSrcRegs; src_index++) { in presub_helper()
384 if (&reader.Inst->U.I.SrcReg[src_index] == reader.U.I.Src) in presub_helper()
385 presub_replace(inst_add, reader.Inst, src_index); in presub_helper()
394 unsigned int src_index) in presub_replace_add() argument
422 inst_reader->U.I.SrcReg[src_index] = in presub_replace_add()
423 chain_srcregs(inst_reader->U.I.SrcReg[src_index], in presub_replace_add()
425 inst_reader->U.I.SrcReg[src_index].File = RC_FILE_PRESUB; in presub_replace_add()
426 inst_reader->U.I.SrcReg[src_index].Index = presub_opcode; in presub_replace_add()
515 unsigned int src_index) in presub_replace_inv() argument
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/framework/
H A Dnode_def_builder.cc96 NodeDefBuilder& NodeDefBuilder::Input(StringPiece src_node, int src_index, in Input() argument
99 if (arg != nullptr) SingleInput(arg, src_node, src_index, dt); in Input()
116 StringPiece src_node, int src_index, in SingleInput() argument
118 AddInput(src_node, src_index); in SingleInput()
173 void NodeDefBuilder::AddInput(StringPiece src_node, int src_index) { in AddInput() argument
179 } else if (src_index > 0) { in AddInput()
180 node_def_.add_input(strings::StrCat(src_node, ":", src_index)); in AddInput()
/aosp_15_r20/external/mesa3d/src/virtio/vulkan/
H A Dvn_query_pool.c185 uint32_t src_index = 0; in vn_get_query_pool_feedback() local
191 const uint64_t avail = src[src_index + pool->result_array_size]; in vn_get_query_pool_feedback()
193 memcpy(&dst[dst_index], &src[src_index], in vn_get_query_pool_feedback()
208 src_index += slot_array_size; in vn_get_query_pool_feedback()
216 (uint32_t)src[src_index + pool->result_array_size]; in vn_get_query_pool_feedback()
219 const uint64_t src_val = src[src_index + j]; in vn_get_query_pool_feedback()
238 src_index += slot_array_size; in vn_get_query_pool_feedback()
/aosp_15_r20/trusty/user/app/storage/
Dblock_tree.c214 unsigned int src_index, in block_tree_node_shift() argument
250 if (!(shift_mode & SHIFT_LEFT_CHILD) && src_index != UINT_MAX) { in block_tree_node_shift()
251 src_index++; in block_tree_node_shift()
257 if (src_index < dest_index) { in block_tree_node_shift()
259 size = (dest_index - src_index) * entry_size; in block_tree_node_shift()
260 if (src_index == max_count) { in block_tree_node_shift()
270 __func__, src, max_count - (dest_index - src_index), in block_tree_node_shift()
274 __func__, max_count - (dest_index - src_index), in block_tree_node_shift()
284 if (src_index < max_count) { in block_tree_node_shift()
286 src = base + src_index * entry_size; in block_tree_node_shift()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/java/src/main/native/
H A Dutils_jni.cc21 jintArray src_index, TF_Output* dst, jint n) { in resolveOutputs() argument
29 len = env->GetArrayLength(src_index); in resolveOutputs()
37 jint* indices = env->GetIntArrayElements(src_index, nullptr); in resolveOutputs()
47 env->ReleaseIntArrayElements(src_index, indices, JNI_ABORT); in resolveOutputs()
/aosp_15_r20/external/tensorflow/tensorflow/core/graph/
H A Dnode_builder.cc56 NodeBuilder& NodeBuilder::Input(Node* src_node, int src_index) { in Input() argument
57 inputs_.emplace_back(src_node, src_index); in Input()
59 if (GetOutputType(src_node, src_index, &dt)) { in Input()
60 def_builder_.Input(src_node->name(), src_index, dt); in Input()
/aosp_15_r20/external/tensorflow/tensorflow/core/lib/gtl/
H A Dflatmap.h349 void MoveFrom(uint32 i, Bucket* src, uint32 src_index) { in MoveFrom()
350 new (&storage.key[i]) Key(std::move(src->storage.key[src_index])); in MoveFrom()
351 new (&storage.val[i]) Val(std::move(src->storage.val[src_index])); in MoveFrom()
353 void CopyFrom(uint32 i, Bucket* src, uint32 src_index) { in CopyFrom()
354 new (&storage.key[i]) Key(src->storage.key[src_index]); in CopyFrom()
355 new (&storage.val[i]) Val(src->storage.val[src_index]); in CopyFrom()
H A Dflatset.h272 void MoveFrom(uint32 i, Bucket* src, uint32 src_index) { in MoveFrom()
273 new (&storage.key[i]) Key(std::move(src->storage.key[src_index])); in MoveFrom()
275 void CopyFrom(uint32 i, Bucket* src, uint32 src_index) { in CopyFrom()
276 new (&storage.key[i]) Key(src->storage.key[src_index]); in CopyFrom()
/aosp_15_r20/external/executorch/backends/vulkan/runtime/graph/ops/glsl/
H A Dpermute.glsl65 int src_index = v[0] * in_channel_4up + v[1];
69 VEC4_T inval = VEC4_T(texelFetch(image_in, ivec3(w, h, src_index / 4), 0));
70 outval[j] = inval[src_index % 4];
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/glsl/
H A Dslice_4d.glsl76 uint src_index = b * uBlock.c_info.y + c;
80 posIn.z = int(src_index / 4);
81 uint i = (src_index % 4);
H A Dpermute_4d.glsl122 uint src_index = b * uBlock.ch_info.y + c;
126 posIn.z = int(src_index / 4);
127 uint i = (src_index % 4);
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/command_buffer/standard/builder/
Dsync.rs519 src_index, in validate_pipeline_barrier()
522 ) => Some(max(src_index, dst_index)), in validate_pipeline_barrier()
525 QueueFamilyOwnershipTransfer::ExclusiveToExternal { src_index } in validate_pipeline_barrier()
526 | QueueFamilyOwnershipTransfer::ExclusiveToForeign { src_index }, in validate_pipeline_barrier()
527 ) => Some(src_index), in validate_pipeline_barrier()
1849 src_index, in validate_set_event()
1852 ) => Some(max(src_index, dst_index)), in validate_set_event()
1855 QueueFamilyOwnershipTransfer::ExclusiveToExternal { src_index } in validate_set_event()
1856 | QueueFamilyOwnershipTransfer::ExclusiveToForeign { src_index }, in validate_set_event()
1857 ) => Some(src_index), in validate_set_event()
[all …]
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_opt_intrinsics.c280 unsigned src_index = alu_src - alu->src; in try_opt_exclusive_scan_to_inclusive() local
282 assert(src_index < 2 && nir_op_infos[alu->op].num_inputs == 2); in try_opt_exclusive_scan_to_inclusive()
285 nir_scalar op_scalar = nir_scalar_resolved(alu->src[!src_index].src.ssa, in try_opt_exclusive_scan_to_inclusive()
286 alu->src[!src_index].swizzle[0]); in try_opt_exclusive_scan_to_inclusive()
/aosp_15_r20/external/mesa3d/src/freedreno/ir3/
H A Dir3_nir_opt_preamble.c41 unsigned src_index = ~0; in all_uses_float() local
44 src_index = i; in all_uses_float()
49 assert(src_index != ~0); in all_uses_float()
51 nir_alu_type_get_base_type(nir_op_infos[use_alu->op].input_types[src_index]); in all_uses_float()
53 if (src_type != nir_type_float || (src_index == 2 && !allow_src2)) in all_uses_float()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/
H A Dshape_tree.h268 void CopySubtreeFrom(const ShapeTree<T>& other, const ShapeIndex& src_index, in CopySubtreeFrom() argument
270 const Shape& src_shape = ShapeUtil::GetSubshape(other.shape(), src_index); in CopySubtreeFrom()
277 auto without_prefix = ShapeIndexView(index).subspan(src_index.size()); in CopySubtreeFrom()
285 auto first = other.find(src_index); in CopySubtreeFrom()

12345