| 命名空间 | | 类型别名 | 函数 | 变量
traits.hpp 文件参考
#include <cudf/fixed_point/fixed_point.hpp>
#include <cudf/types.hpp>
#include <cudf/wrappers/dictionary.hpp>
#include <cudf/wrappers/durations.hpp>
#include <cudf/wrappers/timestamps.hpp>
#include <cuda/std/type_traits>

转到此文件的源代码。

struct  cudf::is_convertible< From, To >
 
struct  cudf::is_convertible< cudf::detail::timestamp< Duration1 >, cudf::detail::timestamp< Duration2 > >
 

命名空间

 cudf
 cuDF 接口
 

#define CUDF_ENABLE_IF(...)   cuda::std::enable_if_t<(__VA_ARGS__)>* = nullptr
 一个用于 SFINAE 作为匿名模板参数的便捷宏。 更多...
 

类型别名

template<typename... >
using cudf::void_t = void
 一个将任意类型序列映射到 void 类型的实用元函数。
 
template<typename L , typename R >
using cudf::less_comparable = decltype(cuda::std::declval< L >()< cuda::std::declval< R >())
 检查两个类型是否可以使用小于运算符 (即 <) 进行比较。
 
template<typename L , typename R >
using cudf::greater_comparable = decltype(cuda::std::declval< L >() > cuda::std::declval< R >())
 检查两个类型是否可以使用大于运算符 (即 >) 进行比较。
 
template<typename L , typename R >
using cudf::equality_comparable = decltype(cuda::std::declval< L >()==cuda::std::declval< R >())
 检查两个类型是否可以使用相等运算符 (即 ==) 进行比较。
 
template<typename... Ts>
using cudf::has_common_type = typename detail::has_common_type_impl< void, Ts... >::type
 检查类型是否具有共同类型。
 
template<typename T >
using cudf::is_timestamp_t = cuda::std::disjunction< cuda::std::is_same< cudf::timestamp_D, T >, cuda::std::is_same< cudf::timestamp_h, T >, cuda::std::is_same< cudf::timestamp_m, T >, cuda::std::is_same< cudf::timestamp_s, T >, cuda::std::is_same< cudf::timestamp_ms, T >, cuda::std::is_same< cudf::timestamp_us, T >, cuda::std::is_same< cudf::timestamp_ns, T > >
 检查类型是否是时间戳类型。
 
template<typename T >
using cudf::is_duration_t = cuda::std::disjunction< cuda::std::is_same< cudf::duration_D, T >, cuda::std::is_same< cudf::duration_h, T >, cuda::std::is_same< cudf::duration_m, T >, cuda::std::is_same< cudf::duration_s, T >, cuda::std::is_same< cudf::duration_ms, T >, cuda::std::is_same< cudf::duration_us, T >, cuda::std::is_same< cudf::duration_ns, T > >
 检查类型是否是时长类型。
 

函数

template<typename L , typename R >
constexpr bool cudf::is_relationally_comparable ()
 指示类型为 LR 的对象是否可以进行关系比较。 更多...
 
bool cudf::is_relationally_comparable (data_type type)
 检查 data_type type 是否支持关系比较。 更多...
 
template<typename L , typename R >
constexpr bool cudf::is_equality_comparable ()
 指示类型为 LR 的对象是否可以进行相等比较。 更多...
 
bool cudf::is_equality_comparable (data_type type)
 检查 data_type type 是否支持相等比较。 更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_numeric ()
 指示类型 T 是否为数值类型。 更多...
 
bool cudf::is_numeric (data_type type)
 指示 type 是否为数值型 data_type更多...
 
template<typename T >
constexpr bool cudf::is_index_type ()
 指示类型 T 是否为索引类型。 更多...
 
bool cudf::is_index_type (data_type type)
 指示类型 type 是否为索引类型。 更多...
 
template<typename T >
constexpr bool cudf::is_signed ()
 指示类型 T 是否为有符号数值类型。 更多...
 
bool cudf::is_signed (data_type type)
 指示 type 是否为有符号数值型 data_type更多...
 
template<typename T >
constexpr bool cudf::is_unsigned ()
 指示类型 T 是否为无符号数值类型。 更多...
 
bool cudf::is_unsigned (data_type type)
 指示 type 是否为无符号数值型 data_type更多...
 
template<typename Iterator >
constexpr CUDF_HOST_DEVICE bool cudf::is_signed_iterator ()
 指示 Iterator 的值类型是否为无符号类型。 更多...
 
template<typename T >
constexpr bool cudf::is_integral ()
 指示类型 T 是否为整型。 更多...
 
bool cudf::is_integral (data_type type)
 指示 type 是否为整型 data_type更多...
 
template<typename T >
constexpr bool cudf::is_integral_not_bool ()
 指示类型 T 是否为整型但非布尔类型。 更多...
 
bool cudf::is_integral_not_bool (data_type type)
 指示 type 是否为整型 data_type 且非 BOOL8。 更多...
 
template<typename T >
constexpr bool cudf::is_numeric_not_bool ()
 指示类型 T 是否为数值类型但非布尔类型。 更多...
 
bool cudf::is_numeric_not_bool (data_type type)
 指示 type 是否为数值型 data_type 但非 BOOL8。 更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_floating_point ()
 指示类型 T 是否为浮点类型。 更多...
 
bool cudf::is_floating_point (data_type type)
 指示 type 是否为浮点型 data_type更多...
 
template<typename T >
constexpr bool cudf::is_byte ()
 指示 T 是否为 std::byte 类型。 更多...
 
template<typename T >
constexpr bool cudf::is_boolean ()
 指示 T 是否为布尔类型。 更多...
 
bool cudf::is_boolean (data_type type)
 指示 type 是否为布尔型 data_type更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_timestamp ()
 指示类型 T 是否为时间戳类型。 更多...
 
bool cudf::is_timestamp (data_type type)
 指示 type 是否为时间戳型 data_type更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_fixed_point ()
 指示类型 T 是否为定点类型。 更多...
 
bool cudf::is_fixed_point (data_type type)
 指示 type 是否为定点型 data_type更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_duration ()
 指示类型 T 是否为时长类型。 更多...
 
bool cudf::is_duration (data_type type)
 指示 type 是否为时长型 data_type更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_chrono ()
 指示类型 T 是否为 chrono 类型。 更多...
 
bool cudf::is_chrono (data_type type)
 指示 type 是否为 chrono 型 data_type更多...
 
template<typename T >
constexpr bool cudf::is_rep_layout_compatible ()
 指示 T 是否与其“表示”类型布局兼容。 更多...
 
template<typename T >
constexpr bool cudf::is_dictionary ()
 指示类型 T 是否为字典类型。 更多...
 
bool cudf::is_dictionary (data_type type)
 指示 type 是否为字典型 data_type更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_fixed_width ()
 指示类型 T 的元素是否为固定宽度。 更多...
 
bool cudf::is_fixed_width (data_type type)
 指示 type 的元素是否为固定宽度。 更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_compound ()
 指示类型 T 是否为复合类型。 更多...
 
bool cudf::is_compound (data_type type)
 指示 type 的元素是否为复合类型。 更多...
 
template<typename T >
constexpr CUDF_HOST_DEVICE bool cudf::is_nested ()
 指示 T 是否为嵌套类型。 更多...
 
bool cudf::is_nested (data_type type)
 指示 type 是否为嵌套类型。 更多...
 
bool cudf::is_bit_castable (data_type from, data_type to)
 指示 from 是否可位转换为 to更多...
 

变量

template<typename... Ts>
constexpr bool cudf::has_common_type_v = detail::has_common_type_impl<void, Ts...>::value
 用于 has_common_type<>::value 的辅助变量模板。