From 74b69826af441f4f5b41926bd6561a057afdd212 Mon Sep 17 00:00:00 2001
From: Martin Bauer <martin.bauer@fau.de>
Date: Sat, 25 Nov 2017 14:14:29 +0100
Subject: [PATCH] Bugfix in CUDA Jit

---
 gpucuda/cudajit.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gpucuda/cudajit.py b/gpucuda/cudajit.py
index 04561e8b6..e75603665 100644
--- a/gpucuda/cudajit.py
+++ b/gpucuda/cudajit.py
@@ -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))
-                result.append(field.gpudata)
+                result.append(field)
             elif arg.isFieldStrideArgument:
                 dtype = getBaseType(arg.dtype).numpyDtype
                 strideArr = np.array(field.strides, dtype=dtype) // field.dtype.itemsize
-- 
GitLab