Home
last modified time | relevance | path

Searched refs:CancellationManager (Results 1 – 25 of 48) sorted by relevance

12

/external/tensorflow/tensorflow/core/framework/
Dcancellation_test.cc27 CancellationManager* manager = new CancellationManager(); in TEST()
40 CancellationManager* manager = new CancellationManager(); in TEST()
51 CancellationManager* manager = new CancellationManager(); in TEST()
61 CancellationManager* manager = new CancellationManager(); in TEST()
75 CancellationManager* manager = new CancellationManager(); in TEST()
99 CancellationManager* cm = new CancellationManager(); in TEST()
120 CancellationManager* manager = new CancellationManager(); in TEST()
133 CancellationManager* manager = new CancellationManager(); in TEST()
147 CancellationManager* manager = new CancellationManager(); in TEST()
Dcancellation.cc23 const CancellationToken CancellationManager::kInvalidToken = -1;
25 CancellationManager::CancellationManager() in CancellationManager() function in tensorflow::CancellationManager
30 void CancellationManager::Reset() { in Reset()
36 void CancellationManager::StartCancel() { in StartCancel()
62 CancellationToken CancellationManager::get_cancellation_token() { in get_cancellation_token()
67 bool CancellationManager::RegisterCallback(CancellationToken token, in RegisterCallback()
78 bool CancellationManager::DeregisterCallback(CancellationToken token) { in DeregisterCallback()
98 bool CancellationManager::TryDeregisterCallback(CancellationToken token) { in TryDeregisterCallback()
108 CancellationManager::~CancellationManager() { in ~CancellationManager()
Dcancellation.h45 class CancellationManager {
50 CancellationManager();
51 ~CancellationManager();
Dcollective.h29 class CancellationManager; variable
160 CancellationManager* cancel_mgr,
167 CancellationManager* cancel_mgr,
174 CancellationManager* cancel_mgr,
270 CancellationManager* cancel_mgr, in CompleteParamsAsync()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dpartial_run_mgr_test.cc28 CancellationManager* cancellation_manager; in TEST()
37 CancellationManager* cancellation_manager; in TEST()
40 CancellationManager* found_cancellation_manager; in TEST()
49 CancellationManager* cancellation_manager; in TEST()
53 CancellationManager* new_cancellation_manager; in TEST()
63 CancellationManager* cancellation_manager; in TEST()
111 CancellationManager* cancellation_manager; in TEST_P()
127 CancellationManager* cancellation_manager; in TEST_P()
Dcollective_param_resolver_distributed.h35 CancellationManager* cancel_mgr,
40 CancellationManager* cancel_mgr,
45 CancellationManager* cancel_mgr,
63 CancellationManager* cancel_mgr,
81 CancellationManager* cancel_mgr,
Dpartial_run_mgr.h53 bool FindOrCreate(int step_id, CancellationManager** cancellation_manager);
72 std::unique_ptr<CancellationManager> cancellation_manager;
Dcollective_param_resolver_distributed.cc28 CancellationManager* cancel_mgr, in CompleteGroupCall()
51 bool is_source, CancellationManager* cancel_mgr, in CompleteInstanceCall()
96 const string& device, CollectiveParams* cp, CancellationManager* cancel_mgr, in CompleteParamsAsync()
114 CancellationManager* cancel_mgr, const StatusCallback& done) { in CompleteGroupAsync()
146 CancellationManager* cancel_mgr, const StatusCallback& done) { in CompleteInstanceAsync()
254 const string& device, CollectiveParams* cp, CancellationManager* cancel_mgr, in CompleteGroupDistributed()
364 CancellationManager* cancel_mgr, const StatusCallback& done) { in CompleteInstanceDistributed()
Dcancellable_call.h30 CancellableCall(CancellationManager* cancel_mgr, const string& remote_worker, in CancellableCall()
57 CancellationManager* const cancel_mgr_; // Not owned
Dpartial_run_mgr.cc30 CancellationManager** cancellation_manager) { in FindOrCreate()
39 partial_run->cancellation_manager = MakeUnique<CancellationManager>(); in FindOrCreate()
Dgraph_mgr.h93 CancellationManager* cancellation_manager,
170 CancellationManager* cancellation_manager,
Dworker.h28 class CancellationManager; variable
121 CancellationManager cancellation_manager_;
Dcollective_rma_distributed.h47 CancellationManager cancel_mgr_;
/external/tensorflow/tensorflow/core/kernels/
Dconditional_accumulator_base.h96 CancellationManager* cancellation_manager; // not owned
102 OpKernelContext* context, CancellationManager* cancellation_manager, in Attempt()
116 CleanUp(DoneCallback&& f, CancellationToken ct, CancellationManager* cm) in CleanUp()
120 CancellationManager* cm;
138 void Cancel(CancellationManager* cancellation_manager,
Dqueue_base.h102 CleanUp(DoneCallback&& f, CancellationToken ct, CancellationManager* cm) in CleanUp()
106 CancellationManager* cm;
125 void Cancel(Action action, CancellationManager* cancellation_manager,
162 CancellationManager* cancellation_manager; // not owned
171 OpKernelContext* context, CancellationManager* cancellation_manager, in Attempt()
Dconditional_accumulator_base.cc72 CancellationManager* cm = ctx->cancellation_manager(); in TryTakeGrad()
111 CancellationManager* cancellation_manager, CancellationToken token) { in Cancel()
180 if (to_clean.to_deregister != CancellationManager::kInvalidToken) { in FlushUnlocked()
Dfifo_queue.cc52 CancellationManager* cm = ctx->cancellation_manager(); in TryEnqueue()
110 CancellationManager* cm = ctx->cancellation_manager(); in TryEnqueueMany()
156 CancellationManager* cm = ctx->cancellation_manager(); in TryDequeue()
247 CancellationManager* cm = ctx->cancellation_manager(); in TryDequeueMany()
Dpriority_queue.cc73 CancellationManager* cm = ctx->cancellation_manager(); in TryEnqueue()
138 CancellationManager* cm = ctx->cancellation_manager(); in TryEnqueueMany()
199 CancellationManager* cm = ctx->cancellation_manager(); in TryDequeue()
290 CancellationManager* cm = ctx->cancellation_manager(); in TryDequeueMany()
Dqueue_base.cc188 void QueueBase::Cancel(Action action, CancellationManager* cancellation_manager, in Cancel()
249 0, callback, ctx, nullptr, CancellationManager::kInvalidToken, in Close()
327 if (to_clean.to_deregister != CancellationManager::kInvalidToken) { in FlushUnlocked()
Drandom_shuffle_queue_op.cc129 CancellationManager* cm = ctx->cancellation_manager(); in TryEnqueue()
187 CancellationManager* cm = ctx->cancellation_manager(); in TryEnqueueMany()
234 CancellationManager* cm = ctx->cancellation_manager(); in TryDequeue()
326 CancellationManager* cm = ctx->cancellation_manager(); in TryDequeueMany()
/external/tensorflow/tensorflow/core/util/rpc/
Dcall_container.h107 : CancellationManager::kInvalidToken), in CallContainer()
115 if (token_ != CancellationManager::kInvalidToken) { in CallContainer()
133 if (token_ != CancellationManager::kInvalidToken) { in CallContainer()
/external/tensorflow/tensorflow/core/common_runtime/
Dcollective_param_resolver_local.h48 CancellationManager* cancel_mgr,
53 CancellationManager* cancel_mgr,
58 CancellationManager* cancel_mgr,
/external/tensorflow/tensorflow/core/kernels/data/
Dcaptured_function.cc320 CancellationManager c_mgr; in Run()
356 CancellationManager c_mgr; in RunWithBorrowedArgs()
392 CancellationManager c_mgr; in RunInstantiated()
436 CancellationManager* c_mgr = new CancellationManager(); in RunAsync()
Dmap_defun_op.cc94 CancellationManager* parent_mgr = ctx->cancellation_manager(); in ComputeAsync()
100 CancellationManager* c_mgr = new CancellationManager(); in ComputeAsync()
/external/tensorflow/tensorflow/contrib/gdr/
Dgdr_collective_executor_mgr.cc42 CancellationManager* cancel_mgr, WorkerCacheInterface* wc) in RecvBufCall()
144 CancellationManager cancel_mgr_;

12