Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dfusion_merger.cc73 bytes += ShapeUtil::ByteSizeOf(user->shape()); in CalculateBytesReadByFusionParameter()
77 bytes += ShapeUtil::ByteSizeOf(instruction->shape()); in CalculateBytesReadByFusionParameter()
103 bytes += ShapeUtil::ByteSizeOf(operand->shape()); in CalculateFlopsToBytesRatio()
106 bytes += ShapeUtil::ByteSizeOf(fusion->fused_expression_root()->shape()); in CalculateFlopsToBytesRatio()
124 bytes_written += ShapeUtil::ByteSizeOf(operand->shape()); in GetCurrentBytesTransferred()
128 ShapeUtil::ByteSizeOf(fusion->fused_expression_root()->shape()); in GetCurrentBytesTransferred()
Dir_emitter_nested.cc58 llvm_ir::ByteSizeOf(param_shape, module_->getDataLayout()); in EmitBasePointersForNestedComputation()
67 int64 root_size = llvm_ir::ByteSizeOf( in EmitBasePointersForNestedComputation()
Dcudnn_convolution_algorithm_picker.cc198 ShapeUtil::ByteSizeOf(input_shape)); in PickBestAlgorithm()
201 ShapeUtil::ByteSizeOf(filter_shape)); in PickBestAlgorithm()
204 ShapeUtil::ByteSizeOf(output_shape)); in PickBestAlgorithm()
Dgpu_compiler.h72 return ShapeUtil::ByteSizeOf(shape, pointer_size); in ShapeSizeBytesFunction()
Dhlo_schedule.cc203 return ShapeUtil::ByteSizeOf(buffer.shape(), pointer_size); in Build()
Dfusion_merger_test.cc128 ShapeUtil::ByteSizeOf(data_shape_) * 3; in BuildComputation1()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_rematerialization_test.cc134 static int64 ByteSizeOf(const Shape& shape) { in ByteSizeOf() function in xla::__anonc0d2dd690111::HloRematerializationTest
135 return ShapeUtil::ByteSizeOf(shape, sizeof(void*)); in ByteSizeOf()
163 ByteSizeOf, in TEST_F()
196 ByteSizeOf, in TEST_F()
237 ByteSizeOf, in TEST_F()
273 ByteSizeOf, in TEST_F()
315 ByteSizeOf, in TEST_F()
386 ByteSizeOf, in TEST_F()
387 /*memory_limit_bytes=*/4 * ByteSizeOf(vec1024_shape_), in TEST_F()
481 ByteSizeOf, in TEST_F()
[all …]
Dhlo_scheduling_test.cc80 return ShapeUtil::ByteSizeOf(buffer.shape(), /*pointer_size=*/8); in TEST_F()
Dhlo_execution_profile_test.cc71 return ShapeUtil::ByteSizeOf(shape, pointer_size); in TEST_F()
Dgeneric_transfer_manager.cc174 return ShapeUtil::ByteSizeOf(shape, pointer_size_); in GetByteSizeRequirement()
Dbuffer_assignment_test.cc1511 CreateMemoryMinimizingSequence(*module, ByteSizeOf).ConsumeValueOrDie(); in RunBufferAssignment()
1514 ByteSizeOf, in RunBufferAssignment()
1519 static int64 ByteSizeOf(const LogicalBuffer& buffer) { in ByteSizeOf() function in xla::__anon203ae3150111::WhileBufferAssignmentTest
1520 return ShapeUtil::ByteSizeOf(buffer.shape(), sizeof(void*)); in ByteSizeOf()
1866 CreateMemoryMinimizingSequence(*module, ByteSizeOf).ConsumeValueOrDie(); in TEST_F()
1884 ByteSizeOf, [](LogicalBuffer::Color) { return 1; }) in TEST_F()
Dhlo_ordering_test.cc70 return ShapeUtil::ByteSizeOf(buffer.shape()); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util_test.cc276 EXPECT_EQ(4, ShapeUtil::ByteSizeOf(ShapeUtil::MakeShape(F32, {}))); in TEST()
277 EXPECT_EQ(800, ShapeUtil::ByteSizeOf(ShapeUtil::MakeShape(F32, {10, 20}))); in TEST()
280 EXPECT_EQ(8, ShapeUtil::ByteSizeOf(ShapeUtil::MakeShape(F64, {}))); in TEST()
281 EXPECT_EQ(1600, ShapeUtil::ByteSizeOf(ShapeUtil::MakeShape(F64, {10, 20}))); in TEST()
284 EXPECT_EQ(8, ShapeUtil::ByteSizeOf(ShapeUtil::MakeShape(C64, {}))); in TEST()
285 EXPECT_EQ(1600, ShapeUtil::ByteSizeOf(ShapeUtil::MakeShape(C64, {10, 20}))); in TEST()
291 EXPECT_EQ(800, ShapeUtil::ByteSizeOf(shape)); in TEST()
295 EXPECT_EQ(15 * 21 * 4, ShapeUtil::ByteSizeOf(shape)); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dexternal_constant_pool.cc35 int64 literal_size = ShapeUtil::ByteSizeOf(literal.shape()); in Insert()
Dparallel_cpu_executable.h83 return ShapeUtil::ByteSizeOf(shape, sizeof(void*)); in ShapeSizeBytes()
Dir_emitter.cc176 ByteSizeOf(literal.shape()) >= kMaxInternalConstantSizeInBytes) { in HandleConstant()
255 int64 IrEmitter::ByteSizeOf(const Shape& shape) const { in ByteSizeOf() function in xla::cpu::IrEmitter
256 return llvm_ir::ByteSizeOf(shape, module_->getDataLayout()); in ByteSizeOf()
265 int64 buffer_size = ByteSizeOf(shape); in MinimumAlignmentForShape()
290 AttachDereferenceableMetadataForLoad(load, ByteSizeOf(shape)); in AttachDereferenceableMetadataForLoad()
380 int64 length = ByteSizeOf(shape); in EmitXfeedTransfer()
1948 ShapeUtil::ByteSizeOf(logical_element_shape) * memcpy_elements; in HandleSlice()
2829 attr_builder.addDereferenceableAttr(ByteSizeOf(target_shape)); in EmitTargetAddressForOp()
2906 int64 source_size = ByteSizeOf(source.shape()); in EmitMemcpy()
Dcpu_executable.cc360 return ShapeUtil::ByteSizeOf(shape, sizeof(void*)); in ShapeSizeBytes()
Dir_emitter.h521 int64 ByteSizeOf(const Shape& shape) const;
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dtesting.cc39 return ShapeUtil::ByteSizeOf(shape); in DataSizeOfShape()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dexecutable.cc123 return ShapeUtil::ByteSizeOf(shape, sizeof(void*)); in ShapeSizeBytes()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc99 ByteSizeOf(target_shape, src_buffer->getModule()->getDataLayout())); in EmitGetTupleElement()
Dllvm_util.h257 int64 ByteSizeOf(const Shape& shape, const llvm::DataLayout& data_layout);
Dllvm_util.cc606 int64 ByteSizeOf(const Shape& shape, const llvm::DataLayout& data_layout) { in ByteSizeOf() function
608 return ShapeUtil::ByteSizeOf(shape, pointer_size); in ByteSizeOf()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function.cc47 arg_sizes.push_back(xla::ShapeUtil::ByteSizeOf(arg_shape, kPointerSize)); in ComputeArgSizes()
/external/tensorflow/tensorflow/compiler/aot/
Dcodegen.cc105 arg_sizes->push_back(xla::ShapeUtil::ByteSizeOf( in ComputeArgSizes()

12