stdgpu/ranges.h Source File#
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
ranges.h
Go to the documentation of this file.
typename iterator::difference_type difference_type
Definition: ranges.h:48
device_range(T *p)
Constructor with automatic size inference from the given pointer.
STDGPU_HOST_DEVICE iterator begin() const noexcept
An iterator to the begin of the range.
STDGPU_HOST_DEVICE iterator end() const noexcept
An iterator to the end of the range.
STDGPU_HOST_DEVICE device_range(iterator begin, iterator end)
Constructor.
STDGPU_HOST_DEVICE device_range(iterator begin, index64_t n)
Constructor.
STDGPU_HOST_DEVICE host_range(iterator begin, iterator end)
Constructor.
host_range(T *p)
Constructor with automatic size inference from the given pointer.
STDGPU_HOST_DEVICE host_range(iterator begin, index64_t n)
Constructor.
STDGPU_HOST_DEVICE iterator end() const noexcept
An iterator to the end of the range.
STDGPU_HOST_DEVICE iterator begin() const noexcept
An iterator to the begin of the range.
typename iterator::difference_type difference_type
Definition: ranges.h:130
thrust::transform_iterator< UnaryFunction, typename R::iterator > iterator
Definition: ranges.h:213
STDGPU_HOST_DEVICE transform_range(R r, UnaryFunction f)
Constructor.
typename iterator::difference_type difference_type
Definition: ranges.h:215
STDGPU_HOST_DEVICE iterator end() const noexcept
An iterator to the end of the range.
STDGPU_HOST_DEVICE iterator begin() const noexcept
An iterator to the begin of the range.
A class representing range where a transformation is applied first.
Definition: ranges.h:209
thrust::pointer< T, thrust::device_system_tag > device_ptr
A host pointer class allowing to call thrust algorithms without explicitly using the respective execu...
Definition: iterator.h:43
thrust::pointer< T, thrust::host_system_tag > host_ptr
A host pointer class allowing to call thrust algorithms without explicitly using the respective execu...
Definition: iterator.h:51
#define STDGPU_HOST_DEVICE
Platform-independent host device function annotation.
Definition: platform.h:77
Generated by 1.9.6