Fermat
Classes | Enumerations | Functions
Iterators

Detailed Description

Classes

struct  cugar::strided_iterator< T >
 
struct  cugar::block_strided_iterator< BLOCKSIZE, T, LAYOUT >
 

Enumerations

enum  block_strided_layout { ROW_MAJOR_LAYOUT = 0u, COLUMN_MAJOR_LAYOUT = 1u }
 

Functions

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE strided_iterator< T > cugar::make_strided_iterator (T it, const uint32 stride)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator== (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator!= (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator< (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator<= (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator> (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator>= (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<uint32 BLOCKSIZE, typename T , block_strided_layout LAYOUT>
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator== (const block_strided_iterator< BLOCKSIZE, T, LAYOUT > it1, const block_strided_iterator< BLOCKSIZE, T, LAYOUT > it2)
 
template<uint32 BLOCKSIZE, typename T , block_strided_layout LAYOUT>
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator!= (const block_strided_iterator< BLOCKSIZE, T, LAYOUT > it1, const block_strided_iterator< BLOCKSIZE, T, LAYOUT > it2)
 

Function Documentation

◆ make_strided_iterator()

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE strided_iterator<T> cugar::make_strided_iterator ( it,
const uint32  stride 
)

build a strided iterator

◆ operator!=() [1/2]

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator!= ( const strided_iterator< T >  it1,
const strided_iterator< T >  it2 
)

operator !=

◆ operator!=() [2/2]

template<uint32 BLOCKSIZE, typename T , block_strided_layout LAYOUT>
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator!= ( const block_strided_iterator< BLOCKSIZE, T, LAYOUT >  it1,
const block_strided_iterator< BLOCKSIZE, T, LAYOUT >  it2 
)

operator !=

◆ operator<()

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator< ( const strided_iterator< T >  it1,
const strided_iterator< T >  it2 
)

operator <

◆ operator<=()

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator<= ( const strided_iterator< T >  it1,
const strided_iterator< T >  it2 
)

operator <=

◆ operator==() [1/2]

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator== ( const strided_iterator< T >  it1,
const strided_iterator< T >  it2 
)

operator ==

◆ operator==() [2/2]

template<uint32 BLOCKSIZE, typename T , block_strided_layout LAYOUT>
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator== ( const block_strided_iterator< BLOCKSIZE, T, LAYOUT >  it1,
const block_strided_iterator< BLOCKSIZE, T, LAYOUT >  it2 
)

operator ==

◆ operator>()

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator> ( const strided_iterator< T >  it1,
const strided_iterator< T >  it2 
)

operator >

◆ operator>=()

template<typename T >
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE bool cugar::operator>= ( const strided_iterator< T >  it1,
const strided_iterator< T >  it2 
)

operator >=