Distributed Ranges
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
dr::sp::device_vector< T, Allocator > Class Template Reference
Inheritance diagram for dr::sp::device_vector< T, Allocator >:
Inheritance graph
[legend]
Collaboration diagram for dr::sp::device_vector< T, Allocator >:
Collaboration graph
[legend]

Public Types

using base = dr::sp::vector< T, Allocator >
 
using value_type = T
 
using size_type = std::size_t
 
using difference_type = std::size_t
 
- Public Types inherited from dr::sp::vector< T, Allocator >
using value_type = T
 
using allocator_type = Allocator
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using pointer = typename std::allocator_traits< allocator_type >::pointer
 
using const_pointer = typename std::allocator_traits< allocator_type >::const_pointer
 
using reference = decltype(*std::declval< pointer >())
 
using const_reference = decltype(*std::declval< const_pointer >())
 
using iterator = pointer
 
using const_iterator = const_pointer
 

Public Member Functions

constexpr device_vector (size_type count, const Allocator &alloc, size_type rank)
 
constexpr std::size_t rank () const noexcept
 
- Public Member Functions inherited from dr::sp::vector< T, Allocator >
 vector (const Allocator &allocator) noexcept
 
 vector (size_type count, const T &value, const Allocator &alloc=Allocator())
 
 vector (size_type count, const Allocator &alloc=Allocator())
 
constexpr vector (Iter first, Iter last, const Allocator &alloc=Allocator())
 
 vector (const vector &other)
 
 vector (const vector &other, const Allocator &alloc)
 
 vector (vector &&other) noexcept
 
 vector (vector &&other, const Allocator &alloc) noexcept
 
 vector (std::initializer_list< T > init, const Allocator &alloc=Allocator())
 
vectoroperator= (const vector &other)
 
void assign (Iter first, Iter last)
 
size_type size () const noexcept
 
bool empty () const noexcept
 
size_type capacity () const noexcept
 
pointer data () noexcept
 
const_pointer data () const noexcept
 
allocator_type get_allocator () const noexcept
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
reference operator[] (size_type pos)
 
const_reference operator[] (size_type pos) const
 
void reserve (size_type new_cap)
 
void push_back (const T &value)
 
void push_back (T &&value)
 
bool try_push_back (const T &value)
 
void resize (size_type count)
 
void resize (size_type count, const value_type &value)
 

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