Home
last modified time | relevance | path

Searched refs:max_array_size (Results 1 – 11 of 11) sorted by relevance

/external/gemmlowp/test/
Dtest_allocator.cc20 void test_allocator(Allocator* a, int max_array_size) { in test_allocator() argument
21 const std::size_t int32_array_size = Random() % max_array_size; in test_allocator()
23 const std::size_t int8_array_size = Random() % max_array_size; in test_allocator()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_resource.h48 int64 max_array_size);
52 int64 max_array_size,
148 int64 max_array_size() const { return max_array_size_; } in max_array_size() function
Dxla_resource.cc54 int64 max_array_size) { in CreateTensorArray() argument
57 initial_value, max_array_size, in CreateTensorArray()
64 int64 max_array_size, in XlaResource() argument
74 max_array_size_(max_array_size), in XlaResource()
Dxla_argument.cc23 if (std::tie(kind, resource_kind, type, name, initialized, max_array_size, in operator ==()
26 other.initialized, other.max_array_size, in operator ==()
Dxla_argument.h99 int64 max_array_size = -1; member
Dxla_compiler.cc456 if (max_array_size >= 0) { in HumanString()
457 absl::StrAppend(&output, " max_array_size=", max_array_size); in HumanString()
887 if (arg.max_array_size < 0) { in XLAShapeForArgument()
893 shape.AddDim(arg.max_array_size); in XLAShapeForArgument()
905 if (arg.max_array_size < 0) { in XLAShapeForArgument()
911 shape.AddDim(arg.max_array_size); in XLAShapeForArgument()
944 arg->max_array_size = resource.max_array_size(); in PopulateArgumentFromResource()
984 /*max_array_size=*/arg.max_array_size, in BuildArguments()
Dxla_compiler_test.cc821 args[0].max_array_size = 2; in TEST_F()
880 args[0].max_array_size = 2; in TEST_F()
912 args[0].max_array_size = 2; in TEST_F()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtensor_array_ops.cc63 TF_RET_CHECK(resource->max_array_size() >= 0) in MaybeInitializeTensorArray()
64 << resource->name() << " size " << resource->max_array_size(); in MaybeInitializeTensorArray()
80 ta_shape.AddDim(resource->max_array_size()); in MaybeInitializeTensorArray()
116 shape->InsertDim(0, resource->max_array_size()); in GetTensorArrayShape()
517 ta_shape.AddDim(resource->max_array_size()); in Compile()
520 OP_REQUIRES(ctx, lengths.size() == resource->max_array_size(), in Compile()
523 lengths.size(), " vs. ", resource->max_array_size(), ")")); in Compile()
561 size_tensor.scalar<int32>()() = static_cast<int32>(var->max_array_size()); in Compile()
Dstack_ops.cc71 stack_shape.AddDim(resource->max_array_size()); in MaybeInitializeStack()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c127 int max_array_size = 0; in update_array_sizes() local
137 max_array_size = MAX2(BITSET_LAST_BIT(ainfo->indices, words), in update_array_sizes()
138 max_array_size); in update_array_sizes()
141 if (max_array_size == glsl_array_size(var->type)) in update_array_sizes()
145 if (max_array_size != glsl_array_size(var->type)) { in update_array_sizes()
157 (max_array_size * (num_slots / glsl_array_size(var->type))); in update_array_sizes()
161 max_array_size, 0); in update_array_sizes()
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTessellation.cpp2652 int max_array_size = de::max(m_gl_max_tess_control_input_components_value, in initReferenceValues() local
2657 m_ref_vertex_attributes = (glw::GLfloat*)malloc(sizeof(glw::GLfloat) * (max_array_size)); in initReferenceValues()