From e05e684363fb2d091008abd7fcaabfb0b282b8bf Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Thu, 15 Sep 2011 13:26:56 -0400
Subject: [PATCH] Fix vector type bug for 'int'. (reported by Andrew J.
 Hesford)

---
 pyopencl/array.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyopencl/array.py b/pyopencl/array.py
index b66b9169..35267b97 100644
--- a/pyopencl/array.py
+++ b/pyopencl/array.py
@@ -59,7 +59,7 @@ def _create_vector_types():
         ('uchar', np.uint8),
         ('short', np.int16),
         ('ushort', np.uint16),
-        ('int', np.uint32),
+        ('int', np.int32),
         ('uint', np.uint32),
         ('long', np.int64),
         ('ulong', np.uint64),
-- 
GitLab