Skip to content
Snippets Groups Projects
Commit 6a6d75a4 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix C target type registry initialization

parent f9d1f99d
No related branches found
No related tags found
No related merge requests found
...@@ -35,10 +35,11 @@ from pytools import memoize_method ...@@ -35,10 +35,11 @@ from pytools import memoize_method
class CTarget(TargetBase): class CTarget(TargetBase):
@memoize_method @memoize_method
def get_dtype_registry(self): 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) DTypeRegistry, fill_with_registry_with_c_types)
result = DTypeRegistry() result = DTypeRegistry()
fill_with_registry_with_c_types(result) fill_with_registry_with_c_types(result, respect_windows=False,
include_bool=True)
return result return result
def is_vector_dtype(self, dtype): def is_vector_dtype(self, dtype):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment