diff --git a/loopy/target/opencl/__init__.py b/loopy/target/opencl/__init__.py index fcc6819ba247cf06127d3095e57a55226e2b9a2d..d038c329a9eff73a95458fde44078c26f3dbbc56 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):