Home
last modified time | relevance | path

Searched refs:freed_by_func (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dallocator.h43 std::function<uint64()>* freed_by_func) in AllocationAttributes()
46 freed_by_func(freed_by_func) {} in AllocationAttributes()
64 std::function<uint64()>* freed_by_func = nullptr; // Not owned. member
Dop_kernel.cc714 /*allocation_will_be_logged=*/true, allocation_attr.freed_by_func)); in allocate_tensor()
/external/tensorflow/tensorflow/core/common_runtime/
Drendezvous_mgr.cc88 std::function<uint64()> freed_by_func = [dst_device, in SameWorkerRecvDone() local
96 aa.freed_by_func = &freed_by_func; in SameWorkerRecvDone()
Dring_reducer.cc132 std::function<uint64()> freed_by_func = [this, &safe_alloc_frontier]() { in ContinueAfterInputCopy() local
138 aa.freed_by_func = &freed_by_func; in ContinueAfterInputCopy()
Dbfc_allocator.cc231 if (allocation_attr.freed_by_func != nullptr) { in AllocateRawInternalWithRetry()
232 freed_by_count = (*allocation_attr.freed_by_func)(); in AllocateRawInternalWithRetry()
243 if (allocation_attr.freed_by_func != nullptr) { in AllocateRawInternalWithRetry()
244 freed_by_count = (*allocation_attr.freed_by_func)(); in AllocateRawInternalWithRetry()
261 if (allocation_attr.freed_by_func != nullptr) { in AllocateRaw()
262 freed_by_count = (*allocation_attr.freed_by_func)(); in AllocateRaw()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dbase_rendezvous_mgr.cc271 std::function<uint64()> freed_by_func = [dst_device, &safe_alloc_frontier]() { in SameWorkerRecvDone() local
276 allocation_attr.freed_by_func = &freed_by_func; in SameWorkerRecvDone()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc650 std::function<uint64()> freed_by_func = [this, &safe_alloc_frontier]() { in MaybeCopyTensorToGPU() local
655 allocation_attr.freed_by_func = &freed_by_func; in MaybeCopyTensorToGPU()