diff --git a/pyopencl/scan.py b/pyopencl/scan.py index 0106207cb1b91eaf9289f4f03b47dfe5b015b669..fd211c54eb925464b59462ffbc7179ff8c60d6c8 100644 --- a/pyopencl/scan.py +++ b/pyopencl/scan.py @@ -1518,7 +1518,7 @@ class GenericScanKernel(_GenericScanKernelBase): if self.store_segment_start_flags: segment_start_flags = cl.array.empty( - queue, n, dtype=np.bool, + queue, n, dtype=np.bool8, allocator=allocator) # }}}