Home
last modified time | relevance | path

Searched refs:op_device_context (Results 1 – 25 of 60) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Dnccl_ops.cc104 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
136 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
173 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
208 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
245 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
Dcollective_nccl_reducer.cc110 DeviceContext* op_dev_ctx = col_ctx_->op_ctx->op_device_context(); in Run()
124 auto* compute_stream = col_ctx_->op_ctx->op_device_context()->stream(); in Run()
Dsendrecv_ops.cc87 args.device_context = ctx->op_device_context(); in Compute()
177 args.device_context = ctx->op_device_context(); in ComputeAsync()
Dcudnn_pooling_gpu.cc98 auto* stream = context->op_device_context()->stream(); in Compute()
225 auto* stream = context->op_device_context()->stream(); in Compute()
Dgpu_device_array.h79 auto stream = context_->op_device_context()->stream(); in Finalize()
Dstack.cc244 DeviceContext* device_ctxt = ctx->op_device_context(); in ComputeAsync()
301 DeviceContext* device_ctxt = ctx->op_device_context(); in ComputeAsync()
Dwhere_op.cc293 auto stream = context->op_device_context()->stream(); in ComputeAsyncType()
306 auto stream = context->op_device_context()->stream(); in ComputeAsyncType()
Dcudnn_rnn_ops.cc656 StreamExecutor* executor = context->op_device_context()->stream()->parent(); in CreateForwardAndBackwardIODescriptors()
769 Stream* stream = context->op_device_context()->stream(); in DoForward()
847 Stream* stream = context->op_device_context()->stream(); in DoBackward()
960 Stream* stream = context->op_device_context()->stream(); in ExtractCudnnRNNParamsInfo()
982 StreamExecutor* executor = context->op_device_context()->stream()->parent(); in CreateRnnDescriptor()
1083 Stream* stream = context->op_device_context()->stream(); in Compute()
1223 Stream* stream = context->op_device_context()->stream(); in Compute()
1460 auto* stream = context->op_device_context()->stream(); in MaybeAutoTune()
Dpooling_ops_common.cc262 auto* stream = context->op_device_context()->stream(); in Compute()
413 auto* stream = context->op_device_context()->stream(); in Compute()
Dcheck_numerics_op.cc142 auto* stream = context->op_device_context()->stream(); in ComputeAsync()
Dmatrix_triangular_solve_op.cc188 auto* stream = context->op_device_context()->stream(); in ComputeMatrix()
Dlrn_op.cc210 auto* stream = context->op_device_context()->stream(); in launch()
429 auto* stream = context->op_device_context()->stream(); in launch()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgpu_swapping_kernels.cc45 ctx->op_device_context()->CopyDeviceTensorToCPU( in ComputeAsync()
74 ctx->op_device_context()->CopyCPUTensorToDevice( in ComputeAsync()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc284 if (ctx->op_device_context() != nullptr) { in CompileToLocalExecutable()
286 ctx->op_device_context()->stream()->parent()->device_ordinal(); in CompileToLocalExecutable()
347 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in Compute()
533 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in Compute()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.cc212 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in PopulateInputs()
264 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in PopulateOutputs()
322 ctx->op_device_context()->CopyCPUTensorToDevice( in PopulateOutputs()
332 static_cast<GPUDeviceContext*>(ctx->op_device_context()); in PopulateOutputs()
Dxla_compile_on_demand_op.cc68 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in Run()
146 ctx->op_device_context()->CopyDeviceTensorToCPU( in Compile()
/external/tensorflow/tensorflow/core/common_runtime/
Dhierarchical_tree_broadcaster.cc369 DeviceContext* op_dev_ctx = col_ctx_->op_ctx->op_device_context(); in RunTree()
413 col_ctx_->op_ctx->op_device_context(), in DispatchSend()
433 col_ctx_->op_ctx->op_device_context(), in DispatchRecv()
Dring_reducer.cc92 col_ctx_->op_ctx->op_device_context(), col_ctx_->device, in Run()
125 DeviceContext* op_dev_ctx = col_ctx_->op_ctx->op_device_context(); in ContinueAfterInputCopy()
Dring_alg.cc393 col_ctx_->device, col_ctx_->op_ctx->op_device_context(), in DispatchSend()
413 col_ctx_->device, col_ctx_->op_ctx->op_device_context(), in DispatchRecv()
Dring_gatherer.cc104 col_ctx_->op_ctx->op_device_context(), col_ctx_->device, col_ctx_->device, in Run()
/external/tensorflow/tensorflow/contrib/rnn/kernels/
Dblas_gemm.cc53 ctx->op_device_context() in operator ()()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc201 se::Stream* stream = context->op_device_context() in DoWork()
202 ? context->op_device_context()->stream() in DoWork()
/external/tensorflow/tensorflow/contrib/tensorrt/custom_plugin_examples/
Dinc_op_kernel.cu.cc67 reinterpret_cast<const cudaStream_t*>(context->op_device_context() in Compute()
/external/tensorflow/tensorflow/contrib/image/kernels/
Dadjust_hsv_in_yiq_op_gpu.cu.cc70 auto* stream = ctx->op_device_context()->stream(); in operator ()()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.h660 DeviceContext* op_device_context = nullptr; member
1031 T* op_device_context();
1032 DeviceContext* op_device_context() { in op_device_context() function
1033 DeviceContext* ret = params_->op_device_context; in op_device_context()
1611 T* OpKernelContext::op_device_context() { in op_device_context() function
1614 return static_cast<T*>(op_device_context()); in op_device_context()

123