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

Merge branch 'master' of t:src/pyopencl

parents 863c5b14 319672e4
No related branches found
No related tags found
No related merge requests found
...@@ -232,7 +232,7 @@ def parse_c_arg(c_arg): ...@@ -232,7 +232,7 @@ def parse_c_arg(c_arg):
dtype = np.uint64 dtype = np.uint64
elif tp in ["short", "short int"]: dtype = np.int16 elif tp in ["short", "short int"]: dtype = np.int16
elif tp in ["unsigned short", "unsigned short int"]: dtype = np.uint16 elif tp in ["unsigned short", "unsigned short int"]: dtype = np.uint16
elif tp in ["char"]: dtype = np.int8 elif tp in ["char", "signed char"]: dtype = np.int8
elif tp in ["unsigned char"]: dtype = np.uint8 elif tp in ["unsigned char"]: dtype = np.uint8
elif tp in ["bool"]: dtype = np.bool elif tp in ["bool"]: dtype = np.bool
else: else:
......
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