Home
last modified time | relevance | path

Searched refs:AllocationId (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dlog_memory.cc84 allocation.set_allocation_id(allocator->AllocationId(ptr)); in RecordRawAllocation()
95 deallocation.set_allocation_id(allocator->AllocationId(ptr)); in RecordRawDeallocation()
Dallocator.h267 virtual int64 AllocationId(const void* ptr) const { return 0; } in AllocationId() function
333 int64 AllocationId(const void* ptr) const override { in AllocationId() function
334 return wrapped_->AllocationId(ptr); in AllocationId()
Dtracking_allocator.cc142 int64 TrackingAllocator::AllocationId(const void* ptr) const { in AllocationId() function in tensorflow::TrackingAllocator
151 return allocator_->AllocationId(ptr); in AllocationId()
Dtracking_allocator_test.cc94 EXPECT_EQ(1, ta->AllocationId(p1)); in TEST()
100 EXPECT_EQ(2, ta->AllocationId(p2)); in TEST()
Dtracking_allocator.h67 int64 AllocationId(const void* ptr) const override;
Dtensor.cc107 int64 id = alloc_->AllocationId(data_ptr); in FillAllocationDescription()
119 LogMemory::RecordTensorDeallocation(alloc_->AllocationId(data()), in RecordDeallocation()
Dop_kernel.cc848 int64 alloc_id = a->AllocationId(t->tensor_data().data()); in allocate_persistent()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_debug_allocator.cc131 int64 GPUDebugAllocator::AllocationId(const void* ptr) const { in AllocationId() function in tensorflow::GPUDebugAllocator
132 return base_allocator_->AllocationId(static_cast<const char*>(ptr) - in AllocationId()
Dgpu_debug_allocator.h45 int64 AllocationId(const void* ptr) const override;
/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator.h112 int64 AllocationId(const void* ptr) const override { return 0; } in AllocationId() function
Ddirect_session_with_tracking_alloc_test.cc121 EXPECT_EQ(3, cm->AllocationId(node, 0)); in TEST()
123 EXPECT_EQ(4, cm->AllocationId(node, 0)); in TEST()
Dbfc_allocator.h74 int64 AllocationId(const void* ptr) const override;
Dbfc_allocator.cc906 int64 BFCAllocator::AllocationId(const void* ptr) const { in AllocationId() function in tensorflow::BFCAllocator
/external/tensorflow/tensorflow/core/graph/
Dcostmodel.cc359 int64 CostModel::AllocationId(const Node* node, int slot) const { in AllocationId() function in tensorflow::CostModel
514 int64 alloc_id = AllocationId(n, i); in AddToCostGraphDef()
517 int64 input_alloc_id = AllocationId(e->src(), e->src_output()); in AddToCostGraphDef()
Dcostmodel.h162 int64 AllocationId(const Node* node, int output_slot) const;