![]() |
ATLAS Offline Software
|
Helper structure for managing a CUDA stream in memory. More...
Public Member Functions | |
| Stream () | |
| Constructor, creating the CUDA stream. | |
| ~Stream () | |
| Destructor, destroying the CUDA stream. | |
Public Attributes | |
| cudaStream_t | m_stream {nullptr} |
| The CUDA stream to use for asynchronous copies. | |
Helper structure for managing a CUDA stream in memory.
Definition at line 45 of file AsyncCopyTool.h.
| AthCUDA::AsyncCopyTool::Stream::Stream | ( | ) |
Constructor, creating the CUDA stream.
Definition at line 28 of file AsyncCopyTool.cxx.
| AthCUDA::AsyncCopyTool::Stream::~Stream | ( | ) |
Destructor, destroying the CUDA stream.
Let's not check for errors here.
Since that would introduce a struct that may throw in its destructor. Which we don't want.
Definition at line 34 of file AsyncCopyTool.cxx.
| cudaStream_t AthCUDA::AsyncCopyTool::Stream::m_stream {nullptr} |
The CUDA stream to use for asynchronous copies.
Definition at line 51 of file AsyncCopyTool.h.