Skip to content

Commit 9f902b1

Browse files
committed
fix viewable return
1 parent 60682de commit 9f902b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_py/cuda/py/_memoryview.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,6 @@ def viewable(tuple arg_indices):
275275
cdef int idx
276276
for idx in arg_indices:
277277
args[idx] = _GPUMemoryViewProxy(args[idx])
278-
func(*args, **kwargs)
278+
return func(*args, **kwargs)
279279
return wrapped_func
280280
return wrapped_func_with_indices

0 commit comments

Comments
 (0)