Home
last modified time | relevance | path

Searched refs:AllocateArray (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/stream_executor/
Dtemporary_memory_manager.h63 port::StatusOr<std::unique_ptr<TemporaryDeviceMemory<T>>> AllocateArray(
138 TemporaryMemoryManager::AllocateArray(uint64_t element_count) { in AllocateArray() function
Dstream_executor_pimpl.h129 DeviceMemory<T> AllocateArray(uint64_t element_count,
135 return ScopedDeviceMemory<T>(this, AllocateArray<T>(element_count)); in AllocateOwnedArray()
142 return AllocateArray<T>(1); in AllocateScalar()
828 inline DeviceMemory<T> StreamExecutor::AllocateArray(uint64_t element_count, in AllocateArray() function
855 : ScopedDeviceMemory(parent, parent->AllocateArray<ElemT>(values.size())) { in ScopedDeviceMemory()
Dtemporary_memory_manager.cc98 stream_->parent()->AllocateArray<uint8>(byte_size); in AllocateArrayBase()
Dstream_executor_pimpl.cc916 DeviceMemoryBase result = executor->AllocateArray<uint8>(size, memory_space); in Allocate()
Dstream.h1645 return temporary_memory_manager_.AllocateArray<T>(element_count); in AllocateTemporaryArray()
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_mem_allocator.h52 ptr = stream_exec_->AllocateArray<char>(num_bytes).opaque(); in Alloc()
/external/google-breakpad/src/client/
Dminidump_file_writer-inl.h56 inline bool TypedMDRVA<MDType>::AllocateArray(size_t count) { in AllocateArray() function
Dminidump_file_writer.h237 bool AllocateArray(size_t count);
Dminidump_file_writer_unittest.cc91 ASSERT_TRUE(array.AllocateArray(count)); in WriteFile()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dinfeed_manager.cc51 executor, executor->AllocateArray<uint8_t>(size)); in CopyBufferToDevice()
/external/cronet/tot/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc380 U* AllocateArray(int array_size) { in AllocateArray() function in google::protobuf::__anon83fd3c560111::FlatAllocatorImpl
397 std::string* strings = AllocateArray<std::string>(sizeof...(in)); in AllocateStrings()
498 std::string* all_names = AllocateArray<std::string>(names.size()); in AllocateFieldNames()
1705 EnumValueDescriptor* result = alloc.AllocateArray<EnumValueDescriptor>(1); in FindEnumValueByNumberCreatingIfUnknown()
4514 placeholder_file->enum_types_ = alloc.AllocateArray<EnumDescriptor>(1); in NewPlaceholderWithMutexHeld()
4528 placeholder_enum->values_ = alloc.AllocateArray<EnumValueDescriptor>(1); in NewPlaceholderWithMutexHeld()
4549 placeholder_file->message_types_ = alloc.AllocateArray<Descriptor>(1); in NewPlaceholderWithMutexHeld()
4565 alloc.AllocateArray<Descriptor::ExtensionRange>(1); in NewPlaceholderWithMutexHeld()
4593 FileDescriptor* placeholder = alloc.AllocateArray<FileDescriptor>(1); in NewPlaceholderFileWithMutexHeld()
4757 auto* options = alloc.AllocateArray<typename DescriptorT::OptionsType>(1); in AllocateOptionsImpl()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.cc386 U* AllocateArray(int array_size) { in AllocateArray() function in google::protobuf::__anon78dd215d0111::FlatAllocatorImpl
403 std::string* strings = AllocateArray<std::string>(sizeof...(in)); in AllocateStrings()
504 std::string* all_names = AllocateArray<std::string>(names.size()); in AllocateFieldNames()
1711 EnumValueDescriptor* result = alloc.AllocateArray<EnumValueDescriptor>(1); in FindEnumValueByNumberCreatingIfUnknown()
4520 placeholder_file->enum_types_ = alloc.AllocateArray<EnumDescriptor>(1); in NewPlaceholderWithMutexHeld()
4534 placeholder_enum->values_ = alloc.AllocateArray<EnumValueDescriptor>(1); in NewPlaceholderWithMutexHeld()
4555 placeholder_file->message_types_ = alloc.AllocateArray<Descriptor>(1); in NewPlaceholderWithMutexHeld()
4571 alloc.AllocateArray<Descriptor::ExtensionRange>(1); in NewPlaceholderWithMutexHeld()
4599 FileDescriptor* placeholder = alloc.AllocateArray<FileDescriptor>(1); in NewPlaceholderFileWithMutexHeld()
4763 auto* options = alloc.AllocateArray<typename DescriptorT::OptionsType>(1); in AllocateOptionsImpl()
[all …]
/external/cronet/stable/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc380 U* AllocateArray(int array_size) { in AllocateArray() function in google::protobuf::__anon316126ba0111::FlatAllocatorImpl
397 std::string* strings = AllocateArray<std::string>(sizeof...(in)); in AllocateStrings()
498 std::string* all_names = AllocateArray<std::string>(names.size()); in AllocateFieldNames()
1705 EnumValueDescriptor* result = alloc.AllocateArray<EnumValueDescriptor>(1); in FindEnumValueByNumberCreatingIfUnknown()
4514 placeholder_file->enum_types_ = alloc.AllocateArray<EnumDescriptor>(1); in NewPlaceholderWithMutexHeld()
4528 placeholder_enum->values_ = alloc.AllocateArray<EnumValueDescriptor>(1); in NewPlaceholderWithMutexHeld()
4549 placeholder_file->message_types_ = alloc.AllocateArray<Descriptor>(1); in NewPlaceholderWithMutexHeld()
4565 alloc.AllocateArray<Descriptor::ExtensionRange>(1); in NewPlaceholderWithMutexHeld()
4593 FileDescriptor* placeholder = alloc.AllocateArray<FileDescriptor>(1); in NewPlaceholderFileWithMutexHeld()
4757 auto* options = alloc.AllocateArray<typename DescriptorT::OptionsType>(1); in AllocateOptionsImpl()
[all …]
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc241 if (!dir.AllocateArray(kNumWriters)) in Dump()
885 if (!linkmap.AllocateArray(dso_count)) in WriteDSODebugStream()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc727 if (!dir.AllocateArray(writer_count)) in Write()
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor_test.cc183 DeviceMemory<int> mem = executor->AllocateArray<int>(2); in TEST_F()
/external/google-breakpad/src/client/mac/handler/
Dminidump_generator.cc261 if (!dir.AllocateArray(writer_count)) in Write()