/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | partial_run_mgr_test.cc | 28 CancellationManager* cancellation_manager; in TEST() local 29 partial_run_mgr.FindOrCreate(step_id, &cancellation_manager); in TEST() 30 EXPECT_TRUE(cancellation_manager != nullptr); in TEST() 37 CancellationManager* cancellation_manager; in TEST() local 38 partial_run_mgr.FindOrCreate(step_id, &cancellation_manager); in TEST() 42 EXPECT_EQ(cancellation_manager, found_cancellation_manager); in TEST() 49 CancellationManager* cancellation_manager; in TEST() local 50 partial_run_mgr.FindOrCreate(step_id, &cancellation_manager); in TEST() 55 EXPECT_NE(cancellation_manager, new_cancellation_manager); in TEST() 63 CancellationManager* cancellation_manager; in TEST() local [all …]
|
D | partial_run_mgr.cc | 30 CancellationManager** cancellation_manager) { in FindOrCreate() argument 34 *cancellation_manager = it->second->cancellation_manager.get(); in FindOrCreate() 39 partial_run->cancellation_manager = MakeUnique<CancellationManager>(); in FindOrCreate() 40 *cancellation_manager = partial_run->cancellation_manager.get(); in FindOrCreate()
|
D | partial_run_mgr.h | 53 bool FindOrCreate(int step_id, CancellationManager** cancellation_manager); 72 std::unique_ptr<CancellationManager> cancellation_manager; member
|
D | graph_mgr.h | 93 CancellationManager* cancellation_manager, 170 CancellationManager* cancellation_manager,
|
D | graph_mgr.cc | 395 CancellationManager* cancellation_manager, in ExecuteAsync() argument 457 cancellation_manager, in ExecuteAsync() 473 CancellationManager* cancellation_manager, in StartParallelExecutors() argument 493 args.cancellation_manager = cancellation_manager; in StartParallelExecutors()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | conditional_accumulator_base.h | 96 CancellationManager* cancellation_manager; // not owned member 102 OpKernelContext* context, CancellationManager* cancellation_manager, in Attempt() 107 cancellation_manager(cancellation_manager), in Attempt() 138 void Cancel(CancellationManager* cancellation_manager,
|
D | conditional_accumulator_base.cc | 72 CancellationManager* cm = ctx->cancellation_manager(); in TryTakeGrad() 111 CancellationManager* cancellation_manager, CancellationToken token) { in Cancel() argument 117 if (attempt.cancellation_manager == cancellation_manager && in Cancel() 156 cur_attempt->context->cancellation_manager()); in TryAttemptLocked()
|
D | queue_base.h | 125 void Cancel(Action action, CancellationManager* cancellation_manager, 162 CancellationManager* cancellation_manager; // not owned member 171 OpKernelContext* context, CancellationManager* cancellation_manager, in Attempt() 176 cancellation_manager(cancellation_manager), in Attempt()
|
D | queue_base.cc | 188 void QueueBase::Cancel(Action action, CancellationManager* cancellation_manager, in Cancel() argument 197 if (attempt.cancellation_manager == cancellation_manager && in Cancel() 305 cur_attempt->context->cancellation_manager()); in TryAttemptLocked()
|
D | fifo_queue.cc | 52 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()
|
D | priority_queue.cc | 73 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()
|
D | random_shuffle_queue_op.cc | 129 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()
|
D | partitioned_function_ops.cc | 217 run_opts.cancellation_manager = ctx->cancellation_manager(); in RunFunction()
|
D | function_ops.cc | 254 opts.cancellation_manager = ctx->cancellation_manager(); in ComputeAsync()
|
D | mutex_ops.cc | 112 CancellationManager* cm = c->cancellation_manager(); in AcquireAsync()
|
D | functional_ops.cc | 119 opts->cancellation_manager = ctx->cancellation_manager(); in SetRunOptions()
|
/external/tensorflow/tensorflow/core/util/rpc/ |
D | call_container.h | 105 token_(ctx->cancellation_manager() != nullptr in CallContainer() 106 ? ctx->cancellation_manager()->get_cancellation_token() in CallContainer() 116 ctx_->cancellation_manager()->DeregisterCallback(token_); in CallContainer() 134 is_cancelled = !ctx_->cancellation_manager()->RegisterCallback( in CallContainer()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_runner.cc | 184 CancellationManager cancellation_manager; in Run() local 185 args.cancellation_manager = &cancellation_manager; in Run()
|
D | executor.h | 89 CancellationManager* cancellation_manager = nullptr; member
|
D | function.cc | 485 opts.cancellation_manager = ctx->cancellation_manager(); in ComputeAsync() 938 exec_args->cancellation_manager = run_opts.cancellation_manager; in ExecutorArgsFromOptions() 1048 if (opts.cancellation_manager && opts.cancellation_manager->IsCancelled()) { in Run() 1118 if (opts.cancellation_manager && opts.cancellation_manager->IsCancelled()) { in Run()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | captured_function.cc | 321 f_opts.cancellation_manager = &c_mgr; in Run() 357 f_opts.cancellation_manager = &c_mgr; in RunWithBorrowedArgs() 393 f_opts.cancellation_manager = &c_mgr; in RunInstantiated() 437 f_opts.cancellation_manager = c_mgr; in RunAsync()
|
D | map_defun_op.cc | 94 CancellationManager* parent_mgr = ctx->cancellation_manager(); in ComputeAsync() 105 opts.cancellation_manager = c_mgr; in ComputeAsync()
|
D | single_threaded_executor.cc | 212 params.cancellation_manager = args.cancellation_manager; in RunAsync()
|
/external/tensorflow/tensorflow/core/framework/ |
D | reader_op_kernel.h | 55 CancellationManager* cm = context->cancellation_manager(); in Compute()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | kernel_and_device.cc | 242 params.cancellation_manager = &cm_; in Run() 320 opts.cancellation_manager = &cm_; in Run()
|