A type of scalar_device_view that stores a pointer to a string value.
More...
A type of scalar_device_view that stores a pointer to a string value.
Definition at line 293 of file scalar_device_view.cuh.
◆ string_scalar_device_view()
cudf::string_scalar_device_view::string_scalar_device_view |
( |
data_type |
type, |
|
|
char const * |
data, |
|
|
bool * |
is_valid, |
|
|
size_type |
size |
|
) |
| |
|
inline |
Construct a new string scalar device view object from string data, size and validity pointers.
- Parameters
-
type | The data type of the value |
data | The pointer to the string data in device memory |
is_valid | The pointer to the bool in device memory that indicates the validity of the stored value |
size | The pointer to the size of the string in device memory |
Definition at line 307 of file scalar_device_view.cuh.
◆ data()
char const* cudf::string_scalar_device_view::data |
( |
| ) |
const |
|
inlinenoexcept |
Returns a raw pointer to the value in device memory.
- Returns
- Raw pointer to the value in device memory
Definition at line 327 of file scalar_device_view.cuh.
◆ size()
size_type cudf::string_scalar_device_view::size |
( |
| ) |
const |
|
inlinenoexcept |
Returns the size of the string in bytes.
- Returns
- The size of the string in bytes
Definition at line 337 of file scalar_device_view.cuh.
◆ value()
ValueType cudf::string_scalar_device_view::value |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: