From 6a6d75a45cd7cfbdbe27b57c685458e6502852a4 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 3 May 2015 23:55:21 -0500
Subject: [PATCH] Fix C target type registry initialization

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

diff --git a/loopy/target/c/__init__.py b/loopy/target/c/__init__.py
index f74485e05..89b0d578b 100644
--- a/loopy/target/c/__init__.py
+++ b/loopy/target/c/__init__.py
@@ -35,10 +35,11 @@ from pytools import memoize_method
 class CTarget(TargetBase):
     @memoize_method
     def get_dtype_registry(self):
-        from loopy.target.c.compyte import (
+        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,
+                include_bool=True)
         return result
 
     def is_vector_dtype(self, dtype):
-- 
GitLab