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

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

#include <CopyTool.h>

Inheritance diagram for AthHIP::CopyTool:
Collaboration diagram for AthHIP::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 HIP devices.

Definition at line 19 of file AthHIP/AthHIPComps/src/CopyTool.h.

Member Function Documentation

◆ copy()

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

Get the provided vecmem::copy object.

Definition at line 10 of file AthHIP/AthHIPComps/src/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.

Member Data Documentation

◆ m_copy

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

The vecmem::copy object provided by this tool.

Definition at line 36 of file AthHIP/AthHIPComps/src/CopyTool.h.

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

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