pair rep accessor for elements in a list_device_view
More...
Public Types | |
| using | rep_type = device_storage_type_t< T > |
| The type used to store the value on the device. | |
Public Member Functions | |
| CUDF_HOST_DEVICE | pair_rep_accessor (list_device_view const &_list) |
| constructor More... | |
| cuda::std::pair< rep_type, bool > | operator() (cudf::size_type i) const |
| Accessor for the {rep_data, validity} pair at the specified index. More... | |
Public Attributes | |
| list_device_view const & | list |
| The list_device_view whose rows are being accessed. | |
pair rep accessor for elements in a list_device_view
Returns a pair<rep_type, bool>, where rep_type = device_storage_type_t<T>, the type used to store the value on the device.
This unary functor returns a pair of:
| T | The element-type of the list row |
Definition at line 281 of file list_device_view.cuh.
|
inlineexplicit |
constructor
| _list | The list_device_view whose rows are being accessed. |
Definition at line 291 of file list_device_view.cuh.
|
inline |
Accessor for the {rep_data, validity} pair at the specified index.
| i | Index into the list_device_view |
Definition at line 301 of file list_device_view.cuh.