Skip to content

Commit

Permalink
Merge pull request #1359 from kmaehashi/bp-1355-support-weakref
Browse files Browse the repository at this point in the history
[backport] Support weak reference to CuPy array
  • Loading branch information
okuta committed Jun 13, 2018
2 parents 35014cb + 66b4792 commit a69ffb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cupy/core/core.pxd
Expand Up @@ -6,6 +6,7 @@ from cupy.cuda.function cimport CPointer

cdef class ndarray:
cdef:
object __weakref__
readonly Py_ssize_t size
public vector.vector[Py_ssize_t] _shape
public vector.vector[Py_ssize_t] _strides
Expand Down

0 comments on commit a69ffb3

Please sign in to comment.