File CpuMatrix.hpp¶
-
namespace Acts
Set the Geometry Context PLUGIN.
Set the Calibration Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.
Set the Mangetic Field Context PLUGIN.
Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.
Currently implemented for the two most common formats: rz and xyz.
-
template<typename var_t>
class CpuMatrix - #include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v18.0.0/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/CpuMatrix.hpp>
Public Functions
-
CpuMatrix() = delete
-
inline CpuMatrix(size_t nRows, size_t nCols, bool pinned = 0)
-
inline CpuMatrix(size_t nRows, size_t nCols, CudaMatrix<var_t> *cuMat, bool pinned = 0)
-
inline ~CpuMatrix()
-
inline void copyD2H(var_t *devPtr, size_t len, size_t offset)
-
inline void copyD2H(var_t *devPtr, size_t len, size_t offset, cudaStream_t *stream)
-
inline var_t *get(size_t row = 0, size_t col = 0)
-
inline void set(size_t row, size_t col, var_t val)
-
inline void zeros()
Private Functions
-
inline void m_setSize(size_t row, size_t col)¶
-
CpuMatrix() = delete
-
template<typename var_t>
class CudaMatrix - #include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v18.0.0/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/CpuMatrix.hpp>
-
template<typename var_t>