Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::CpuScalar< var_t > Class Template Reference

#include <acts/blob/sPHENIX/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/CpuScalar.hpp>

Public Member Functions

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

Private Attributes

var_t * m_hostPtr = nullptr
 
size_t m_size
 
bool m_pinned
 

Detailed Description

template<typename var_t>
class Acts::CpuScalar< var_t >

Definition at line 19 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 19 of file CpuScalar.hpp

Constructor & Destructor Documentation

template<typename var_t>
Acts::CpuScalar< var_t >::CpuScalar ( bool  pinned = false)
inline

Definition at line 21 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 21 of file CpuScalar.hpp

References Acts::CpuScalar< var_t >::m_hostPtr, and Acts::CpuScalar< var_t >::m_pinned.

template<typename var_t>
Acts::CpuScalar< var_t >::CpuScalar ( CudaScalar< var_t > *  cuScalar,
bool  pinned = false 
)
inline

Definition at line 30 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 30 of file CpuScalar.hpp

References Acts::CpuScalar< var_t >::m_hostPtr, and Acts::CpuScalar< var_t >::m_pinned.

template<typename var_t>
Acts::CpuScalar< var_t >::~CpuScalar ( )
inline

Definition at line 41 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 41 of file CpuScalar.hpp

References Acts::CpuScalar< var_t >::m_hostPtr, and Acts::CpuScalar< var_t >::m_pinned.

Member Function Documentation

template<typename var_t>
var_t* Acts::CpuScalar< var_t >::get ( )
inline

Definition at line 49 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 49 of file CpuScalar.hpp

References Acts::CpuScalar< var_t >::m_hostPtr.

Referenced by Acts::SeedFinder< external_spacepoint_t, Acts::Cuda >::createSeedsForGroup().

+ Here is the caller graph for this function:

template<typename var_t>
void Acts::CpuScalar< var_t >::Set ( var_t  val)
inline

Definition at line 51 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 51 of file CpuScalar.hpp

References Acts::CpuScalar< var_t >::m_hostPtr.

Member Data Documentation

template<typename var_t>
var_t* Acts::CpuScalar< var_t >::m_hostPtr = nullptr
private

Definition at line 54 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 54 of file CpuScalar.hpp

Referenced by Acts::CpuScalar< var_t >::CpuScalar(), Acts::CpuScalar< var_t >::get(), Acts::CpuScalar< var_t >::Set(), and Acts::CpuScalar< var_t >::~CpuScalar().

template<typename var_t>
bool Acts::CpuScalar< var_t >::m_pinned
private

Definition at line 56 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 56 of file CpuScalar.hpp

Referenced by Acts::CpuScalar< var_t >::CpuScalar(), and Acts::CpuScalar< var_t >::~CpuScalar().

template<typename var_t>
size_t Acts::CpuScalar< var_t >::m_size
private

Definition at line 55 of file CpuScalar.hpp.

View newest version in sPHENIX GitHub at line 55 of file CpuScalar.hpp


The documentation for this class was generated from the following file: