7#include <dr/sp/allocators.hpp>
8#include <dr/sp/vector.hpp>
12template <
typename T,
typename Allocator>
20 using size_type = std::size_t;
21 using difference_type = std::size_t;
23 constexpr device_vector(size_type count,
const Allocator &alloc,
25 :
base(count, alloc), rank_(rank) {}
27 constexpr std::size_t rank()
const noexcept {
return rank_; }
30 std::size_t rank_ = 0;
Definition: device_vector.hpp:13
Definition: vector.hpp:14