From aa13e8676e00dbdfe0eb37eeed70576e22985b77 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Thu, 8 Oct 2015 17:37:45 -0500
Subject: [PATCH] Fix vector_dtype override

---
 loopy/target/opencl/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loopy/target/opencl/__init__.py b/loopy/target/opencl/__init__.py
index fcc6819ba..d038c329a 100644
--- a/loopy/target/opencl/__init__.py
+++ b/loopy/target/opencl/__init__.py
@@ -229,7 +229,7 @@ class OpenCLTarget(CTarget):
     def is_vector_dtype(self, dtype):
         return list(vec.types.values())
 
-    def get_vector_dtype(self, base, count):
+    def vector_dtype(self, base, count):
         return vec.types[base, count]
 
     def wrap_function_declaration(self, kernel, fdecl):
-- 
GitLab