File CpuVector.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 CpuVector
#include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v16.0.0/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/CpuVector.hpp>

Public Functions

CpuVector() = delete
inline CpuVector(size_t size, bool pinned = 0)
inline CpuVector(size_t size, CudaVector<var_t> *cuVec, bool pinned = 0)
inline ~CpuVector()
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 offset = 0)
inline void set(size_t offset, var_t val)
inline void zeros()

Private Members

var_t *m_hostPtr = nullptr
bool m_pinned
size_t m_size
template<typename var_t>
class CudaVector
#include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v16.0.0/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/CpuVector.hpp>