A type of scalar_device_view that stores a pointer to a fixed_point value. More...
Public Types | |
| using | rep_type = typename T::rep |
| The representation type of the fixed_point value. | |
Public Member Functions | |
| fixed_point_scalar_device_view (data_type type, rep_type *data, bool *is_valid) | |
| Construct a new fixed point scalar device view object from data and validity pointers. More... | |
| void | set_value (rep_type value) |
| Stores the value in scalar. More... | |
| rep_type const & | rep () const noexcept |
Get the value of the scalar, as a rep_type. More... | |
Public Member Functions inherited from cudf::detail::scalar_device_view_base | |
| data_type | type () const noexcept |
| Returns the value type. More... | |
| bool | is_valid () const noexcept |
| Returns whether the scalar holds a valid value (i.e., not null). More... | |
| void | set_valid (bool is_valid) noexcept |
| Updates the validity of the value. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from cudf::detail::scalar_device_view_base | |
| scalar_device_view_base (data_type type, bool *is_valid) | |
| Construct a new scalar device view base object from a device pointer and a validity boolean. More... | |
Protected Attributes inherited from cudf::detail::scalar_device_view_base | |
| data_type | _type {type_id::EMPTY} |
| Value data type. | |
| bool * | _is_valid {} |
A type of scalar_device_view that stores a pointer to a fixed_point value.
Definition at line 255 of file scalar_device_view.cuh.
|
inline |
Construct a new fixed point scalar device view object from data and validity pointers.
| type | The data type of the value |
| data | The pointer to the data in device memory |
| is_valid | The pointer to the bool in device memory that indicates the validity of the stored value |
Definition at line 267 of file scalar_device_view.cuh.
|
inlinenoexcept |
Get the value of the scalar, as a rep_type.
rep_type Definition at line 284 of file scalar_device_view.cuh.
|
inline |
Stores the value in scalar.
| value | The value to store in scalar |
Definition at line 277 of file scalar_device_view.cuh.