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

#include <ptr.h>

Public Member Functions

__device__ coalesced_ptr (T *ptr)
 
__device__ coalesced_ptr ()
 
__device__ trove::detail::coalesced_ref< T > operator* ()
 
template<typename I >
__device__ trove::detail::coalesced_ref< T > operator[] (const I &idx)
 
__device__ operator T* ()
 

Public Attributes

T * m_ptr
 

Detailed Description

template<typename T>
struct trove::coalesced_ptr< T >

Definition at line 61 of file ptr.h.

Constructor & Destructor Documentation

◆ coalesced_ptr() [1/2]

template<typename T >
__device__ trove::coalesced_ptr< T >::coalesced_ptr ( T *  ptr)
inline

Definition at line 63 of file ptr.h.

◆ coalesced_ptr() [2/2]

template<typename T >
__device__ trove::coalesced_ptr< T >::coalesced_ptr ( )
inline

Definition at line 64 of file ptr.h.

Member Function Documentation

◆ operator T*()

template<typename T >
__device__ trove::coalesced_ptr< T >::operator T* ( )
inline

Definition at line 72 of file ptr.h.

◆ operator*()

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

Definition at line 65 of file ptr.h.

◆ operator[]()

template<typename T >
template<typename I >
__device__ trove::detail::coalesced_ref<T> trove::coalesced_ptr< T >::operator[] ( const I &  idx)
inline

Definition at line 69 of file ptr.h.

Member Data Documentation

◆ m_ptr

template<typename T >
T* trove::coalesced_ptr< T >::m_ptr

Definition at line 62 of file ptr.h.


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