Namespaces | Enumerations | Functions
binaryop.hpp File Reference

Column APIs for binary ops. More...

#include <cudf/column/column.hpp>
#include <cudf/scalar/scalar.hpp>
#include <memory>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 

Enumerations

enum  cudf::binary_operator : int32_t {
  cudf::binary_operator::ADD, cudf::binary_operator::SUB, cudf::binary_operator::MUL, cudf::binary_operator::DIV,
  cudf::binary_operator::TRUE_DIV, cudf::binary_operator::FLOOR_DIV, cudf::binary_operator::MOD, cudf::binary_operator::PMOD,
  cudf::binary_operator::PYMOD, cudf::binary_operator::POW, cudf::binary_operator::LOG_BASE, cudf::binary_operator::ATAN2,
  cudf::binary_operator::SHIFT_LEFT, cudf::binary_operator::SHIFT_RIGHT, cudf::binary_operator::SHIFT_RIGHT_UNSIGNED, cudf::binary_operator::BITWISE_AND,
  cudf::binary_operator::BITWISE_OR, cudf::binary_operator::BITWISE_XOR, cudf::binary_operator::LOGICAL_AND, cudf::binary_operator::LOGICAL_OR,
  cudf::binary_operator::EQUAL, cudf::binary_operator::NOT_EQUAL, cudf::binary_operator::LESS, cudf::binary_operator::GREATER,
  cudf::binary_operator::LESS_EQUAL, cudf::binary_operator::GREATER_EQUAL, cudf::binary_operator::NULL_EQUALS, cudf::binary_operator::NULL_MAX,
  cudf::binary_operator::NULL_MIN, cudf::binary_operator::GENERIC_BINARY, cudf::binary_operator::NULL_LOGICAL_AND, cudf::binary_operator::NULL_LOGICAL_OR,
  cudf::binary_operator::INVALID_BINARY
}
 Types of binary operations that can be performed on data. More...
 

Functions

std::unique_ptr< column > cudf::binary_operation (scalar const &lhs, column_view const &rhs, binary_operator op, data_type output_type, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Performs a binary operation between a scalar and a column. More...
 
std::unique_ptr< column > cudf::binary_operation (column_view const &lhs, scalar const &rhs, binary_operator op, data_type output_type, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Performs a binary operation between a column and a scalar. More...
 
std::unique_ptr< column > cudf::binary_operation (column_view const &lhs, column_view const &rhs, binary_operator op, data_type output_type, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Performs a binary operation between two columns. More...
 
std::unique_ptr< column > cudf::binary_operation (column_view const &lhs, column_view const &rhs, std::string const &ptx, data_type output_type, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Performs a binary operation between two columns using a user-defined PTX function. More...
 
int32_t cudf::binary_operation_fixed_point_scale (binary_operator op, int32_t left_scale, int32_t right_scale)
 Computes the scale for a fixed_point number based on given binary operator op More...
 
cudf::data_type cudf::binary_operation_fixed_point_output_type (binary_operator op, cudf::data_type const &lhs, cudf::data_type const &rhs)
 Computes the data_type for a fixed_point number based on given binary operator op More...
 

Detailed Description

Column APIs for binary ops.

Definition in file binaryop.hpp.