diff --git a/loopy/library/reduction.py b/loopy/library/reduction.py index 8eaf4ac3855ab6358a8b227380bbd0e9b409c6bb..d24b61c12e43cd16431c9727d8fb057319475633 100644 --- a/loopy/library/reduction.py +++ b/loopy/library/reduction.py @@ -154,6 +154,7 @@ def get_ge_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_MIN")