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

Public Functions

inline CpuScalar(bool pinned = 0)
inline CpuScalar(CudaScalar<var_t> *cuScalar, bool pinned = 0)
inline ~CpuScalar()
inline var_t *get()
inline void Set(var_t val)

Private Members

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