![]() |
The Gaudi Framework
v41r0 (bdbe7744)
|
#include </builds/gaudi/Gaudi/GaudiCUDA/include/Gaudi/CUDA/CUDAStream.h>

Public Member Functions | |
| Stream (const Gaudi::Algorithm *parent, cudaStream_t stream) | |
| Wrap an existing cudaStream. | |
| Stream (const Gaudi::Algorithm *parent) | |
| Obtain a cudaStream from the pool. | |
| ~Stream () | |
| operator cudaStream_t () | |
| Access the internal cudaStream_t. | |
| const Gaudi::Algorithm * | parent () |
| Access the parent algorithm. | |
| const Gaudi::AsynchronousAlgorithm * | asyncParent () |
| Access the parent AsynchronousAlgorithm. | |
| StatusCode | await () |
| Yield fiber until stream is done. | |
| void | registerDependency () |
| INTERNAL: Register a dependency. | |
| void | removeDependency () |
| INTERNAL: Remove a dependency. | |
Private Attributes | |
| cudaStream_t | m_stream |
| const bool | m_owning |
| const Gaudi::Algorithm * | m_parent |
| const Gaudi::AsynchronousAlgorithm * | m_async_parent |
| int | m_dependents |
Definition at line 20 of file CUDAStream.h.
| Gaudi::CUDA::Stream::Stream | ( | const Gaudi::Algorithm * | parent, |
| cudaStream_t | stream ) |
Wrap an existing cudaStream.
Definition at line 78 of file CUDAStream.cpp.
| Gaudi::CUDA::Stream::Stream | ( | const Gaudi::Algorithm * | parent | ) |
Obtain a cudaStream from the pool.
Definition at line 85 of file CUDAStream.cpp.
| Gaudi::CUDA::Stream::~Stream | ( | ) |
Definition at line 100 of file CUDAStream.cpp.
| const Gaudi::AsynchronousAlgorithm * Gaudi::CUDA::Stream::asyncParent | ( | ) |
| StatusCode Gaudi::CUDA::Stream::await | ( | ) |
Yield fiber until stream is done.
Definition at line 114 of file CUDAStream.cpp.
| Gaudi::CUDA::Stream::operator cudaStream_t | ( | ) |
| const Gaudi::Algorithm * Gaudi::CUDA::Stream::parent | ( | ) |
| void Gaudi::CUDA::Stream::registerDependency | ( | ) |
INTERNAL: Register a dependency.
Definition at line 138 of file CUDAStream.cpp.
| void Gaudi::CUDA::Stream::removeDependency | ( | ) |
INTERNAL: Remove a dependency.
Definition at line 139 of file CUDAStream.cpp.
|
private |
Definition at line 25 of file CUDAStream.h.
|
private |
Definition at line 26 of file CUDAStream.h.
|
private |
Definition at line 23 of file CUDAStream.h.
|
private |
Definition at line 24 of file CUDAStream.h.
|
private |
Definition at line 22 of file CUDAStream.h.