Home
last modified time | relevance | path

Searched refs:max_array_size (Results 1 – 12 of 12) 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,
146 int64 max_array_size() const { return max_array_size_; } in max_array_size() function
Dxla_resource.cc55 int64 max_array_size) { in CreateTensorArray() argument
58 initial_value, max_array_size, in CreateTensorArray()
65 int64 max_array_size, in XlaResource() argument
75 max_array_size_(max_array_size), in XlaResource()
Dxla_compiler.cc344 if (std::tie(kind, resource_kind, type, name, initialized, max_array_size, in operator ==()
347 other.initialized, other.max_array_size, in operator ==()
390 if (max_array_size >= 0) { in HumanString()
391 absl::StrAppend(&output, " max_array_size=", max_array_size); in HumanString()
652 if (arg.max_array_size < 0) { in XLAShapeForArgument()
658 shape.AddDim(arg.max_array_size); in XLAShapeForArgument()
670 if (arg.max_array_size < 0) { in XLAShapeForArgument()
676 shape.AddDim(arg.max_array_size); in XLAShapeForArgument()
732 /*max_array_size=*/arg.max_array_size, in BuildArguments()
Dxla_compiler.h155 int64 max_array_size = -1; member
Dxla_compiler_test.cc752 args[0].max_array_size = 2; in TEST_F()
812 args[0].max_array_size = 2; in TEST_F()
845 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()
Dif_op.cc76 arg.max_array_size = resource->max_array_size(); in Compile()
Dcase_op.cc73 arg.max_array_size = resource->max_array_size(); in Compile()
Dstack_ops.cc71 stack_shape.AddDim(resource->max_array_size()); in MaybeInitializeStack()
Dwhile_op.cc74 arg.max_array_size = resource->max_array_size(); in MakeXlaCompilerArgumentsFromInputs()
/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()