Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_activation.cc28 ScopedActivateExecutorContext::ScopedActivateExecutorContext( in ScopedActivateExecutorContext() function in stream_executor::gpu::ScopedActivateExecutorContext
33 ScopedActivateExecutorContext::ScopedActivateExecutorContext( in ScopedActivateExecutorContext() function in stream_executor::gpu::ScopedActivateExecutorContext
35 : ScopedActivateExecutorContext(ExtractGpuExecutor(stream_exec)) {} in ScopedActivateExecutorContext()
37 ScopedActivateExecutorContext::~ScopedActivateExecutorContext() { in ~ScopedActivateExecutorContext()
41 ScopedActivateExecutorContext::ScopedActivateExecutorContext( in ScopedActivateExecutorContext() function in stream_executor::gpu::ScopedActivateExecutorContext
42 ScopedActivateExecutorContext&& other) in ScopedActivateExecutorContext()
Dgpu_activation.h38 class ScopedActivateExecutorContext {
41 explicit ScopedActivateExecutorContext(GpuExecutor* gpu_exec);
45 explicit ScopedActivateExecutorContext(StreamExecutor* stream_exec);
47 ScopedActivateExecutorContext(ScopedActivateExecutorContext&& other);
49 ~ScopedActivateExecutorContext();
55 SE_DISALLOW_COPY_AND_ASSIGN(ScopedActivateExecutorContext);
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_rng.cc68 cuda::ScopedActivateExecutorContext sac(parent_); in ~GpuRng()
77 cuda::ScopedActivateExecutorContext sac(parent_); in Init()
89 cuda::ScopedActivateExecutorContext sac(parent_); in SetStream()
124 cuda::ScopedActivateExecutorContext sac(parent_); in DoPopulateRandUniformInternal()
173 cuda::ScopedActivateExecutorContext sac(parent_); in DoPopulateRandGaussianInternal()
211 cuda::ScopedActivateExecutorContext sac(parent_); in SetSeed()
Dcuda_activation.h34 using ScopedActivateExecutorContext = gpu::ScopedActivateExecutorContext; variable
Dcuda_fft.cc65 cuda::ScopedActivateExecutorContext sac(parent); in SetStream()
85 cuda::ScopedActivateExecutorContext sac(parent); in Initialize()
255 cuda::ScopedActivateExecutorContext sac(parent_); in UpdateScratchAllocator()
266 cuda::ScopedActivateExecutorContext sac(parent_); in ~CUDAFftPlan()
468 cuda::ScopedActivateExecutorContext sac(parent_); in DoFftInternal()
496 cuda::ScopedActivateExecutorContext sac(parent_); in DoFftWithDirectionInternal()
Dcuda_dnn.cc137 CudnnHandle(gpu::ScopedActivateExecutorContext context, mutex_lock lock, in CudnnHandle()
146 gpu::ScopedActivateExecutorContext context_;
186 gpu::ScopedActivateExecutorContext context(executor); in GetHandle()
301 ScopedActivateExecutorContext context(parent_); in Init()
Dcuda_blas.cc235 gpu::ScopedActivateExecutorContext sac{parent_}; in Init()
250 gpu::ScopedActivateExecutorContext sac{parent_}; in ~CUDABlas()
259 gpu::ScopedActivateExecutorContext sac{parent_}; in SetStream()
412 gpu::ScopedActivateExecutorContext sac{parent_}; in DoBlasInternalImpl()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_activation.h34 using ScopedActivateExecutorContext = gpu::ScopedActivateExecutorContext; variable
Drocm_rng.cc71 gpu::ScopedActivateExecutorContext sac{parent}; \
100 gpu::ScopedActivateExecutorContext sac{parent}; \
Drocm_fft.cc52 gpu::ScopedActivateExecutorContext sac{parent}; \
81 gpu::ScopedActivateExecutorContext sac{parent}; \
Drocm_dnn.cc101 MIOpenHandle(gpu::ScopedActivateExecutorContext context, mutex_lock lock, in MIOpenHandle()
110 gpu::ScopedActivateExecutorContext context_;
472 gpu::ScopedActivateExecutorContext context(executor); in GetHandle()
490 ScopedActivateExecutorContext context(parent_); in Init()
Drocm_blas.cc59 gpu::ScopedActivateExecutorContext sac{parent}; \
92 gpu::ScopedActivateExecutorContext sac{parent}; \
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_cudamalloc_allocator.cc42 se::cuda::ScopedActivateExecutorContext scoped_activation{stream_exec_}; in AllocateRaw()
Dgpu_device.cc90 using se::cuda::ScopedActivateExecutorContext;
97 using se::rocm::ScopedActivateExecutorContext;
568 ScopedActivateExecutorContext scoped_activation{stream->parent()}; in ComputeHelper()
634 ScopedActivateExecutorContext scoped_activation{stream->parent()}; in ComputeAsync()
/external/tensorflow/tensorflow/core/kernels/
Dwhere_op.cc45 using stream_executor::cuda::ScopedActivateExecutorContext;
307 ScopedActivateExecutorContext scoped_activation{stream->parent()}; in ComputeAsyncType()
Dcheck_numerics_op.cc181 se::cuda::ScopedActivateExecutorContext scoped_activation{ in ComputeAsync()
Dcrop_and_resize_op.cc42 using stream_executor::cuda::ScopedActivateExecutorContext;
812 ScopedActivateExecutorContext scoped_activation{stream->parent()}; in RunIfBoxIndexIsValid()
Dcuda_solvers.cc81 using se::cuda::ScopedActivateExecutorContext;
212 ScopedActivateExecutorContext scoped_activation{stream->parent()}; in CheckLapackInfoAndDeleteSolverAsync()
Dsegment_reduction_ops.cc45 using stream_executor::cuda::ScopedActivateExecutorContext;
269 ScopedActivateExecutorContext scoped_activation{stream->parent()}; in ComputeAsync()
/external/tensorflow/tensorflow/core/nccl/
Dnccl_manager.cc43 using se::cuda::ScopedActivateExecutorContext;
543 ScopedActivateExecutorContext scoped_context(nccl_stream->executor); in LoopKernelLaunches()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnccl_all_reduce_thunk.cc285 se::cuda::ScopedActivateExecutorContext scoped_context(executor); in DoAllReduce()