diff --git a/loopy/library/reduction.py b/loopy/library/reduction.py index 6ea57cb47b9a2e3e24db3a652a7f512c83a2ca51..8eaf4ac3855ab6358a8b227380bbd0e9b409c6bb 100644 --- a/loopy/library/reduction.py +++ b/loopy/library/reduction.py @@ -136,6 +136,7 @@ def get_le_neutral(dtype): # OpenCL 1.1, section 6.11.2 return var("INFINITY") elif dtype.numpy_dtype.kind == "i": + # OpenCL 1.1, section 6.11.3 if dtype.numpy_dtype.itemsize == 4: #32 bit integer return var("INT_MAX")