From 033819e54fd65ac8e3196f3ce50bd418ed721a12 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 21 Aug 2015 10:05:53 -0500 Subject: [PATCH] Fix wrong import in OpenCL target --- loopy/target/opencl/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loopy/target/opencl/__init__.py b/loopy/target/opencl/__init__.py index 8392a7a91..eebe6f5da 100644 --- a/loopy/target/opencl/__init__.py +++ b/loopy/target/opencl/__init__.py @@ -215,10 +215,10 @@ class OpenCLTarget(CTarget): @memoize_method def get_dtype_registry(self): from loopy.target.c.compyte.dtypes import (DTypeRegistry, - fill_registry_with_opencl_types) + fill_registry_with_opencl_c_types) result = DTypeRegistry() - fill_registry_with_opencl_types() + fill_registry_with_opencl_c_types(result) # no complex number support--needs PyOpenCLTarget -- GitLab