Home
last modified time | relevance | path

Searched refs:dst_slices (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/test/core/util/
Dslice_splitter.cc40 size_t src_slice_count, grpc_slice** dst_slices, in grpc_split_slices() argument
48 *dst_slices = static_cast<grpc_slice*>( in grpc_split_slices()
51 (*dst_slices)[i] = src_slices[i]; in grpc_split_slices()
52 grpc_slice_ref((*dst_slices)[i]); in grpc_split_slices()
61 *dst_slices = static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice))); in grpc_split_slices()
62 **dst_slices = grpc_slice_malloc(length); in grpc_split_slices()
65 memcpy(GRPC_SLICE_START_PTR(**dst_slices) + length, in grpc_split_slices()
77 *dst_slices = in grpc_split_slices()
82 (*dst_slices)[length] = grpc_slice_sub(src_slices[i], j, j + 1); in grpc_split_slices()
Dslice_splitter.h40 size_t src_slice_count, grpc_slice** dst_slices,
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dweights_conversion.h39 const int dst_slices = DivideRoundUp(weights.shape.o, 4); in RearrangeWeightsToOHWIOGroupI4O4() local
41 const int dst_groups = DivideRoundUp(dst_slices, out_group_size); in RearrangeWeightsToOHWIOGroupI4O4()
75 const int dst_slices = DivideRoundUp(weights.shape.o, 4); in RearrangeWeightsToOHWIOGroupO4I4() local
77 const int dst_groups = DivideRoundUp(dst_slices, out_group_size); in RearrangeWeightsToOHWIOGroupO4I4()
111 const int dst_slices = DivideRoundUp(weights.shape.o, 4); in RearrangeWeightsToODHWIOGroupI4O4() local
113 const int dst_groups = DivideRoundUp(dst_slices, out_group_size); in RearrangeWeightsToODHWIOGroupI4O4()
149 const int dst_slices = DivideRoundUp(weights.shape.o, 4); in RearrangeWeightsToI4HWIOOGroupO4() local
151 const int dst_groups = DivideRoundUp(dst_slices, out_group_size); in RearrangeWeightsToI4HWIOOGroupO4()
185 const int dst_slices = DivideRoundUp(weights.shape.o, 4); in RearrangeWeightsToO4HWIOOGroupI4() local
187 const int dst_groups = DivideRoundUp(dst_slices, out_group_size); in RearrangeWeightsToO4HWIOOGroupI4()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Ddepthwise_conv.h71 const int dst_slices = DivideRoundUp(dst_channels, 4); in UploadWeightsForDWConv2D() local
75 const int elements_count = kernel_x * kernel_y * dst_slices; in UploadWeightsForDWConv2D()
100 desc.size = int2(kernel_x * kernel_y, dst_slices); in UploadWeightsForDWConv2D()
111 const int dst_slices = DivideRoundUp(dst_channels, 4); in RearrangeWeightsForDWConv3D() local
117 for (int d = 0; d < dst_slices; ++d) { in RearrangeWeightsForDWConv3D()
145 const int dst_slices = DivideRoundUp(dst_channels, 4); in UploadWeightsForDWConv3D() local
150 const int elements_count = kernel_x * kernel_y * kernel_z * dst_slices; in UploadWeightsForDWConv3D()
176 desc.size = int2(kernel_x * kernel_y * kernel_z, dst_slices); in UploadWeightsForDWConv3D()
Dconv_metal.cc622 const int dst_slices = DivideRoundUp(dst_shape.c, 4); in GetGroupsCount() local
626 int grid_z = DivideRoundUp(dst_slices, block_size.z); in GetGroupsCount()
634 const int dst_slices = DivideRoundUp(dst_shape.c, 4); in GetGroupsCountForLinearWH() local
638 int grid_z = DivideRoundUp(dst_slices, block_size.z); in GetGroupsCountForLinearWH()
646 const int dst_slices = DivideRoundUp(dst_shape.c, 4); in GetGroupsCountForLinearWHS() local
650 int grid_z = DivideRoundUp(dst_slices, block_size.z); in GetGroupsCountForLinearWHS()
694 const int dst_slices = DivideRoundUp(dst_shape.c, 4); in GetConvParamsForA7A8() local
711 if (blk_total_size >= 4 && (dst_slices % 4 == 0 || dst_slices >= 16)) { in GetConvParamsForA7A8()
714 } else if (blk_total_size >= 2 && (dst_slices % 2 == 0 || dst_slices >= 4)) { in GetConvParamsForA7A8()
757 if (params.block_size.z == dst_slices) { in GetConvParamsForA7A8()
[all …]
Dconv_powervr.h301 const int dst_slices = in UploadWeights() local
306 weights.shape.w * src_slices * dst_slices * 4; in UploadWeights()
342 const int texture_width = dst_slices; in UploadWeights()
/external/vulkan-validation-layers/layers/
Dbuffer_validation.cpp2537 uint32_t dst_slices = in PreCallValidateCmdCopyImage() local
2540 if (src_slices != dst_slices) { in PreCallValidateCmdCopyImage()