Home
last modified time | relevance | path

Searched refs:already_cancelled (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dfifo_queue.cc54 bool already_cancelled; in TryEnqueue() local
57 already_cancelled = !cm->RegisterCallback( in TryEnqueue()
59 if (!already_cancelled) { in TryEnqueue()
79 if (!already_cancelled) { in TryEnqueue()
112 bool already_cancelled; in TryEnqueueMany() local
115 already_cancelled = !cm->RegisterCallback( in TryEnqueueMany()
117 if (!already_cancelled) { in TryEnqueueMany()
147 if (!already_cancelled) { in TryEnqueueMany()
158 bool already_cancelled; in TryDequeue() local
161 already_cancelled = !cm->RegisterCallback( in TryDequeue()
[all …]
Dpriority_queue.cc75 bool already_cancelled; in TryEnqueue() local
78 already_cancelled = !cm->RegisterCallback( in TryEnqueue()
80 if (!already_cancelled) { in TryEnqueue()
108 if (!already_cancelled) { in TryEnqueue()
140 bool already_cancelled; in TryEnqueueMany() local
143 already_cancelled = !cm->RegisterCallback( in TryEnqueueMany()
145 if (!already_cancelled) { in TryEnqueueMany()
190 if (!already_cancelled) { in TryEnqueueMany()
202 bool already_cancelled; in TryDequeue() local
205 already_cancelled = !cm->RegisterCallback( in TryDequeue()
[all …]
Drandom_shuffle_queue_op.cc132 bool already_cancelled; in TryEnqueue() local
135 already_cancelled = !cm->RegisterCallback( in TryEnqueue()
137 if (!already_cancelled) { in TryEnqueue()
157 if (!already_cancelled) { in TryEnqueue()
190 bool already_cancelled; in TryEnqueueMany() local
193 already_cancelled = !cm->RegisterCallback( in TryEnqueueMany()
195 if (!already_cancelled) { in TryEnqueueMany()
225 if (!already_cancelled) { in TryEnqueueMany()
237 bool already_cancelled; in TryDequeue() local
240 already_cancelled = !cm->RegisterCallback( in TryDequeue()
[all …]
Dconditional_accumulator_base.cc74 bool already_cancelled; in TryTakeGrad() local
77 already_cancelled = !cm->RegisterCallback( in TryTakeGrad()
79 if (!already_cancelled) { in TryTakeGrad()
98 if (!already_cancelled) { in TryTakeGrad()
Dpadding_fifo_queue.cc91 bool already_cancelled; in TryDequeueMany() local
94 already_cancelled = !cm->RegisterCallback( in TryDequeueMany()
96 if (!already_cancelled) { in TryDequeueMany()
230 if (!already_cancelled) { in TryDequeueMany()
Dmutex_ops.cc86 const bool already_cancelled = in AcquireAsync() local
92 if (already_cancelled) { in AcquireAsync()
Dcontrol_flow_ops.cc463 bool already_cancelled = cm->IsCancelled(); in Compute() local
464 OP_REQUIRES(context, !already_cancelled, in Compute()
Dcollective_ops.cc70 const bool already_cancelled = in ComputeAsync() local
77 OP_REQUIRES_ASYNC(c, !already_cancelled, in ComputeAsync()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtransfer_ops.cc49 bool already_cancelled; in ComputeAsync() local
54 already_cancelled = !ctx->cancellation_manager()->RegisterCallback( in ComputeAsync()
57 OP_REQUIRES_ASYNC(ctx, !already_cancelled, in ComputeAsync()
Dtpu_compile_op_common.cc546 const bool already_cancelled = in Compute() local
560 OP_REQUIRES(ctx, !already_cancelled, in Compute()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_execute.cc352 bool already_cancelled = !cancellation_manager->RegisterCallback( in RegisterCancellation() local
355 return std::pair<CancellationToken, bool>(token, already_cancelled); in RegisterCancellation()
486 bool already_cancelled; in TPUExecute() local
487 std::tie(token, already_cancelled) = in TPUExecute()
493 if (already_cancelled) { in TPUExecute()
509 already_cancelled = cancellation_manager->IsCancelling() || in TPUExecute()
511 if (already_cancelled) { in TPUExecute()
/external/tensorflow/tensorflow/core/framework/
Dreader_op_kernel.h57 bool already_cancelled = in Compute() local
60 if (!already_cancelled) { in Compute()
Dlocal_rendezvous.cc188 bool already_cancelled = false; in RecvAsync() local
205 already_cancelled = !cm->RegisterCallback(token, [this, token, key_hash] { in RecvAsync()
251 if (already_cancelled) { in RecvAsync()
/external/tensorflow/tensorflow/core/common_runtime/
Dbuf_rendezvous.cc192 bool already_cancelled = false; in ConsumeBuf() local
195 already_cancelled = !cancellation_manager->RegisterCallback( in ConsumeBuf()
198 if (already_cancelled) { in ConsumeBuf()
Dcollective_param_resolver_local.cc105 const bool already_cancelled = in CompleteGroupLocal() local
113 if (already_cancelled) { in CompleteGroupLocal()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_execute_node.cc57 const bool already_cancelled = !cm->RegisterCallback( in RunAsync() local
59 if (already_cancelled) { in RunAsync()
Dcluster_function_library_runtime.cc209 const bool already_cancelled = !cm->RegisterCallback( in Run() local
212 if (already_cancelled) { in Run()
/external/tensorflow/tensorflow/core/nccl/
Dcollective_communicator.cc89 bool already_cancelled = in Enqueue() local
94 if (already_cancelled) { in Enqueue()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dtpu_compile_ops.cc127 const bool already_cancelled = in Compute() local
142 OP_REQUIRES(ctx, !already_cancelled, in Compute()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dbase_rendezvous_mgr.cc404 bool already_cancelled = false; in RegisterCall() local
414 already_cancelled = !cm->RegisterCallback(token, [this, call] { in RegisterCall()
424 if (already_cancelled) { in RegisterCall()
Dworker.cc213 bool already_cancelled = !cancellation_manager_.RegisterCallback( in DoRunGraph() local
215 if (already_cancelled) { in DoRunGraph()