Skip to content

Commit

Permalink
fix viewable return
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Sep 6, 2024
1 parent 60682de commit 9f902b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuda_py/cuda/py/_memoryview.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,6 @@ def viewable(tuple arg_indices):
cdef int idx
for idx in arg_indices:
args[idx] = _GPUMemoryViewProxy(args[idx])
func(*args, **kwargs)
return func(*args, **kwargs)
return wrapped_func
return wrapped_func_with_indices

0 comments on commit 9f902b1

Please sign in to comment.