add with nogil context to funcGetAttribute
@@ -243,6 +243,7 @@ cpdef launchKernel(
cpdef int funcGetAttribute(int attribute, intptr_t func):
cdef int pi
+ with nogil:
status = cuFuncGetAttribute(
&pi,
<CUfunction_attribute> attribute,
