We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f59cc9 commit e2a00b2Copy full SHA for e2a00b2
dpctl/tensor/_dlpack.pyx
@@ -271,6 +271,7 @@ cpdef to_dlpack_capsule(usm_ndarray usm_ary):
271
cdef int64_t *shape_strides_ptr = NULL
272
cdef int i = 0
273
cdef int device_id = -1
274
+ cdef int flags = 0
275
cdef Py_ssize_t element_offset = 0
276
cdef Py_ssize_t byte_offset = 0
277
cdef Py_ssize_t si = 1
0 commit comments