[FEA] Test more edge cases in bitmask operations #13490
Labels
0 - Backlog
In queue waiting for assignment
feature request
New feature or request
libcudf
Affects libcudf (C++/CUDA) code.
tests
Unit testing for project
Is your feature request related to a problem? Please describe.
libcudf has multiple functions (both internal and external) for manipulating bitmasks. These functions often make use of bitwise operations and CUDA intrinsics in kernels, which may have sharp edges around when bitmasks contain uninitialized bits or in other ways. We recently uncovered one in #13479, and it was only uncovered via intermittent failures from dask_cudf (Python) tests.
Describe the solution you'd like
We should consider adding more tests that directly play with bitmasks, perhaps bitmasks containing invalid data in certain ways, to better understand the potential failure modes. In some cases these may be test cases that we do not need to support since libcudf generally follows a "garbage in, garbage out" approach, but in some cases the "garbage in" may be generated by libcudf itself and therefore something that we need to support.
I will update this issue with specific tests cases that may prove relevant:
The text was updated successfully, but these errors were encountered: