[BUG]: cuda::std::bit_width
returns the wrong data type
#2744
Labels
bug
Something isn't working right.
cuda::std::bit_width
returns the wrong data type
#2744
Is this a duplicate?
Type of Bug
Something else
Component
libcu++
Describe the bug
The current implementation of
cuda::std::bit_width(T)
returnsT
.It diverges from the C++ standard that always returns
int
.How to Reproduce
check
cuda::std::bit_width(T)
implementationExpected behavior
cuda::std::bit_width(T)
must always returnint
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
No response
The text was updated successfully, but these errors were encountered: