Home
last modified time | relevance | path

Searched refs:ScopedAllocatorMgr (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator_mgr.h27 class ScopedAllocatorMgr; variable
46 friend class ScopedAllocatorMgr;
47 ScopedAllocatorContainer(const ScopedAllocatorMgr* mgr, int64 step_id) in ScopedAllocatorContainer()
52 const ScopedAllocatorMgr* mgr_;
73 class ScopedAllocatorMgr {
75 explicit ScopedAllocatorMgr(const string& device_name) in ScopedAllocatorMgr() function
77 ~ScopedAllocatorMgr();
Dscoped_allocator_mgr.cc117 ScopedAllocatorMgr::~ScopedAllocatorMgr() { in ~ScopedAllocatorMgr()
130 void ScopedAllocatorMgr::Cleanup(int64 step_id) { in Cleanup()
139 ScopedAllocatorContainer* ScopedAllocatorMgr::GetContainer(int64 step_id) { in GetContainer()
153 Status ScopedAllocatorMgr::AddScopedAllocator( in AddScopedAllocator()
164 size_t ScopedAllocatorMgr::PopulateFields( in PopulateFields()
Dthreadpool_device.h35 ScopedAllocatorMgr* GetScopedAllocatorMgr() const override { in GetScopedAllocatorMgr()
46 std::unique_ptr<ScopedAllocatorMgr> scoped_allocator_mgr_;
Dscoped_allocator_mgr_test.cc35 ScopedAllocatorMgr::PopulateFields(scope_id_, fields_shapes_, DT_FLOAT, in PopulateFields()
89 ScopedAllocatorMgr sam_;
Dthreadpool_device.cc51 scoped_allocator_mgr_(new ScopedAllocatorMgr(name)) { in ThreadPoolDevice()
Drenamed_device.h67 ScopedAllocatorMgr* GetScopedAllocatorMgr() const override { in GetScopedAllocatorMgr()
Ddirect_session.cc1650 ScopedAllocatorMgr* sam = d->GetScopedAllocatorMgr(); in RunState()
/external/tensorflow/tensorflow/core/framework/
Ddevice_base.h50 class ScopedAllocatorMgr; variable
202 virtual ScopedAllocatorMgr* GetScopedAllocatorMgr() const { return nullptr; } in GetScopedAllocatorMgr()
/external/tensorflow/tensorflow/core/kernels/
Dscoped_allocator_ops.cc41 ScopedAllocatorMgr::PopulateFields(id_, shapes_, dtype_, &fields_); in ScopedAllocatorOp()
51 ScopedAllocatorMgr* sam = device_->GetScopedAllocatorMgr(); in Compute()
Dscoped_allocator_ops_test.cc87 ScopedAllocatorMgr* sam, const string& op_name, in PrepOp()
91 ScopedAllocatorMgr::PopulateFields(id, fields_shapes, dtype, fields); in PrepOp()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.h115 ScopedAllocatorMgr* GetScopedAllocatorMgr() const override { in GetScopedAllocatorMgr()
135 std::unique_ptr<ScopedAllocatorMgr> scoped_allocator_mgr_;
Dgpu_device.cc309 scoped_allocator_mgr_(new ScopedAllocatorMgr(name)), in BaseGPUDevice()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker.cc355 ScopedAllocatorMgr* sam = d->GetScopedAllocatorMgr(); in CleanupGraphAsync()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer.cc303 int64 num_bytes = ScopedAllocatorMgr::PopulateFields( in AnalyzeInputs()