Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/CpuMatrix.hpp>
Public Member Functions | |
CpuMatrix ()=delete | |
CpuMatrix (size_t nRows, size_t nCols, bool pinned=false) | |
CpuMatrix (size_t nRows, size_t nCols, CudaMatrix< var_t > *cuMat, bool pinned=false) | |
~CpuMatrix () | |
var_t * | get (size_t row=0, size_t col=0) |
void | set (size_t row, size_t col, 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 Member Functions | |
void | m_setSize (size_t row, size_t col) |
Private Attributes | |
var_t * | m_hostPtr = nullptr |
size_t | m_nCols |
size_t | m_nRows |
size_t | m_size |
bool | m_pinned |
Definition at line 21 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 21 of file CpuMatrix.hpp
|
delete |
|
inline |
Definition at line 24 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 24 of file CpuMatrix.hpp
References Acts::CpuMatrix< var_t >::m_hostPtr, Acts::CpuMatrix< var_t >::m_pinned, Acts::CpuMatrix< var_t >::m_setSize(), and Acts::CpuMatrix< var_t >::m_size.
|
inline |
Definition at line 34 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 34 of file CpuMatrix.hpp
References Acts::CpuMatrix< var_t >::m_hostPtr, Acts::CpuMatrix< var_t >::m_nCols, Acts::CpuMatrix< var_t >::m_nRows, Acts::CpuMatrix< var_t >::m_pinned, Acts::CpuMatrix< var_t >::m_setSize(), and Acts::CpuMatrix< var_t >::m_size.
|
inline |
Definition at line 47 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 47 of file CpuMatrix.hpp
References Acts::CpuMatrix< var_t >::m_hostPtr, and Acts::CpuMatrix< var_t >::m_pinned.
|
inline |
Definition at line 65 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 65 of file CpuMatrix.hpp
References Acts::CpuMatrix< var_t >::m_hostPtr.
|
inline |
Definition at line 70 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 70 of file CpuMatrix.hpp
References Acts::CpuMatrix< var_t >::m_hostPtr.
|
inline |
Definition at line 55 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 55 of file CpuMatrix.hpp
References col, Acts::CpuMatrix< var_t >::m_hostPtr, Acts::CpuMatrix< var_t >::m_nRows, and offset.
|
inlineprivate |
Definition at line 84 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 84 of file CpuMatrix.hpp
References col, Acts::CpuMatrix< var_t >::m_nCols, Acts::CpuMatrix< var_t >::m_nRows, and Acts::CpuMatrix< var_t >::m_size.
Referenced by Acts::CpuMatrix< var_t >::CpuMatrix().
|
inline |
Definition at line 60 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 60 of file CpuMatrix.hpp
References col, Acts::CpuMatrix< var_t >::m_hostPtr, Acts::CpuMatrix< var_t >::m_nRows, and offset.
|
inline |
Definition at line 75 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 75 of file CpuMatrix.hpp
References Acts::CpuMatrix< var_t >::m_hostPtr, and Acts::CpuMatrix< var_t >::m_size.
|
private |
Definition at line 78 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 78 of file CpuMatrix.hpp
Referenced by Acts::CpuMatrix< var_t >::copyD2H(), Acts::CpuMatrix< var_t >::CpuMatrix(), Acts::CpuMatrix< var_t >::get(), Acts::CpuMatrix< var_t >::set(), Acts::CpuMatrix< var_t >::zeros(), and Acts::CpuMatrix< var_t >::~CpuMatrix().
|
private |
Definition at line 79 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 79 of file CpuMatrix.hpp
Referenced by Acts::CpuMatrix< var_t >::CpuMatrix(), and Acts::CpuMatrix< var_t >::m_setSize().
|
private |
Definition at line 80 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 80 of file CpuMatrix.hpp
Referenced by Acts::CpuMatrix< var_t >::CpuMatrix(), Acts::CpuMatrix< var_t >::get(), Acts::CpuMatrix< var_t >::m_setSize(), and Acts::CpuMatrix< var_t >::set().
|
private |
Definition at line 82 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 82 of file CpuMatrix.hpp
Referenced by Acts::CpuMatrix< var_t >::CpuMatrix(), and Acts::CpuMatrix< var_t >::~CpuMatrix().
|
private |
Definition at line 81 of file CpuMatrix.hpp.
View newest version in sPHENIX GitHub at line 81 of file CpuMatrix.hpp
Referenced by Acts::CpuMatrix< var_t >::CpuMatrix(), Acts::CpuMatrix< var_t >::m_setSize(), and Acts::CpuMatrix< var_t >::zeros().