libcudf
24.04.00
|
A map from cudf::type_id to cudf type that excludes LIST and STRUCT types. More...
Public Types | |
using | type = std::conditional_t< t==type_id::STRUCT or t==type_id::LIST, void, id_to_type< t > > |
The type to dispatch to if the type is nested. | |
A map from cudf::type_id to cudf type that excludes LIST and STRUCT types.
To be used with type_dispatcher in place of the default map, when it is required that STRUCT and LIST map to void. This is useful when we want to avoid recursion in a functor. For example, in element_comparator, we have a specialization for STRUCT but the type_dispatcher in it is only used to dispatch to the same functor for non-nested types. Even when we're guaranteed to not have non-nested types at that point, the compiler doesn't know this and would try to create recursive code which is very slow.
Usage:
Definition at line 77 of file experimental/row_operators.cuh.