From 922d51719ada2e829eaeb78f3b2cfad2c653529c Mon Sep 17 00:00:00 2001 From: arghdos Date: Sat, 10 Dec 2016 11:44:17 -0500 Subject: [PATCH] oops, add the section reference here too --- loopy/library/reduction.py | 1 + 1 file changed, 1 insertion(+) diff --git a/loopy/library/reduction.py b/loopy/library/reduction.py index 8eaf4ac38..d24b61c12 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") -- GitLab