Home
last modified time | relevance | path

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

12

/external/ruy/ruy/
Dallocator.cc45 void* Allocator::AllocateBytes(std::ptrdiff_t num_bytes) { in AllocateBytes() function in ruy::Allocator
78 void* p = AllocateBytes(num_bytes + kMinPeriod); in AllocateBytesAvoidingAliasingWith()
96 return AllocateBytes(num_bytes); in AllocateBytesAvoidingAliasingWith()
Dallocator.h64 void* AllocateBytes(std::ptrdiff_t num_bytes);
72 return static_cast<T*>(AllocateBytes(count * sizeof(T))); in Allocate()
Dallocator_test.cc76 allocator.AllocateBytes(1); in TEST()
94 allocator.AllocateBytes(1); in TEST()
Dprepare_packed_matrices.cc89 packed_matrix.sums = allocator->AllocateBytes(SumsBytes(packed_matrix)); in PreparePackedMatrices()
/external/tensorflow/tensorflow/stream_executor/
Dscratch_allocator.h50 virtual port::StatusOr<DeviceMemory<uint8>> AllocateBytes(
66 port::StatusOr<DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override;
Dscratch_allocator.cc31 port::StatusOr<DeviceMemory<uint8>> OneTimeScratchAllocator::AllocateBytes( in AllocateBytes() function in stream_executor::OneTimeScratchAllocator
/external/libtextclassifier/native/utils/base/
Darena.cc63 char* AllocateBytes(size_t size) { in AllocateBytes() function
94 char* AllocateBytes(size_t size) {
153 first_blocks_[0].mem = AllocateBytes(block_size_); in BaseArena()
322 block->mem = AllocateBytes(adjusted_block_size); in AllocNewBlock()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_conv_algorithm_picker.cc65 StatusOr<se::DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override;
70 AllocateBytes(num_elements * sizeof(T))); in Allocate()
81 StatusOr<se::DeviceMemory<uint8>> ScratchAllocator::AllocateBytes( in AllocateBytes() function in xla::gpu::__anon6437d7ed0111::ScratchAllocator
408 input_output_allocator.AllocateBytes( in PickBestAlgorithmNoCacheCuda()
414 input_output_allocator.AllocateBytes( in PickBestAlgorithmNoCacheCuda()
568 input_output_allocator.AllocateBytes(result_buffer.size())); in PickBestAlgorithmNoCacheCuda()
677 input_output_allocator.AllocateBytes( in PickBestAlgorithmNoCacheRocm()
685 input_output_allocator.AllocateBytes( in PickBestAlgorithmNoCacheRocm()
Dfft_thunk.h48 se::port::StatusOr<se::DeviceMemory<uint8>> AllocateBytes(
Dgemm_algorithm_picker.cc80 input_output_allocator.AllocateBytes( in DoUncachedGemmAutotune()
Dfft_thunk.cc40 StatusOr<se::DeviceMemory<uint8>> FftScratchAllocator::AllocateBytes( in AllocateBytes() function in xla::gpu::FftScratchAllocator
Dgpu_conv_runner.cc54 se::port::StatusOr<DeviceMemory<uint8>> AllocateBytes( in AllocateBytes() function in xla::gpu::__anon53f8f4230111::ScratchBufAllocator
/external/tensorflow/tensorflow/stream_executor/cuda/
Dredzone_allocator_test.cc67 allocator.AllocateBytes(/*byte_size=*/kAllocSize)); in TEST()
140 (void)allocator.AllocateBytes(/*byte_size=*/1); in TEST()
Dcuda_fft.cc251 auto allocated = scratch_allocator->AllocateBytes(scratch_size_bytes_); in UpdateScratchAllocator()
483 auto allocated = allocator->AllocateBytes(input.size()); in DoFftInternal()
Dcuda_dnn.cc1008 state_allocator->AllocateBytes(state_sizes_in_bytes)); in Create()
1689 return workspace_allocator->AllocateBytes(workspace_size_in_bytes); in CreateRnnWorkspace()
1714 return workspace_allocator->AllocateBytes(workspace_size_in_bytes); in CreateBatchNormForwardWorkspace()
1738 return workspace_allocator->AllocateBytes(workspace_size_in_bytes); in CreateBatchNormBackwardWorkspace()
1788 SE_ASSIGN_OR_RETURN(reserve_space, reserve_space_allocator->AllocateBytes( in DoRnnForwardImpl()
2574 return scratch_allocator->AllocateBytes(size_in_bytes); in AllocateCudnnConvolutionForwardWorkspace()
2620 return scratch_allocator->AllocateBytes(size_in_bytes); in AllocateCudnnConvolutionBackwardDataWorkspace()
2666 return scratch_allocator->AllocateBytes(size_in_bytes); in AllocateCudnnConvolutionBackwardFilterWorkspace()
3552 SE_ASSIGN_OR_RETURN(reserve_space, reserve_space_allocator->AllocateBytes( in DoBatchNormalizationForwardImpl()
3946 scratch_allocator->AllocateBytes(workspace_size_in_bytes); in DoPrepareForCtcLoss()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dredzone_allocator.h59 port::StatusOr<DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override;
Dredzone_allocator.cc63 port::StatusOr<DeviceMemory<uint8>> RedzoneAllocator::AllocateBytes( in AllocateBytes() function in stream_executor::RedzoneAllocator
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_gpu.h57 se::port::StatusOr<se::DeviceMemory<uint8>> AllocateBytes( in AllocateBytes() function
Dgpu_utils.cc45 auto output_rz_or = rz_allocator->AllocateBytes(buffer.size()); in WrapRedzoneBestEffort()
Dcudnn_rnn_ops.cc370 StatusOr<DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override { in AllocateBytes() function in tensorflow::__anond88b5f210111::CudnnRnnAllocatorInTemp
414 StatusOr<DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override { in AllocateBytes() function in tensorflow::__anond88b5f210111::CudnnRnnAllocatorInOutput
454 StatusOr<DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override { in AllocateBytes() function in tensorflow::__anond88b5f210111::CudnnRNNPersistentSpaceAllocator
Dfft_ops.cc368 se::port::StatusOr<se::DeviceMemory<uint8>> AllocateBytes( in AllocateBytes() function in tensorflow::__anon049b3f3c0111::CufftScratchAllocator
Dfused_batch_norm_op.cc675 StatusOr<DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override { in AllocateBytes() function in tensorflow::functor::CudnnBatchNormAllocatorInTemp
728 StatusOr<DeviceMemory<uint8>> AllocateBytes(int64 byte_size) override { in AllocateBytes() function in tensorflow::functor::CudnnBatchNormAllocatorInOutput
Dmatmul_op_impl.h297 se::port::StatusOr<DeviceMemoryBytes> AllocateBytes(
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.cc2066 workspace_allocator->AllocateBytes(workspace_size_in_bytes); in CreateRnnWorkspace()
2144 reserve_space_allocator->AllocateBytes(reserve_space_size_in_bytes); in DoRnnForwardImpl()
2434 auto scratch_or = scratch_allocator->AllocateBytes(workspace_size_in_bytes); in DoPrepareForCtcLoss()
2827 auto allocated = mac->scratch_allocator_->AllocateBytes(size_in_bytes); in MIOpenAllocatorCallback()
2872 auto allocated = scratch_allocator->AllocateBytes(scratch_memory_size); in DoPrepareForConvolution()
3403 auto allocated = scratch_allocator->AllocateBytes(scratch_memory_size); in GetMIOpenConvolveAlgorithmsFindMode()
4245 workspace_allocator->AllocateBytes(workspace_size_in_bytes); in DoPoolBackwardImpl()
4264 auto allocated = workspace_allocator->AllocateBytes(dest2_size); in DoPoolBackwardImpl()
4421 workspace_allocator->AllocateBytes(workspace_size_in_bytes); in DoNormalizeBackwardWithDimensions()
4446 auto allocated = workspace_allocator->AllocateBytes(dest2_size); in DoNormalizeBackwardWithDimensions()
Drocm_fft.cc332 auto allocated = scratch_allocator->AllocateBytes(scratch_size_bytes_); in UpdateScratchAllocator()

12