Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dlog_memory.cc85 allocation.set_allocation_id(allocator->AllocationId(ptr)); in RecordRawAllocation()
96 deallocation.set_allocation_id(allocator->AllocationId(ptr)); in RecordRawDeallocation()
Dallocator.h191 virtual int64 AllocationId(const void* ptr) { return 0; } in AllocationId() function
327 int64 AllocationId(const void* ptr) override { in AllocationId() function
328 return wrapped_->AllocationId(ptr); in AllocationId()
Dtracking_allocator.cc142 int64 TrackingAllocator::AllocationId(const void* ptr) { 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.h68 int64 AllocationId(const void* ptr) override;
Dtensor.cc85 int64 id = alloc_->AllocationId(data_ptr); in FillAllocationDescription()
97 LogMemory::RecordTensorDeallocation(alloc_->AllocationId(data()), in RecordDeallocation()
Dop_kernel.cc775 int64 alloc_id = a->AllocationId(t->tensor_data().data()); in allocate_persistent()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_debug_allocator.cc130 int64 GPUDebugAllocator::AllocationId(const void* ptr) { in AllocationId() function in tensorflow::GPUDebugAllocator
131 return base_allocator_->AllocationId(static_cast<const char*>(ptr) - in AllocationId()
Dgpu_debug_allocator.h45 int64 AllocationId(const void* ptr) override;
/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator.h110 int64 AllocationId(const void* ptr) override { return 0; } in AllocationId() function
Ddirect_session_with_tracking_alloc_test.cc121 EXPECT_EQ(13, cm->AllocationId(node, 0)); in TEST()
123 EXPECT_EQ(14, cm->AllocationId(node, 0)); in TEST()
Dbfc_allocator.h70 int64 AllocationId(const void* ptr) override;
Dbfc_allocator.cc545 int64 BFCAllocator::AllocationId(const void* ptr) { in AllocationId() function in tensorflow::BFCAllocator
/external/tensorflow/tensorflow/core/graph/
Dcostmodel.cc357 int64 CostModel::AllocationId(const Node* node, int slot) const { in AllocationId() function in tensorflow::CostModel
511 int64 alloc_id = AllocationId(n, i); in AddToCostGraphDef()
514 int64 input_alloc_id = AllocationId(e->src(), e->src_output()); in AddToCostGraphDef()
Dcostmodel.h154 int64 AllocationId(const Node* node, int output_slot) const;