Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dadjust_saturation_op_gpu.cu.cc29 const int64 number_of_elements, in operator ()() argument
35 GetCudaLaunchConfig(number_of_elements, *device); in operator ()()
38 (number_of_elements + threads_per_block - 1) / threads_per_block; in operator ()()
41 number_of_elements, input, output, nullptr, in operator ()()
Dadjust_hue_op_gpu.cu.cc29 const int64 number_of_elements, in operator ()() argument
34 GetCudaLaunchConfig(number_of_elements, *device); in operator ()()
37 (number_of_elements + threads_per_block - 1) / threads_per_block; in operator ()()
40 number_of_elements, input, output, delta, in operator ()()
Dadjust_saturation_op.cc230 const int64 number_of_elements = input->NumElements(); in DoCompute() local
234 if (number_of_elements > 0) { in DoCompute()
238 functor::AdjustSaturationGPU<T>()(&device, number_of_elements, input_data, in DoCompute()
Dadjust_hue_op.cc264 const int64 number_of_elements = input->NumElements(); in DoCompute() local
268 if (number_of_elements > 0) { in DoCompute()
272 functor::AdjustHueGPU<T>()(&device, number_of_elements, input_data, in DoCompute()
Dadjust_saturation_op.h32 void operator()(GPUDevice* device, const int64 number_of_elements,
Dadjust_hue_op.h32 void operator()(GPUDevice* device, const int64 number_of_elements,
/external/v8/src/builtins/
Dbuiltins-collections-gen.cc1107 TNode<IntPtrT> number_of_elements = in NextSkipHoles() local
1112 IntPtrAdd(number_of_elements, number_of_deleted_elements); in NextSkipHoles()
1254 Node* const number_of_elements = SmiUntag( in TF_BUILTIN() local
1258 occupancy.Bind(IntPtrAdd(number_of_elements, number_of_deleted)); in TF_BUILTIN()
1308 TNode<Smi> const number_of_elements = in StoreOrderedHashMapNewEntry() local
1311 SmiAdd(number_of_elements, SmiConstant(1))); in StoreOrderedHashMapNewEntry()
1347 TNode<Smi> const number_of_elements = SmiSub( in TF_BUILTIN() local
1351 number_of_elements); in TF_BUILTIN()
1364 GotoIf(SmiLessThan(SmiAdd(number_of_elements, number_of_elements), in TF_BUILTIN()
1422 Node* const number_of_elements = SmiUntag( in TF_BUILTIN() local
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp364 uint32_t number_of_elements = 0; in BuildMemoryObjectFromInsert() local
366 number_of_elements = in BuildMemoryObjectFromInsert()
372 number_of_elements = length_const->AsIntConstant()->GetU32(); in BuildMemoryObjectFromInsert()
374 number_of_elements = vector_type->element_count(); in BuildMemoryObjectFromInsert()
376 number_of_elements = matrix_type->element_count(); in BuildMemoryObjectFromInsert()
379 if (number_of_elements == 0) { in BuildMemoryObjectFromInsert()
387 if (insert_inst->GetSingleWordInOperand(2) != number_of_elements - 1) { in BuildMemoryObjectFromInsert()
408 if (last_access->GetU32() != number_of_elements - 1) { in BuildMemoryObjectFromInsert()
416 for (uint32_t i = number_of_elements - 1; i > 0; --i) { in BuildMemoryObjectFromInsert()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp364 uint32_t number_of_elements = 0; in BuildMemoryObjectFromInsert() local
366 number_of_elements = in BuildMemoryObjectFromInsert()
372 number_of_elements = length_const->AsIntConstant()->GetU32(); in BuildMemoryObjectFromInsert()
374 number_of_elements = vector_type->element_count(); in BuildMemoryObjectFromInsert()
376 number_of_elements = matrix_type->element_count(); in BuildMemoryObjectFromInsert()
379 if (number_of_elements == 0) { in BuildMemoryObjectFromInsert()
387 if (insert_inst->GetSingleWordInOperand(2) != number_of_elements - 1) { in BuildMemoryObjectFromInsert()
408 if (last_access->GetU32() != number_of_elements - 1) { in BuildMemoryObjectFromInsert()
416 for (uint32_t i = number_of_elements - 1; i > 0; --i) { in BuildMemoryObjectFromInsert()
/external/tensorflow/tensorflow/contrib/image/kernels/
Dadjust_hsv_in_yiq_op.cc151 const int64 number_of_elements = options.input->NumElements(); in DoCompute() local
152 if (number_of_elements <= 0) { in DoCompute()
/external/piex/src/
Dtiff_parser.cc484 std::uint32_t number_of_elements; in ParseDirectory() local
487 Get32u(stream, ifd_offset + 6 + i, endian, &number_of_elements)) { in ParseDirectory()
499 if (type_size != 0 && number_of_elements > UINT32_MAX / type_size) { in ParseDirectory()
503 type_size * static_cast<size_t>(number_of_elements); in ParseDirectory()
522 tiff_directory->AddEntry(tag, type, number_of_elements, value_offset, data); in ParseDirectory()
/external/cmockery/cmockery_0_1_2/src/example/
Dallocate_module.c20 extern void* _test_calloc(const size_t number_of_elements, const size_t size,
Dcalculator.c64 void* _test_calloc(const size_t number_of_elements, const size_t size,
/external/cmockery/cmockery_0_1_2/src/
Dcmockery.c1286 void* _test_calloc(const size_t number_of_elements, const size_t size, in _test_calloc() argument
1288 void* const ptr = _test_malloc(number_of_elements * size, file, line); in _test_calloc()
1290 memset(ptr, 0, number_of_elements * size); in _test_calloc()
/external/cmockery/cmockery_0_1_2/src/google/
Dcmockery.h418 void* _test_calloc(const size_t number_of_elements, const size_t size,
/external/v8/src/
Delements.cc4513 int number_of_elements = args->length(); in ArrayConstructInitializeElements() local
4515 array, args, 0, number_of_elements, ALLOW_CONVERTED_DOUBLE_ELEMENTS); in ArrayConstructInitializeElements()
4522 factory->NewFixedDoubleArray(number_of_elements)); in ArrayConstructInitializeElements()
4525 factory->NewFixedArrayWithHoles(number_of_elements)); in ArrayConstructInitializeElements()
4533 for (int entry = 0; entry < number_of_elements; entry++) { in ArrayConstructInitializeElements()
4543 for (int entry = 0; entry < number_of_elements; entry++) { in ArrayConstructInitializeElements()
4552 for (int entry = 0; entry < number_of_elements; entry++) { in ArrayConstructInitializeElements()
4563 array->set_length(Smi::FromInt(number_of_elements)); in ArrayConstructInitializeElements()
Dobjects.cc6453 int number_of_elements = dictionary->NumberOfElements(); in MigrateSlowToFast() local
6454 if (number_of_elements > kMaxNumberOfDescriptors) return; in MigrateSlowToFast()
/external/v8/src/compiler/
Djs-operator.cc1172 VectorSlotPair const& feedback, int literal_flags, int number_of_elements) { in CreateLiteralArray() argument
1173 CreateLiteralParameters parameters(description, feedback, number_of_elements, in CreateLiteralArray()
Djs-operator.h734 int number_of_elements); in NON_EXPORTED_BASE()
Dbytecode-graph-builder.cc1590 int number_of_elements = in VisitCreateArrayLiteral() local
1593 array_boilerplate_description, pair, literal_flags, number_of_elements)); in VisitCreateArrayLiteral()
Djs-call-reducer.cc6550 Node* number_of_elements = effect = graph()->NewNode( in ReduceCollectionIteratorPrototypeNext() local
6559 graph()->NewNode(simplified()->NumberAdd(), number_of_elements, in ReduceCollectionIteratorPrototypeNext()
/external/v8/src/heap/
Dfactory.cc3255 size_t number_of_elements, in NewJSTypedArray() argument
3268 CHECK(number_of_elements <= in NewJSTypedArray()
3271 CHECK(number_of_elements <= static_cast<size_t>(Smi::kMaxValue)); in NewJSTypedArray()
3272 size_t byte_length = number_of_elements * element_size; in NewJSTypedArray()
3279 NewNumberFromSize(number_of_elements, pretenure); in NewJSTypedArray()
3288 number_of_elements, byte_length, array_type, true, pretenure); in NewJSTypedArray()
Dfactory.h657 size_t number_of_elements,
/external/deqp/external/openglcts/modules/gles31/
Des31cArrayOfArraysTests.hpp274 …::string extend_string(std::string base_string, std::string sub_script, size_t number_of_elements);
Des31cArrayOfArraysTests.cpp1248 …ase<API>::extend_string(std::string base_string, std::string sub_string, size_t number_of_elements) in extend_string() argument
1252 for (size_t sub_script_index = 0; sub_script_index < number_of_elements; sub_script_index++) in extend_string()
2784 int number_of_elements = sizeof(variable_basenames) / sizeof(variable_basenames[0]); in test_shader_compilation() local
2786 for (int variable_index = 0; variable_index < number_of_elements; variable_index++) in test_shader_compilation()
2788 for (int value_index = variable_index; value_index < number_of_elements; value_index++) in test_shader_compilation()