make pointers readonly
@@ -3,8 +3,8 @@ from libc.stdint cimport intptr_t
cdef class Graph:
cdef:
- intptr_t graph # cudaGraph_t
- intptr_t graphExec # cudaGraphExec_t
+ readonly intptr_t graph # cudaGraph_t
+ readonly intptr_t graphExec # cudaGraphExec_t
cdef void _init(self, intptr_t g, intptr_t ge)
