rapidsai/cudf

[FEA] add value methods to fixed_point_scalar_device_view

Open

#8,455 opened on Jun 8, 2021

 (2 comments) (0 reactions) (0 assignees)C++ (735 forks)batch import
feature requestgood first issuelibcudf

Repository metrics

Stars
 (6,000 stars)
PR merge metrics
 (PR metrics pending)

Description

Is your feature request related to a problem? Please describe.

libcudf fixed_point_scalar_device_view has set_value(rep_type). It doesn't have T value() and set_value(T). These are needed for usage of fixed_point_scalar_device_view in device code.

Describe the solution you'd like Add T value() and set_value(T) methods.

Additional context This issue was found while developing scalar support for compiled binary ops #8192.

Contributor guide