Is this a duplicate?
Type of Bug
Compile-time Error
Component
libcu++
Describe the bug
Brace initialization {} of cuda::std::span<bool> fails with narrowing conversion errors, while parentheses initialization () works. This inconsistency is due to cuda::std::span<bool> internally using __nv_bool instead of bool.
How to Reproduce
https://godbolt.org/z/h4cM67hsT
Expected behavior
cuda::std::span should build and work as std::span in the given sample code.
Reproduction link
https://godbolt.org/z/h4cM67hsT
Operating System
No response
nvidia-smi output
No response
NVCC version
No response