[BUG] The libcudf device atomic operations cause memcheck errors on types smaller than 4 bytes #13575
Labels
1 - On Deck
To be worked on next
bug
Something isn't working
libcudf
Affects libcudf (C++/CUDA) code.
The
device_atomics
implementation in libcudf are failing memchecks when used on types smaller than 4 bytes.cudf/cpp/include/cudf/detail/utilities/device_atomics.cuh
Lines 65 to 69 in c929a84
This was found while investigating some memcheck errors that occurred on
cudf::reduce
where the aggregation return type isbool
(1 byte) and anatomicOr
was used to produce the output. Reference: #13574The solution is to use the libcudaxx
cuda::atomic
andcuda::atomic_ref
in place of these implementations and potentially remove thedevice_atomics.cuh
altogether.The text was updated successfully, but these errors were encountered: