10 #include <cudf/utilities/export.hpp>
20 namespace CUDF_EXPORT
cudf {
93 template <
typename L,
typename R,
typename =
void>
97 template <
typename L,
typename R>
100 using type = std::common_type_t<L, R>;
104 template <
typename L,
typename R>
108 std::enable_if_t<is_fixed_point<L>() && cuda::std::is_floating_point_v<R>>> {
114 template <
typename L,
typename R>
118 std::enable_if_t<is_fixed_point<R>() && cuda::std::is_floating_point_v<L>>> {
124 template <
typename L,
typename R>
128 template <
typename AlwaysVo
id,
typename L,
typename R>
129 struct binary_op_has_common_type_impl : std::false_type {};
131 template <
typename L,
typename R>
132 struct binary_op_has_common_type_impl<std::
void_t<binary_op_common_type_t<L, R>>, L, R>
137 template <
typename L,
typename R>
139 detail::binary_op_has_common_type_impl<void, L, R>::value;
265 std::string
const& ptx,
280 int32_t right_scale);
328 namespace CUDF_EXPORT
cudf {
329 namespace binops::compiled::detail {
348 cuda::stream_ref stream);
std::pair< rmm::device_buffer, size_type > scalar_col_valid_mask_and(column_view const &col, scalar const &s, cuda::stream_ref stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref())
Computes output valid mask for op between a column and a scalar.
void apply_sorting_struct_binary_op(mutable_column_view &out, column_view const &lhs, column_view const &rhs, bool is_lhs_scalar, bool is_rhs_scalar, binary_operator op, cuda::stream_ref stream)
struct binary operation using NaN aware sorting physical element comparators
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Indicator for the logical data type of an element in a column.
A non-owning, mutable view of device data as a column of elements, some of which may be null as indic...
An owning class to represent a singular value.
Class definition for cudf::column.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
rmm::device_async_resource_ref get_current_device_resource_ref()
Get the current device memory resource reference.
cuda::mr::resource_ref< cuda::mr::device_accessible > device_async_resource_ref
void void_t
Utility metafunction that maps a sequence of any types to the type void.
APIs for getting and setting the current device memory resource.
Class definitions for cudf::scalar.
std::common_type_t< L, R > type
The common type of the template parameters.
R type
The common type of the template parameters.
L type
The common type of the template parameters.
Binary operation common type default.