From 4d7f7b7f9f2db53d1aaf4012d6d2b309b174a952 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Wed, 10 Jun 2015 16:41:34 -0500
Subject: [PATCH] Fix bare-OpenCL target

---
 loopy/target/opencl/__init__.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/loopy/target/opencl/__init__.py b/loopy/target/opencl/__init__.py
index e68040c09..e4533b86d 100644
--- a/loopy/target/opencl/__init__.py
+++ b/loopy/target/opencl/__init__.py
@@ -214,10 +214,9 @@ class OpenCLTarget(CTarget):
 
     @memoize_method
     def get_dtype_registry(self):
-        from loopy.target.c.compyte import (
-                DTypeRegistry, fill_with_registry_with_c_types)
+        from loopy.target.c.compyte.dtypes import DTypeRegistry, fill_with_registry_with_c_types
         result = DTypeRegistry()
-        fill_with_registry_with_c_types(result)
+        fill_with_registry_with_c_types(result, respect_windows=False)
 
         # complex number support left out
 
-- 
GitLab