ATLAS Offline Software
Loading...
Searching...
No Matches
AthCUDA::CopyTool Class Reference

Tool providing a synchronous vecmem::copy object for CUDA devices. More...

#include <CopyTool.h>

Inheritance diagram for AthCUDA::CopyTool:
Collaboration diagram for AthCUDA::CopyTool:

Public Member Functions

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::shared_ptr< const vecmem::copy > m_copy
 The vecmem::copy object provided by this tool.

Detailed Description

Tool providing a synchronous vecmem::copy object for CUDA devices.

Definition at line 19 of file CopyTool.h.

Member Function Documentation

◆ copy()

std::shared_ptr< const vecmem::copy > AthCUDA::CopyTool::copy ( const EventContext & ctx) const
overridevirtual

Get the provided vecmem::copy object.

Definition at line 10 of file CopyTool.cxx.

10 {
11
12 return m_copy;
13}
std::shared_ptr< const vecmem::copy > m_copy
The vecmem::copy object provided by this tool.
Definition CopyTool.h:36

Member Data Documentation

◆ m_copy

std::shared_ptr<const vecmem::copy> AthCUDA::CopyTool::m_copy
private
Initial value:
{
std::make_shared<const vecmem::cuda::copy>()}

The vecmem::copy object provided by this tool.

Definition at line 36 of file CopyTool.h.

36 {
37 std::make_shared<const vecmem::cuda::copy>()};

The documentation for this class was generated from the following files: