ATLAS Offline Software
Static Public Member Functions | List of all members
CaloRecGPU::Helpers::MemoryManagement< T, indexer >::copy_helper< MemoryContext::CPU, MemoryContext::CUDAPinnedCPU, dummy > Struct Template Reference
Collaboration diagram for CaloRecGPU::Helpers::MemoryManagement< T, indexer >::copy_helper< MemoryContext::CPU, MemoryContext::CUDAPinnedCPU, dummy >:

Static Public Member Functions

static void copy (T *dest, const T *const source, const indexer sz)
 

Detailed Description

template<class T, class indexer>
template<class dummy>
struct CaloRecGPU::Helpers::MemoryManagement< T, indexer >::copy_helper< MemoryContext::CPU, MemoryContext::CUDAPinnedCPU, dummy >

Definition at line 563 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.

Member Function Documentation

◆ copy()

template<class T , class indexer >
template<class dummy >
static void CaloRecGPU::Helpers::MemoryManagement< T, indexer >::copy_helper< MemoryContext::CPU, MemoryContext::CUDAPinnedCPU, dummy >::copy ( T *  dest,
const T *const  source,
const indexer  sz 
)
inlinestatic

Definition at line 565 of file Calorimeter/CaloRecGPU/CaloRecGPU/Helpers.h.

566  {
567  std::memcpy(dest, source, sizeof(T) * sz);
568  }

The documentation for this struct was generated from the following file:
fitman.sz
sz
Definition: fitman.py:527
perfmonmt-printer.dest
dest
Definition: perfmonmt-printer.py:189