Public Types | Public Member Functions | List of all members
cudf::detail::device_span< T, Extent > Struct Template Reference
Inheritance diagram for cudf::detail::device_span< T, Extent >:
cudf::detail::span_base< T, dynamic_extent, device_span< T, dynamic_extent > >

Public Types

using base = cudf::detail::span_base< T, Extent, device_span< T, Extent > >
 
- Public Types inherited from cudf::detail::span_base< T, dynamic_extent, device_span< T, dynamic_extent > >
using element_type = T
 
using value_type = std::remove_cv< T >
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using pointer = T *
 
using iterator = T *
 
using const_pointer = T const *
 
using reference = T &
 
using const_reference = T const &
 

Public Member Functions

template<typename C , std::enable_if_t< is_device_span_supported_container< C >::value > * = nullptr>
constexpr device_span (C &in)
 
template<typename C , std::enable_if_t< is_device_span_supported_container< C >::value > * = nullptr>
constexpr device_span (C const &in)
 
- Public Member Functions inherited from cudf::detail::span_base< T, dynamic_extent, device_span< T, dynamic_extent > >
constexpr span_base (pointer data, size_type size)
 
constexpr span_base (span_base const &other) noexcept=default
 
constexpr span_baseoperator= (span_base const &other) noexcept=default
 
constexpr reference front () const
 
constexpr reference back () const
 
constexpr reference operator[] (size_type idx) const
 
constexpr iterator begin () const noexcept
 
constexpr iterator end () const noexcept
 
constexpr pointer data () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr size_type size_bytes () const noexcept
 
constexpr bool empty () const noexcept
 
constexpr device_span< T, dynamic_extent > first (size_type count) const noexcept
 Obtains a subspan consisting of the first N elements of the sequence. More...
 
constexpr device_span< T, dynamic_extent > last (size_type count) const noexcept
 Obtains a subspan consisting of the last N elements of the sequence. More...
 
constexpr device_span< T, dynamic_extent > subspan (size_type offset, size_type count) const noexcept
 

Additional Inherited Members

- Static Public Attributes inherited from cudf::detail::span_base< T, dynamic_extent, device_span< T, dynamic_extent > >
static constexpr std::size_t extent
 

Detailed Description

template<typename T, std::size_t Extent = dynamic_extent>
struct cudf::detail::device_span< T, Extent >

Definition at line 159 of file span.hpp.


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