Home
last modified time | relevance | path

Searched refs:cancellation_manager_ (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute_node.h108 cancellation_manager_(cancellation_manager), in ExecuteNode()
125 graph_collector_, cancellation_manager_, retvals_, in Run()
143 CancellationManager* const cancellation_manager_; variable
164 cancellation_manager_(cancellation_manager), in AsyncExecuteNode()
204 cancellation_manager_, absl::MakeSpan(retvals_), stack_trace_); in Run()
238 CancellationManager* const cancellation_manager_; variable
Deager_operation.h178 return cancellation_manager_; in GetCancellationManager()
181 cancellation_manager_ = cancellation_manager; in SetCancellationManager()
253 CancellationManager* cancellation_manager_ = nullptr; // Not owned. variable
Deager_operation.cc345 cancellation_manager_ = nullptr; in Reset()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker.cc212 token = cancellation_manager_.get_cancellation_token(); in DoRunGraph()
213 bool already_cancelled = !cancellation_manager_.RegisterCallback( in DoRunGraph()
235 cancellation_manager_.DeregisterCallback(token); in DoRunGraph()
314 token = cancellation_manager_.get_cancellation_token(); in DoPartialRunGraph()
315 cancellation_manager_.RegisterCallback(token, in DoPartialRunGraph()
321 cancellation_manager_.DeregisterCallback(token); in DoPartialRunGraph()
402 request, response, &cancellation_manager_, done); in CompleteGroupAsync()
415 request, response, &cancellation_manager_, done); in CompleteInstanceAsync()
Dworker.h123 CancellationManager cancellation_manager_; variable
Dmaster_session.h210 CancellationManager cancellation_manager_; variable
Dmaster_session.cc1815 resp, &cancellation_manager_, is_last_partial_run); in DoPartialRun()
1987 &cancellation_manager_, false); in DoRunWithLocalExecution()
2057 &cancellation_manager_); in DoRunCallable()
2113 cancellation_manager_.StartCancel(); in Close()
2140 cancellation_manager_.StartCancel(); in GarbageCollect()
/external/tensorflow/tensorflow/core/kernels/data/
Dmodel_dataset_op.cc128 cancellation_manager_ = absl::make_unique<CancellationManager>(); in Iterator()
132 ~Iterator() override { cancellation_manager_->StartCancel(); } in ~Iterator()
195 ram_budget_, cancellation_manager_.get()); in EnsureOptimizationLoopThreadStarted()
228 std::unique_ptr<CancellationManager> cancellation_manager_; member in tensorflow::data::ModelDatasetOp::Dataset::Iterator
Diterator_ops.h88 ~State() { cancellation_manager_.StartCancel(); } in ~State()
109 return &cancellation_manager_; in cancellation_manager()
120 CancellationManager cancellation_manager_; variable
Dparallel_map_dataset_op.cc215 cancellation_manager_->StartCancel(); in ~Iterator()
226 cancellation_manager_ = in Initialize()
229 params.cancellation_manager = cancellation_manager_.get(); in Initialize()
649 std::unique_ptr<CancellationManager> cancellation_manager_; member in tensorflow::data::ParallelMapDatasetOp::Dataset::Iterator
Dmulti_device_iterator_ops.cc111 params.cancellation_manager = &cancellation_manager_; in GetNextFromShard()
147 CancellationManager* cancellation_manager() { return &cancellation_manager_; } in cancellation_manager()
385 CancellationManager cancellation_manager_; member in tensorflow::data::__anon2e5a99280111::MultiDeviceIterator
Ddataset_test_base.cc357 params.cancellation_manager = cancellation_manager_.get(); in CreateIteratorContext()
494 cancellation_manager_ = absl::make_unique<CancellationManager>(); in CreateOpKernelContext()
495 params->cancellation_manager = cancellation_manager_.get(); in CreateOpKernelContext()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_execute_node.h53 cancellation_manager_(cancellation_manager), in RemoteExecuteNode()
131 CancellationManager* cancellation_manager_; variable
Dremote_execute_node.cc52 CancellationManager* cm = cancellation_manager_; in RunAsync()
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device_lib.cc131 CancellationManager* cancellation_manager_ TF_GUARDED_BY(execution_mutex_);
193 cancellation_manager_ = &cancellation_manager; in StartExecute()
213 cancellation_manager_ = nullptr; in Join()
244 TFE_OpSetCancellationManager(op_.get(), wrap(cancellation_manager_), status); in Execute()
248 cancellation_manager_->StartCancel(); in Execute()
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc366 CancellationManager* cancellation_manager_; member in tensorflow::__anonce8950920111::ExecutorState
412 cancellation_manager_(args.cancellation_manager), in ExecutorState()
704 params.cancellation_manager = cancellation_manager_; in Process()
1103 if (cancellation_manager_ && cancellation_manager_->IsCancelled() && in NodeDone()
1114 if (cancellation_manager_) { in NodeDone()
1126 if (cancellation_manager_) { in NodeDone()
1127 cancellation_manager_->StartCancel(); in NodeDone()
1276 if (cancellation_manager_) { in Finish()
1277 cancellation_manager_->StartCancel(); in Finish()
Dpermuter_test.cc376 op_params.cancellation_manager = &parent_->cancellation_manager_; in DoPermute()
443 CancellationManager cancellation_manager_; member in tensorflow::__anonfb3b1ff60111::PermuterTest
Ddirect_session.cc315 cancellation_manager_(new CancellationManager()), in DirectSession()
391 delete cancellation_manager_; in ~DirectSession()
685 CancellationManager step_cancellation_manager(cancellation_manager_); in RunInternal()
989 args.cancellation_manager = cancellation_manager_; in PRunSetup()
1112 cancellation_manager_, operation_timeout_in_ms_); in PRun()
1756 cancellation_manager_->StartCancel(); in Close()
Dring_gatherer_test.cc454 op_params.cancellation_manager = &parent_->cancellation_manager_; in DoGather()
536 CancellationManager cancellation_manager_; member in tensorflow::RingGathererTest
Dring_reducer_test.cc486 op_params.cancellation_manager = &parent_->cancellation_manager_; in DoReduce()
568 CancellationManager cancellation_manager_; member in tensorflow::RingReducerTest
Ddirect_session.h388 CancellationManager* cancellation_manager_; variable
Dhierarchical_tree_broadcaster_test.cc634 op_params.cancellation_manager = &parent_->cancellation_manager_; in DoBroadcast()
727 CancellationManager cancellation_manager_; member in tensorflow::__anon04765bf90111::HierarchicalTreeBroadcasterTest
/external/tensorflow/tensorflow/core/data/
Dstandalone.h123 CancellationManager cancellation_manager_; variable
Dstandalone.cc118 params.cancellation_manager = &cancellation_manager_; in MakeIterator()
/external/tensorflow/tensorflow/core/kernels/
Dlookup_util.cc413 cancellation_manager_ = in Init()
415 params.cancellation_manager = cancellation_manager_.get(); in Init()
453 std::unique_ptr<CancellationManager> cancellation_manager_; member in tensorflow::lookup::DatasetIterator

12