NVIDIA / numba-cuda

BSD 2-Clause "Simplified" License
36 stars 8 forks source link

Add support for printing bools #43

Closed gmarkall closed 3 months ago

gmarkall commented 3 months ago

Boolean is not a subclass of Integer in Numba's typing (whether intentionally or not, I don't know) so printing of bools doesn't even fall back on the implementation for integers.

This implements support for printing bools in CUDA kernels.