iterator

iterator#

stdgpu: iterator
stdgpu Latest
Efficient STL-like Data Structures on the GPU

Detailed Description

Classes

class  stdgpu::back_insert_iterator< Container >
 
class  stdgpu::front_insert_iterator< Container >
 
class  stdgpu::insert_iterator< Container >
 

Typedefs

template<typename T >
using stdgpu::device_ptr = thrust::pointer< T, thrust::device_system_tag >
 
template<typename T >
using stdgpu::host_ptr = thrust::pointer< T, thrust::host_system_tag >
 

Functions

template<typename Container >
STDGPU_HOST_DEVICE back_insert_iterator< Container > stdgpu::back_inserter (Container &c)
 
template<typename C >
auto stdgpu::device_begin (C &device_container) -> decltype(device_container.device_begin())
 
template<typename C >
auto stdgpu::device_begin (const C &device_container) -> decltype(device_container.device_begin())
 
template<typename T >
device_ptr< const T > stdgpu::device_begin (const T *device_array)
 
template<typename T >
device_ptr< T > stdgpu::device_begin (T *device_array)
 
template<typename C >
auto stdgpu::device_cbegin (const C &device_container) -> decltype(device_begin(device_container))
 
template<typename T >
device_ptr< const T > stdgpu::device_cbegin (const T *device_array)
 
template<typename C >
auto stdgpu::device_cend (const C &device_container) -> decltype(device_end(device_container))
 
template<typename T >
device_ptr< const T > stdgpu::device_cend (const T *device_array)
 
template<typename C >
auto stdgpu::device_end (C &device_container) -> decltype(device_container.device_end())
 
template<typename C >
auto stdgpu::device_end (const C &device_container) -> decltype(device_container.device_end())
 
template<typename T >
device_ptr< const T > stdgpu::device_end (const T *device_array)
 
template<typename T >
device_ptr< T > stdgpu::device_end (T *device_array)
 
template<typename Container >
STDGPU_HOST_DEVICE front_insert_iterator< Container > stdgpu::front_inserter (Container &c)
 
template<typename C >
auto stdgpu::host_begin (C &host_container) -> decltype(host_container.host_begin())
 
template<typename C >
auto stdgpu::host_begin (const C &host_container) -> decltype(host_container.host_begin())
 
template<typename T >
host_ptr< const T > stdgpu::host_begin (const T *host_array)
 
template<typename T >
host_ptr< T > stdgpu::host_begin (T *host_array)
 
template<typename C >
auto stdgpu::host_cbegin (const C &host_container) -> decltype(host_begin(host_container))
 
template<typename T >
host_ptr< const T > stdgpu::host_cbegin (const T *host_array)
 
template<typename C >
auto stdgpu::host_cend (const C &host_container) -> decltype(host_end(host_container))
 
template<typename T >
host_ptr< const T > stdgpu::host_cend (const T *host_array)
 
template<typename C >
auto stdgpu::host_end (C &host_container) -> decltype(host_container.host_end())
 
template<typename C >
auto stdgpu::host_end (const C &host_container) -> decltype(host_container.host_end())
 
template<typename T >
host_ptr< const T > stdgpu::host_end (const T *host_array)
 
template<typename T >
host_ptr< T > stdgpu::host_end (T *host_array)
 
template<typename Container >
STDGPU_HOST_DEVICE insert_iterator< Container > stdgpu::inserter (Container &c)
 
template<typename T >
STDGPU_HOST_DEVICE device_ptr< T > stdgpu::make_device (T *device_array)
 
template<typename T >
STDGPU_HOST_DEVICE host_ptr< T > stdgpu::make_host (T *host_array)
 
template<typename T >
index64_t stdgpu::size (T *array)
 
template<>
index64_t stdgpu::size (void *array)