Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
types.hpp File Reference

Type declarations for libcudf. More...

#include <cassert>
#include <cstddef>
#include <cstdint>
#include <iterator>

Go to the source code of this file.

Classes

struct  cudf::order_info
 Indicates how a collection of values has been ordered. More...
 
class  cudf::data_type
 Indicator for the logical data type of an element in a column. More...
 

Namespaces

 cudf
 cuDF interfaces
 

Macros

#define CUDA_HOST_DEVICE_CALLABLE   inline
 
#define CUDA_DEVICE_CALLABLE   inline
 

Typedefs

using bit_mask::bit_mask_t = uint32_t
 
using cudf::size_type = int32_t
 
using cudf::bitmask_type = uint32_t
 
using cudf::valid_type = uint8_t
 
using cudf::offset_type = int32_t
 

Enumerations

enum  cudf::order : bool { cudf::order::ASCENDING, cudf::order::DESCENDING }
 Indicates the order in which elements should be sorted. More...
 
enum  cudf::null_policy : bool { cudf::null_policy::EXCLUDE, cudf::null_policy::INCLUDE }
 Enum to specify whether to include nulls or exclude nulls. More...
 
enum  cudf::nan_policy : bool { cudf::nan_policy::NAN_IS_NULL, cudf::nan_policy::NAN_IS_VALID }
 Enum to treat NaN floating point value as null or non-null element. More...
 
enum  cudf::nan_equality { cudf::nan_equality::ALL_EQUAL, cudf::nan_equality::UNEQUAL }
 Enum to consider different elements (of floating point types) holding NaN value as equal or unequal. More...
 
enum  cudf::null_equality : bool { cudf::null_equality::EQUAL, cudf::null_equality::UNEQUAL }
 
enum  cudf::null_order : bool { cudf::null_order::AFTER, cudf::null_order::BEFORE }
 Indicates how null values compare against all other values. More...
 
enum  cudf::sorted : bool { NO, YES }
 Indicates whether a collection of values is known to be sorted.
 
enum  cudf::mask_state : int32_t { cudf::mask_state::UNALLOCATED, cudf::mask_state::UNINITIALIZED, cudf::mask_state::ALL_VALID, cudf::mask_state::ALL_NULL }
 Controls the allocation/initialization of a null mask. More...
 
enum  cudf::interpolation : int32_t {
  cudf::interpolation::LINEAR, cudf::interpolation::LOWER, cudf::interpolation::HIGHER, cudf::interpolation::MIDPOINT,
  cudf::interpolation::NEAREST
}
 Interpolation method to use when the desired quantile lies between two data points i and j. More...
 
enum  cudf::type_id : int32_t {
  cudf::type_id::EMPTY, cudf::type_id::INT8, cudf::type_id::INT16, cudf::type_id::INT32,
  cudf::type_id::INT64, cudf::type_id::UINT8, cudf::type_id::UINT16, cudf::type_id::UINT32,
  cudf::type_id::UINT64, cudf::type_id::FLOAT32, cudf::type_id::FLOAT64, cudf::type_id::BOOL8,
  cudf::type_id::TIMESTAMP_DAYS, cudf::type_id::TIMESTAMP_SECONDS, cudf::type_id::TIMESTAMP_MILLISECONDS, cudf::type_id::TIMESTAMP_MICROSECONDS,
  cudf::type_id::TIMESTAMP_NANOSECONDS, cudf::type_id::DURATION_DAYS, cudf::type_id::DURATION_SECONDS, cudf::type_id::DURATION_MILLISECONDS,
  cudf::type_id::DURATION_MICROSECONDS, cudf::type_id::DURATION_NANOSECONDS, cudf::type_id::DICTIONARY32, cudf::type_id::STRING,
  cudf::type_id::LIST, cudf::type_id::DECIMAL32, cudf::type_id::DECIMAL64, cudf::type_id::STRUCT,
  cudf::type_id::NUM_TYPE_IDS
}
 Identifies a column's logical element type. More...
 
enum  cudf::hash_id {
  cudf::hash_id::HASH_IDENTITY = 0, cudf::hash_id::HASH_MURMUR3, cudf::hash_id::HASH_MD5, cudf::hash_id::HASH_SERIAL_MURMUR3,
  cudf::hash_id::HASH_SPARK_MURMUR3
}
 Identifies the hash function to be used. More...
 

Functions

device_memory_resource * rmm::mr::get_current_device_resource ()
 
template<typename T >
size_type cudf::distance (T f, T l)
 Similar to std::distance but returns cudf::size_type and performs static_cast More...
 
constexpr bool cudf::operator== (data_type const &lhs, data_type const &rhs)
 Compares two data_type objects for equality. More...
 
bool cudf::operator!= (data_type const &lhs, data_type const &rhs)
 Compares two data_type objects for inequality. More...
 
std::size_t cudf::size_of (data_type t)
 Returns the size in bytes of elements of the specified data_type More...
 

Detailed Description

Type declarations for libcudf.

Definition in file types.hpp.