Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/compiler/jit/
Dxla_compile_on_demand_op.cc54 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr, in Run()
78 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in Run()
132 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr, in Compile()
Dxla_launch_util.cc260 CHECK(ctx->op_device_context() && ctx->op_device_context()->stream()) in PopulateInputs()
265 ctx->op_device_context()->stream()); in PopulateInputs()
364 ctx->op_device_context()->CopyCPUTensorToDevice( in SetOutputForConstant()
374 static_cast<GPUDeviceContext*>(ctx->op_device_context()); in SetOutputForConstant()
428 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in PopulateOutputs()
/external/tensorflow/tensorflow/core/kernels/
Dnccl_ops.cc108 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
139 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
175 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
209 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
245 auto* compute_stream = c->op_device_context()->stream(); in ComputeAsync()
Ddebug_ops.h89 DeviceContext* device_ctxt = context->op_device_context(); in Compute()
733 auto* stream = context->op_device_context()->stream();
760 auto* stream = context->op_device_context()->stream();
787 auto* stream = context->op_device_context()->stream();
819 auto* stream = context->op_device_context()->stream();
852 auto* stream = context->op_device_context()->stream();
Dcollective_nccl_test.cc295 params->op_device_context = dev_ctx; in PrepareDeviceContext()
346 op_params.op_device_context->Unref(); in RunReduce()
379 op_params.op_device_context->Unref(); in RunBroadcast()
417 op_params.op_device_context->Unref(); in RunGather()
Dgpu_device_array.h81 auto stream = context_->op_device_context()->stream(); in Finalize()
Dsendrecv_ops.cc90 args.device_context = ctx->op_device_context(); in Compute()
197 args.device_context = ctx->op_device_context(); in ComputeAsync()
Dcollective_nccl_reducer.cc66 DeviceContext* op_dev_ctx = col_ctx_->op_ctx->op_device_context(); in Run()
Dstack.cc245 DeviceContext* device_ctxt = ctx->op_device_context(); in ComputeAsync()
302 DeviceContext* device_ctxt = ctx->op_device_context(); in ComputeAsync()
Dcudnn_pooling_gpu.cc98 auto* stream = context->op_device_context()->stream(); in Compute()
240 auto* stream = context->op_device_context()->stream(); in Compute()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc196 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr, in CompileToLocalExecutable()
248 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in Compute()
253 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr, in Compute()
469 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr, in Compute()
472 ctx->op_device_context() ? ctx->op_device_context()->stream() : nullptr; in Compute()
/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/core/util/
Drocm_solvers.cc137 context->op_device_context()->stream()->parent()->implementation()); in ROCmSolver()
139 reinterpret_cast<const hipStream_t*>(context->op_device_context() in ROCmSolver()
235 context_->op_device_context()->stream()->parent()->implementation()); \
/external/tensorflow/tensorflow/core/common_runtime/
Dcollective_util.cc90 sub_params_.op_device_context = ctx->op_device_context();
Dpermuter.cc91 col_ctx_->device, col_ctx_->op_ctx->op_device_context(), in DispatchSend()
108 col_ctx_->op_ctx->op_device_context(), in DispatchRecv()
Dring_reducer.cc98 col_ctx_->op_ctx->op_device_context(), in Run()
99 col_ctx_->op_ctx->op_device_context(), col_ctx_->device, in Run()
143 DeviceContext* op_dev_ctx = col_ctx_->op_ctx->op_device_context(); in ContinueAfterInputCopy()
Dring_gatherer.cc107 col_ctx_->op_ctx->op_device_context(), in Run()
108 col_ctx_->op_ctx->op_device_context(), col_ctx_->device, in Run()
Dhierarchical_tree_broadcaster.cc376 DeviceContext* op_dev_ctx = col_ctx_->op_ctx->op_device_context(); in RunTree()
424 col_ctx_->op_ctx->op_device_context(), in DispatchSend()
445 col_ctx_->op_ctx->op_device_context(), in DispatchRecv()
/external/tensorflow/tensorflow/core/kernels/rnn/
Dblas_gemm.cc53 ctx->op_device_context() in operator ()()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc471 se::Stream* stream = context->op_device_context() in DoWork()
472 ? context->op_device_context()->stream() in DoWork()
554 se::Stream* stream = context->op_device_context() in DoWork()
555 ? context->op_device_context()->stream() in DoWork()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/
Dtf_rocm_runtime_wrappers.cc104 stream_executor::Stream *se_stream = ctx->op_device_context()->stream(); in tfKernelGenLaunchKernel()
Dtf_cuda_runtime_wrappers.cc103 stream_executor::Stream *se_stream = ctx->op_device_context()->stream(); in tfKernelGenLaunchKernel()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dhost_compute_ops.cc144 args.device_context = ctx->op_device_context(); in ComputeAsync()
271 args.device_context = ctx->op_device_context(); in Compute()
/external/tensorflow/tensorflow/c/
Dkernels.cc206 if (cc_ctx->op_device_context() == nullptr) { // CPU Device in TF_GetStream()
210 } else if (!cc_ctx->op_device_context()->IsPluggableDevice()) { in TF_GetStream()
217 cc_ctx->op_device_context()->stream()->implementation()); in TF_GetStream()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.h678 DeviceContext* op_device_context = nullptr; member
1066 T* op_device_context();
1067 DeviceContext* op_device_context() { in op_device_context() function
1068 DeviceContext* ret = params_->op_device_context; in op_device_context()
1668 T* OpKernelContext::op_device_context() { in op_device_context() function
1671 return static_cast<T*>(op_device_context()); in op_device_context()

123