|
template<typename Duration2 > |
| timestamp_scalar (Duration2 const &value, bool is_valid, rmm::cuda_stream_view stream=rmm::cuda_stream_default, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
| Construct a new timestamp scalar object from a duration that is convertible to T::duration. More...
|
|
T::rep | ticks_since_epoch () |
| Return the duration in number of ticks since the UNIX epoch.
|
|
| chrono_scalar (chrono_scalar &&other)=default |
|
| chrono_scalar (chrono_scalar const &other)=default |
|
chrono_scalar & | operator= (chrono_scalar const &other)=delete |
|
chrono_scalar & | operator= (chrono_scalar &&other)=delete |
|
| chrono_scalar (T value, bool is_valid=true, rmm::cuda_stream_view stream=rmm::cuda_stream_default, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
| Construct a new chrono scalar object. More...
|
|
| chrono_scalar (rmm::device_scalar< T > &&data, bool is_valid=true, rmm::cuda_stream_view stream=rmm::cuda_stream_default, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
| Construct a new chrono scalar object from existing device memory. More...
|
|
| fixed_width_scalar (fixed_width_scalar &&other)=default |
|
| fixed_width_scalar (fixed_width_scalar const &other)=default |
|
fixed_width_scalar & | operator= (fixed_width_scalar const &other)=delete |
|
fixed_width_scalar & | operator= (fixed_width_scalar &&other)=delete |
|
void | set_value (T value, rmm::cuda_stream_view stream=rmm::cuda_stream_default) |
| Set the value of the scalar. More...
|
|
| operator value_type () const |
| Implicit conversion operator to get the value of the scalar on the host.
|
|
T | value (rmm::cuda_stream_view stream=rmm::cuda_stream_default) const |
| Get the value of the scalar. More...
|
|
T * | data () |
| Returns a raw pointer to the value in device memory.
|
|
T const * | data () const |
| Returns a const raw pointer to the value in device memory.
|
|
| scalar (scalar &&other)=default |
|
| scalar (scalar const &other)=default |
|
scalar & | operator= (scalar const &other)=delete |
|
scalar & | operator= (scalar &&other)=delete |
|
data_type | type () const noexcept |
| Returns the scalar's logical value type.
|
|
void | set_valid (bool is_valid, rmm::cuda_stream_view stream=rmm::cuda_stream_default) |
| Updates the validity of the value. More...
|
|
bool | is_valid (rmm::cuda_stream_view stream=rmm::cuda_stream_default) const |
| Indicates whether the scalar contains a valid value. More...
|
|
bool * | validity_data () |
| Returns a raw pointer to the validity bool in device memory.
|
|
bool const * | validity_data () const |
| Returns a const raw pointer to the validity bool in device memory.
|
|
template<typename T>
class cudf::timestamp_scalar< T >
Definition at line 534 of file scalar.hpp.