Classes | Namespaces | Typedefs | Variables
span.hpp File Reference

APIs for spans. More...

#include <cudf/detail/utilities/host_vector.hpp>
#include <cudf/utilities/export.hpp>
#include <rmm/device_buffer.hpp>
#include <rmm/device_uvector.hpp>
#include <rmm/device_vector.hpp>
#include <thrust/detail/raw_pointer_cast.h>
#include <thrust/device_vector.h>
#include <thrust/host_vector.h>
#include <thrust/memory.h>
#include <cstddef>
#include <limits>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  cudf::detail::span_base< T, Extent, Derived >
 C++20 std::span with reduced feature set. More...
 
struct  cudf::is_host_span_supported_container< T >
 
struct  cudf::is_host_span_supported_container< std::vector< T, Alloc > >
 
struct  cudf::is_host_span_supported_container< thrust::host_vector< T, Alloc > >
 
struct  cudf::is_host_span_supported_container< std::basic_string< T, std::char_traits< T >, Alloc > >
 
struct  cudf::host_span< T, Extent >
 C++20 std::span with reduced feature set. More...
 
struct  cudf::is_device_span_supported_container< T >
 
struct  cudf::is_device_span_supported_container< thrust::device_vector< T, Alloc > >
 
struct  cudf::is_device_span_supported_container< rmm::device_vector< T > >
 
struct  cudf::is_device_span_supported_container< rmm::device_uvector< T > >
 
struct  cudf::device_span< T, Extent >
 Device version of C++20 std::span with reduced feature set. More...
 
class  cudf::detail::base_2dspan< T, RowType >
 Generic class for row-major 2D spans. Not compliant with STL container semantics/syntax. More...
 

Namespaces

 cudf
 cuDF interfaces
 

Typedefs

template<class T >
using cudf::detail::host_2dspan = base_2dspan< T, host_span >
 Alias for the 2D span for host data. More...
 
template<class T >
using cudf::detail::device_2dspan = base_2dspan< T, device_span >
 Alias for the 2D span for device data. More...
 

Variables

constexpr std::size_t cudf::dynamic_extent = std::numeric_limits<std::size_t>::max()
 A constant used to differentiate std::span of static and dynamic extent.
 

Detailed Description

APIs for spans.

Definition in file span.hpp.

Typedef Documentation

◆ device_2dspan

template<class T >
using cudf::detail::device_2dspan = typedef base_2dspan<T, device_span>

Alias for the 2D span for device data.

Index operator returns rows as device_span.

Definition at line 540 of file span.hpp.

◆ host_2dspan

template<class T >
using cudf::detail::host_2dspan = typedef base_2dspan<T, host_span>

Alias for the 2D span for host data.

Index operator returns rows as host_span.

Definition at line 532 of file span.hpp.