EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/CpuVector.hpp>
Public Member Functions | |
CpuVector ()=delete | |
CpuVector (size_t size, bool pinned=0) | |
CpuVector (size_t size, CudaVector< var_t > *cuVec, bool pinned=0) | |
~CpuVector () | |
var_t * | get (size_t offset=0) |
void | set (size_t offset, var_t val) |
void | copyD2H (var_t *devPtr, size_t len, size_t offset) |
void | copyD2H (var_t *devPtr, size_t len, size_t offset, cudaStream_t *stream) |
void | zeros () |
Private Attributes | |
var_t * | m_hostPtr = nullptr |
size_t | m_size |
bool | m_pinned |
Definition at line 21 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 21 of file CpuVector.hpp
|
delete |
|
inline |
Definition at line 24 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 24 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr, Acts::CpuVector< var_t >::m_pinned, and Acts::CpuVector< var_t >::m_size.
|
inline |
Definition at line 34 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 34 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr, Acts::CpuVector< var_t >::m_pinned, and Acts::CpuVector< var_t >::m_size.
|
inline |
Definition at line 46 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 46 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr, and Acts::CpuVector< var_t >::m_pinned.
|
inline |
Definition at line 58 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 58 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr.
|
inline |
Definition at line 63 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 63 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr.
|
inline |
Definition at line 54 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 54 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr, and offset.
Referenced by Acts::Seedfinder< external_spacepoint_t, Acts::Cuda >::createSeedsForGroup().
|
inline |
Definition at line 56 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 56 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr, and offset.
|
inline |
Definition at line 68 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 68 of file CpuVector.hpp
References Acts::CpuVector< var_t >::m_hostPtr, and Acts::CpuVector< var_t >::m_size.
Referenced by Acts::Seedfinder< external_spacepoint_t, Acts::Cuda >::createSeedsForGroup().
|
private |
Definition at line 71 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 71 of file CpuVector.hpp
Referenced by Acts::CpuVector< var_t >::copyD2H(), Acts::CpuVector< var_t >::CpuVector(), Acts::CpuVector< var_t >::get(), Acts::CpuVector< var_t >::set(), Acts::CpuVector< var_t >::zeros(), and Acts::CpuVector< var_t >::~CpuVector().
|
private |
Definition at line 73 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 73 of file CpuVector.hpp
Referenced by Acts::CpuVector< var_t >::CpuVector(), and Acts::CpuVector< var_t >::~CpuVector().
|
private |
Definition at line 72 of file CpuVector.hpp.
View newest version in sPHENIX GitHub at line 72 of file CpuVector.hpp
Referenced by Acts::CpuVector< var_t >::CpuVector(), and Acts::CpuVector< var_t >::zeros().