NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Enumerations | Functions
strided_iterator.h File Reference
#include <nvbio/basic/types.h>
#include <nvbio/basic/iterator.h>

Go to the source code of this file.

Classes

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

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 

Enumerations

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

Functions

template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
strided_iterator< T > 
nvbio::make_strided_iterator (T it, const uint32 stride)
 
template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator== (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator!= (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator< (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator<= (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator> (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator>= (const strided_iterator< T > it1, const strided_iterator< T > it2)
 
template<uint32 BLOCKSIZE, typename T , block_strided_layout LAYOUT>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::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>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator!= (const block_strided_iterator< BLOCKSIZE, T, LAYOUT > it1, const block_strided_iterator< BLOCKSIZE, T, LAYOUT > it2)