QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | List of all members
trove::detail::coalesced_ref< T > Struct Template Reference

#include <ptr.h>

Public Member Functions

__device__ coalesced_ref (T *ptr)
 
__device__ operator T ()
 
__device__ coalesced_refoperator= (const T &data)
 
__device__ coalesced_refoperator= (const coalesced_ref &other)
 

Public Attributes

T * m_ptr
 

Detailed Description

template<typename T>
struct trove::detail::coalesced_ref< T >

Definition at line 35 of file ptr.h.

Constructor & Destructor Documentation

◆ coalesced_ref()

template<typename T >
__device__ trove::detail::coalesced_ref< T >::coalesced_ref ( T *  ptr)
inlineexplicit

Definition at line 37 of file ptr.h.

Member Function Documentation

◆ operator T()

template<typename T >
__device__ trove::detail::coalesced_ref< T >::operator T ( )
inline

Definition at line 39 of file ptr.h.

◆ operator=() [1/2]

template<typename T >
__device__ coalesced_ref& trove::detail::coalesced_ref< T >::operator= ( const coalesced_ref< T > &  other)
inline

Definition at line 47 of file ptr.h.

◆ operator=() [2/2]

template<typename T >
__device__ coalesced_ref& trove::detail::coalesced_ref< T >::operator= ( const T &  data)
inline

Definition at line 42 of file ptr.h.

Member Data Documentation

◆ m_ptr

template<typename T >
T* trove::detail::coalesced_ref< T >::m_ptr

Definition at line 36 of file ptr.h.


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