Home
last modified time | relevance | path

Searched refs:kAllocatorAlignment (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator_mgr_test.cc69 (Allocator::kAllocatorAlignment - in AlignmentPadding()
70 (521 * sizeof(float)) % Allocator::kAllocatorAlignment) % in AlignmentPadding()
71 Allocator::kAllocatorAlignment; in AlignmentPadding()
Dscoped_allocator_mgr.cc183 size_t overshoot = offset % Allocator::kAllocatorAlignment; in PopulateFields()
185 size_t alignment_bytes = Allocator::kAllocatorAlignment - overshoot; in PopulateFields()
Dscoped_allocator.cc114 << Allocator::kAllocatorAlignment << " and hence we allocated " in AllocateRaw()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_constants.cc31 tensorflow::Allocator::kAllocatorAlignment;
/external/tensorflow/tensorflow/compiler/tf2xla/
Dcpu_function_runtime_test.cc31 EXPECT_EQ(xla::cpu_function_runtime::kAlign, Allocator::kAllocatorAlignment); in TEST()
33 Allocator::kAllocatorAlignment); in TEST()
/external/tensorflow/tensorflow/stream_executor/
Dtf_allocator_adapter.cc46 data = wrapped_->AllocateRaw(tensorflow::Allocator::kAllocatorAlignment, in Allocate()
/external/tensorflow/tensorflow/core/framework/
Dallocator.cc52 constexpr size_t Allocator::kAllocatorAlignment; member in tensorflow::Allocator
Dtyped_allocator.h47 raw_allocator->AllocateRaw(Allocator::kAllocatorAlignment, in Allocate()
Dallocator.h184 static constexpr size_t kAllocatorAlignment = 64;
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/
Dtf_framework_c_interface.cc68 ->AllocateRaw(Allocator::kAllocatorAlignment, in _mlir_ciface_tf_alloc()
/external/tensorflow/tensorflow/core/util/
Dmemmapped_file_system_writer.cc49 TF_RETURN_IF_ERROR(AdjustAlignment(Allocator::kAllocatorAlignment)); in SaveTensor()
/external/tensorflow/tensorflow/core/kernels/neon/
Dneon_depthwise_conv_op.cc132 bias_size * sizeof(float), Allocator::kAllocatorAlignment)); in Compute()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dredzone_allocator.cc58 static_cast<int64>(tensorflow::Allocator::kAllocatorAlignment))), in RedzoneAllocator()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc153 alloc->AllocateRaw(Allocator::kAllocatorAlignment, total_bytes)); in SetProtoFromGPU()
Dgpu_device_test.cc401 void* ptr = allocator->AllocateRaw(Allocator::kAllocatorAlignment, in TEST_F()
Dgpu_device.cc410 Allocator::kAllocatorAlignment, scratch_buffer_size); in InitScratchBuffers()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer.cc467 CHECK_EQ(0, Allocator::kAllocatorAlignment % DataTypeSize(*dtype)) in AnalyzeInputs()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dpjrt_stream_executor_client.cc736 tensorflow::Allocator::kAllocatorAlignment, size); in BufferFromHostBuffer()