Commit 74b69826 authored by Martin Bauer's avatar Martin Bauer
Browse files

Bugfix in CUDA Jit

parent f5b786ed
......@@ -66,7 +66,7 @@ def _buildNumpyArgumentList(parameters, argumentDict):
if expectedType != actualType:
raise ValueError("Data type mismatch for field '%s'. Expected '%s' got '%s'." %
(arg.fieldName, expectedType, actualType))
elif arg.isFieldStrideArgument:
dtype = getBaseType(arg.dtype).numpyDtype
strideArr = np.array(field.strides, dtype=dtype) // field.dtype.itemsize
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment