Skip to content
Snippets Groups Projects
Commit 922d5171 authored by Nick Curtis's avatar Nick Curtis
Browse files

oops, add the section reference here too

parent 611b2dc4
No related branches found
No related tags found
No related merge requests found
...@@ -154,6 +154,7 @@ def get_ge_neutral(dtype): ...@@ -154,6 +154,7 @@ def get_ge_neutral(dtype):
# OpenCL 1.1, section 6.11.2 # OpenCL 1.1, section 6.11.2
return -var("INFINITY") return -var("INFINITY")
elif dtype.numpy_dtype.kind == "i": elif dtype.numpy_dtype.kind == "i":
# OpenCL 1.1, section 6.11.3
if dtype.numpy_dtype.itemsize == 4: if dtype.numpy_dtype.itemsize == 4:
#32 bit integer #32 bit integer
return var("INT_MIN") return var("INT_MIN")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment