![]() |
ATLAS Offline Software
|
Tool providing an asynchronous vecmem::copy object for CUDA devices.
More...
#include <AsyncCopyTool.h>
Classes | |
| struct | Stream |
| Helper structure for managing a CUDA stream in memory. More... | |
Public Member Functions | |
Function(s) inherited from @c AthAlgTool | |
| virtual StatusCode | initialize () override |
| Initialize the tool. | |
Function(s) inherited from @c ICopyTool | |
| virtual std::shared_ptr< const vecmem::copy > | copy (const EventContext &ctx) const override |
Get the provided vecmem::copy object. | |
Private Attributes | |
| std::unique_ptr< const SG::SlotSpecificObj< Stream > > | m_streams |
| Slot specific CUDA stream. | |
Tool providing an asynchronous vecmem::copy object for CUDA devices.
Definition at line 20 of file AsyncCopyTool.h.
|
overridevirtual |
Get the provided vecmem::copy object.
Definition at line 47 of file AsyncCopyTool.cxx.
|
overridevirtual |
Initialize the tool.
Definition at line 38 of file AsyncCopyTool.cxx.
|
private |
Slot specific CUDA stream.
Definition at line 55 of file AsyncCopyTool.h.