/* Generated by Cython 3.1.5 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [ "/host/home/runner/_work/cuda-python/cuda-python/cuda_toolkit/include/cuda.h", "/host/home/runner/_work/cuda-python/cuda-python/cuda_toolkit/include/cudaProfiler.h", "cuda/bindings/_bindings/loader.h" ], "extra_compile_args": [ "-std=c++14", "-fpermissive", "-Wno-deprecated-declarations", "-fno-var-tracking-assignments", "-O3" ], "include_dirs": [ "./cuda/bindings/_bindings", "/opt/python/cp312-cp312/include", "/host//home/runner/_work/cuda-python/cuda-python/cuda_toolkit/include" ], "language": "c++", "library_dirs": [ "/tmp/build-env-3t3_8d9r/lib/python3.12/site-packages", "/tmp/build-env-3t3_8d9r/lib", "/host//home/runner/_work/cuda-python/cuda-python/cuda_toolkit/lib64", "/host//home/runner/_work/cuda-python/cuda-python/cuda_toolkit/lib" ], "name": "cuda.bindings._bindings.cydriver", "sources": [ "cuda/bindings/_bindings/cydriver.pyx", "cuda/bindings/_bindings/loader.cpp" ] }, "module_name": "cuda.bindings._bindings.cydriver" } END: Cython Metadata */ #ifndef PY_SSIZE_T_CLEAN #define PY_SSIZE_T_CLEAN #endif /* PY_SSIZE_T_CLEAN */ /* InitLimitedAPI */ #if defined(Py_LIMITED_API) #if !defined(CYTHON_LIMITED_API) #define CYTHON_LIMITED_API 1 #endif #elif defined(CYTHON_LIMITED_API) #ifdef _MSC_VER #pragma message ("Limited API usage is enabled with 'CYTHON_LIMITED_API' but 'Py_LIMITED_API' does not define a Python target version. Consider setting 'Py_LIMITED_API' instead.") #else #warning Limited API usage is enabled with 'CYTHON_LIMITED_API' but 'Py_LIMITED_API' does not define a Python target version. Consider setting 'Py_LIMITED_API' instead. #endif #endif #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x03080000 #error Cython requires Python 3.8+. #else #define __PYX_ABI_VERSION "3_1_5" #define CYTHON_HEX_VERSION 0x030105F0 #define CYTHON_FUTURE_DIVISION 1 /* CModulePreamble */ #include #ifndef offsetof #define offsetof(type, member) ( (size_t) & ((type*)0) -> member ) #endif #if !defined(_WIN32) && !defined(WIN32) && !defined(MS_WINDOWS) #ifndef __stdcall #define __stdcall #endif #ifndef __cdecl #define __cdecl #endif #ifndef __fastcall #define __fastcall #endif #endif #ifndef DL_IMPORT #define DL_IMPORT(t) t #endif #ifndef DL_EXPORT #define DL_EXPORT(t) t #endif #define __PYX_COMMA , #ifndef HAVE_LONG_LONG #define HAVE_LONG_LONG #endif #ifndef PY_LONG_LONG #define PY_LONG_LONG LONG_LONG #endif #ifndef Py_HUGE_VAL #define Py_HUGE_VAL HUGE_VAL #endif #define __PYX_LIMITED_VERSION_HEX PY_VERSION_HEX #if defined(GRAALVM_PYTHON) /* For very preliminary testing purposes. Most variables are set the same as PyPy. The existence of this section does not imply that anything works or is even tested */ #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 0 #define CYTHON_COMPILING_IN_LIMITED_API 0 #define CYTHON_COMPILING_IN_GRAAL 1 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #undef CYTHON_USE_TYPE_SLOTS #define CYTHON_USE_TYPE_SLOTS 0 #undef CYTHON_USE_TYPE_SPECS #define CYTHON_USE_TYPE_SPECS 0 #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #undef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 0 #undef CYTHON_USE_UNICODE_WRITER #define CYTHON_USE_UNICODE_WRITER 0 #undef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 0 #undef CYTHON_AVOID_BORROWED_REFS #define CYTHON_AVOID_BORROWED_REFS 1 #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1 #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 #undef CYTHON_ASSUME_SAFE_SIZE #define CYTHON_ASSUME_SAFE_SIZE 0 #undef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 0 #undef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 #undef CYTHON_METH_FASTCALL #define CYTHON_METH_FASTCALL 0 #undef CYTHON_FAST_PYCALL #define CYTHON_FAST_PYCALL 0 #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif #undef CYTHON_PEP489_MULTI_PHASE_INIT #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #undef CYTHON_USE_MODULE_STATE #define CYTHON_USE_MODULE_STATE 0 #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 #undef CYTHON_USE_TP_FINALIZE #define CYTHON_USE_TP_FINALIZE 0 #undef CYTHON_USE_AM_SEND #define CYTHON_USE_AM_SEND 0 #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK #define CYTHON_USE_EXC_INFO_STACK 1 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 #endif #undef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS 0 #elif defined(PYPY_VERSION) #define CYTHON_COMPILING_IN_PYPY 1 #define CYTHON_COMPILING_IN_CPYTHON 0 #define CYTHON_COMPILING_IN_LIMITED_API 0 #define CYTHON_COMPILING_IN_GRAAL 0 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #undef CYTHON_USE_TYPE_SLOTS #define CYTHON_USE_TYPE_SLOTS 1 #ifndef CYTHON_USE_TYPE_SPECS #define CYTHON_USE_TYPE_SPECS 0 #endif #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #undef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 0 #undef CYTHON_USE_UNICODE_WRITER #define CYTHON_USE_UNICODE_WRITER 0 #undef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 0 #undef CYTHON_AVOID_BORROWED_REFS #define CYTHON_AVOID_BORROWED_REFS 1 #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1 #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 #ifndef CYTHON_ASSUME_SAFE_SIZE #define CYTHON_ASSUME_SAFE_SIZE 1 #endif #undef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 0 #undef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 #undef CYTHON_METH_FASTCALL #define CYTHON_METH_FASTCALL 0 #undef CYTHON_FAST_PYCALL #define CYTHON_FAST_PYCALL 0 #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif #if PY_VERSION_HEX < 0x03090000 #undef CYTHON_PEP489_MULTI_PHASE_INIT #define CYTHON_PEP489_MULTI_PHASE_INIT 0 #elif !defined(CYTHON_PEP489_MULTI_PHASE_INIT) #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #endif #undef CYTHON_USE_MODULE_STATE #define CYTHON_USE_MODULE_STATE 0 #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 #ifndef CYTHON_USE_TP_FINALIZE #define CYTHON_USE_TP_FINALIZE (PYPY_VERSION_NUM >= 0x07030C00) #endif #undef CYTHON_USE_AM_SEND #define CYTHON_USE_AM_SEND 0 #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK #define CYTHON_USE_EXC_INFO_STACK 0 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_NUM >= 0x07031100) #endif #undef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS 0 #elif defined(CYTHON_LIMITED_API) #ifdef Py_LIMITED_API #undef __PYX_LIMITED_VERSION_HEX #define __PYX_LIMITED_VERSION_HEX Py_LIMITED_API #endif #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 0 #define CYTHON_COMPILING_IN_LIMITED_API 1 #define CYTHON_COMPILING_IN_GRAAL 0 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #undef CYTHON_CLINE_IN_TRACEBACK #define CYTHON_CLINE_IN_TRACEBACK 0 #undef CYTHON_USE_TYPE_SLOTS #define CYTHON_USE_TYPE_SLOTS 0 #undef CYTHON_USE_TYPE_SPECS #define CYTHON_USE_TYPE_SPECS 1 #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #undef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 0 #ifndef CYTHON_USE_UNICODE_WRITER #define CYTHON_USE_UNICODE_WRITER 0 #endif #undef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 0 #ifndef CYTHON_AVOID_BORROWED_REFS #define CYTHON_AVOID_BORROWED_REFS 0 #endif #ifndef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 #endif #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 #undef CYTHON_ASSUME_SAFE_SIZE #define CYTHON_ASSUME_SAFE_SIZE 0 #undef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 0 #undef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 #undef CYTHON_METH_FASTCALL #define CYTHON_METH_FASTCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) #undef CYTHON_FAST_PYCALL #define CYTHON_FAST_PYCALL 0 #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif #ifndef CYTHON_PEP489_MULTI_PHASE_INIT #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #endif #ifndef CYTHON_USE_MODULE_STATE #define CYTHON_USE_MODULE_STATE 0 #endif #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 #ifndef CYTHON_USE_TP_FINALIZE #define CYTHON_USE_TP_FINALIZE 0 #endif #ifndef CYTHON_USE_AM_SEND #define CYTHON_USE_AM_SEND (__PYX_LIMITED_VERSION_HEX >= 0x030A0000) #endif #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK #define CYTHON_USE_EXC_INFO_STACK 0 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 #endif #undef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS 0 #else #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 1 #define CYTHON_COMPILING_IN_LIMITED_API 0 #define CYTHON_COMPILING_IN_GRAAL 0 #ifdef Py_GIL_DISABLED #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 1 #else #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #endif #if PY_VERSION_HEX < 0x030A0000 #undef CYTHON_USE_TYPE_SLOTS #define CYTHON_USE_TYPE_SLOTS 1 #elif !defined(CYTHON_USE_TYPE_SLOTS) #define CYTHON_USE_TYPE_SLOTS 1 #endif #ifndef CYTHON_USE_TYPE_SPECS #define CYTHON_USE_TYPE_SPECS 0 #endif #ifndef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 1 #endif #ifndef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 1 #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #elif !defined(CYTHON_USE_PYLIST_INTERNALS) #define CYTHON_USE_PYLIST_INTERNALS 1 #endif #ifndef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 1 #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING || PY_VERSION_HEX >= 0x030B00A2 #undef CYTHON_USE_UNICODE_WRITER #define CYTHON_USE_UNICODE_WRITER 0 #elif !defined(CYTHON_USE_UNICODE_WRITER) #define CYTHON_USE_UNICODE_WRITER 1 #endif #ifndef CYTHON_AVOID_BORROWED_REFS #define CYTHON_AVOID_BORROWED_REFS 0 #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1 #elif !defined(CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS) #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 #endif #ifndef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 1 #endif #ifndef CYTHON_ASSUME_SAFE_SIZE #define CYTHON_ASSUME_SAFE_SIZE 1 #endif #ifndef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 1 #endif #ifndef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 1 #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 #elif !defined(CYTHON_FAST_GIL) #define CYTHON_FAST_GIL (PY_VERSION_HEX < 0x030C00A6) #endif #ifndef CYTHON_METH_FASTCALL #define CYTHON_METH_FASTCALL 1 #endif #ifndef CYTHON_FAST_PYCALL #define CYTHON_FAST_PYCALL 1 #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif #ifndef CYTHON_PEP489_MULTI_PHASE_INIT #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #endif #ifndef CYTHON_USE_MODULE_STATE #define CYTHON_USE_MODULE_STATE 0 #endif #ifndef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING (PY_VERSION_HEX >= 0x030d00B1) #endif #ifndef CYTHON_USE_TP_FINALIZE #define CYTHON_USE_TP_FINALIZE 1 #endif #ifndef CYTHON_USE_AM_SEND #define CYTHON_USE_AM_SEND 1 #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #elif !defined(CYTHON_USE_DICT_VERSIONS) #define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX < 0x030C00A5 && !CYTHON_USE_MODULE_STATE) #endif #ifndef CYTHON_USE_EXC_INFO_STACK #define CYTHON_USE_EXC_INFO_STACK 1 #endif #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC 1 #endif #ifndef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS (!CYTHON_COMPILING_IN_CPYTHON_FREETHREADING) #endif #endif #ifndef CYTHON_FAST_PYCCALL #define CYTHON_FAST_PYCCALL CYTHON_FAST_PYCALL #endif #ifndef CYTHON_VECTORCALL #if CYTHON_COMPILING_IN_LIMITED_API #define CYTHON_VECTORCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) #else #define CYTHON_VECTORCALL (CYTHON_FAST_PYCCALL && PY_VERSION_HEX >= 0x030800B1) #endif #endif #define CYTHON_BACKPORT_VECTORCALL (CYTHON_METH_FASTCALL && PY_VERSION_HEX < 0x030800B1) #if CYTHON_USE_PYLONG_INTERNALS #undef SHIFT #undef BASE #undef MASK #ifdef SIZEOF_VOID_P enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) }; #endif #endif #ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME #define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100 #endif #ifndef __has_attribute #define __has_attribute(x) 0 #endif #ifndef __has_cpp_attribute #define __has_cpp_attribute(x) 0 #endif #ifndef CYTHON_RESTRICT #if defined(__GNUC__) #define CYTHON_RESTRICT __restrict__ #elif defined(_MSC_VER) && _MSC_VER >= 1400 #define CYTHON_RESTRICT __restrict #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #define CYTHON_RESTRICT restrict #else #define CYTHON_RESTRICT #endif #endif #ifndef CYTHON_UNUSED #if defined(__cplusplus) /* for clang __has_cpp_attribute(maybe_unused) is true even before C++17 * but leads to warnings with -pedantic, since it is a C++17 feature */ #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L) #if __has_cpp_attribute(maybe_unused) #define CYTHON_UNUSED [[maybe_unused]] #endif #endif #endif #endif #ifndef CYTHON_UNUSED # if defined(__GNUC__) # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) # define CYTHON_UNUSED __attribute__ ((__unused__)) # else # define CYTHON_UNUSED # endif # elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER)) # define CYTHON_UNUSED __attribute__ ((__unused__)) # else # define CYTHON_UNUSED # endif #endif #ifndef CYTHON_UNUSED_VAR # if defined(__cplusplus) template void CYTHON_UNUSED_VAR( const T& ) { } # else # define CYTHON_UNUSED_VAR(x) (void)(x) # endif #endif #ifndef CYTHON_MAYBE_UNUSED_VAR #define CYTHON_MAYBE_UNUSED_VAR(x) CYTHON_UNUSED_VAR(x) #endif #ifndef CYTHON_NCP_UNUSED # if CYTHON_COMPILING_IN_CPYTHON && !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING # define CYTHON_NCP_UNUSED # else # define CYTHON_NCP_UNUSED CYTHON_UNUSED # endif #endif #ifndef CYTHON_USE_CPP_STD_MOVE #if defined(__cplusplus) && (\ __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)) #define CYTHON_USE_CPP_STD_MOVE 1 #else #define CYTHON_USE_CPP_STD_MOVE 0 #endif #endif #define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None) #ifdef _MSC_VER #ifndef _MSC_STDINT_H_ #if _MSC_VER < 1300 typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; #else typedef unsigned __int8 uint8_t; typedef unsigned __int16 uint16_t; typedef unsigned __int32 uint32_t; #endif #endif #if _MSC_VER < 1300 #ifdef _WIN64 typedef unsigned long long __pyx_uintptr_t; #else typedef unsigned int __pyx_uintptr_t; #endif #else #ifdef _WIN64 typedef unsigned __int64 __pyx_uintptr_t; #else typedef unsigned __int32 __pyx_uintptr_t; #endif #endif #else #include typedef uintptr_t __pyx_uintptr_t; #endif #ifndef CYTHON_FALLTHROUGH #if defined(__cplusplus) /* for clang __has_cpp_attribute(fallthrough) is true even before C++17 * but leads to warnings with -pedantic, since it is a C++17 feature */ #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L) #if __has_cpp_attribute(fallthrough) #define CYTHON_FALLTHROUGH [[fallthrough]] #endif #endif #ifndef CYTHON_FALLTHROUGH #if __has_cpp_attribute(clang::fallthrough) #define CYTHON_FALLTHROUGH [[clang::fallthrough]] #elif __has_cpp_attribute(gnu::fallthrough) #define CYTHON_FALLTHROUGH [[gnu::fallthrough]] #endif #endif #endif #ifndef CYTHON_FALLTHROUGH #if __has_attribute(fallthrough) #define CYTHON_FALLTHROUGH __attribute__((fallthrough)) #else #define CYTHON_FALLTHROUGH #endif #endif #if defined(__clang__) && defined(__apple_build_version__) #if __apple_build_version__ < 7000000 #undef CYTHON_FALLTHROUGH #define CYTHON_FALLTHROUGH #endif #endif #endif #ifndef Py_UNREACHABLE #define Py_UNREACHABLE() assert(0); abort() #endif #ifdef __cplusplus template struct __PYX_IS_UNSIGNED_IMPL {static const bool value = T(0) < T(-1);}; #define __PYX_IS_UNSIGNED(type) (__PYX_IS_UNSIGNED_IMPL::value) #else #define __PYX_IS_UNSIGNED(type) (((type)-1) > 0) #endif #if CYTHON_COMPILING_IN_PYPY == 1 #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x030A0000) #else #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000) #endif #define __PYX_REINTERPRET_FUNCION(func_pointer, other_pointer) ((func_pointer)(void(*)(void))(other_pointer)) /* CppInitCode */ #ifndef __cplusplus #error "Cython files generated with the C++ option must be compiled with a C++ compiler." #endif #ifndef CYTHON_INLINE #if defined(__clang__) #define CYTHON_INLINE __inline__ __attribute__ ((__unused__)) #else #define CYTHON_INLINE inline #endif #endif template void __Pyx_call_destructor(T& x) { x.~T(); } template class __Pyx_FakeReference { public: __Pyx_FakeReference() : ptr(NULL) { } __Pyx_FakeReference(const T& ref) : ptr(const_cast(&ref)) { } T *operator->() { return ptr; } T *operator&() { return ptr; } operator T&() { return *ptr; } template bool operator ==(const U& other) const { return *ptr == other; } template bool operator !=(const U& other) const { return *ptr != other; } template bool operator==(const __Pyx_FakeReference& other) const { return *ptr == *other.ptr; } template bool operator!=(const __Pyx_FakeReference& other) const { return *ptr != *other.ptr; } private: T *ptr; }; /* PythonCompatibility */ #define __PYX_BUILD_PY_SSIZE_T "n" #define CYTHON_FORMAT_SSIZE_T "z" #define __Pyx_BUILTIN_MODULE_NAME "builtins" #define __Pyx_DefaultClassType PyType_Type #if CYTHON_COMPILING_IN_LIMITED_API #ifndef CO_OPTIMIZED static int CO_OPTIMIZED; #endif #ifndef CO_NEWLOCALS static int CO_NEWLOCALS; #endif #ifndef CO_VARARGS static int CO_VARARGS; #endif #ifndef CO_VARKEYWORDS static int CO_VARKEYWORDS; #endif #ifndef CO_ASYNC_GENERATOR static int CO_ASYNC_GENERATOR; #endif #ifndef CO_GENERATOR static int CO_GENERATOR; #endif #ifndef CO_COROUTINE static int CO_COROUTINE; #endif #else #ifndef CO_COROUTINE #define CO_COROUTINE 0x80 #endif #ifndef CO_ASYNC_GENERATOR #define CO_ASYNC_GENERATOR 0x200 #endif #endif static int __Pyx_init_co_variables(void); #if PY_VERSION_HEX >= 0x030900A4 || defined(Py_IS_TYPE) #define __Pyx_IS_TYPE(ob, type) Py_IS_TYPE(ob, type) #else #define __Pyx_IS_TYPE(ob, type) (((const PyObject*)ob)->ob_type == (type)) #endif #if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_Is) #define __Pyx_Py_Is(x, y) Py_Is(x, y) #else #define __Pyx_Py_Is(x, y) ((x) == (y)) #endif #if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsNone) #define __Pyx_Py_IsNone(ob) Py_IsNone(ob) #else #define __Pyx_Py_IsNone(ob) __Pyx_Py_Is((ob), Py_None) #endif #if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsTrue) #define __Pyx_Py_IsTrue(ob) Py_IsTrue(ob) #else #define __Pyx_Py_IsTrue(ob) __Pyx_Py_Is((ob), Py_True) #endif #if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsFalse) #define __Pyx_Py_IsFalse(ob) Py_IsFalse(ob) #else #define __Pyx_Py_IsFalse(ob) __Pyx_Py_Is((ob), Py_False) #endif #define __Pyx_NoneAsNull(obj) (__Pyx_Py_IsNone(obj) ? NULL : (obj)) #if PY_VERSION_HEX >= 0x030900F0 && !CYTHON_COMPILING_IN_PYPY #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o) #else #define __Pyx_PyObject_GC_IsFinalized(o) _PyGC_FINALIZED(o) #endif #ifndef Py_TPFLAGS_CHECKTYPES #define Py_TPFLAGS_CHECKTYPES 0 #endif #ifndef Py_TPFLAGS_HAVE_INDEX #define Py_TPFLAGS_HAVE_INDEX 0 #endif #ifndef Py_TPFLAGS_HAVE_NEWBUFFER #define Py_TPFLAGS_HAVE_NEWBUFFER 0 #endif #ifndef Py_TPFLAGS_HAVE_FINALIZE #define Py_TPFLAGS_HAVE_FINALIZE 0 #endif #ifndef Py_TPFLAGS_SEQUENCE #define Py_TPFLAGS_SEQUENCE 0 #endif #ifndef Py_TPFLAGS_MAPPING #define Py_TPFLAGS_MAPPING 0 #endif #ifndef METH_STACKLESS #define METH_STACKLESS 0 #endif #ifndef METH_FASTCALL #ifndef METH_FASTCALL #define METH_FASTCALL 0x80 #endif typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *const *args, Py_ssize_t nargs); typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames); #else #if PY_VERSION_HEX >= 0x030d00A4 # define __Pyx_PyCFunctionFast PyCFunctionFast # define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords #else # define __Pyx_PyCFunctionFast _PyCFunctionFast # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords #endif #endif #if CYTHON_METH_FASTCALL #define __Pyx_METH_FASTCALL METH_FASTCALL #define __Pyx_PyCFunction_FastCall __Pyx_PyCFunctionFast #define __Pyx_PyCFunction_FastCallWithKeywords __Pyx_PyCFunctionFastWithKeywords #else #define __Pyx_METH_FASTCALL METH_VARARGS #define __Pyx_PyCFunction_FastCall PyCFunction #define __Pyx_PyCFunction_FastCallWithKeywords PyCFunctionWithKeywords #endif #if CYTHON_VECTORCALL #define __pyx_vectorcallfunc vectorcallfunc #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET PY_VECTORCALL_ARGUMENTS_OFFSET #define __Pyx_PyVectorcall_NARGS(n) PyVectorcall_NARGS((size_t)(n)) #elif CYTHON_BACKPORT_VECTORCALL typedef PyObject *(*__pyx_vectorcallfunc)(PyObject *callable, PyObject *const *args, size_t nargsf, PyObject *kwnames); #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET ((size_t)1 << (8 * sizeof(size_t) - 1)) #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(((size_t)(n)) & ~__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)) #else #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0 #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n)) #endif #if PY_VERSION_HEX >= 0x030900B1 #define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func) #else #define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func) #endif #define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func) #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth) #elif !CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(func) #endif #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_CyOrPyCFunction_GET_FLAGS(func) (((PyCFunctionObject*)(func))->m_ml->ml_flags) static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) { return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self; } #endif static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void (*cfunc)(void)) { #if CYTHON_COMPILING_IN_LIMITED_API return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc; #else return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; #endif } #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc) #if __PYX_LIMITED_VERSION_HEX < 0x03090000 #define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b)) typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *); #else #define __Pyx_PyType_FromModuleAndSpec(m, s, b) PyType_FromModuleAndSpec(m, s, b) #define __Pyx_PyCMethod PyCMethod #endif #ifndef METH_METHOD #define METH_METHOD 0x200 #endif #if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc) #define PyObject_Malloc(s) PyMem_Malloc(s) #define PyObject_Free(p) PyMem_Free(p) #define PyObject_Realloc(p) PyMem_Realloc(p) #endif #if CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_PyFrame_SetLineNumber(frame, lineno) #elif CYTHON_COMPILING_IN_GRAAL #define __Pyx_PyCode_HasFreeVars(co) (PyCode_GetNumFree(co) > 0) #define __Pyx_PyFrame_SetLineNumber(frame, lineno) _PyFrame_SetLineNumber((frame), (lineno)) #else #define __Pyx_PyCode_HasFreeVars(co) (PyCode_GetNumFree(co) > 0) #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno) #endif #if CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_PyThreadState_Current PyThreadState_Get() #elif !CYTHON_FAST_THREAD_STATE #define __Pyx_PyThreadState_Current PyThreadState_GET() #elif PY_VERSION_HEX >= 0x030d00A1 #define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked() #else #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet() #endif #if CYTHON_USE_MODULE_STATE static CYTHON_INLINE void *__Pyx__PyModule_GetState(PyObject *op) { void *result; result = PyModule_GetState(op); if (!result) Py_FatalError("Couldn't find the module state"); return result; } #define __Pyx_PyModule_GetState(o) (__pyx_mstatetype *)__Pyx__PyModule_GetState(o) #else #define __Pyx_PyModule_GetState(op) ((void)op,__pyx_mstate_global) #endif #define __Pyx_PyObject_GetSlot(obj, name, func_ctype) __Pyx_PyType_GetSlot(Py_TYPE((PyObject *) obj), name, func_ctype) #define __Pyx_PyObject_TryGetSlot(obj, name, func_ctype) __Pyx_PyType_TryGetSlot(Py_TYPE(obj), name, func_ctype) #define __Pyx_PyObject_GetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_GetSubSlot(Py_TYPE(obj), sub, name, func_ctype) #define __Pyx_PyObject_TryGetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_TryGetSubSlot(Py_TYPE(obj), sub, name, func_ctype) #if CYTHON_USE_TYPE_SLOTS #define __Pyx_PyType_GetSlot(type, name, func_ctype) ((type)->name) #define __Pyx_PyType_TryGetSlot(type, name, func_ctype) __Pyx_PyType_GetSlot(type, name, func_ctype) #define __Pyx_PyType_GetSubSlot(type, sub, name, func_ctype) (((type)->sub) ? ((type)->sub->name) : NULL) #define __Pyx_PyType_TryGetSubSlot(type, sub, name, func_ctype) __Pyx_PyType_GetSubSlot(type, sub, name, func_ctype) #else #define __Pyx_PyType_GetSlot(type, name, func_ctype) ((func_ctype) PyType_GetSlot((type), Py_##name)) #define __Pyx_PyType_TryGetSlot(type, name, func_ctype)\ ((__PYX_LIMITED_VERSION_HEX >= 0x030A0000 ||\ (PyType_GetFlags(type) & Py_TPFLAGS_HEAPTYPE) || __Pyx_get_runtime_version() >= 0x030A0000) ?\ __Pyx_PyType_GetSlot(type, name, func_ctype) : NULL) #define __Pyx_PyType_GetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_GetSlot(obj, name, func_ctype) #define __Pyx_PyType_TryGetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_TryGetSlot(obj, name, func_ctype) #endif #if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized) #define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n)) #else #define __Pyx_PyDict_NewPresized(n) PyDict_New() #endif #define __Pyx_PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y) #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceTrueDivide(x,y) #if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_UNICODE_INTERNALS #define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash) static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) { PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name); if (res == NULL) PyErr_Clear(); return res; } #elif !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000 #define __Pyx_PyDict_GetItemStrWithError PyDict_GetItemWithError #define __Pyx_PyDict_GetItemStr PyDict_GetItem #else static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, PyObject *name) { #if CYTHON_COMPILING_IN_PYPY return PyDict_GetItem(dict, name); #else PyDictEntry *ep; PyDictObject *mp = (PyDictObject*) dict; long hash = ((PyStringObject *) name)->ob_shash; assert(hash != -1); ep = (mp->ma_lookup)(mp, name, hash); if (ep == NULL) { return NULL; } return ep->me_value; #endif } #define __Pyx_PyDict_GetItemStr PyDict_GetItem #endif #if CYTHON_USE_TYPE_SLOTS #define __Pyx_PyType_GetFlags(tp) (((PyTypeObject *)tp)->tp_flags) #define __Pyx_PyType_HasFeature(type, feature) ((__Pyx_PyType_GetFlags(type) & (feature)) != 0) #else #define __Pyx_PyType_GetFlags(tp) (PyType_GetFlags((PyTypeObject *)tp)) #define __Pyx_PyType_HasFeature(type, feature) PyType_HasFeature(type, feature) #endif #define __Pyx_PyObject_GetIterNextFunc(iterator) __Pyx_PyObject_GetSlot(iterator, tp_iternext, iternextfunc) #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX >= 0x03080000 #define __Pyx_PyHeapTypeObject_GC_Del(obj) {\ PyTypeObject *type = Py_TYPE((PyObject*)obj);\ assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\ PyObject_GC_Del(obj);\ Py_DECREF(type);\ } #else #define __Pyx_PyHeapTypeObject_GC_Del(obj) PyObject_GC_Del(obj) #endif #if CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_PyUnicode_READY(op) (0) #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_ReadChar(u, i) #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) ((void)u, 1114111U) #define __Pyx_PyUnicode_KIND(u) ((void)u, (0)) #define __Pyx_PyUnicode_DATA(u) ((void*)u) #define __Pyx_PyUnicode_READ(k, d, i) ((void)k, PyUnicode_ReadChar((PyObject*)(d), i)) #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GetLength(u)) #else #if PY_VERSION_HEX >= 0x030C0000 #define __Pyx_PyUnicode_READY(op) (0) #else #define __Pyx_PyUnicode_READY(op) (likely(PyUnicode_IS_READY(op)) ?\ 0 : _PyUnicode_Ready((PyObject *)(op))) #endif #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i) #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) PyUnicode_MAX_CHAR_VALUE(u) #define __Pyx_PyUnicode_KIND(u) ((int)PyUnicode_KIND(u)) #define __Pyx_PyUnicode_DATA(u) PyUnicode_DATA(u) #define __Pyx_PyUnicode_READ(k, d, i) PyUnicode_READ(k, d, i) #define __Pyx_PyUnicode_WRITE(k, d, i, ch) PyUnicode_WRITE(k, d, i, (Py_UCS4) ch) #if PY_VERSION_HEX >= 0x030C0000 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_LENGTH(u)) #else #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03090000 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : ((PyCompactUnicodeObject *)(u))->wstr_length)) #else #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u))) #endif #endif #endif #if CYTHON_COMPILING_IN_PYPY #define __Pyx_PyUnicode_Concat(a, b) PyNumber_Add(a, b) #define __Pyx_PyUnicode_ConcatSafe(a, b) PyNumber_Add(a, b) #else #define __Pyx_PyUnicode_Concat(a, b) PyUnicode_Concat(a, b) #define __Pyx_PyUnicode_ConcatSafe(a, b) ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ?\ PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b)) #endif #if CYTHON_COMPILING_IN_PYPY #if !defined(PyUnicode_DecodeUnicodeEscape) #define PyUnicode_DecodeUnicodeEscape(s, size, errors) PyUnicode_Decode(s, size, "unicode_escape", errors) #endif #if !defined(PyUnicode_Contains) #define PyUnicode_Contains(u, s) PySequence_Contains(u, s) #endif #if !defined(PyByteArray_Check) #define PyByteArray_Check(obj) PyObject_TypeCheck(obj, &PyByteArray_Type) #endif #if !defined(PyObject_Format) #define PyObject_Format(obj, fmt) PyObject_CallMethod(obj, "__format__", "O", fmt) #endif #endif #define __Pyx_PyUnicode_FormatSafe(a, b) ((unlikely((a) == Py_None || (PyUnicode_Check(b) && !PyUnicode_CheckExact(b)))) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b)) #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_PySequence_ListKeepNew(obj)\ (likely(PyList_CheckExact(obj) && Py_REFCNT(obj) == 1) ? __Pyx_NewRef(obj) : PySequence_List(obj)) #else #define __Pyx_PySequence_ListKeepNew(obj) PySequence_List(obj) #endif #ifndef PySet_CheckExact #define PySet_CheckExact(obj) __Pyx_IS_TYPE(obj, &PySet_Type) #endif #if PY_VERSION_HEX >= 0x030900A4 #define __Pyx_SET_REFCNT(obj, refcnt) Py_SET_REFCNT(obj, refcnt) #define __Pyx_SET_SIZE(obj, size) Py_SET_SIZE(obj, size) #else #define __Pyx_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt) #define __Pyx_SET_SIZE(obj, size) Py_SIZE(obj) = (size) #endif #if CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) #elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PyList_GetItemRef(o, i) (likely((i) >= 0) ? PySequence_GetItem(o, i) : (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) #else #define __Pyx_PyList_GetItemRef(o, i) PySequence_ITEM(o, i) #endif #elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) #else #define __Pyx_PyList_GetItemRef(o, i) __Pyx_XNewRef(PyList_GetItem(o, i)) #endif #else #define __Pyx_PyList_GetItemRef(o, i) __Pyx_NewRef(PyList_GET_ITEM(o, i)) #endif #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_PyDict_GetItemRef(dict, key, result) PyDict_GetItemRef(dict, key, result) #elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, PyObject **result) { *result = PyObject_GetItem(dict, key); if (*result == NULL) { if (PyErr_ExceptionMatches(PyExc_KeyError)) { PyErr_Clear(); return 0; } return -1; } return 1; } #else static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, PyObject **result) { *result = PyDict_GetItemWithError(dict, key); if (*result == NULL) { return PyErr_Occurred() ? -1 : 0; } Py_INCREF(*result); return 1; } #endif #if defined(CYTHON_DEBUG_VISIT_CONST) && CYTHON_DEBUG_VISIT_CONST #define __Pyx_VISIT_CONST(obj) Py_VISIT(obj) #else #define __Pyx_VISIT_CONST(obj) #endif #if CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PySequence_ITEM(o, i) PySequence_ITEM(o, i) #define __Pyx_PySequence_SIZE(seq) Py_SIZE(seq) #define __Pyx_PyTuple_SET_ITEM(o, i, v) (PyTuple_SET_ITEM(o, i, v), (0)) #define __Pyx_PyTuple_GET_ITEM(o, i) PyTuple_GET_ITEM(o, i) #define __Pyx_PyList_SET_ITEM(o, i, v) (PyList_SET_ITEM(o, i, v), (0)) #define __Pyx_PyList_GET_ITEM(o, i) PyList_GET_ITEM(o, i) #else #define __Pyx_PySequence_ITEM(o, i) PySequence_GetItem(o, i) #define __Pyx_PySequence_SIZE(seq) PySequence_Size(seq) #define __Pyx_PyTuple_SET_ITEM(o, i, v) PyTuple_SetItem(o, i, v) #define __Pyx_PyTuple_GET_ITEM(o, i) PyTuple_GetItem(o, i) #define __Pyx_PyList_SET_ITEM(o, i, v) PyList_SetItem(o, i, v) #define __Pyx_PyList_GET_ITEM(o, i) PyList_GetItem(o, i) #endif #if CYTHON_ASSUME_SAFE_SIZE #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_GET_SIZE(o) #define __Pyx_PyList_GET_SIZE(o) PyList_GET_SIZE(o) #define __Pyx_PySet_GET_SIZE(o) PySet_GET_SIZE(o) #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_GET_SIZE(o) #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_GET_SIZE(o) #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GET_LENGTH(o) #else #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_Size(o) #define __Pyx_PyList_GET_SIZE(o) PyList_Size(o) #define __Pyx_PySet_GET_SIZE(o) PySet_Size(o) #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o) #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o) #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GetLength(o) #endif #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name) #else static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) { PyObject *module = PyImport_AddModule(name); Py_XINCREF(module); return module; } #endif #if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_InternFromString) #define PyUnicode_InternFromString(s) PyUnicode_FromString(s) #endif #define __Pyx_PyLong_FromHash_t PyLong_FromSsize_t #define __Pyx_PyLong_AsHash_t __Pyx_PyIndex_AsSsize_t #if __PYX_LIMITED_VERSION_HEX >= 0x030A0000 #define __Pyx_PySendResult PySendResult #else typedef enum { PYGEN_RETURN = 0, PYGEN_ERROR = -1, PYGEN_NEXT = 1, } __Pyx_PySendResult; #endif #if CYTHON_COMPILING_IN_LIMITED_API || PY_VERSION_HEX < 0x030A00A3 typedef __Pyx_PySendResult (*__Pyx_pyiter_sendfunc)(PyObject *iter, PyObject *value, PyObject **result); #else #define __Pyx_pyiter_sendfunc sendfunc #endif #if !CYTHON_USE_AM_SEND #define __PYX_HAS_PY_AM_SEND 0 #elif __PYX_LIMITED_VERSION_HEX >= 0x030A0000 #define __PYX_HAS_PY_AM_SEND 1 #else #define __PYX_HAS_PY_AM_SEND 2 // our own backported implementation #endif #if __PYX_HAS_PY_AM_SEND < 2 #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods #else typedef struct { unaryfunc am_await; unaryfunc am_aiter; unaryfunc am_anext; __Pyx_pyiter_sendfunc am_send; } __Pyx_PyAsyncMethodsStruct; #define __Pyx_SlotTpAsAsync(s) ((PyAsyncMethods*)(s)) #endif #if CYTHON_USE_AM_SEND && PY_VERSION_HEX < 0x030A00F0 #define __Pyx_TPFLAGS_HAVE_AM_SEND (1UL << 21) #else #define __Pyx_TPFLAGS_HAVE_AM_SEND (0) #endif #if PY_VERSION_HEX >= 0x03090000 #define __Pyx_PyInterpreterState_Get() PyInterpreterState_Get() #else #define __Pyx_PyInterpreterState_Get() PyThreadState_Get()->interp #endif #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030A0000 #ifdef __cplusplus extern "C" #endif PyAPI_FUNC(void *) PyMem_Calloc(size_t nelem, size_t elsize); #endif #if CYTHON_COMPILING_IN_LIMITED_API static int __Pyx_init_co_variable(PyObject *inspect, const char* name, int *write_to) { int value; PyObject *py_value = PyObject_GetAttrString(inspect, name); if (!py_value) return 0; value = (int) PyLong_AsLong(py_value); Py_DECREF(py_value); *write_to = value; return value != -1 || !PyErr_Occurred(); } static int __Pyx_init_co_variables(void) { PyObject *inspect; int result; inspect = PyImport_ImportModule("inspect"); result = #if !defined(CO_OPTIMIZED) __Pyx_init_co_variable(inspect, "CO_OPTIMIZED", &CO_OPTIMIZED) && #endif #if !defined(CO_NEWLOCALS) __Pyx_init_co_variable(inspect, "CO_NEWLOCALS", &CO_NEWLOCALS) && #endif #if !defined(CO_VARARGS) __Pyx_init_co_variable(inspect, "CO_VARARGS", &CO_VARARGS) && #endif #if !defined(CO_VARKEYWORDS) __Pyx_init_co_variable(inspect, "CO_VARKEYWORDS", &CO_VARKEYWORDS) && #endif #if !defined(CO_ASYNC_GENERATOR) __Pyx_init_co_variable(inspect, "CO_ASYNC_GENERATOR", &CO_ASYNC_GENERATOR) && #endif #if !defined(CO_GENERATOR) __Pyx_init_co_variable(inspect, "CO_GENERATOR", &CO_GENERATOR) && #endif #if !defined(CO_COROUTINE) __Pyx_init_co_variable(inspect, "CO_COROUTINE", &CO_COROUTINE) && #endif 1; Py_DECREF(inspect); return result ? 0 : -1; } #else static int __Pyx_init_co_variables(void) { return 0; // It's a limited API-only feature } #endif /* MathInitCode */ #if defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS) #ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES #endif #endif #include #ifdef NAN #define __PYX_NAN() ((float) NAN) #else static CYTHON_INLINE float __PYX_NAN() { float value; memset(&value, 0xFF, sizeof(value)); return value; } #endif #if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL) #define __Pyx_truncl trunc #else #define __Pyx_truncl truncl #endif #ifndef CYTHON_CLINE_IN_TRACEBACK_RUNTIME #define CYTHON_CLINE_IN_TRACEBACK_RUNTIME 0 #endif #ifndef CYTHON_CLINE_IN_TRACEBACK #define CYTHON_CLINE_IN_TRACEBACK CYTHON_CLINE_IN_TRACEBACK_RUNTIME #endif #if CYTHON_CLINE_IN_TRACEBACK #define __PYX_MARK_ERR_POS(f_index, lineno) { __pyx_filename = __pyx_f[f_index]; (void) __pyx_filename; __pyx_lineno = lineno; (void) __pyx_lineno; __pyx_clineno = __LINE__; (void) __pyx_clineno; } #else #define __PYX_MARK_ERR_POS(f_index, lineno) { __pyx_filename = __pyx_f[f_index]; (void) __pyx_filename; __pyx_lineno = lineno; (void) __pyx_lineno; (void) __pyx_clineno; } #endif #define __PYX_ERR(f_index, lineno, Ln_error) \ { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; } #ifdef CYTHON_EXTERN_C #undef __PYX_EXTERN_C #define __PYX_EXTERN_C CYTHON_EXTERN_C #elif defined(__PYX_EXTERN_C) #ifdef _MSC_VER #pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.") #else #warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead. #endif #else #define __PYX_EXTERN_C extern "C++" #endif #define __PYX_HAVE__cuda__bindings___bindings__cydriver #define __PYX_HAVE_API__cuda__bindings___bindings__cydriver /* Early includes */ #include #include "cuda.h" #include "cudaProfiler.h" #include #include "loader.h" #ifdef _OPENMP #include #endif /* _OPENMP */ #if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS) #define CYTHON_WITHOUT_ASSERTIONS #endif #define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0 #define __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 0 #define __PYX_DEFAULT_STRING_ENCODING "" #define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString #define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize #define __Pyx_uchar_cast(c) ((unsigned char)c) #define __Pyx_long_cast(x) ((long)x) #define __Pyx_fits_Py_ssize_t(v, type, is_signed) (\ (sizeof(type) < sizeof(Py_ssize_t)) ||\ (sizeof(type) > sizeof(Py_ssize_t) &&\ likely(v < (type)PY_SSIZE_T_MAX ||\ v == (type)PY_SSIZE_T_MAX) &&\ (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||\ v == (type)PY_SSIZE_T_MIN))) ||\ (sizeof(type) == sizeof(Py_ssize_t) &&\ (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||\ v == (type)PY_SSIZE_T_MAX))) ) static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) { return (size_t) i < (size_t) limit; } #if defined (__cplusplus) && __cplusplus >= 201103L #include #define __Pyx_sst_abs(value) std::abs(value) #elif SIZEOF_INT >= SIZEOF_SIZE_T #define __Pyx_sst_abs(value) abs(value) #elif SIZEOF_LONG >= SIZEOF_SIZE_T #define __Pyx_sst_abs(value) labs(value) #elif defined (_MSC_VER) #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value)) #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #define __Pyx_sst_abs(value) llabs(value) #elif defined (__GNUC__) #define __Pyx_sst_abs(value) __builtin_llabs(value) #else #define __Pyx_sst_abs(value) ((value<0) ? -value : value) #endif static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s); static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*); static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length); static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*); #define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l) #define __Pyx_PyBytes_FromString PyBytes_FromString #define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*); #if CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PyBytes_AsWritableString(s) ((char*) PyBytes_AS_STRING(s)) #define __Pyx_PyBytes_AsWritableSString(s) ((signed char*) PyBytes_AS_STRING(s)) #define __Pyx_PyBytes_AsWritableUString(s) ((unsigned char*) PyBytes_AS_STRING(s)) #define __Pyx_PyBytes_AsString(s) ((const char*) PyBytes_AS_STRING(s)) #define __Pyx_PyBytes_AsSString(s) ((const signed char*) PyBytes_AS_STRING(s)) #define __Pyx_PyBytes_AsUString(s) ((const unsigned char*) PyBytes_AS_STRING(s)) #define __Pyx_PyByteArray_AsString(s) PyByteArray_AS_STRING(s) #else #define __Pyx_PyBytes_AsWritableString(s) ((char*) PyBytes_AsString(s)) #define __Pyx_PyBytes_AsWritableSString(s) ((signed char*) PyBytes_AsString(s)) #define __Pyx_PyBytes_AsWritableUString(s) ((unsigned char*) PyBytes_AsString(s)) #define __Pyx_PyBytes_AsString(s) ((const char*) PyBytes_AsString(s)) #define __Pyx_PyBytes_AsSString(s) ((const signed char*) PyBytes_AsString(s)) #define __Pyx_PyBytes_AsUString(s) ((const unsigned char*) PyBytes_AsString(s)) #define __Pyx_PyByteArray_AsString(s) PyByteArray_AsString(s) #endif #define __Pyx_PyObject_AsWritableString(s) ((char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s)) #define __Pyx_PyObject_AsWritableSString(s) ((signed char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s)) #define __Pyx_PyObject_AsWritableUString(s) ((unsigned char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s)) #define __Pyx_PyObject_AsSString(s) ((const signed char*) __Pyx_PyObject_AsString(s)) #define __Pyx_PyObject_AsUString(s) ((const unsigned char*) __Pyx_PyObject_AsString(s)) #define __Pyx_PyObject_FromCString(s) __Pyx_PyObject_FromString((const char*)s) #define __Pyx_PyBytes_FromCString(s) __Pyx_PyBytes_FromString((const char*)s) #define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s) #define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s) #define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o) #define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode static CYTHON_INLINE PyObject *__Pyx_NewRef(PyObject *obj) { #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030a0000 || defined(Py_NewRef) return Py_NewRef(obj); #else Py_INCREF(obj); return obj; #endif } static CYTHON_INLINE PyObject *__Pyx_XNewRef(PyObject *obj) { #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030a0000 || defined(Py_XNewRef) return Py_XNewRef(obj); #else Py_XINCREF(obj); return obj; #endif } static CYTHON_INLINE PyObject *__Pyx_Owned_Py_None(int b); static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b); static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*); static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject*); static CYTHON_INLINE PyObject* __Pyx_PyNumber_Long(PyObject* x); #define __Pyx_PySequence_Tuple(obj)\ (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj)) static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*); static CYTHON_INLINE PyObject * __Pyx_PyLong_FromSize_t(size_t); static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #if CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x)) #define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AS_DOUBLE(x) #else #define __Pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x) #define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AsDouble(x) #endif #define __Pyx_PyFloat_AsFloat(x) ((float) __Pyx_PyFloat_AsDouble(x)) #define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x)) #if CYTHON_USE_PYLONG_INTERNALS #if PY_VERSION_HEX >= 0x030C00A7 #ifndef _PyLong_SIGN_MASK #define _PyLong_SIGN_MASK 3 #endif #ifndef _PyLong_NON_SIZE_BITS #define _PyLong_NON_SIZE_BITS 3 #endif #define __Pyx_PyLong_Sign(x) (((PyLongObject*)x)->long_value.lv_tag & _PyLong_SIGN_MASK) #define __Pyx_PyLong_IsNeg(x) ((__Pyx_PyLong_Sign(x) & 2) != 0) #define __Pyx_PyLong_IsNonNeg(x) (!__Pyx_PyLong_IsNeg(x)) #define __Pyx_PyLong_IsZero(x) (__Pyx_PyLong_Sign(x) & 1) #define __Pyx_PyLong_IsPos(x) (__Pyx_PyLong_Sign(x) == 0) #define __Pyx_PyLong_CompactValueUnsigned(x) (__Pyx_PyLong_Digits(x)[0]) #define __Pyx_PyLong_DigitCount(x) ((Py_ssize_t) (((PyLongObject*)x)->long_value.lv_tag >> _PyLong_NON_SIZE_BITS)) #define __Pyx_PyLong_SignedDigitCount(x)\ ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * __Pyx_PyLong_DigitCount(x)) #if defined(PyUnstable_Long_IsCompact) && defined(PyUnstable_Long_CompactValue) #define __Pyx_PyLong_IsCompact(x) PyUnstable_Long_IsCompact((PyLongObject*) x) #define __Pyx_PyLong_CompactValue(x) PyUnstable_Long_CompactValue((PyLongObject*) x) #else #define __Pyx_PyLong_IsCompact(x) (((PyLongObject*)x)->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS)) #define __Pyx_PyLong_CompactValue(x) ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * (Py_ssize_t) __Pyx_PyLong_Digits(x)[0]) #endif typedef Py_ssize_t __Pyx_compact_pylong; typedef size_t __Pyx_compact_upylong; #else #define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0) #define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0) #define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0) #define __Pyx_PyLong_IsPos(x) (Py_SIZE(x) > 0) #define __Pyx_PyLong_CompactValueUnsigned(x) ((Py_SIZE(x) == 0) ? 0 : __Pyx_PyLong_Digits(x)[0]) #define __Pyx_PyLong_DigitCount(x) __Pyx_sst_abs(Py_SIZE(x)) #define __Pyx_PyLong_SignedDigitCount(x) Py_SIZE(x) #define __Pyx_PyLong_IsCompact(x) (Py_SIZE(x) == 0 || Py_SIZE(x) == 1 || Py_SIZE(x) == -1) #define __Pyx_PyLong_CompactValue(x)\ ((Py_SIZE(x) == 0) ? (sdigit) 0 : ((Py_SIZE(x) < 0) ? -(sdigit)__Pyx_PyLong_Digits(x)[0] : (sdigit)__Pyx_PyLong_Digits(x)[0])) typedef sdigit __Pyx_compact_pylong; typedef digit __Pyx_compact_upylong; #endif static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value); #if PY_VERSION_HEX >= 0x030C00A5 #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->long_value.ob_digit) #else #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->ob_digit) #endif #endif #if __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL) #elif __PYX_DEFAULT_STRING_ENCODING_IS_ASCII #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeASCII(c_str, size, NULL) #else #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL) #endif /* Test for GCC > 2.95 */ #if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95))) #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) #else /* !__GNUC__ or GCC < 2.95 */ #define likely(x) (x) #define unlikely(x) (x) #endif /* __GNUC__ */ /* PretendToInitialize */ #ifdef __cplusplus #if __cplusplus > 201103L #include #endif template static void __Pyx_pretend_to_initialize(T* ptr) { #if __cplusplus > 201103L if ((std::is_trivially_default_constructible::value)) #endif *ptr = T(); (void)ptr; } #else static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; } #endif #if !CYTHON_USE_MODULE_STATE static PyObject *__pyx_m = NULL; #endif static int __pyx_lineno; static int __pyx_clineno = 0; static const char * const __pyx_cfilenm = __FILE__; static const char *__pyx_filename; /* #### Code section: filename_table ### */ static const char* const __pyx_f[] = { "cuda/bindings/_bindings/cydriver.pyx", }; /* #### Code section: utility_code_proto_before_types ### */ /* ForceInitThreads.proto */ #ifndef __PYX_FORCE_INIT_THREADS #define __PYX_FORCE_INIT_THREADS 0 #endif /* NoFastGil.proto */ #define __Pyx_PyGILState_Ensure PyGILState_Ensure #define __Pyx_PyGILState_Release PyGILState_Release #define __Pyx_FastGIL_Remember() #define __Pyx_FastGIL_Forget() #define __Pyx_FastGilFuncInit() /* Atomics.proto */ #include #ifndef CYTHON_ATOMICS #define CYTHON_ATOMICS 1 #endif #define __PYX_CYTHON_ATOMICS_ENABLED() CYTHON_ATOMICS #define __PYX_GET_CYTHON_COMPILING_IN_CPYTHON_FREETHREADING() CYTHON_COMPILING_IN_CPYTHON_FREETHREADING #define __pyx_atomic_int_type int #define __pyx_nonatomic_int_type int #if CYTHON_ATOMICS && (defined(__STDC_VERSION__) &&\ (__STDC_VERSION__ >= 201112L) &&\ !defined(__STDC_NO_ATOMICS__)) #include #elif CYTHON_ATOMICS && (defined(__cplusplus) && (\ (__cplusplus >= 201103L) ||\ (defined(_MSC_VER) && _MSC_VER >= 1700))) #include #endif #if CYTHON_ATOMICS && (defined(__STDC_VERSION__) &&\ (__STDC_VERSION__ >= 201112L) &&\ !defined(__STDC_NO_ATOMICS__) &&\ ATOMIC_INT_LOCK_FREE == 2) #undef __pyx_atomic_int_type #define __pyx_atomic_int_type atomic_int #define __pyx_atomic_ptr_type atomic_uintptr_t #define __pyx_nonatomic_ptr_type uintptr_t #define __pyx_atomic_incr_relaxed(value) atomic_fetch_add_explicit(value, 1, memory_order_relaxed) #define __pyx_atomic_incr_acq_rel(value) atomic_fetch_add_explicit(value, 1, memory_order_acq_rel) #define __pyx_atomic_decr_acq_rel(value) atomic_fetch_sub_explicit(value, 1, memory_order_acq_rel) #define __pyx_atomic_sub(value, arg) atomic_fetch_sub(value, arg) #define __pyx_atomic_int_cmp_exchange(value, expected, desired) atomic_compare_exchange_strong(value, expected, desired) #define __pyx_atomic_load(value) atomic_load(value) #define __pyx_atomic_store(value, new_value) atomic_store(value, new_value) #define __pyx_atomic_pointer_load_relaxed(value) atomic_load_explicit(value, memory_order_relaxed) #define __pyx_atomic_pointer_load_acquire(value) atomic_load_explicit(value, memory_order_acquire) #define __pyx_atomic_pointer_exchange(value, new_value) atomic_exchange(value, (__pyx_nonatomic_ptr_type)new_value) #if defined(__PYX_DEBUG_ATOMICS) && defined(_MSC_VER) #pragma message ("Using standard C atomics") #elif defined(__PYX_DEBUG_ATOMICS) #warning "Using standard C atomics" #endif #elif CYTHON_ATOMICS && (defined(__cplusplus) && (\ (__cplusplus >= 201103L) ||\ \ (defined(_MSC_VER) && _MSC_VER >= 1700)) &&\ ATOMIC_INT_LOCK_FREE == 2) #undef __pyx_atomic_int_type #define __pyx_atomic_int_type std::atomic_int #define __pyx_atomic_ptr_type std::atomic_uintptr_t #define __pyx_nonatomic_ptr_type uintptr_t #define __pyx_atomic_incr_relaxed(value) std::atomic_fetch_add_explicit(value, 1, std::memory_order_relaxed) #define __pyx_atomic_incr_acq_rel(value) std::atomic_fetch_add_explicit(value, 1, std::memory_order_acq_rel) #define __pyx_atomic_decr_acq_rel(value) std::atomic_fetch_sub_explicit(value, 1, std::memory_order_acq_rel) #define __pyx_atomic_sub(value, arg) std::atomic_fetch_sub(value, arg) #define __pyx_atomic_int_cmp_exchange(value, expected, desired) std::atomic_compare_exchange_strong(value, expected, desired) #define __pyx_atomic_load(value) std::atomic_load(value) #define __pyx_atomic_store(value, new_value) std::atomic_store(value, new_value) #define __pyx_atomic_pointer_load_relaxed(value) std::atomic_load_explicit(value, std::memory_order_relaxed) #define __pyx_atomic_pointer_load_acquire(value) std::atomic_load_explicit(value, std::memory_order_acquire) #define __pyx_atomic_pointer_exchange(value, new_value) std::atomic_exchange(value, (__pyx_nonatomic_ptr_type)new_value) #if defined(__PYX_DEBUG_ATOMICS) && defined(_MSC_VER) #pragma message ("Using standard C++ atomics") #elif defined(__PYX_DEBUG_ATOMICS) #warning "Using standard C++ atomics" #endif #elif CYTHON_ATOMICS && (__GNUC__ >= 5 || (__GNUC__ == 4 &&\ (__GNUC_MINOR__ > 1 ||\ (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 2)))) #define __pyx_atomic_ptr_type void* #define __pyx_atomic_incr_relaxed(value) __sync_fetch_and_add(value, 1) #define __pyx_atomic_incr_acq_rel(value) __sync_fetch_and_add(value, 1) #define __pyx_atomic_decr_acq_rel(value) __sync_fetch_and_sub(value, 1) #define __pyx_atomic_sub(value, arg) __sync_fetch_and_sub(value, arg) static CYTHON_INLINE int __pyx_atomic_int_cmp_exchange(__pyx_atomic_int_type* value, __pyx_nonatomic_int_type* expected, __pyx_nonatomic_int_type desired) { __pyx_nonatomic_int_type old = __sync_val_compare_and_swap(value, *expected, desired); int result = old == *expected; *expected = old; return result; } #define __pyx_atomic_load(value) __sync_fetch_and_add(value, 0) #define __pyx_atomic_store(value, new_value) __sync_lock_test_and_set(value, new_value) #define __pyx_atomic_pointer_load_relaxed(value) __sync_fetch_and_add(value, 0) #define __pyx_atomic_pointer_load_acquire(value) __sync_fetch_and_add(value, 0) #define __pyx_atomic_pointer_exchange(value, new_value) __sync_lock_test_and_set(value, (__pyx_atomic_ptr_type)new_value) #ifdef __PYX_DEBUG_ATOMICS #warning "Using GNU atomics" #endif #elif CYTHON_ATOMICS && defined(_MSC_VER) #include #undef __pyx_atomic_int_type #define __pyx_atomic_int_type long #define __pyx_atomic_ptr_type void* #undef __pyx_nonatomic_int_type #define __pyx_nonatomic_int_type long #pragma intrinsic (_InterlockedExchangeAdd, _InterlockedExchange, _InterlockedCompareExchange, _InterlockedCompareExchangePointer, _InterlockedExchangePointer) #define __pyx_atomic_incr_relaxed(value) _InterlockedExchangeAdd(value, 1) #define __pyx_atomic_incr_acq_rel(value) _InterlockedExchangeAdd(value, 1) #define __pyx_atomic_decr_acq_rel(value) _InterlockedExchangeAdd(value, -1) #define __pyx_atomic_sub(value, arg) _InterlockedExchangeAdd(value, -arg) static CYTHON_INLINE int __pyx_atomic_int_cmp_exchange(__pyx_atomic_int_type* value, __pyx_nonatomic_int_type* expected, __pyx_nonatomic_int_type desired) { __pyx_nonatomic_int_type old = _InterlockedCompareExchange(value, desired, *expected); int result = old == *expected; *expected = old; return result; } #define __pyx_atomic_load(value) _InterlockedExchangeAdd(value, 0) #define __pyx_atomic_store(value, new_value) _InterlockedExchange(value, new_value) #define __pyx_atomic_pointer_load_relaxed(value) *(void * volatile *)value #define __pyx_atomic_pointer_load_acquire(value) _InterlockedCompareExchangePointer(value, 0, 0) #define __pyx_atomic_pointer_exchange(value, new_value) _InterlockedExchangePointer(value, (__pyx_atomic_ptr_type)new_value) #ifdef __PYX_DEBUG_ATOMICS #pragma message ("Using MSVC atomics") #endif #else #undef CYTHON_ATOMICS #define CYTHON_ATOMICS 0 #ifdef __PYX_DEBUG_ATOMICS #warning "Not using atomics" #endif #endif #if CYTHON_ATOMICS #define __pyx_add_acquisition_count(memview)\ __pyx_atomic_incr_relaxed(__pyx_get_slice_count_pointer(memview)) #define __pyx_sub_acquisition_count(memview)\ __pyx_atomic_decr_acq_rel(__pyx_get_slice_count_pointer(memview)) #else #define __pyx_add_acquisition_count(memview)\ __pyx_add_acquisition_count_locked(__pyx_get_slice_count_pointer(memview), memview->lock) #define __pyx_sub_acquisition_count(memview)\ __pyx_sub_acquisition_count_locked(__pyx_get_slice_count_pointer(memview), memview->lock) #endif /* IncludeStructmemberH.proto */ #include /* CriticalSections.proto */ #if !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING #define __Pyx_PyCriticalSection void* #define __Pyx_PyCriticalSection2 void* #define __Pyx_PyCriticalSection_Begin1(cs, arg) (void)cs #define __Pyx_PyCriticalSection_Begin2(cs, arg1, arg2) (void)cs #define __Pyx_PyCriticalSection_End1(cs) #define __Pyx_PyCriticalSection_End2(cs) #else #define __Pyx_PyCriticalSection PyCriticalSection #define __Pyx_PyCriticalSection2 PyCriticalSection2 #define __Pyx_PyCriticalSection_Begin1 PyCriticalSection_Begin #define __Pyx_PyCriticalSection_Begin2 PyCriticalSection2_Begin #define __Pyx_PyCriticalSection_End1 PyCriticalSection_End #define __Pyx_PyCriticalSection_End2 PyCriticalSection2_End #endif #if PY_VERSION_HEX < 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_BEGIN_CRITICAL_SECTION(o) { #define __Pyx_END_CRITICAL_SECTION() } #else #define __Pyx_BEGIN_CRITICAL_SECTION Py_BEGIN_CRITICAL_SECTION #define __Pyx_END_CRITICAL_SECTION Py_END_CRITICAL_SECTION #endif /* #### Code section: numeric_typedefs ### */ /* "cuda/bindings/cydriver.pxd":2602 * ctypedef CUGLmap_flags_enum CUGLmap_flags * * ctypedef unsigned int GLenum # <<<<<<<<<<<<<< * * ctypedef unsigned int GLuint */ typedef unsigned int __pyx_t_4cuda_8bindings_8cydriver_GLenum; /* "cuda/bindings/cydriver.pxd":2604 * ctypedef unsigned int GLenum * * ctypedef unsigned int GLuint # <<<<<<<<<<<<<< * * cdef extern from "": */ typedef unsigned int __pyx_t_4cuda_8bindings_8cydriver_GLuint; /* "cuda/bindings/cydriver.pxd":2616 * ctypedef void* EGLStreamKHR * * ctypedef unsigned int EGLint # <<<<<<<<<<<<<< * * cdef extern from "": */ typedef unsigned int __pyx_t_4cuda_8bindings_8cydriver_EGLint; /* "cuda/bindings/cydriver.pxd":2623 * ctypedef void* EGLSyncKHR * * ctypedef uint32_t VdpDevice # <<<<<<<<<<<<<< * * ctypedef unsigned long long VdpGetProcAddress */ typedef uint32_t __pyx_t_4cuda_8bindings_8cydriver_VdpDevice; /* "cuda/bindings/cydriver.pxd":2625 * ctypedef uint32_t VdpDevice * * ctypedef unsigned long long VdpGetProcAddress # <<<<<<<<<<<<<< * * ctypedef uint32_t VdpVideoSurface */ typedef unsigned PY_LONG_LONG __pyx_t_4cuda_8bindings_8cydriver_VdpGetProcAddress; /* "cuda/bindings/cydriver.pxd":2627 * ctypedef unsigned long long VdpGetProcAddress * * ctypedef uint32_t VdpVideoSurface # <<<<<<<<<<<<<< * * ctypedef uint32_t VdpOutputSurface */ typedef uint32_t __pyx_t_4cuda_8bindings_8cydriver_VdpVideoSurface; /* "cuda/bindings/cydriver.pxd":2629 * ctypedef uint32_t VdpVideoSurface * * ctypedef uint32_t VdpOutputSurface # <<<<<<<<<<<<<< * * cdef CUresult cuGetErrorString(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil */ typedef uint32_t __pyx_t_4cuda_8bindings_8cydriver_VdpOutputSurface; /* #### Code section: complex_type_declarations ### */ /* #### Code section: type_declarations ### */ /*--- Type declarations ---*/ union __pyx_t_4cuda_8bindings_8cydriver_anon_union15; struct __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame_st; /* "cuda/bindings/cydriver.pxd":2429 * ctypedef CUoutput_mode_enum CUoutput_mode * * cdef enum CUeglFrameType_enum: # <<<<<<<<<<<<<< * CU_EGL_FRAME_TYPE_ARRAY = 0 * CU_EGL_FRAME_TYPE_PITCH = 1 */ enum __pyx_t_4cuda_8bindings_8cydriver_CUeglFrameType_enum { __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_FRAME_TYPE_ARRAY = 0, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_FRAME_TYPE_PITCH = 1 }; /* "cuda/bindings/cydriver.pxd":2435 * ctypedef CUeglFrameType_enum CUeglFrameType * * cdef enum CUeglResourceLocationFlags_enum: # <<<<<<<<<<<<<< * CU_EGL_RESOURCE_LOCATION_SYSMEM = 0 * CU_EGL_RESOURCE_LOCATION_VIDMEM = 1 */ enum __pyx_t_4cuda_8bindings_8cydriver_CUeglResourceLocationFlags_enum { __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_RESOURCE_LOCATION_SYSMEM = 0, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_RESOURCE_LOCATION_VIDMEM = 1 }; /* "cuda/bindings/cydriver.pxd":2441 * ctypedef CUeglResourceLocationFlags_enum CUeglResourceLocationFlags * * cdef enum CUeglColorFormat_enum: # <<<<<<<<<<<<<< * CU_EGL_COLOR_FORMAT_YUV420_PLANAR = 0 * CU_EGL_COLOR_FORMAT_YUV420_SEMIPLANAR = 1 */ enum __pyx_t_4cuda_8bindings_8cydriver_CUeglColorFormat_enum { __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_PLANAR = 0, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_SEMIPLANAR = 1, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV422_PLANAR = 2, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV422_SEMIPLANAR = 3, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_RGB = 4, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BGR = 5, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_ARGB = 6, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_RGBA = 7, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_L = 8, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_R = 9, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV444_PLANAR = 10, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV444_SEMIPLANAR = 11, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUYV_422 = 12, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_UYVY_422 = 13, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_ABGR = 14, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BGRA = 15, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_A = 16, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_RG = 17, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_AYUV = 18, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU444_SEMIPLANAR = 19, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU422_SEMIPLANAR = 20, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_SEMIPLANAR = 21, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_444_SEMIPLANAR = 22, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_420_SEMIPLANAR = 23, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12V12U12_444_SEMIPLANAR = 24, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12V12U12_420_SEMIPLANAR = 25, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_VYUY_ER = 26, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_UYVY_ER = 27, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUYV_ER = 28, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVYU_ER = 29, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV_ER = 30, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUVA_ER = 31, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_AYUV_ER = 32, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV444_PLANAR_ER = 33, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV422_PLANAR_ER = 34, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_PLANAR_ER = 35, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV444_SEMIPLANAR_ER = 36, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV422_SEMIPLANAR_ER = 37, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_SEMIPLANAR_ER = 38, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU444_PLANAR_ER = 39, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU422_PLANAR_ER = 40, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_PLANAR_ER = 41, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU444_SEMIPLANAR_ER = 42, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU422_SEMIPLANAR_ER = 43, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_SEMIPLANAR_ER = 44, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_RGGB = 45, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_BGGR = 46, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_GRBG = 47, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_GBRG = 48, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER10_RGGB = 49, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER10_BGGR = 50, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER10_GRBG = 51, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER10_GBRG = 52, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_RGGB = 53, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_BGGR = 54, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_GRBG = 55, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_GBRG = 56, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER14_RGGB = 57, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER14_BGGR = 58, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER14_GRBG = 59, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER14_GBRG = 60, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER20_RGGB = 61, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER20_BGGR = 62, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER20_GRBG = 63, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER20_GBRG = 64, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU444_PLANAR = 65, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU422_PLANAR = 66, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_PLANAR = 67, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_ISP_RGGB = 68, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_ISP_BGGR = 69, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_ISP_GRBG = 70, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_ISP_GBRG = 71, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_BCCR = 72, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_RCCB = 73, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_CRBC = 74, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER_CBRC = 75, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER10_CCCC = 76, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_BCCR = 77, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_RCCB = 78, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_CRBC = 79, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_CBRC = 80, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_BAYER12_CCCC = 81, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y = 82, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_SEMIPLANAR_2020 = 83, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_SEMIPLANAR_2020 = 84, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_PLANAR_2020 = 85, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_PLANAR_2020 = 86, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_SEMIPLANAR_709 = 87, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_SEMIPLANAR_709 = 88, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV420_PLANAR_709 = 89, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVU420_PLANAR_709 = 90, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_420_SEMIPLANAR_709 = 91, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_420_SEMIPLANAR_2020 = 92, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_422_SEMIPLANAR_2020 = 93, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_422_SEMIPLANAR = 94, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_422_SEMIPLANAR_709 = 95, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y_ER = 96, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y_709_ER = 97, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10_ER = 98, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10_709_ER = 99, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12_ER = 0x64, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12_709_ER = 0x65, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUVA = 0x66, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YUV = 0x67, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_YVYU = 0x68, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_VYUY = 0x69, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_420_SEMIPLANAR_ER = 0x6A, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_420_SEMIPLANAR_709_ER = 0x6B, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_444_SEMIPLANAR_ER = 0x6C, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y10V10U10_444_SEMIPLANAR_709_ER = 0x6D, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12V12U12_420_SEMIPLANAR_ER = 0x6E, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12V12U12_420_SEMIPLANAR_709_ER = 0x6F, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12V12U12_444_SEMIPLANAR_ER = 0x70, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_Y12V12U12_444_SEMIPLANAR_709_ER = 0x71, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_UYVY_709 = 0x72, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_UYVY_709_ER = 0x73, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_UYVY_2020 = 0x74, __pyx_e_4cuda_8bindings_8cydriver_CU_EGL_COLOR_FORMAT_MAX = 0x75 }; /* "cuda/bindings/cydriver.pxd":2588 * ctypedef CUeglStreamConnection_st* CUeglStreamConnection * * cdef enum CUGLDeviceList_enum: # <<<<<<<<<<<<<< * CU_GL_DEVICE_LIST_ALL = 1 * CU_GL_DEVICE_LIST_CURRENT_FRAME = 2 */ enum __pyx_t_4cuda_8bindings_8cydriver_CUGLDeviceList_enum { __pyx_e_4cuda_8bindings_8cydriver_CU_GL_DEVICE_LIST_ALL = 1, __pyx_e_4cuda_8bindings_8cydriver_CU_GL_DEVICE_LIST_CURRENT_FRAME = 2, __pyx_e_4cuda_8bindings_8cydriver_CU_GL_DEVICE_LIST_NEXT_FRAME = 3 }; /* "cuda/bindings/cydriver.pxd":2595 * ctypedef CUGLDeviceList_enum CUGLDeviceList * * cdef enum CUGLmap_flags_enum: # <<<<<<<<<<<<<< * CU_GL_MAP_RESOURCE_FLAGS_NONE = 0 * CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 1 */ enum __pyx_t_4cuda_8bindings_8cydriver_CUGLmap_flags_enum { __pyx_e_4cuda_8bindings_8cydriver_CU_GL_MAP_RESOURCE_FLAGS_NONE = 0, __pyx_e_4cuda_8bindings_8cydriver_CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 1, __pyx_e_4cuda_8bindings_8cydriver_CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 2 }; /* "cuda/bindings/cydriver.pxd":3577 * cdef CUresult cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource* pCudaResource, VdpOutputSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil * * cdef enum: CUDA_VERSION = 12090 # <<<<<<<<<<<<<< * * cdef enum: CU_IPC_HANDLE_SIZE = 64 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_VERSION = 0x2F3A }; /* "cuda/bindings/cydriver.pxd":3579 * cdef enum: CUDA_VERSION = 12090 * * cdef enum: CU_IPC_HANDLE_SIZE = 64 # <<<<<<<<<<<<<< * * cdef enum: CU_STREAM_LEGACY = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_IPC_HANDLE_SIZE = 64 }; /* "cuda/bindings/cydriver.pxd":3581 * cdef enum: CU_IPC_HANDLE_SIZE = 64 * * cdef enum: CU_STREAM_LEGACY = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_STREAM_PER_THREAD = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_STREAM_LEGACY = 1 }; /* "cuda/bindings/cydriver.pxd":3583 * cdef enum: CU_STREAM_LEGACY = 1 * * cdef enum: CU_STREAM_PER_THREAD = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_COMPUTE_ACCELERATED_TARGET_BASE = 65536 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_STREAM_PER_THREAD = 2 }; /* "cuda/bindings/cydriver.pxd":3585 * cdef enum: CU_STREAM_PER_THREAD = 2 * * cdef enum: CU_COMPUTE_ACCELERATED_TARGET_BASE = 65536 # <<<<<<<<<<<<<< * * cdef enum: CU_COMPUTE_FAMILY_TARGET_BASE = 131072 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_COMPUTE_ACCELERATED_TARGET_BASE = 0x10000 }; /* "cuda/bindings/cydriver.pxd":3587 * cdef enum: CU_COMPUTE_ACCELERATED_TARGET_BASE = 65536 * * cdef enum: CU_COMPUTE_FAMILY_TARGET_BASE = 131072 # <<<<<<<<<<<<<< * * cdef enum: CU_GRAPH_COND_ASSIGN_DEFAULT = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_COMPUTE_FAMILY_TARGET_BASE = 0x20000 }; /* "cuda/bindings/cydriver.pxd":3589 * cdef enum: CU_COMPUTE_FAMILY_TARGET_BASE = 131072 * * cdef enum: CU_GRAPH_COND_ASSIGN_DEFAULT = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_DEFAULT = 0 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_GRAPH_COND_ASSIGN_DEFAULT = 1 }; /* "cuda/bindings/cydriver.pxd":3591 * cdef enum: CU_GRAPH_COND_ASSIGN_DEFAULT = 1 * * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_DEFAULT = 0 # <<<<<<<<<<<<<< * * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_PROGRAMMATIC = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_GRAPH_KERNEL_NODE_PORT_DEFAULT = 0 }; /* "cuda/bindings/cydriver.pxd":3593 * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_DEFAULT = 0 * * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_PROGRAMMATIC = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_LAUNCH_ORDER = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_GRAPH_KERNEL_NODE_PORT_PROGRAMMATIC = 1 }; /* "cuda/bindings/cydriver.pxd":3595 * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_PROGRAMMATIC = 1 * * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_LAUNCH_ORDER = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_GRAPH_KERNEL_NODE_PORT_LAUNCH_ORDER = 2 }; /* "cuda/bindings/cydriver.pxd":3597 * cdef enum: CU_GRAPH_KERNEL_NODE_PORT_LAUNCH_ORDER = 2 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_COOPERATIVE = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 }; /* "cuda/bindings/cydriver.pxd":3599 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_COOPERATIVE = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_DIMENSION = 4 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_COOPERATIVE = 2 }; /* "cuda/bindings/cydriver.pxd":3601 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_COOPERATIVE = 2 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_DIMENSION = 4 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = 5 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_DIMENSION = 4 }; /* "cuda/bindings/cydriver.pxd":3603 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_DIMENSION = 4 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = 5 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PRIORITY = 8 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = 5 }; /* "cuda/bindings/cydriver.pxd":3605 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = 5 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PRIORITY = 8 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_PRIORITY = 8 }; /* "cuda/bindings/cydriver.pxd":3607 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PRIORITY = 8 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 }; /* "cuda/bindings/cydriver.pxd":3609 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION = 11 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 }; /* "cuda/bindings/cydriver.pxd":3611 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION = 11 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE = 13 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION = 11 }; /* "cuda/bindings/cydriver.pxd":3613 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION = 11 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE = 13 # <<<<<<<<<<<<<< * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = 14 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE = 13 }; /* "cuda/bindings/cydriver.pxd":3615 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE = 13 * * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = 14 # <<<<<<<<<<<<<< * * cdef enum: CU_STREAM_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = 14 }; /* "cuda/bindings/cydriver.pxd":3617 * cdef enum: CU_KERNEL_NODE_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = 14 * * cdef enum: CU_STREAM_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_STREAM_ATTRIBUTE_SYNCHRONIZATION_POLICY = 3 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_STREAM_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 }; /* "cuda/bindings/cydriver.pxd":3619 * cdef enum: CU_STREAM_ATTRIBUTE_ACCESS_POLICY_WINDOW = 1 * * cdef enum: CU_STREAM_ATTRIBUTE_SYNCHRONIZATION_POLICY = 3 # <<<<<<<<<<<<<< * * cdef enum: CU_STREAM_ATTRIBUTE_PRIORITY = 8 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_STREAM_ATTRIBUTE_SYNCHRONIZATION_POLICY = 3 }; /* "cuda/bindings/cydriver.pxd":3621 * cdef enum: CU_STREAM_ATTRIBUTE_SYNCHRONIZATION_POLICY = 3 * * cdef enum: CU_STREAM_ATTRIBUTE_PRIORITY = 8 # <<<<<<<<<<<<<< * * cdef enum: CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_STREAM_ATTRIBUTE_PRIORITY = 8 }; /* "cuda/bindings/cydriver.pxd":3623 * cdef enum: CU_STREAM_ATTRIBUTE_PRIORITY = 8 * * cdef enum: CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 # <<<<<<<<<<<<<< * * cdef enum: CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 }; /* "cuda/bindings/cydriver.pxd":3625 * cdef enum: CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = 9 * * cdef enum: CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 # <<<<<<<<<<<<<< * * cdef enum: CU_MEMHOSTALLOC_PORTABLE = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 }; /* "cuda/bindings/cydriver.pxd":3627 * cdef enum: CU_STREAM_ATTRIBUTE_MEM_SYNC_DOMAIN = 10 * * cdef enum: CU_MEMHOSTALLOC_PORTABLE = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_MEMHOSTALLOC_DEVICEMAP = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEMHOSTALLOC_PORTABLE = 1 }; /* "cuda/bindings/cydriver.pxd":3629 * cdef enum: CU_MEMHOSTALLOC_PORTABLE = 1 * * cdef enum: CU_MEMHOSTALLOC_DEVICEMAP = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_MEMHOSTALLOC_WRITECOMBINED = 4 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEMHOSTALLOC_DEVICEMAP = 2 }; /* "cuda/bindings/cydriver.pxd":3631 * cdef enum: CU_MEMHOSTALLOC_DEVICEMAP = 2 * * cdef enum: CU_MEMHOSTALLOC_WRITECOMBINED = 4 # <<<<<<<<<<<<<< * * cdef enum: CU_MEMHOSTREGISTER_PORTABLE = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEMHOSTALLOC_WRITECOMBINED = 4 }; /* "cuda/bindings/cydriver.pxd":3633 * cdef enum: CU_MEMHOSTALLOC_WRITECOMBINED = 4 * * cdef enum: CU_MEMHOSTREGISTER_PORTABLE = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_MEMHOSTREGISTER_DEVICEMAP = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEMHOSTREGISTER_PORTABLE = 1 }; /* "cuda/bindings/cydriver.pxd":3635 * cdef enum: CU_MEMHOSTREGISTER_PORTABLE = 1 * * cdef enum: CU_MEMHOSTREGISTER_DEVICEMAP = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_MEMHOSTREGISTER_IOMEMORY = 4 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEMHOSTREGISTER_DEVICEMAP = 2 }; /* "cuda/bindings/cydriver.pxd":3637 * cdef enum: CU_MEMHOSTREGISTER_DEVICEMAP = 2 * * cdef enum: CU_MEMHOSTREGISTER_IOMEMORY = 4 # <<<<<<<<<<<<<< * * cdef enum: CU_MEMHOSTREGISTER_READ_ONLY = 8 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEMHOSTREGISTER_IOMEMORY = 4 }; /* "cuda/bindings/cydriver.pxd":3639 * cdef enum: CU_MEMHOSTREGISTER_IOMEMORY = 4 * * cdef enum: CU_MEMHOSTREGISTER_READ_ONLY = 8 # <<<<<<<<<<<<<< * * cdef enum: CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEMHOSTREGISTER_READ_ONLY = 8 }; /* "cuda/bindings/cydriver.pxd":3641 * cdef enum: CU_MEMHOSTREGISTER_READ_ONLY = 8 * * cdef enum: CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_TENSOR_MAP_NUM_QWORDS = 16 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL = 1 }; /* "cuda/bindings/cydriver.pxd":3643 * cdef enum: CU_ARRAY_SPARSE_PROPERTIES_SINGLE_MIPTAIL = 1 * * cdef enum: CU_TENSOR_MAP_NUM_QWORDS = 16 # <<<<<<<<<<<<<< * * cdef enum: CUDA_EXTERNAL_MEMORY_DEDICATED = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_TENSOR_MAP_NUM_QWORDS = 16 }; /* "cuda/bindings/cydriver.pxd":3645 * cdef enum: CU_TENSOR_MAP_NUM_QWORDS = 16 * * cdef enum: CUDA_EXTERNAL_MEMORY_DEDICATED = 1 # <<<<<<<<<<<<<< * * cdef enum: CUDA_EXTERNAL_SEMAPHORE_SIGNAL_SKIP_NVSCIBUF_MEMSYNC = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_EXTERNAL_MEMORY_DEDICATED = 1 }; /* "cuda/bindings/cydriver.pxd":3647 * cdef enum: CUDA_EXTERNAL_MEMORY_DEDICATED = 1 * * cdef enum: CUDA_EXTERNAL_SEMAPHORE_SIGNAL_SKIP_NVSCIBUF_MEMSYNC = 1 # <<<<<<<<<<<<<< * * cdef enum: CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_SKIP_NVSCIBUF_MEMSYNC = 1 }; /* "cuda/bindings/cydriver.pxd":3649 * cdef enum: CUDA_EXTERNAL_SEMAPHORE_SIGNAL_SKIP_NVSCIBUF_MEMSYNC = 1 * * cdef enum: CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC = 2 # <<<<<<<<<<<<<< * * cdef enum: CUDA_NVSCISYNC_ATTR_SIGNAL = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC = 2 }; /* "cuda/bindings/cydriver.pxd":3651 * cdef enum: CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC = 2 * * cdef enum: CUDA_NVSCISYNC_ATTR_SIGNAL = 1 # <<<<<<<<<<<<<< * * cdef enum: CUDA_NVSCISYNC_ATTR_WAIT = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_NVSCISYNC_ATTR_SIGNAL = 1 }; /* "cuda/bindings/cydriver.pxd":3653 * cdef enum: CUDA_NVSCISYNC_ATTR_SIGNAL = 1 * * cdef enum: CUDA_NVSCISYNC_ATTR_WAIT = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_MEM_CREATE_USAGE_TILE_POOL = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_NVSCISYNC_ATTR_WAIT = 2 }; /* "cuda/bindings/cydriver.pxd":3655 * cdef enum: CUDA_NVSCISYNC_ATTR_WAIT = 2 * * cdef enum: CU_MEM_CREATE_USAGE_TILE_POOL = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_MEM_CREATE_USAGE_HW_DECOMPRESS = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEM_CREATE_USAGE_TILE_POOL = 1 }; /* "cuda/bindings/cydriver.pxd":3657 * cdef enum: CU_MEM_CREATE_USAGE_TILE_POOL = 1 * * cdef enum: CU_MEM_CREATE_USAGE_HW_DECOMPRESS = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_MEM_POOL_CREATE_USAGE_HW_DECOMPRESS = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEM_CREATE_USAGE_HW_DECOMPRESS = 2 }; /* "cuda/bindings/cydriver.pxd":3659 * cdef enum: CU_MEM_CREATE_USAGE_HW_DECOMPRESS = 2 * * cdef enum: CU_MEM_POOL_CREATE_USAGE_HW_DECOMPRESS = 2 # <<<<<<<<<<<<<< * * cdef enum: CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_PRE_LAUNCH_SYNC = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_MEM_POOL_CREATE_USAGE_HW_DECOMPRESS = 2 }; /* "cuda/bindings/cydriver.pxd":3661 * cdef enum: CU_MEM_POOL_CREATE_USAGE_HW_DECOMPRESS = 2 * * cdef enum: CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_PRE_LAUNCH_SYNC = 1 # <<<<<<<<<<<<<< * * cdef enum: CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_POST_LAUNCH_SYNC = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_PRE_LAUNCH_SYNC = 1 }; /* "cuda/bindings/cydriver.pxd":3663 * cdef enum: CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_PRE_LAUNCH_SYNC = 1 * * cdef enum: CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_POST_LAUNCH_SYNC = 2 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_LAYERED = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_POST_LAUNCH_SYNC = 2 }; /* "cuda/bindings/cydriver.pxd":3665 * cdef enum: CUDA_COOPERATIVE_LAUNCH_MULTI_DEVICE_NO_POST_LAUNCH_SYNC = 2 * * cdef enum: CUDA_ARRAY3D_LAYERED = 1 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_2DARRAY = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_LAYERED = 1 }; /* "cuda/bindings/cydriver.pxd":3667 * cdef enum: CUDA_ARRAY3D_LAYERED = 1 * * cdef enum: CUDA_ARRAY3D_2DARRAY = 1 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_SURFACE_LDST = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_2DARRAY = 1 }; /* "cuda/bindings/cydriver.pxd":3669 * cdef enum: CUDA_ARRAY3D_2DARRAY = 1 * * cdef enum: CUDA_ARRAY3D_SURFACE_LDST = 2 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_CUBEMAP = 4 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_SURFACE_LDST = 2 }; /* "cuda/bindings/cydriver.pxd":3671 * cdef enum: CUDA_ARRAY3D_SURFACE_LDST = 2 * * cdef enum: CUDA_ARRAY3D_CUBEMAP = 4 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_TEXTURE_GATHER = 8 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_CUBEMAP = 4 }; /* "cuda/bindings/cydriver.pxd":3673 * cdef enum: CUDA_ARRAY3D_CUBEMAP = 4 * * cdef enum: CUDA_ARRAY3D_TEXTURE_GATHER = 8 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_DEPTH_TEXTURE = 16 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_TEXTURE_GATHER = 8 }; /* "cuda/bindings/cydriver.pxd":3675 * cdef enum: CUDA_ARRAY3D_TEXTURE_GATHER = 8 * * cdef enum: CUDA_ARRAY3D_DEPTH_TEXTURE = 16 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_COLOR_ATTACHMENT = 32 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_DEPTH_TEXTURE = 16 }; /* "cuda/bindings/cydriver.pxd":3677 * cdef enum: CUDA_ARRAY3D_DEPTH_TEXTURE = 16 * * cdef enum: CUDA_ARRAY3D_COLOR_ATTACHMENT = 32 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_SPARSE = 64 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_COLOR_ATTACHMENT = 32 }; /* "cuda/bindings/cydriver.pxd":3679 * cdef enum: CUDA_ARRAY3D_COLOR_ATTACHMENT = 32 * * cdef enum: CUDA_ARRAY3D_SPARSE = 64 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_DEFERRED_MAPPING = 128 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_SPARSE = 64 }; /* "cuda/bindings/cydriver.pxd":3681 * cdef enum: CUDA_ARRAY3D_SPARSE = 64 * * cdef enum: CUDA_ARRAY3D_DEFERRED_MAPPING = 128 # <<<<<<<<<<<<<< * * cdef enum: CUDA_ARRAY3D_VIDEO_ENCODE_DECODE = 256 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_DEFERRED_MAPPING = 0x80 }; /* "cuda/bindings/cydriver.pxd":3683 * cdef enum: CUDA_ARRAY3D_DEFERRED_MAPPING = 128 * * cdef enum: CUDA_ARRAY3D_VIDEO_ENCODE_DECODE = 256 # <<<<<<<<<<<<<< * * cdef enum: CU_TRSA_OVERRIDE_FORMAT = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_ARRAY3D_VIDEO_ENCODE_DECODE = 0x100 }; /* "cuda/bindings/cydriver.pxd":3685 * cdef enum: CUDA_ARRAY3D_VIDEO_ENCODE_DECODE = 256 * * cdef enum: CU_TRSA_OVERRIDE_FORMAT = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_TRSF_READ_AS_INTEGER = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_TRSA_OVERRIDE_FORMAT = 1 }; /* "cuda/bindings/cydriver.pxd":3687 * cdef enum: CU_TRSA_OVERRIDE_FORMAT = 1 * * cdef enum: CU_TRSF_READ_AS_INTEGER = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_TRSF_NORMALIZED_COORDINATES = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_TRSF_READ_AS_INTEGER = 1 }; /* "cuda/bindings/cydriver.pxd":3689 * cdef enum: CU_TRSF_READ_AS_INTEGER = 1 * * cdef enum: CU_TRSF_NORMALIZED_COORDINATES = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_TRSF_SRGB = 16 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_TRSF_NORMALIZED_COORDINATES = 2 }; /* "cuda/bindings/cydriver.pxd":3691 * cdef enum: CU_TRSF_NORMALIZED_COORDINATES = 2 * * cdef enum: CU_TRSF_SRGB = 16 # <<<<<<<<<<<<<< * * cdef enum: CU_TRSF_DISABLE_TRILINEAR_OPTIMIZATION = 32 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_TRSF_SRGB = 16 }; /* "cuda/bindings/cydriver.pxd":3693 * cdef enum: CU_TRSF_SRGB = 16 * * cdef enum: CU_TRSF_DISABLE_TRILINEAR_OPTIMIZATION = 32 # <<<<<<<<<<<<<< * * cdef enum: CU_TRSF_SEAMLESS_CUBEMAP = 64 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_TRSF_DISABLE_TRILINEAR_OPTIMIZATION = 32 }; /* "cuda/bindings/cydriver.pxd":3695 * cdef enum: CU_TRSF_DISABLE_TRILINEAR_OPTIMIZATION = 32 * * cdef enum: CU_TRSF_SEAMLESS_CUBEMAP = 64 # <<<<<<<<<<<<<< * * cdef enum: CU_LAUNCH_KERNEL_REQUIRED_BLOCK_DIM = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_TRSF_SEAMLESS_CUBEMAP = 64 }; /* "cuda/bindings/cydriver.pxd":3697 * cdef enum: CU_TRSF_SEAMLESS_CUBEMAP = 64 * * cdef enum: CU_LAUNCH_KERNEL_REQUIRED_BLOCK_DIM = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_LAUNCH_PARAM_END_AS_INT = 0 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_LAUNCH_KERNEL_REQUIRED_BLOCK_DIM = 1 }; /* "cuda/bindings/cydriver.pxd":3699 * cdef enum: CU_LAUNCH_KERNEL_REQUIRED_BLOCK_DIM = 1 * * cdef enum: CU_LAUNCH_PARAM_END_AS_INT = 0 # <<<<<<<<<<<<<< * * cdef enum: CU_LAUNCH_PARAM_END = 0 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_LAUNCH_PARAM_END_AS_INT = 0 }; /* "cuda/bindings/cydriver.pxd":3701 * cdef enum: CU_LAUNCH_PARAM_END_AS_INT = 0 * * cdef enum: CU_LAUNCH_PARAM_END = 0 # <<<<<<<<<<<<<< * * cdef enum: CU_LAUNCH_PARAM_BUFFER_POINTER_AS_INT = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_LAUNCH_PARAM_END = 0 }; /* "cuda/bindings/cydriver.pxd":3703 * cdef enum: CU_LAUNCH_PARAM_END = 0 * * cdef enum: CU_LAUNCH_PARAM_BUFFER_POINTER_AS_INT = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_LAUNCH_PARAM_BUFFER_POINTER = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_LAUNCH_PARAM_BUFFER_POINTER_AS_INT = 1 }; /* "cuda/bindings/cydriver.pxd":3705 * cdef enum: CU_LAUNCH_PARAM_BUFFER_POINTER_AS_INT = 1 * * cdef enum: CU_LAUNCH_PARAM_BUFFER_POINTER = 1 # <<<<<<<<<<<<<< * * cdef enum: CU_LAUNCH_PARAM_BUFFER_SIZE_AS_INT = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_LAUNCH_PARAM_BUFFER_POINTER = 1 }; /* "cuda/bindings/cydriver.pxd":3707 * cdef enum: CU_LAUNCH_PARAM_BUFFER_POINTER = 1 * * cdef enum: CU_LAUNCH_PARAM_BUFFER_SIZE_AS_INT = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_LAUNCH_PARAM_BUFFER_SIZE = 2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_LAUNCH_PARAM_BUFFER_SIZE_AS_INT = 2 }; /* "cuda/bindings/cydriver.pxd":3709 * cdef enum: CU_LAUNCH_PARAM_BUFFER_SIZE_AS_INT = 2 * * cdef enum: CU_LAUNCH_PARAM_BUFFER_SIZE = 2 # <<<<<<<<<<<<<< * * cdef enum: CU_PARAM_TR_DEFAULT = -1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_LAUNCH_PARAM_BUFFER_SIZE = 2 }; /* "cuda/bindings/cydriver.pxd":3711 * cdef enum: CU_LAUNCH_PARAM_BUFFER_SIZE = 2 * * cdef enum: CU_PARAM_TR_DEFAULT = -1 # <<<<<<<<<<<<<< * * cdef enum: CU_DEVICE_CPU = -1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_PARAM_TR_DEFAULT = -1L }; /* "cuda/bindings/cydriver.pxd":3713 * cdef enum: CU_PARAM_TR_DEFAULT = -1 * * cdef enum: CU_DEVICE_CPU = -1 # <<<<<<<<<<<<<< * * cdef enum: CU_DEVICE_INVALID = -2 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_DEVICE_CPU = -1L }; /* "cuda/bindings/cydriver.pxd":3715 * cdef enum: CU_DEVICE_CPU = -1 * * cdef enum: CU_DEVICE_INVALID = -2 # <<<<<<<<<<<<<< * * cdef enum: RESOURCE_ABI_VERSION = 1 */ enum { __pyx_e_4cuda_8bindings_8cydriver_CU_DEVICE_INVALID = -2L }; /* "cuda/bindings/cydriver.pxd":3717 * cdef enum: CU_DEVICE_INVALID = -2 * * cdef enum: RESOURCE_ABI_VERSION = 1 # <<<<<<<<<<<<<< * * cdef enum: RESOURCE_ABI_EXTERNAL_BYTES = 48 */ enum { __pyx_e_4cuda_8bindings_8cydriver_RESOURCE_ABI_VERSION = 1 }; /* "cuda/bindings/cydriver.pxd":3719 * cdef enum: RESOURCE_ABI_VERSION = 1 * * cdef enum: RESOURCE_ABI_EXTERNAL_BYTES = 48 # <<<<<<<<<<<<<< * * cdef enum: MAX_PLANES = 3 */ enum { __pyx_e_4cuda_8bindings_8cydriver_RESOURCE_ABI_EXTERNAL_BYTES = 48 }; /* "cuda/bindings/cydriver.pxd":3721 * cdef enum: RESOURCE_ABI_EXTERNAL_BYTES = 48 * * cdef enum: MAX_PLANES = 3 # <<<<<<<<<<<<<< * * cdef enum: CUDA_EGL_INFINITE_TIMEOUT = 4294967295 */ enum { __pyx_e_4cuda_8bindings_8cydriver_MAX_PLANES = 3 }; /* "cuda/bindings/cydriver.pxd":3723 * cdef enum: MAX_PLANES = 3 * * cdef enum: CUDA_EGL_INFINITE_TIMEOUT = 4294967295 # <<<<<<<<<<<<<< */ enum { __pyx_e_4cuda_8bindings_8cydriver_CUDA_EGL_INFINITE_TIMEOUT = 0xFFFFFFFF }; /* "cuda/bindings/cydriver.pxd":2433 * CU_EGL_FRAME_TYPE_PITCH = 1 * * ctypedef CUeglFrameType_enum CUeglFrameType # <<<<<<<<<<<<<< * * cdef enum CUeglResourceLocationFlags_enum: */ typedef enum __pyx_t_4cuda_8bindings_8cydriver_CUeglFrameType_enum __pyx_t_4cuda_8bindings_8cydriver_CUeglFrameType; /* "cuda/bindings/cydriver.pxd":2439 * CU_EGL_RESOURCE_LOCATION_VIDMEM = 1 * * ctypedef CUeglResourceLocationFlags_enum CUeglResourceLocationFlags # <<<<<<<<<<<<<< * * cdef enum CUeglColorFormat_enum: */ typedef enum __pyx_t_4cuda_8bindings_8cydriver_CUeglResourceLocationFlags_enum __pyx_t_4cuda_8bindings_8cydriver_CUeglResourceLocationFlags; /* "cuda/bindings/cydriver.pxd":2561 * CU_EGL_COLOR_FORMAT_MAX = 117 * * ctypedef CUeglColorFormat_enum CUeglColorFormat # <<<<<<<<<<<<<< * * cdef union anon_union15: */ typedef enum __pyx_t_4cuda_8bindings_8cydriver_CUeglColorFormat_enum __pyx_t_4cuda_8bindings_8cydriver_CUeglColorFormat; /* "cuda/bindings/cydriver.pxd":2563 * ctypedef CUeglColorFormat_enum CUeglColorFormat * * cdef union anon_union15: # <<<<<<<<<<<<<< * CUarray pArray[3] * void* pPitch[3] */ union __pyx_t_4cuda_8bindings_8cydriver_anon_union15 { CUarray pArray[3]; void *pPitch[3]; }; /* "cuda/bindings/cydriver.pxd":2567 * void* pPitch[3] * * cdef struct CUeglFrame_st: # <<<<<<<<<<<<<< * anon_union15 frame * unsigned int width */ struct __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame_st { union __pyx_t_4cuda_8bindings_8cydriver_anon_union15 frame; unsigned int width; unsigned int height; unsigned int depth; unsigned int pitch; unsigned int planeCount; unsigned int numChannels; __pyx_t_4cuda_8bindings_8cydriver_CUeglFrameType frameType; __pyx_t_4cuda_8bindings_8cydriver_CUeglColorFormat eglColorFormat; CUarray_format cuFormat; }; /* "cuda/bindings/cydriver.pxd":2579 * CUarray_format cuFormat * * ctypedef CUeglFrame_st CUeglFrame_v1 # <<<<<<<<<<<<<< * * ctypedef CUeglFrame_v1 CUeglFrame */ typedef struct __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame_st __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame_v1; /* "cuda/bindings/cydriver.pxd":2581 * ctypedef CUeglFrame_st CUeglFrame_v1 * * ctypedef CUeglFrame_v1 CUeglFrame # <<<<<<<<<<<<<< * * cdef extern from "": */ typedef __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame_v1 __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame; /* "cuda/bindings/cydriver.pxd":2586 * cdef struct CUeglStreamConnection_st: * pass * ctypedef CUeglStreamConnection_st* CUeglStreamConnection # <<<<<<<<<<<<<< * * cdef enum CUGLDeviceList_enum: */ typedef struct CUeglStreamConnection_st *__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection; /* "cuda/bindings/cydriver.pxd":2593 * CU_GL_DEVICE_LIST_NEXT_FRAME = 3 * * ctypedef CUGLDeviceList_enum CUGLDeviceList # <<<<<<<<<<<<<< * * cdef enum CUGLmap_flags_enum: */ typedef enum __pyx_t_4cuda_8bindings_8cydriver_CUGLDeviceList_enum __pyx_t_4cuda_8bindings_8cydriver_CUGLDeviceList; /* "cuda/bindings/cydriver.pxd":2600 * CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 2 * * ctypedef CUGLmap_flags_enum CUGLmap_flags # <<<<<<<<<<<<<< * * ctypedef unsigned int GLenum */ typedef enum __pyx_t_4cuda_8bindings_8cydriver_CUGLmap_flags_enum __pyx_t_4cuda_8bindings_8cydriver_CUGLmap_flags; /* "cuda/bindings/cydriver.pxd":2609 * cdef struct void: * pass * ctypedef void* EGLImageKHR # <<<<<<<<<<<<<< * * cdef extern from "": */ typedef void *__pyx_t_4cuda_8bindings_8cydriver_EGLImageKHR; /* "cuda/bindings/cydriver.pxd":2614 * cdef struct void: * pass * ctypedef void* EGLStreamKHR # <<<<<<<<<<<<<< * * ctypedef unsigned int EGLint */ typedef void *__pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR; /* "cuda/bindings/cydriver.pxd":2621 * cdef struct void: * pass * ctypedef void* EGLSyncKHR # <<<<<<<<<<<<<< * * ctypedef uint32_t VdpDevice */ typedef void *__pyx_t_4cuda_8bindings_8cydriver_EGLSyncKHR; /* "cuda/bindings/_bindings/cydriver.pyx":489 * * # To make cuPythonInit reentrant * ctypedef CUresult (*__cuGetProcAddress_v2_T)(const char*, void**, int, cuuint64_t, CUdriverProcAddressQueryResult*) except?CUDA_ERROR_NOT_FOUND nogil # <<<<<<<<<<<<<< * cdef __cuGetProcAddress_v2_T _F_cuGetProcAddress_v2 = NULL * */ typedef CUresult (*__pyx_t_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2_T)(char const *, void **, int, cuuint64_t, CUdriverProcAddressQueryResult *); /* #### Code section: utility_code_proto ### */ /* --- Runtime support code (head) --- */ /* Refnanny.proto */ #ifndef CYTHON_REFNANNY #define CYTHON_REFNANNY 0 #endif #if CYTHON_REFNANNY typedef struct { void (*INCREF)(void*, PyObject*, Py_ssize_t); void (*DECREF)(void*, PyObject*, Py_ssize_t); void (*GOTREF)(void*, PyObject*, Py_ssize_t); void (*GIVEREF)(void*, PyObject*, Py_ssize_t); void* (*SetupContext)(const char*, Py_ssize_t, const char*); void (*FinishContext)(void**); } __Pyx_RefNannyAPIStruct; static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL; static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname); #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL; #define __Pyx_RefNannySetupContext(name, acquire_gil)\ if (acquire_gil) {\ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\ __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), (__LINE__), (__FILE__));\ PyGILState_Release(__pyx_gilstate_save);\ } else {\ __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), (__LINE__), (__FILE__));\ } #define __Pyx_RefNannyFinishContextNogil() {\ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\ __Pyx_RefNannyFinishContext();\ PyGILState_Release(__pyx_gilstate_save);\ } #define __Pyx_RefNannyFinishContextNogil() {\ PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\ __Pyx_RefNannyFinishContext();\ PyGILState_Release(__pyx_gilstate_save);\ } #define __Pyx_RefNannyFinishContext()\ __Pyx_RefNanny->FinishContext(&__pyx_refnanny) #define __Pyx_INCREF(r) __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) #define __Pyx_DECREF(r) __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) #define __Pyx_GOTREF(r) __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) #define __Pyx_XINCREF(r) do { if((r) == NULL); else {__Pyx_INCREF(r); }} while(0) #define __Pyx_XDECREF(r) do { if((r) == NULL); else {__Pyx_DECREF(r); }} while(0) #define __Pyx_XGOTREF(r) do { if((r) == NULL); else {__Pyx_GOTREF(r); }} while(0) #define __Pyx_XGIVEREF(r) do { if((r) == NULL); else {__Pyx_GIVEREF(r);}} while(0) #else #define __Pyx_RefNannyDeclarations #define __Pyx_RefNannySetupContext(name, acquire_gil) #define __Pyx_RefNannyFinishContextNogil() #define __Pyx_RefNannyFinishContext() #define __Pyx_INCREF(r) Py_INCREF(r) #define __Pyx_DECREF(r) Py_DECREF(r) #define __Pyx_GOTREF(r) #define __Pyx_GIVEREF(r) #define __Pyx_XINCREF(r) Py_XINCREF(r) #define __Pyx_XDECREF(r) Py_XDECREF(r) #define __Pyx_XGOTREF(r) #define __Pyx_XGIVEREF(r) #endif #define __Pyx_Py_XDECREF_SET(r, v) do {\ PyObject *tmp = (PyObject *) r;\ r = v; Py_XDECREF(tmp);\ } while (0) #define __Pyx_XDECREF_SET(r, v) do {\ PyObject *tmp = (PyObject *) r;\ r = v; __Pyx_XDECREF(tmp);\ } while (0) #define __Pyx_DECREF_SET(r, v) do {\ PyObject *tmp = (PyObject *) r;\ r = v; __Pyx_DECREF(tmp);\ } while (0) #define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0) #define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0) /* PyErrExceptionMatches.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err) static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err); #else #define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err) #endif /* PyThreadStateGet.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate; #define __Pyx_PyThreadState_assign __pyx_tstate = __Pyx_PyThreadState_Current; #if PY_VERSION_HEX >= 0x030C00A6 #define __Pyx_PyErr_Occurred() (__pyx_tstate->current_exception != NULL) #define __Pyx_PyErr_CurrentExceptionType() (__pyx_tstate->current_exception ? (PyObject*) Py_TYPE(__pyx_tstate->current_exception) : (PyObject*) NULL) #else #define __Pyx_PyErr_Occurred() (__pyx_tstate->curexc_type != NULL) #define __Pyx_PyErr_CurrentExceptionType() (__pyx_tstate->curexc_type) #endif #else #define __Pyx_PyThreadState_declare #define __Pyx_PyThreadState_assign #define __Pyx_PyErr_Occurred() (PyErr_Occurred() != NULL) #define __Pyx_PyErr_CurrentExceptionType() PyErr_Occurred() #endif /* PyErrFetchRestore.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL) #define __Pyx_ErrRestoreWithState(type, value, tb) __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb) #define __Pyx_ErrFetchWithState(type, value, tb) __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb) #define __Pyx_ErrRestore(type, value, tb) __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb) #define __Pyx_ErrFetch(type, value, tb) __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb) static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb); static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A6 #define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL)) #else #define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) #endif #else #define __Pyx_PyErr_Clear() PyErr_Clear() #define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) #define __Pyx_ErrRestoreWithState(type, value, tb) PyErr_Restore(type, value, tb) #define __Pyx_ErrFetchWithState(type, value, tb) PyErr_Fetch(type, value, tb) #define __Pyx_ErrRestoreInState(tstate, type, value, tb) PyErr_Restore(type, value, tb) #define __Pyx_ErrFetchInState(tstate, type, value, tb) PyErr_Fetch(type, value, tb) #define __Pyx_ErrRestore(type, value, tb) PyErr_Restore(type, value, tb) #define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb) #endif /* PyObjectGetAttrStr.proto */ #if CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name); #else #define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n) #endif /* PyObjectGetAttrStrNoError.proto */ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name); /* GetBuiltinName.proto */ static PyObject *__Pyx_GetBuiltinName(PyObject *name); /* PyObjectLookupSpecial.proto */ #if CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS #define __Pyx_PyObject_LookupSpecialNoError(obj, attr_name) __Pyx__PyObject_LookupSpecial(obj, attr_name, 0) #define __Pyx_PyObject_LookupSpecial(obj, attr_name) __Pyx__PyObject_LookupSpecial(obj, attr_name, 1) static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyObject* attr_name, int with_error); #else #define __Pyx_PyObject_LookupSpecialNoError(o,n) __Pyx_PyObject_GetAttrStrNoError(o,n) #define __Pyx_PyObject_LookupSpecial(o,n) __Pyx_PyObject_GetAttrStr(o,n) #endif /* PyFunctionFastCall.proto */ #if CYTHON_FAST_PYCALL #if !CYTHON_VECTORCALL #define __Pyx_PyFunction_FastCall(func, args, nargs)\ __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL) static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject *const *args, Py_ssize_t nargs, PyObject *kwargs); #endif #define __Pyx_BUILD_ASSERT_EXPR(cond)\ (sizeof(char [1 - 2*!(cond)]) - 1) #ifndef Py_MEMBER_SIZE #define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member) #endif #if !CYTHON_VECTORCALL #if PY_VERSION_HEX >= 0x03080000 #include "frameobject.h" #define __Pxy_PyFrame_Initialize_Offsets() #define __Pyx_PyFrame_GetLocalsplus(frame) ((frame)->f_localsplus) #else static size_t __pyx_pyframe_localsplus_offset = 0; #include "frameobject.h" #define __Pxy_PyFrame_Initialize_Offsets()\ ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\ (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus))) #define __Pyx_PyFrame_GetLocalsplus(frame)\ (assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset)) #endif #endif #endif /* PyObjectCall.proto */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw); #else #define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw) #endif /* PyObjectCallMethO.proto */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg); #endif /* PyObjectFastCall.proto */ #define __Pyx_PyObject_FastCall(func, args, nargs) __Pyx_PyObject_FastCallDict(func, args, (size_t)(nargs), NULL) static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs); /* PyDictVersioning.proto */ #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS #define __PYX_DICT_VERSION_INIT ((PY_UINT64_T) -1) #define __PYX_GET_DICT_VERSION(dict) (((PyDictObject*)(dict))->ma_version_tag) #define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)\ (version_var) = __PYX_GET_DICT_VERSION(dict);\ (cache_var) = (value); #define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) {\ static PY_UINT64_T __pyx_dict_version = 0;\ static PyObject *__pyx_dict_cached_value = NULL;\ if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\ (VAR) = __pyx_dict_cached_value;\ } else {\ (VAR) = __pyx_dict_cached_value = (LOOKUP);\ __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\ }\ } static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj); static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj); static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version); #else #define __PYX_GET_DICT_VERSION(dict) (0) #define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var) #define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) (VAR) = (LOOKUP); #endif /* GetModuleGlobalName.proto */ #if CYTHON_USE_DICT_VERSIONS #define __Pyx_GetModuleGlobalName(var, name) do {\ static PY_UINT64_T __pyx_dict_version = 0;\ static PyObject *__pyx_dict_cached_value = NULL;\ (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_mstate_global->__pyx_d))) ?\ (likely(__pyx_dict_cached_value) ? __Pyx_NewRef(__pyx_dict_cached_value) : __Pyx_GetBuiltinName(name)) :\ __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\ } while(0) #define __Pyx_GetModuleGlobalNameUncached(var, name) do {\ PY_UINT64_T __pyx_dict_version;\ PyObject *__pyx_dict_cached_value;\ (var) = __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\ } while(0) static PyObject *__Pyx__GetModuleGlobalName(PyObject *name, PY_UINT64_T *dict_version, PyObject **dict_cached_value); #else #define __Pyx_GetModuleGlobalName(var, name) (var) = __Pyx__GetModuleGlobalName(name) #define __Pyx_GetModuleGlobalNameUncached(var, name) (var) = __Pyx__GetModuleGlobalName(name) static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name); #endif /* PyObjectVectorCallKwBuilder.proto */ CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n); #if CYTHON_VECTORCALL #if PY_VERSION_HEX >= 0x03090000 #define __Pyx_Object_Vectorcall_CallFromBuilder PyObject_Vectorcall #else #define __Pyx_Object_Vectorcall_CallFromBuilder _PyObject_Vectorcall #endif #define __Pyx_MakeVectorcallBuilderKwds(n) PyTuple_New(n) static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n); static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n); #else #define __Pyx_Object_Vectorcall_CallFromBuilder __Pyx_PyObject_FastCallDict #define __Pyx_MakeVectorcallBuilderKwds(n) __Pyx_PyDict_NewPresized(n) #define __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n) PyDict_SetItem(builder, key, value) #define __Pyx_VectorcallBuilder_AddArgStr(key, value, builder, args, n) PyDict_SetItemString(builder, key, value) #endif /* IncludeStringH.proto */ #include /* decode_c_string_utf16.proto */ static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16(const char *s, Py_ssize_t size, const char *errors) { int byteorder = 0; return PyUnicode_DecodeUTF16(s, size, errors, &byteorder); } static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16LE(const char *s, Py_ssize_t size, const char *errors) { int byteorder = -1; return PyUnicode_DecodeUTF16(s, size, errors, &byteorder); } static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16BE(const char *s, Py_ssize_t size, const char *errors) { int byteorder = 1; return PyUnicode_DecodeUTF16(s, size, errors, &byteorder); } /* decode_c_string.proto */ static CYTHON_INLINE PyObject* __Pyx_decode_c_string( const char* cstring, Py_ssize_t start, Py_ssize_t stop, const char* encoding, const char* errors, PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors)); /* RaiseException.proto */ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); /* GetTopmostException.proto */ #if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate); #endif /* SaveResetException.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_ExceptionSave(type, value, tb) __Pyx__ExceptionSave(__pyx_tstate, type, value, tb) static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); #define __Pyx_ExceptionReset(type, value, tb) __Pyx__ExceptionReset(__pyx_tstate, type, value, tb) static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb); #else #define __Pyx_ExceptionSave(type, value, tb) PyErr_GetExcInfo(type, value, tb) #define __Pyx_ExceptionReset(type, value, tb) PyErr_SetExcInfo(type, value, tb) #endif /* GetException.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_GetException(type, value, tb) __Pyx__GetException(__pyx_tstate, type, value, tb) static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); #else static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); #endif /* ErrOccurredWithGIL.proto */ static CYTHON_INLINE int __Pyx_ErrOccurredWithGIL(void); /* TupleAndListFromArray.proto */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject* __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n); #endif #if CYTHON_COMPILING_IN_CPYTHON || CYTHON_METH_FASTCALL static CYTHON_INLINE PyObject* __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n); #endif /* BytesEquals.proto */ static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals); /* UnicodeEquals.proto */ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals); /* fastcall.proto */ #if CYTHON_AVOID_BORROWED_REFS #define __Pyx_ArgRef_VARARGS(args, i) __Pyx_PySequence_ITEM(args, i) #elif CYTHON_ASSUME_SAFE_MACROS #define __Pyx_ArgRef_VARARGS(args, i) __Pyx_NewRef(__Pyx_PyTuple_GET_ITEM(args, i)) #else #define __Pyx_ArgRef_VARARGS(args, i) __Pyx_XNewRef(PyTuple_GetItem(args, i)) #endif #define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds) #define __Pyx_KwValues_VARARGS(args, nargs) NULL #define __Pyx_GetKwValue_VARARGS(kw, kwvalues, s) __Pyx_PyDict_GetItemStrWithError(kw, s) #define __Pyx_KwargsAsDict_VARARGS(kw, kwvalues) PyDict_Copy(kw) #if CYTHON_METH_FASTCALL #define __Pyx_ArgRef_FASTCALL(args, i) __Pyx_NewRef(args[i]) #define __Pyx_NumKwargs_FASTCALL(kwds) __Pyx_PyTuple_GET_SIZE(kwds) #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs)) static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues); #else #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw) #endif #else #define __Pyx_ArgRef_FASTCALL __Pyx_ArgRef_VARARGS #define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS #define __Pyx_KwValues_FASTCALL __Pyx_KwValues_VARARGS #define __Pyx_GetKwValue_FASTCALL __Pyx_GetKwValue_VARARGS #define __Pyx_KwargsAsDict_FASTCALL __Pyx_KwargsAsDict_VARARGS #endif #define __Pyx_ArgsSlice_VARARGS(args, start, stop) PyTuple_GetSlice(args, start, stop) #if CYTHON_METH_FASTCALL || (CYTHON_COMPILING_IN_CPYTHON && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS) #define __Pyx_ArgsSlice_FASTCALL(args, start, stop) __Pyx_PyTuple_FromArray(args + start, stop - start) #else #define __Pyx_ArgsSlice_FASTCALL(args, start, stop) PyTuple_GetSlice(args, start, stop) #endif /* DictGetItem.proto */ #if !CYTHON_COMPILING_IN_PYPY static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key); #define __Pyx_PyObject_Dict_GetItem(obj, name)\ (likely(PyDict_CheckExact(obj)) ?\ __Pyx_PyDict_GetItem(obj, name) : PyObject_GetItem(obj, name)) #else #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key) #define __Pyx_PyObject_Dict_GetItem(obj, name) PyObject_GetItem(obj, name) #endif /* RaiseDoubleKeywords.proto */ static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name); /* ParseKeywords.proto */ static CYTHON_INLINE int __Pyx_ParseKeywords( PyObject *kwds, PyObject *const *kwvalues, PyObject ** const argnames[], PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, Py_ssize_t num_kwargs, const char* function_name, int ignore_unknown_kwargs ); /* CallCFunction.proto */ #define __Pyx_CallCFunction(cfunc, self, args)\ ((PyCFunction)(void(*)(void))(cfunc)->func)(self, args) #define __Pyx_CallCFunctionWithKeywords(cfunc, self, args, kwargs)\ ((PyCFunctionWithKeywords)(void(*)(void))(cfunc)->func)(self, args, kwargs) #define __Pyx_CallCFunctionFast(cfunc, self, args, nargs)\ ((__Pyx_PyCFunctionFast)(void(*)(void))(PyCFunction)(cfunc)->func)(self, args, nargs) #define __Pyx_CallCFunctionFastWithKeywords(cfunc, self, args, nargs, kwnames)\ ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))(PyCFunction)(cfunc)->func)(self, args, nargs, kwnames) /* UnpackUnboundCMethod.proto */ typedef struct { PyObject *type; PyObject **method_name; #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && CYTHON_ATOMICS __pyx_atomic_int_type initialized; #endif PyCFunction func; PyObject *method; int flag; } __Pyx_CachedCFunction; #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING static CYTHON_INLINE int __Pyx_CachedCFunction_GetAndSetInitializing(__Pyx_CachedCFunction *cfunc) { #if !CYTHON_ATOMICS return 1; #else __pyx_nonatomic_int_type expected = 0; if (__pyx_atomic_int_cmp_exchange(&cfunc->initialized, &expected, 1)) { return 0; } return expected; #endif } static CYTHON_INLINE void __Pyx_CachedCFunction_SetFinishedInitializing(__Pyx_CachedCFunction *cfunc) { #if CYTHON_ATOMICS __pyx_atomic_store(&cfunc->initialized, 2); #endif } #else #define __Pyx_CachedCFunction_GetAndSetInitializing(cfunc) 2 #define __Pyx_CachedCFunction_SetFinishedInitializing(cfunc) #endif /* CallUnboundCMethod2.proto */ CYTHON_UNUSED static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2); #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2); #else #define __Pyx_CallUnboundCMethod2(cfunc, self, arg1, arg2) __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2) #endif /* RaiseArgTupleInvalid.proto */ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact, Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /* ArgTypeTest.proto */ #define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\ ((likely(__Pyx_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) ? 1 :\ __Pyx__ArgTypeTest(obj, type, name, exact)) static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact); /* Import.proto */ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level); /* ImportDottedModule.proto */ static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple); static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple); /* LimitedApiGetTypeDict.proto */ #if CYTHON_COMPILING_IN_LIMITED_API static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp); #endif /* SetItemOnTypeDict.proto */ static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v); #define __Pyx_SetItemOnTypeDict(tp, k, v) __Pyx__SetItemOnTypeDict((PyTypeObject*)tp, k, v) /* FixUpExtensionType.proto */ static CYTHON_INLINE int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type); /* FetchSharedCythonModule.proto */ static PyObject *__Pyx_FetchSharedCythonABIModule(void); /* dict_setdefault.proto */ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value, int is_safe_type); /* FetchCommonType.proto */ static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases); /* CommonTypesMetaclass.proto */ static int __pyx_CommonTypesMetaclass_init(PyObject *module); #define __Pyx_CommonTypesMetaclass_USED /* CallTypeTraverse.proto */ #if !CYTHON_USE_TYPE_SPECS || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x03090000) #define __Pyx_call_type_traverse(o, always_call, visit, arg) 0 #else static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg); #endif /* PyMethodNew.proto */ static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ); /* PyVectorcallFastCallDict.proto */ #if CYTHON_METH_FASTCALL && (CYTHON_VECTORCALL || CYTHON_BACKPORT_VECTORCALL) static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw); #endif /* CythonFunctionShared.proto */ #define __Pyx_CyFunction_USED #define __Pyx_CYFUNCTION_STATICMETHOD 0x01 #define __Pyx_CYFUNCTION_CLASSMETHOD 0x02 #define __Pyx_CYFUNCTION_CCLASS 0x04 #define __Pyx_CYFUNCTION_COROUTINE 0x08 #define __Pyx_CyFunction_GetClosure(f)\ (((__pyx_CyFunctionObject *) (f))->func_closure) #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_CyFunction_GetClassObj(f)\ (((__pyx_CyFunctionObject *) (f))->func_classobj) #else #define __Pyx_CyFunction_GetClassObj(f)\ ((PyObject*) ((PyCMethodObject *) (f))->mm_class) #endif #define __Pyx_CyFunction_SetClassObj(f, classobj)\ __Pyx__CyFunction_SetClassObj((__pyx_CyFunctionObject *) (f), (classobj)) #define __Pyx_CyFunction_Defaults(type, f)\ ((type *)(((__pyx_CyFunctionObject *) (f))->defaults)) #define __Pyx_CyFunction_SetDefaultsGetter(f, g)\ ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g) typedef struct { #if CYTHON_COMPILING_IN_LIMITED_API PyObject_HEAD PyObject *func; #elif PY_VERSION_HEX < 0x030900B1 PyCFunctionObject func; #else PyCMethodObject func; #endif #if CYTHON_BACKPORT_VECTORCALL ||\ (CYTHON_COMPILING_IN_LIMITED_API && CYTHON_METH_FASTCALL) __pyx_vectorcallfunc func_vectorcall; #endif #if CYTHON_COMPILING_IN_LIMITED_API PyObject *func_weakreflist; #endif PyObject *func_dict; PyObject *func_name; PyObject *func_qualname; PyObject *func_doc; PyObject *func_globals; PyObject *func_code; PyObject *func_closure; #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API PyObject *func_classobj; #endif PyObject *defaults; int flags; PyObject *defaults_tuple; PyObject *defaults_kwdict; PyObject *(*defaults_getter)(PyObject *); PyObject *func_annotations; PyObject *func_is_coroutine; } __pyx_CyFunctionObject; #undef __Pyx_CyOrPyCFunction_Check #define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_mstate_global->__pyx_CyFunctionType) #define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_mstate_global->__pyx_CyFunctionType, &PyCFunction_Type) #define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_mstate_global->__pyx_CyFunctionType) static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)); #undef __Pyx_IsSameCFunction #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc) static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject *globals, PyObject* code); static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj); static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type); static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m, PyObject *tuple); static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m, PyObject *dict); static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m, PyObject *dict); static int __pyx_CyFunction_init(PyObject *module); #if CYTHON_METH_FASTCALL static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); #if CYTHON_BACKPORT_VECTORCALL || CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_CyFunction_func_vectorcall(f) (((__pyx_CyFunctionObject*)f)->func_vectorcall) #else #define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall) #endif #endif /* CythonFunction.proto */ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject *globals, PyObject* code); /* CLineInTraceback.proto */ #if CYTHON_CLINE_IN_TRACEBACK && CYTHON_CLINE_IN_TRACEBACK_RUNTIME static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line); #else #define __Pyx_CLineForTraceback(tstate, c_line) (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0) #endif /* CodeObjectCache.proto */ #if CYTHON_COMPILING_IN_LIMITED_API typedef PyObject __Pyx_CachedCodeObjectType; #else typedef PyCodeObject __Pyx_CachedCodeObjectType; #endif typedef struct { __Pyx_CachedCodeObjectType* code_object; int code_line; } __Pyx_CodeObjectCacheEntry; struct __Pyx_CodeObjectCache { int count; int max_count; __Pyx_CodeObjectCacheEntry* entries; #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING __pyx_atomic_int_type accessor_count; #endif }; static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line); static __Pyx_CachedCodeObjectType *__pyx_find_code_object(int code_line); static void __pyx_insert_code_object(int code_line, __Pyx_CachedCodeObjectType* code_object); /* AddTraceback.proto */ static void __Pyx_AddTraceback(const char *funcname, int c_line, int py_line, const char *filename); /* FormatTypeName.proto */ #if CYTHON_COMPILING_IN_LIMITED_API typedef PyObject *__Pyx_TypeName; #define __Pyx_FMT_TYPENAME "%U" #define __Pyx_DECREF_TypeName(obj) Py_XDECREF(obj) #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName #else static __Pyx_TypeName __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp); #endif #else // !LIMITED_API typedef const char *__Pyx_TypeName; #define __Pyx_FMT_TYPENAME "%.200s" #define __Pyx_PyType_GetFullyQualifiedName(tp) ((tp)->tp_name) #define __Pyx_DECREF_TypeName(obj) #endif /* GCCDiagnostics.proto */ #if !defined(__INTEL_COMPILER) && defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) #define __Pyx_HAS_GCC_DIAGNOSTIC #endif /* CIntToPy.proto */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_long(long value); /* CIntFromPy.proto */ static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *); /* CIntFromPy.proto */ static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *); /* FastTypeChecks.proto */ #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type) #define __Pyx_TypeCheck2(obj, type1, type2) __Pyx_IsAnySubtype2(Py_TYPE(obj), (PyTypeObject *)type1, (PyTypeObject *)type2) static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b); static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b); static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type); static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2); #else #define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type) #define __Pyx_TypeCheck2(obj, type1, type2) (PyObject_TypeCheck(obj, (PyTypeObject *)type1) || PyObject_TypeCheck(obj, (PyTypeObject *)type2)) #define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type) static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2) { return PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2); } #endif #define __Pyx_PyErr_ExceptionMatches2(err1, err2) __Pyx_PyErr_GivenExceptionMatches2(__Pyx_PyErr_CurrentExceptionType(), err1, err2) #define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception) #ifdef PyExceptionInstance_Check #define __Pyx_PyBaseException_Check(obj) PyExceptionInstance_Check(obj) #else #define __Pyx_PyBaseException_Check(obj) __Pyx_TypeCheck(obj, PyExc_BaseException) #endif /* GetRuntimeVersion.proto */ static unsigned long __Pyx_get_runtime_version(void); /* CheckBinaryVersion.proto */ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer); /* FunctionExport.proto */ static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig); /* MultiPhaseInitModuleState.proto */ #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE static PyObject *__Pyx_State_FindModule(void*); static int __Pyx_State_AddModule(PyObject* module, void*); static int __Pyx_State_RemoveModule(void*); #elif CYTHON_USE_MODULE_STATE #define __Pyx_State_FindModule PyState_FindModule #define __Pyx_State_AddModule PyState_AddModule #define __Pyx_State_RemoveModule PyState_RemoveModule #endif /* #### Code section: module_declarations ### */ /* CythonABIVersion.proto */ #if CYTHON_COMPILING_IN_LIMITED_API #if CYTHON_METH_FASTCALL #define __PYX_FASTCALL_ABI_SUFFIX "_fastcall" #else #define __PYX_FASTCALL_ABI_SUFFIX #endif #define __PYX_LIMITED_ABI_SUFFIX "limited" __PYX_FASTCALL_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX #else #define __PYX_LIMITED_ABI_SUFFIX #endif #if __PYX_HAS_PY_AM_SEND == 1 #define __PYX_AM_SEND_ABI_SUFFIX #elif __PYX_HAS_PY_AM_SEND == 2 #define __PYX_AM_SEND_ABI_SUFFIX "amsendbackport" #else #define __PYX_AM_SEND_ABI_SUFFIX "noamsend" #endif #ifndef __PYX_MONITORING_ABI_SUFFIX #define __PYX_MONITORING_ABI_SUFFIX #endif #if CYTHON_USE_TP_FINALIZE #define __PYX_TP_FINALIZE_ABI_SUFFIX #else #define __PYX_TP_FINALIZE_ABI_SUFFIX "nofinalize" #endif #if CYTHON_USE_FREELISTS || !defined(__Pyx_AsyncGen_USED) #define __PYX_FREELISTS_ABI_SUFFIX #else #define __PYX_FREELISTS_ABI_SUFFIX "nofreelists" #endif #define CYTHON_ABI __PYX_ABI_VERSION __PYX_LIMITED_ABI_SUFFIX __PYX_MONITORING_ABI_SUFFIX __PYX_TP_FINALIZE_ABI_SUFFIX __PYX_FREELISTS_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "." /* Module declarations from "libc.stdint" */ /* Module declarations from "cuda.bindings.cydriver" */ /* Module declarations from "cuda.bindings._lib.dlfcn" */ /* Module declarations from "cuda.bindings._bindings.loader" */ /* Module declarations from "cuda.bindings._bindings.cydriver" */ static PyObject *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___symbol_lock = 0; static int __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPythonInit; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorString; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorName; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuInit; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDriverGetVersion; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGet; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetCount; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetName; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetLuid; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceTotalMem_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetTexture1DLinearMaxWidth; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetNvSciSyncAttributes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetMemPool; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetMemPool; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDefaultMemPool; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetExecAffinitySupport; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFlushGPUDirectRDMAWrites; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetProperties; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceComputeCapability; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRetain; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRelease_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxSetFlags_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxGetState; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxReset_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v3; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v4; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDestroy_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPushCurrent_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPopCurrent_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCurrent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCurrent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevice; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetId; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSynchronize; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetLimit; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetLimit; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCacheConfig; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCacheConfig; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetApiVersion; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetStreamPriorityRange; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxResetPersistingL2Cache; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetExecAffinity; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxRecordEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxWaitEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxAttach; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDetach; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetSharedMemConfig; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetSharedMemConfig; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoad; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadData; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadDataEx; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadFatBinary; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleUnload; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetLoadingMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunction; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunctionCount; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleEnumerateFunctions; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetGlobal_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkCreate_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddData_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddFile_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkComplete; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetTexRef; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetSurfRef; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadData; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadFromFile; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryUnload; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernel; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernelCount; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryEnumerateKernels; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetModule; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetFunction; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetLibrary; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetGlobal; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetManaged; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetUnifiedFunction; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetCacheConfig; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetName; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetParamInfo; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetInfo_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAlloc_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocPitch_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFree_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAddressRange_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocHost_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeHost; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostAlloc; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetDevicePointer_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocManaged; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceRegisterAsyncNotification; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceUnregisterAsyncNotification; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetByPCIBusId; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetPCIBusId; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetEventHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenEventHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetMemHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenMemHandle_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcCloseMemHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostRegister_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostUnregister; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayCreate_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetDescriptor_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetSparseProperties; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetSparseProperties; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetMemoryRequirements; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetMemoryRequirements; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetPlane; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DCreate_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DGetDescriptor_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetLevel; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetHandleForAddressRange; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressReserve; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressFree; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRelease; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMap; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemUnmap; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemSetAccess; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAccess; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemExportToShareableHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemImportFromShareableHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationGranularity; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationPropertiesFromHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRetainAllocationHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolTrimTo; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAccess; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAccess; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportToShareableHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportFromShareableHandle; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportPointer; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportPointer; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastAddDevice; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindMem; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindAddr; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastUnbind; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastGetGranularity; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttributes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerSetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttributes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreateWithPriority; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuThreadExchangeStreamCaptureMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamDestroy_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventQuery; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventSynchronize; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventDestroy_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalMemory; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedBuffer; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedMipmappedArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalMemory; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalSemaphore; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalSemaphore; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetCacheConfig; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetModule; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetName; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetParamInfo; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncIsLoaded; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncLoad; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernelMultiDevice; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetBlockShape; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedSize; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetSize; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSeti; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetf; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetv; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunch; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGrid; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGridAsync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetTexRef; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedMemConfig; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddKernelNode_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetParams_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetParams_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemcpyNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemsetNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddHostNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddChildGraphNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphChildGraphNodeGetGraph; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEmptyNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventRecordNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeGetEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeSetEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventWaitNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeGetEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeSetEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresSignalNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresWaitNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddBatchMemOpNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecBatchMemOpNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemAllocNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemAllocNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemFreeNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemFreeNodeGetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGraphMemTrim; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetGraphMemAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetGraphMemAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphClone; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeFindInClone; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetType; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetNodes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetRootNodes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroyNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecGetFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecKernelNodeSetParams_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemcpyNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemsetNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecHostNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecChildGraphNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventRecordNodeSetEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventWaitNodeSetEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresSignalNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresWaitNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetEnabled; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetEnabled; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecUpdate_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeCopyAttributes; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDebugDotPrint; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRetain; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRelease; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRetainUserObject; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphReleaseUserObject; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecNodeSetParams; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphConditionalHandleCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessor; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSize; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSizeWithFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyAvailableDynamicSMemPerBlock; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialClusterSize; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveClusters; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmappedArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress2D_v3; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFormat; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddressMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFilterMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapFilterMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelBias; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelClamp; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMaxAnisotropy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetBorderColor; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddress_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmappedArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddressMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFilterMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFormat; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapFilterMode; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelBias; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelClamp; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMaxAnisotropy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetBorderColor; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefSetArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefGetArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceDesc; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetTextureDesc; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceViewDesc; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectGetResourceDesc; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeTiled; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2col; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2colWide; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapReplaceAddress; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceCanAccessPeer; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxEnablePeerAccess; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDisablePeerAccess; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetP2PAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnregisterResource; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsSubResourceGetMappedArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedMipmappedArray; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedPointer_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceSetMapFlags_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttributeGlobal; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttribute; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttributeGlobal; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetExportTable; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxDestroy; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxFromGreenCtx; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDevResource; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevResource; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxGetDevResource; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevSmResourceSplitByCount; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevResourceGenerateDesc; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxRecordEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxWaitEvent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetGreenCtx; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxStreamCreate; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsRegisterCallback; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsUnregisterCallback; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsCurrent; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToFile; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToMemory; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetRestoreThreadId; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetState; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessLock; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessCheckpoint; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessRestore; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessUnlock; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStart; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStop; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsEGLRegisterImage; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnect; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnectWithFlags; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerDisconnect; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerAcquireFrame; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerReleaseFrame; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerConnect; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerDisconnect; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerPresentFrame; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerReturnFrame; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedEglFrame; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreateFromEGLSync; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterBuffer; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterImage; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGLGetDevices_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUGetDevice; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUCtxCreate_v2; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterVideoSurface; static void *__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterOutputSurface; static __pyx_t_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2_T __pyx_v_4cuda_8bindings_9_bindings_8cydriver__F_cuGetProcAddress_v2; static PyObject *__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs = 0; static int __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPythonInit(void); /*proto*/ static CYTHON_INLINE int __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(void); /*proto*/ static PyObject *__pyx_f_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers(int __pyx_skip_dispatch); /*proto*/ static PyObject *__pyx_f_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointer(PyObject *, int __pyx_skip_dispatch); /*proto*/ /* #### Code section: typeinfo ### */ /* #### Code section: before_global_var ### */ #define __Pyx_MODULE_NAME "cuda.bindings._bindings.cydriver" extern int __pyx_module_is_main_cuda__bindings___bindings__cydriver; int __pyx_module_is_main_cuda__bindings___bindings__cydriver = 0; /* Implementation of "cuda.bindings._bindings.cydriver" */ /* #### Code section: global_var ### */ static PyObject *__pyx_builtin_RuntimeError; /* #### Code section: string_decls ### */ static const char __pyx_k_[] = "?"; static const char __pyx_k_os[] = "os"; static const char __pyx_k_pop[] = "pop"; static const char __pyx_k_sys[] = "sys"; static const char __pyx_k_Lock[] = "Lock"; static const char __pyx_k_exit[] = "__exit__"; static const char __pyx_k_func[] = "__func__"; static const char __pyx_k_main[] = "__main__"; static const char __pyx_k_name[] = "name"; static const char __pyx_k_spec[] = "__spec__"; static const char __pyx_k_test[] = "__test__"; static const char __pyx_k_enter[] = "__enter__"; static const char __pyx_k_utf_8[] = "utf-8"; static const char __pyx_k_cuInit[] = "__cuInit"; static const char __pyx_k_getenv[] = "getenv"; static const char __pyx_k_module[] = "__module__"; static const char __pyx_k_name_2[] = "__name__"; static const char __pyx_k_default[] = "default"; static const char __pyx_k_maxsize[] = "maxsize"; static const char __pyx_k_add_note[] = "add_note"; static const char __pyx_k_cuLaunch[] = "__cuLaunch"; static const char __pyx_k_cuMemMap[] = "__cuMemMap"; static const char __pyx_k_cuMemcpy[] = "__cuMemcpy"; static const char __pyx_k_encoding[] = "encoding"; static const char __pyx_k_qualname[] = "__qualname__"; static const char __pyx_k_set_name[] = "__set_name__"; static const char __pyx_k_threading[] = "threading"; static const char __pyx_k_z_A_a_9AQ[] = "\200\001\330\004\005\330\004\007\200z\220\023\220A\330\010\024\320\024.\250a\330\004\013\2109\220A\220Q"; static const char __pyx_k_cuCtxGetId[] = "__cuCtxGetId"; static const char __pyx_k_cuFuncLoad[] = "__cuFuncLoad"; static const char __pyx_k_cuMemUnmap[] = "__cuMemUnmap"; static const char __pyx_k_cuCtxAttach[] = "__cuCtxAttach"; static const char __pyx_k_cuCtxDetach[] = "__cuCtxDetach"; static const char __pyx_k_cuDeviceGet[] = "__cuDeviceGet"; static const char __pyx_k_cuMemAdvise[] = "__cuMemAdvise"; static const char __pyx_k_cuMemCreate[] = "__cuMemCreate"; static const char __pyx_k_cuParamSetf[] = "__cuParamSetf"; static const char __pyx_k_cuParamSeti[] = "__cuParamSeti"; static const char __pyx_k_cuParamSetv[] = "__cuParamSetv"; static const char __pyx_k_RuntimeError[] = "RuntimeError"; static const char __pyx_k_cuEventQuery[] = "__cuEventQuery"; static const char __pyx_k_cuGraphClone[] = "__cuGraphClone"; static const char __pyx_k_cuLaunchGrid[] = "__cuLaunchGrid"; static const char __pyx_k_cuMemFree_v2[] = "__cuMemFree_v2"; static const char __pyx_k_cuMemRelease[] = "__cuMemRelease"; static const char __pyx_k_cuMemcpyPeer[] = "__cuMemcpyPeer"; static const char __pyx_k_cuModuleLoad[] = "__cuModuleLoad"; static const char __pyx_k_initializing[] = "_initializing"; static const char __pyx_k_is_coroutine[] = "_is_coroutine"; static const char __pyx_k_libcuda_so_1[] = "libcuda.so.1"; static const char __pyx_k_cuCtxGetFlags[] = "__cuCtxGetFlags"; static const char __pyx_k_cuCtxGetLimit[] = "__cuCtxGetLimit"; static const char __pyx_k_cuCtxSetFlags[] = "__cuCtxSetFlags"; static const char __pyx_k_cuCtxSetLimit[] = "__cuCtxSetLimit"; static const char __pyx_k_cuEventCreate[] = "__cuEventCreate"; static const char __pyx_k_cuEventRecord[] = "__cuEventRecord"; static const char __pyx_k_cuFuncGetName[] = "__cuFuncGetName"; static const char __pyx_k_cuGraphCreate[] = "__cuGraphCreate"; static const char __pyx_k_cuGraphLaunch[] = "__cuGraphLaunch"; static const char __pyx_k_cuGraphUpload[] = "__cuGraphUpload"; static const char __pyx_k_cuLinkDestroy[] = "__cuLinkDestroy"; static const char __pyx_k_cuLogsCurrent[] = "__cuLogsCurrent"; static const char __pyx_k_cuMemAlloc_v2[] = "__cuMemAlloc_v2"; static const char __pyx_k_cuMemFreeHost[] = "__cuMemFreeHost"; static const char __pyx_k_cuMemcpy2D_v2[] = "__cuMemcpy2D_v2"; static const char __pyx_k_cuMemcpy3D_v2[] = "__cuMemcpy3D_v2"; static const char __pyx_k_cuMemcpyAsync[] = "__cuMemcpyAsync"; static const char __pyx_k_cuMemsetD8_v2[] = "__cuMemsetD8_v2"; static const char __pyx_k_cuStreamGetId[] = "__cuStreamGetId"; static const char __pyx_k_cuStreamQuery[] = "__cuStreamQuery"; static const char __pyx_k_cuArrayDestroy[] = "__cuArrayDestroy"; static const char __pyx_k_cuCtxCreate_v2[] = "__cuCtxCreate_v2"; static const char __pyx_k_cuCtxCreate_v3[] = "__cuCtxCreate_v3"; static const char __pyx_k_cuCtxCreate_v4[] = "__cuCtxCreate_v4"; static const char __pyx_k_cuCtxGetDevice[] = "__cuCtxGetDevice"; static const char __pyx_k_cuCtxWaitEvent[] = "__cuCtxWaitEvent"; static const char __pyx_k_cuFuncIsLoaded[] = "__cuFuncIsLoaded"; static const char __pyx_k_cuGetErrorName[] = "__cuGetErrorName"; static const char __pyx_k_cuGraphAddNode[] = "__cuGraphAddNode"; static const char __pyx_k_cuGraphDestroy[] = "__cuGraphDestroy"; static const char __pyx_k_cuLaunchKernel[] = "__cuLaunchKernel"; static const char __pyx_k_cuLinkComplete[] = "__cuLinkComplete"; static const char __pyx_k_cuMemAdvise_v2[] = "__cuMemAdvise_v2"; static const char __pyx_k_cuMemFreeAsync[] = "__cuMemFreeAsync"; static const char __pyx_k_cuMemGetAccess[] = "__cuMemGetAccess"; static const char __pyx_k_cuMemHostAlloc[] = "__cuMemHostAlloc"; static const char __pyx_k_cuMemSetAccess[] = "__cuMemSetAccess"; static const char __pyx_k_cuMemcpy3DPeer[] = "__cuMemcpy3DPeer"; static const char __pyx_k_cuMemsetD16_v2[] = "__cuMemsetD16_v2"; static const char __pyx_k_cuMemsetD32_v2[] = "__cuMemsetD32_v2"; static const char __pyx_k_cuModuleUnload[] = "__cuModuleUnload"; static const char __pyx_k_cuParamSetSize[] = "__cuParamSetSize"; static const char __pyx_k_cuProfilerStop[] = "__cuProfilerStop"; static const char __pyx_k_cuStreamCreate[] = "__cuStreamCreate"; static const char __pyx_k_cuStreamGetCtx[] = "__cuStreamGetCtx"; static const char __pyx_k_cuTexRefCreate[] = "__cuTexRefCreate"; static const char __pyx_k_cuArrayGetPlane[] = "__cuArrayGetPlane"; static const char __pyx_k_cuCtxDestroy_v2[] = "__cuCtxDestroy_v2"; static const char __pyx_k_cuCtxGetCurrent[] = "__cuCtxGetCurrent"; static const char __pyx_k_cuCtxSetCurrent[] = "__cuCtxSetCurrent"; static const char __pyx_k_cuDeviceGetLuid[] = "__cuDeviceGetLuid"; static const char __pyx_k_cuDeviceGetName[] = "__cuDeviceGetName"; static const char __pyx_k_cuDeviceGetUuid[] = "__cuDeviceGetUuid"; static const char __pyx_k_cuFuncGetModule[] = "__cuFuncGetModule"; static const char __pyx_k_cuGraphGetEdges[] = "__cuGraphGetEdges"; static const char __pyx_k_cuGraphGetNodes[] = "__cuGraphGetNodes"; static const char __pyx_k_cuKernelGetName[] = "__cuKernelGetName"; static const char __pyx_k_cuLibraryUnload[] = "__cuLibraryUnload"; static const char __pyx_k_cuLinkCreate_v2[] = "__cuLinkCreate_v2"; static const char __pyx_k_cuMemAllocAsync[] = "__cuMemAllocAsync"; static const char __pyx_k_cuMemGetInfo_v2[] = "__cuMemGetInfo_v2"; static const char __pyx_k_cuMemPoolCreate[] = "__cuMemPoolCreate"; static const char __pyx_k_cuMemPoolTrimTo[] = "__cuMemPoolTrimTo"; static const char __pyx_k_cuMemcpyAtoA_v2[] = "__cuMemcpyAtoA_v2"; static const char __pyx_k_cuMemcpyAtoD_v2[] = "__cuMemcpyAtoD_v2"; static const char __pyx_k_cuMemcpyAtoH_v2[] = "__cuMemcpyAtoH_v2"; static const char __pyx_k_cuMemcpyDtoA_v2[] = "__cuMemcpyDtoA_v2"; static const char __pyx_k_cuMemcpyDtoD_v2[] = "__cuMemcpyDtoD_v2"; static const char __pyx_k_cuMemcpyDtoH_v2[] = "__cuMemcpyDtoH_v2"; static const char __pyx_k_cuMemcpyHtoA_v2[] = "__cuMemcpyHtoA_v2"; static const char __pyx_k_cuMemcpyHtoD_v2[] = "__cuMemcpyHtoD_v2"; static const char __pyx_k_cuMemsetD2D8_v2[] = "__cuMemsetD2D8_v2"; static const char __pyx_k_cuMemsetD8Async[] = "__cuMemsetD8Async"; static const char __pyx_k_cuProfilerStart[] = "__cuProfilerStart"; static const char __pyx_k_cuTexRefDestroy[] = "__cuTexRefDestroy"; static const char __pyx_k_Failed_to_dlopen[] = "Failed to dlopen "; static const char __pyx_k_cuArrayCreate_v2[] = "__cuArrayCreate_v2"; static const char __pyx_k_cuCtxRecordEvent[] = "__cuCtxRecordEvent"; static const char __pyx_k_cuCtxSynchronize[] = "__cuCtxSynchronize"; static const char __pyx_k_cuDeviceGetCount[] = "__cuDeviceGetCount"; static const char __pyx_k_cuGetErrorString[] = "__cuGetErrorString"; static const char __pyx_k_cuGetExportTable[] = "__cuGetExportTable"; static const char __pyx_k_cuGreenCtxCreate[] = "__cuGreenCtxCreate"; static const char __pyx_k_cuLaunchHostFunc[] = "__cuLaunchHostFunc"; static const char __pyx_k_cuLaunchKernelEx[] = "__cuLaunchKernelEx"; static const char __pyx_k_cuLinkAddData_v2[] = "__cuLinkAddData_v2"; static const char __pyx_k_cuLinkAddFile_v2[] = "__cuLinkAddFile_v2"; static const char __pyx_k_cuLogsDumpToFile[] = "__cuLogsDumpToFile"; static const char __pyx_k_cuMemAddressFree[] = "__cuMemAddressFree"; static const char __pyx_k_cuMemPoolDestroy[] = "__cuMemPoolDestroy"; static const char __pyx_k_cuMemsetD16Async[] = "__cuMemsetD16Async"; static const char __pyx_k_cuMemsetD2D16_v2[] = "__cuMemsetD2D16_v2"; static const char __pyx_k_cuMemsetD2D32_v2[] = "__cuMemsetD2D32_v2"; static const char __pyx_k_cuMemsetD32Async[] = "__cuMemsetD32Async"; static const char __pyx_k_cuModuleLoadData[] = "__cuModuleLoadData"; static const char __pyx_k_cuParamSetTexRef[] = "__cuParamSetTexRef"; static const char __pyx_k_cuStreamGetFlags[] = "__cuStreamGetFlags"; static const char __pyx_k_cuTexRefGetArray[] = "__cuTexRefGetArray"; static const char __pyx_k_cuTexRefGetFlags[] = "__cuTexRefGetFlags"; static const char __pyx_k_cuTexRefSetArray[] = "__cuTexRefSetArray"; static const char __pyx_k_cuTexRefSetFlags[] = "__cuTexRefSetFlags"; static const char __pyx_k_cuVDPAUGetDevice[] = "__cuVDPAUGetDevice"; static const char __pyx_k_cuCtxFromGreenCtx[] = "__cuCtxFromGreenCtx"; static const char __pyx_k_cuEventDestroy_v2[] = "__cuEventDestroy_v2"; static const char __pyx_k_cuGLGetDevices_v2[] = "__cuGLGetDevices_v2"; static const char __pyx_k_cuGraphAddNode_v2[] = "__cuGraphAddNode_v2"; static const char __pyx_k_cuGreenCtxDestroy[] = "__cuGreenCtxDestroy"; static const char __pyx_k_cuIpcGetMemHandle[] = "__cuIpcGetMemHandle"; static const char __pyx_k_cuLaunchGridAsync[] = "__cuLaunchGridAsync"; static const char __pyx_k_cuLibraryLoadData[] = "__cuLibraryLoadData"; static const char __pyx_k_cuMemAllocHost_v2[] = "__cuMemAllocHost_v2"; static const char __pyx_k_cuMemAllocManaged[] = "__cuMemAllocManaged"; static const char __pyx_k_cuMemHostGetFlags[] = "__cuMemHostGetFlags"; static const char __pyx_k_cuMemcpyPeerAsync[] = "__cuMemcpyPeerAsync"; static const char __pyx_k_cuMemsetD2D8Async[] = "__cuMemsetD2D8Async"; static const char __pyx_k_cuModuleGetTexRef[] = "__cuModuleGetTexRef"; static const char __pyx_k_cuMulticastCreate[] = "__cuMulticastCreate"; static const char __pyx_k_cuMulticastUnbind[] = "__cuMulticastUnbind"; static const char __pyx_k_cuStreamGetCtx_v2[] = "__cuStreamGetCtx_v2"; static const char __pyx_k_cuStreamGetDevice[] = "__cuStreamGetDevice"; static const char __pyx_k_cuStreamWaitEvent[] = "__cuStreamWaitEvent"; static const char __pyx_k_cuSurfRefGetArray[] = "__cuSurfRefGetArray"; static const char __pyx_k_cuSurfRefSetArray[] = "__cuSurfRefSetArray"; static const char __pyx_k_cuTexObjectCreate[] = "__cuTexObjectCreate"; static const char __pyx_k_cuTexRefGetFormat[] = "__cuTexRefGetFormat"; static const char __pyx_k_cuTexRefSetFormat[] = "__cuTexRefSetFormat"; static const char __pyx_k_asyncio_coroutines[] = "asyncio.coroutines"; static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback"; static const char __pyx_k_cuArray3DCreate_v2[] = "__cuArray3DCreate_v2"; static const char __pyx_k_cuCtxGetApiVersion[] = "__cuCtxGetApiVersion"; static const char __pyx_k_cuCtxPopCurrent_v2[] = "__cuCtxPopCurrent_v2"; static const char __pyx_k_cuDeviceGetMemPool[] = "__cuDeviceGetMemPool"; static const char __pyx_k_cuDeviceGetUuid_v2[] = "__cuDeviceGetUuid_v2"; static const char __pyx_k_cuDeviceSetMemPool[] = "__cuDeviceSetMemPool"; static const char __pyx_k_cuDriverGetVersion[] = "__cuDriverGetVersion"; static const char __pyx_k_cuEventElapsedTime[] = "__cuEventElapsedTime"; static const char __pyx_k_cuEventSynchronize[] = "__cuEventSynchronize"; static const char __pyx_k_cuFuncGetAttribute[] = "__cuFuncGetAttribute"; static const char __pyx_k_cuFuncGetParamInfo[] = "__cuFuncGetParamInfo"; static const char __pyx_k_cuFuncSetAttribute[] = "__cuFuncSetAttribute"; static const char __pyx_k_cuGraphAddHostNode[] = "__cuGraphAddHostNode"; static const char __pyx_k_cuGraphDestroyNode[] = "__cuGraphDestroyNode"; static const char __pyx_k_cuGraphExecDestroy[] = "__cuGraphExecDestroy"; static const char __pyx_k_cuGraphGetEdges_v2[] = "__cuGraphGetEdges_v2"; static const char __pyx_k_cuGraphNodeGetType[] = "__cuGraphNodeGetType"; static const char __pyx_k_cuKernelGetLibrary[] = "__cuKernelGetLibrary"; static const char __pyx_k_cuLibraryGetGlobal[] = "__cuLibraryGetGlobal"; static const char __pyx_k_cuLibraryGetKernel[] = "__cuLibraryGetKernel"; static const char __pyx_k_cuLibraryGetModule[] = "__cuLibraryGetModule"; static const char __pyx_k_cuLogsDumpToMemory[] = "__cuLogsDumpToMemory"; static const char __pyx_k_cuMemAllocPitch_v2[] = "__cuMemAllocPitch_v2"; static const char __pyx_k_cuMemMapArrayAsync[] = "__cuMemMapArrayAsync"; static const char __pyx_k_cuMemPoolGetAccess[] = "__cuMemPoolGetAccess"; static const char __pyx_k_cuMemPoolSetAccess[] = "__cuMemPoolSetAccess"; static const char __pyx_k_cuMemPrefetchAsync[] = "__cuMemPrefetchAsync"; static const char __pyx_k_cuMemcpy2DAsync_v2[] = "__cuMemcpy2DAsync_v2"; static const char __pyx_k_cuMemcpy3DAsync_v2[] = "__cuMemcpy3DAsync_v2"; static const char __pyx_k_cuMemcpyBatchAsync[] = "__cuMemcpyBatchAsync"; static const char __pyx_k_cuMemsetD2D16Async[] = "__cuMemsetD2D16Async"; static const char __pyx_k_cuMemsetD2D32Async[] = "__cuMemsetD2D32Async"; static const char __pyx_k_cuModuleGetSurfRef[] = "__cuModuleGetSurfRef"; static const char __pyx_k_cuModuleLoadDataEx[] = "__cuModuleLoadDataEx"; static const char __pyx_k_cuMulticastBindMem[] = "__cuMulticastBindMem"; static const char __pyx_k_cuStreamDestroy_v2[] = "__cuStreamDestroy_v2"; static const char __pyx_k_cuStreamEndCapture[] = "__cuStreamEndCapture"; static const char __pyx_k_cuSurfObjectCreate[] = "__cuSurfObjectCreate"; static const char __pyx_k_cuTexObjectDestroy[] = "__cuTexObjectDestroy"; static const char __pyx_k_cuUserObjectCreate[] = "__cuUserObjectCreate"; static const char __pyx_k_cuUserObjectRetain[] = "__cuUserObjectRetain"; static const char __pyx_k_cuCtxGetCacheConfig[] = "__cuCtxGetCacheConfig"; static const char __pyx_k_cuCtxGetDevResource[] = "__cuCtxGetDevResource"; static const char __pyx_k_cuCtxPushCurrent_v2[] = "__cuCtxPushCurrent_v2"; static const char __pyx_k_cuCtxSetCacheConfig[] = "__cuCtxSetCacheConfig"; static const char __pyx_k_cuDeviceGetPCIBusId[] = "__cuDeviceGetPCIBusId"; static const char __pyx_k_cuDeviceTotalMem_v2[] = "__cuDeviceTotalMem_v2"; static const char __pyx_k_cuFuncSetBlockShape[] = "__cuFuncSetBlockShape"; static const char __pyx_k_cuFuncSetSharedSize[] = "__cuFuncSetSharedSize"; static const char __pyx_k_cuGetProcAddress_v2[] = "__cuGetProcAddress_v2"; static const char __pyx_k_cuGraphAddEmptyNode[] = "__cuGraphAddEmptyNode"; static const char __pyx_k_cuGraphExecGetFlags[] = "__cuGraphExecGetFlags"; static const char __pyx_k_cuGraphGetRootNodes[] = "__cuGraphGetRootNodes"; static const char __pyx_k_cuGreenCtxWaitEvent[] = "__cuGreenCtxWaitEvent"; static const char __pyx_k_cuIpcCloseMemHandle[] = "__cuIpcCloseMemHandle"; static const char __pyx_k_cuIpcGetEventHandle[] = "__cuIpcGetEventHandle"; static const char __pyx_k_cuKernelGetFunction[] = "__cuKernelGetFunction"; static const char __pyx_k_cuLibraryGetManaged[] = "__cuLibraryGetManaged"; static const char __pyx_k_cuMemAddressReserve[] = "__cuMemAddressReserve"; static const char __pyx_k_cuMemHostUnregister[] = "__cuMemHostUnregister"; static const char __pyx_k_cuMemcpy3DPeerAsync[] = "__cuMemcpy3DPeerAsync"; static const char __pyx_k_cuModuleGetFunction[] = "__cuModuleGetFunction"; static const char __pyx_k_cuMulticastBindAddr[] = "__cuMulticastBindAddr"; static const char __pyx_k_cuStreamAddCallback[] = "__cuStreamAddCallback"; static const char __pyx_k_cuStreamGetGreenCtx[] = "__cuStreamGetGreenCtx"; static const char __pyx_k_cuStreamGetPriority[] = "__cuStreamGetPriority"; static const char __pyx_k_cuStreamIsCapturing[] = "__cuStreamIsCapturing"; static const char __pyx_k_cuStreamSynchronize[] = "__cuStreamSynchronize"; static const char __pyx_k_cuSurfObjectDestroy[] = "__cuSurfObjectDestroy"; static const char __pyx_k_cuUserObjectRelease[] = "__cuUserObjectRelease"; static const char __pyx_k_cuVDPAUCtxCreate_v2[] = "__cuVDPAUCtxCreate_v2"; static const char __pyx_k_cuCtxGetExecAffinity[] = "__cuCtxGetExecAffinity"; static const char __pyx_k_cuDeviceGetAttribute[] = "__cuDeviceGetAttribute"; static const char __pyx_k_cuDeviceGraphMemTrim[] = "__cuDeviceGraphMemTrim"; static const char __pyx_k_cuFuncSetCacheConfig[] = "__cuFuncSetCacheConfig"; static const char __pyx_k_cuGraphAddMemcpyNode[] = "__cuGraphAddMemcpyNode"; static const char __pyx_k_cuGraphAddMemsetNode[] = "__cuGraphAddMemsetNode"; static const char __pyx_k_cuGraphDebugDotPrint[] = "__cuGraphDebugDotPrint"; static const char __pyx_k_cuGraphExecUpdate_v2[] = "__cuGraphExecUpdate_v2"; static const char __pyx_k_cuGraphNodeSetParams[] = "__cuGraphNodeSetParams"; static const char __pyx_k_cuIpcOpenEventHandle[] = "__cuIpcOpenEventHandle"; static const char __pyx_k_cuKernelGetAttribute[] = "__cuKernelGetAttribute"; static const char __pyx_k_cuKernelGetParamInfo[] = "__cuKernelGetParamInfo"; static const char __pyx_k_cuKernelSetAttribute[] = "__cuKernelSetAttribute"; static const char __pyx_k_cuMemHostRegister_v2[] = "__cuMemHostRegister_v2"; static const char __pyx_k_cuMemcpy3DBatchAsync[] = "__cuMemcpy3DBatchAsync"; static const char __pyx_k_cuMemcpyAtoHAsync_v2[] = "__cuMemcpyAtoHAsync_v2"; static const char __pyx_k_cuMemcpyDtoDAsync_v2[] = "__cuMemcpyDtoDAsync_v2"; static const char __pyx_k_cuMemcpyDtoHAsync_v2[] = "__cuMemcpyDtoHAsync_v2"; static const char __pyx_k_cuMemcpyHtoAAsync_v2[] = "__cuMemcpyHtoAAsync_v2"; static const char __pyx_k_cuMemcpyHtoDAsync_v2[] = "__cuMemcpyHtoDAsync_v2"; static const char __pyx_k_cuModuleGetGlobal_v2[] = "__cuModuleGetGlobal_v2"; static const char __pyx_k_cuMulticastAddDevice[] = "__cuMulticastAddDevice"; static const char __pyx_k_cuStreamGetAttribute[] = "__cuStreamGetAttribute"; static const char __pyx_k_cuStreamSetAttribute[] = "__cuStreamSetAttribute"; static const char __pyx_k_cuCtxEnablePeerAccess[] = "__cuCtxEnablePeerAccess"; static const char __pyx_k_cuDeviceCanAccessPeer[] = "__cuDeviceCanAccessPeer"; static const char __pyx_k_cuDeviceGetByPCIBusId[] = "__cuDeviceGetByPCIBusId"; static const char __pyx_k_cuDeviceGetProperties[] = "__cuDeviceGetProperties"; static const char __pyx_k_cuEventElapsedTime_v2[] = "__cuEventElapsedTime_v2"; static const char __pyx_k_cuGraphAddMemFreeNode[] = "__cuGraphAddMemFreeNode"; static const char __pyx_k_cuGraphNodeGetEnabled[] = "__cuGraphNodeGetEnabled"; static const char __pyx_k_cuGraphNodeSetEnabled[] = "__cuGraphNodeSetEnabled"; static const char __pyx_k_cuGreenCtxRecordEvent[] = "__cuGreenCtxRecordEvent"; static const char __pyx_k_cuIpcOpenMemHandle_v2[] = "__cuIpcOpenMemHandle_v2"; static const char __pyx_k_cuLibraryLoadFromFile[] = "__cuLibraryLoadFromFile"; static const char __pyx_k_cuMemPoolGetAttribute[] = "__cuMemPoolGetAttribute"; static const char __pyx_k_cuMemPoolSetAttribute[] = "__cuMemPoolSetAttribute"; static const char __pyx_k_cuMemPrefetchAsync_v2[] = "__cuMemPrefetchAsync_v2"; static const char __pyx_k_cuModuleLoadFatBinary[] = "__cuModuleLoadFatBinary"; static const char __pyx_k_cuPointerGetAttribute[] = "__cuPointerGetAttribute"; static const char __pyx_k_cuPointerSetAttribute[] = "__cuPointerSetAttribute"; static const char __pyx_k_cuStreamBatchMemOp_v2[] = "__cuStreamBatchMemOp_v2"; static const char __pyx_k_cuTexRefGetAddress_v2[] = "__cuTexRefGetAddress_v2"; static const char __pyx_k_cuTexRefGetFilterMode[] = "__cuTexRefGetFilterMode"; static const char __pyx_k_cuTexRefSetAddress_v2[] = "__cuTexRefSetAddress_v2"; static const char __pyx_k_cuTexRefSetFilterMode[] = "__cuTexRefSetFilterMode"; static const char __pyx_k_cuCoredumpGetAttribute[] = "__cuCoredumpGetAttribute"; static const char __pyx_k_cuCoredumpSetAttribute[] = "__cuCoredumpSetAttribute"; static const char __pyx_k_cuCtxDisablePeerAccess[] = "__cuCtxDisablePeerAccess"; static const char __pyx_k_cuDeviceGetDevResource[] = "__cuDeviceGetDevResource"; static const char __pyx_k_cuEventRecordWithFlags[] = "__cuEventRecordWithFlags"; static const char __pyx_k_cuGraphAddDependencies[] = "__cuGraphAddDependencies"; static const char __pyx_k_cuGraphAddMemAllocNode[] = "__cuGraphAddMemAllocNode"; static const char __pyx_k_cuGraphNodeFindInClone[] = "__cuGraphNodeFindInClone"; static const char __pyx_k_cuGraphicsMapResources[] = "__cuGraphicsMapResources"; static const char __pyx_k_cuGreenCtxStreamCreate[] = "__cuGreenCtxStreamCreate"; static const char __pyx_k_cuImportExternalMemory[] = "__cuImportExternalMemory"; static const char __pyx_k_cuKernelSetCacheConfig[] = "__cuKernelSetCacheConfig"; static const char __pyx_k_cuLogsRegisterCallback[] = "__cuLogsRegisterCallback"; static const char __pyx_k_cuMemPoolExportPointer[] = "__cuMemPoolExportPointer"; static const char __pyx_k_cuMemPoolImportPointer[] = "__cuMemPoolImportPointer"; static const char __pyx_k_cuMemRangeGetAttribute[] = "__cuMemRangeGetAttribute"; static const char __pyx_k_cuMemcpy2DUnaligned_v2[] = "__cuMemcpy2DUnaligned_v2"; static const char __pyx_k_cuMipmappedArrayCreate[] = "__cuMipmappedArrayCreate"; static const char __pyx_k_cuModuleGetLoadingMode[] = "__cuModuleGetLoadingMode"; static const char __pyx_k_cuPointerGetAttributes[] = "__cuPointerGetAttributes"; static const char __pyx_k_cuStreamAttachMemAsync[] = "__cuStreamAttachMemAsync"; static const char __pyx_k_cuStreamCopyAttributes[] = "__cuStreamCopyAttributes"; static const char __pyx_k_cuStreamWaitValue32_v2[] = "__cuStreamWaitValue32_v2"; static const char __pyx_k_cuStreamWaitValue64_v2[] = "__cuStreamWaitValue64_v2"; static const char __pyx_k_cuTensorMapEncodeTiled[] = "__cuTensorMapEncodeTiled"; static const char __pyx_k_cuTexRefGetAddressMode[] = "__cuTexRefGetAddressMode"; static const char __pyx_k_cuTexRefGetBorderColor[] = "__cuTexRefGetBorderColor"; static const char __pyx_k_cuTexRefSetAddressMode[] = "__cuTexRefSetAddressMode"; static const char __pyx_k_cuTexRefSetBorderColor[] = "__cuTexRefSetBorderColor"; static const char __pyx_k_cuArrayGetDescriptor_v2[] = "__cuArrayGetDescriptor_v2"; static const char __pyx_k_cuCheckpointProcessLock[] = "__cuCheckpointProcessLock"; static const char __pyx_k_cuCtxGetSharedMemConfig[] = "__cuCtxGetSharedMemConfig"; static const char __pyx_k_cuCtxSetSharedMemConfig[] = "__cuCtxSetSharedMemConfig"; static const char __pyx_k_cuDestroyExternalMemory[] = "__cuDestroyExternalMemory"; static const char __pyx_k_cuDeviceGetP2PAttribute[] = "__cuDeviceGetP2PAttribute"; static const char __pyx_k_cuGraphAddEventWaitNode[] = "__cuGraphAddEventWaitNode"; static const char __pyx_k_cuGraphAddKernelNode_v2[] = "__cuGraphAddKernelNode_v2"; static const char __pyx_k_cuGraphRetainUserObject[] = "__cuGraphRetainUserObject"; static const char __pyx_k_cuLibraryGetKernelCount[] = "__cuLibraryGetKernelCount"; static const char __pyx_k_cuMemAllocFromPoolAsync[] = "__cuMemAllocFromPoolAsync"; static const char __pyx_k_cuMemGetAddressRange_v2[] = "__cuMemGetAddressRange_v2"; static const char __pyx_k_cuMemRangeGetAttributes[] = "__cuMemRangeGetAttributes"; static const char __pyx_k_cuMipmappedArrayDestroy[] = "__cuMipmappedArrayDestroy"; static const char __pyx_k_cuStreamBeginCapture_v2[] = "__cuStreamBeginCapture_v2"; static const char __pyx_k_cuStreamWriteValue32_v2[] = "__cuStreamWriteValue32_v2"; static const char __pyx_k_cuStreamWriteValue64_v2[] = "__cuStreamWriteValue64_v2"; static const char __pyx_k_cuTensorMapEncodeIm2col[] = "__cuTensorMapEncodeIm2col"; static const char __pyx_k_cuTexRefSetAddress2D_v3[] = "__cuTexRefSetAddress2D_v3"; static const char __pyx_k_cuDevicePrimaryCtxRetain[] = "__cuDevicePrimaryCtxRetain"; static const char __pyx_k_cuEventCreateFromEGLSync[] = "__cuEventCreateFromEGLSync"; static const char __pyx_k_cuFuncSetSharedMemConfig[] = "__cuFuncSetSharedMemConfig"; static const char __pyx_k_cuGraphAddBatchMemOpNode[] = "__cuGraphAddBatchMemOpNode"; static const char __pyx_k_cuGraphAddChildGraphNode[] = "__cuGraphAddChildGraphNode"; static const char __pyx_k_cuGraphExecNodeSetParams[] = "__cuGraphExecNodeSetParams"; static const char __pyx_k_cuGraphHostNodeGetParams[] = "__cuGraphHostNodeGetParams"; static const char __pyx_k_cuGraphHostNodeSetParams[] = "__cuGraphHostNodeSetParams"; static const char __pyx_k_cuGraphReleaseUserObject[] = "__cuGraphReleaseUserObject"; static const char __pyx_k_cuGraphicsUnmapResources[] = "__cuGraphicsUnmapResources"; static const char __pyx_k_cuGreenCtxGetDevResource[] = "__cuGreenCtxGetDevResource"; static const char __pyx_k_cuLogsUnregisterCallback[] = "__cuLogsUnregisterCallback"; static const char __pyx_k_cuMipmappedArrayGetLevel[] = "__cuMipmappedArrayGetLevel"; static const char __pyx_k_cuModuleGetFunctionCount[] = "__cuModuleGetFunctionCount"; static const char __pyx_k_cuTexRefGetMaxAnisotropy[] = "__cuTexRefGetMaxAnisotropy"; static const char __pyx_k_cuTexRefSetMaxAnisotropy[] = "__cuTexRefSetMaxAnisotropy"; static const char __pyx_k_inspect_function_pointer[] = "_inspect_function_pointer"; static const char __pyx_k_Function_cuInit_not_found[] = "Function \"cuInit\" not found"; static const char __pyx_k_cuArray3DGetDescriptor_v2[] = "__cuArray3DGetDescriptor_v2"; static const char __pyx_k_cuCheckpointProcessUnlock[] = "__cuCheckpointProcessUnlock"; static const char __pyx_k_cuDevResourceGenerateDesc[] = "__cuDevResourceGenerateDesc"; static const char __pyx_k_cuDeviceComputeCapability[] = "__cuDeviceComputeCapability"; static const char __pyx_k_cuDeviceGetDefaultMemPool[] = "__cuDeviceGetDefaultMemPool"; static const char __pyx_k_cuGraphAddDependencies_v2[] = "__cuGraphAddDependencies_v2"; static const char __pyx_k_cuGraphAddEventRecordNode[] = "__cuGraphAddEventRecordNode"; static const char __pyx_k_cuGraphRemoveDependencies[] = "__cuGraphRemoveDependencies"; static const char __pyx_k_cuGraphicsGLRegisterImage[] = "__cuGraphicsGLRegisterImage"; static const char __pyx_k_cuImportExternalSemaphore[] = "__cuImportExternalSemaphore"; static const char __pyx_k_cuLaunchCooperativeKernel[] = "__cuLaunchCooperativeKernel"; static const char __pyx_k_cuLibraryEnumerateKernels[] = "__cuLibraryEnumerateKernels"; static const char __pyx_k_cuMemBatchDecompressAsync[] = "__cuMemBatchDecompressAsync"; static const char __pyx_k_cuMulticastGetGranularity[] = "__cuMulticastGetGranularity"; static const char __pyx_k_cuStreamGetCaptureInfo_v2[] = "__cuStreamGetCaptureInfo_v2"; static const char __pyx_k_cuStreamGetCaptureInfo_v3[] = "__cuStreamGetCaptureInfo_v3"; static const char __pyx_k_cuTensorMapReplaceAddress[] = "__cuTensorMapReplaceAddress"; static const char __pyx_k_cuTexObjectGetTextureDesc[] = "__cuTexObjectGetTextureDesc"; static const char __pyx_k_cuTexRefGetMipmappedArray[] = "__cuTexRefGetMipmappedArray"; static const char __pyx_k_cuTexRefSetMipmappedArray[] = "__cuTexRefSetMipmappedArray"; static const char __pyx_k_inspect_function_pointers[] = "_inspect_function_pointers"; static const char __pyx_k_cuArrayGetSparseProperties[] = "__cuArrayGetSparseProperties"; static const char __pyx_k_cuCheckpointProcessRestore[] = "__cuCheckpointProcessRestore"; static const char __pyx_k_cuDestroyExternalSemaphore[] = "__cuDestroyExternalSemaphore"; static const char __pyx_k_cuDevicePrimaryCtxGetState[] = "__cuDevicePrimaryCtxGetState"; static const char __pyx_k_cuDevicePrimaryCtxReset_v2[] = "__cuDevicePrimaryCtxReset_v2"; static const char __pyx_k_cuEGLStreamConsumerConnect[] = "__cuEGLStreamConsumerConnect"; static const char __pyx_k_cuEGLStreamProducerConnect[] = "__cuEGLStreamProducerConnect"; static const char __pyx_k_cuFlushGPUDirectRDMAWrites[] = "__cuFlushGPUDirectRDMAWrites"; static const char __pyx_k_cuGraphMemcpyNodeGetParams[] = "__cuGraphMemcpyNodeGetParams"; static const char __pyx_k_cuGraphMemcpyNodeSetParams[] = "__cuGraphMemcpyNodeSetParams"; static const char __pyx_k_cuGraphMemsetNodeGetParams[] = "__cuGraphMemsetNodeGetParams"; static const char __pyx_k_cuGraphMemsetNodeSetParams[] = "__cuGraphMemsetNodeSetParams"; static const char __pyx_k_cuGraphNodeGetDependencies[] = "__cuGraphNodeGetDependencies"; static const char __pyx_k_cuGraphicsEGLRegisterImage[] = "__cuGraphicsEGLRegisterImage"; static const char __pyx_k_cuGraphicsGLRegisterBuffer[] = "__cuGraphicsGLRegisterBuffer"; static const char __pyx_k_cuModuleEnumerateFunctions[] = "__cuModuleEnumerateFunctions"; static const char __pyx_k_cuStreamCreateWithPriority[] = "__cuStreamCreateWithPriority"; static const char __pyx_k_cuTexObjectGetResourceDesc[] = "__cuTexObjectGetResourceDesc"; static const char __pyx_k_cuTexRefGetMipmapLevelBias[] = "__cuTexRefGetMipmapLevelBias"; static const char __pyx_k_cuTexRefSetMipmapLevelBias[] = "__cuTexRefSetMipmapLevelBias"; static const char __pyx_k_Function_cuLaunch_not_found[] = "Function \"cuLaunch\" not found"; static const char __pyx_k_Function_cuMemMap_not_found[] = "Function \"cuMemMap\" not found"; static const char __pyx_k_Function_cuMemcpy_not_found[] = "Function \"cuMemcpy\" not found"; static const char __pyx_k_cuCheckpointProcessGetState[] = "__cuCheckpointProcessGetState"; static const char __pyx_k_cuCtxGetStreamPriorityRange[] = "__cuCtxGetStreamPriorityRange"; static const char __pyx_k_cuCtxResetPersistingL2Cache[] = "__cuCtxResetPersistingL2Cache"; static const char __pyx_k_cuDevSmResourceSplitByCount[] = "__cuDevSmResourceSplitByCount"; static const char __pyx_k_cuGraphInstantiateWithFlags[] = "__cuGraphInstantiateWithFlags"; static const char __pyx_k_cuGraphMemFreeNodeGetParams[] = "__cuGraphMemFreeNodeGetParams"; static const char __pyx_k_cuLibraryGetUnifiedFunction[] = "__cuLibraryGetUnifiedFunction"; static const char __pyx_k_cuMemRetainAllocationHandle[] = "__cuMemRetainAllocationHandle"; static const char __pyx_k_cuStreamBeginCaptureToGraph[] = "__cuStreamBeginCaptureToGraph"; static const char __pyx_k_cuSurfObjectGetResourceDesc[] = "__cuSurfObjectGetResourceDesc"; static const char __pyx_k_cuTensorMapEncodeIm2colWide[] = "__cuTensorMapEncodeIm2colWide"; static const char __pyx_k_cuTexRefGetMipmapFilterMode[] = "__cuTexRefGetMipmapFilterMode"; static const char __pyx_k_cuTexRefGetMipmapLevelClamp[] = "__cuTexRefGetMipmapLevelClamp"; static const char __pyx_k_cuTexRefSetMipmapFilterMode[] = "__cuTexRefSetMipmapFilterMode"; static const char __pyx_k_cuTexRefSetMipmapLevelClamp[] = "__cuTexRefSetMipmapLevelClamp"; static const char __pyx_k_cuArrayGetMemoryRequirements[] = "__cuArrayGetMemoryRequirements"; static const char __pyx_k_cuCoredumpGetAttributeGlobal[] = "__cuCoredumpGetAttributeGlobal"; static const char __pyx_k_cuCoredumpSetAttributeGlobal[] = "__cuCoredumpSetAttributeGlobal"; static const char __pyx_k_cuDeviceGetGraphMemAttribute[] = "__cuDeviceGetGraphMemAttribute"; static const char __pyx_k_cuDevicePrimaryCtxRelease_v2[] = "__cuDevicePrimaryCtxRelease_v2"; static const char __pyx_k_cuDeviceSetGraphMemAttribute[] = "__cuDeviceSetGraphMemAttribute"; static const char __pyx_k_cuGraphEventWaitNodeGetEvent[] = "__cuGraphEventWaitNodeGetEvent"; static const char __pyx_k_cuGraphEventWaitNodeSetEvent[] = "__cuGraphEventWaitNodeSetEvent"; static const char __pyx_k_cuGraphExecHostNodeSetParams[] = "__cuGraphExecHostNodeSetParams"; static const char __pyx_k_cuGraphInstantiateWithParams[] = "__cuGraphInstantiateWithParams"; static const char __pyx_k_cuGraphMemAllocNodeGetParams[] = "__cuGraphMemAllocNodeGetParams"; static const char __pyx_k_cuGraphNodeGetDependentNodes[] = "__cuGraphNodeGetDependentNodes"; static const char __pyx_k_cuGraphRemoveDependencies_v2[] = "__cuGraphRemoveDependencies_v2"; static const char __pyx_k_cuGraphicsUnregisterResource[] = "__cuGraphicsUnregisterResource"; static const char __pyx_k_cuMemExportToShareableHandle[] = "__cuMemExportToShareableHandle"; static const char __pyx_k_cuMemHostGetDevicePointer_v2[] = "__cuMemHostGetDevicePointer_v2"; static const char __pyx_k_cuOccupancyMaxActiveClusters[] = "__cuOccupancyMaxActiveClusters"; static const char __pyx_k_Function_cuCtxGetId_not_found[] = "Function \"cuCtxGetId\" not found"; static const char __pyx_k_Function_cuFuncLoad_not_found[] = "Function \"cuFuncLoad\" not found"; static const char __pyx_k_Function_cuMemUnmap_not_found[] = "Function \"cuMemUnmap\" not found"; static const char __pyx_k_cuCheckpointProcessCheckpoint[] = "__cuCheckpointProcessCheckpoint"; static const char __pyx_k_cuDevicePrimaryCtxSetFlags_v2[] = "__cuDevicePrimaryCtxSetFlags_v2"; static const char __pyx_k_cuEGLStreamConsumerDisconnect[] = "__cuEGLStreamConsumerDisconnect"; static const char __pyx_k_cuEGLStreamProducerDisconnect[] = "__cuEGLStreamProducerDisconnect"; static const char __pyx_k_cuGraphChildGraphNodeGetGraph[] = "__cuGraphChildGraphNodeGetGraph"; static const char __pyx_k_cuGraphKernelNodeGetAttribute[] = "__cuGraphKernelNodeGetAttribute"; static const char __pyx_k_cuGraphKernelNodeGetParams_v2[] = "__cuGraphKernelNodeGetParams_v2"; static const char __pyx_k_cuGraphKernelNodeSetAttribute[] = "__cuGraphKernelNodeSetAttribute"; static const char __pyx_k_cuGraphKernelNodeSetParams_v2[] = "__cuGraphKernelNodeSetParams_v2"; static const char __pyx_k_cuGraphNodeGetDependencies_v2[] = "__cuGraphNodeGetDependencies_v2"; static const char __pyx_k_cuGraphicsResourceSetMapFlags[] = "__cuGraphicsResourceSetMapFlags_v2"; static const char __pyx_k_cuMemGetAllocationGranularity[] = "__cuMemGetAllocationGranularity"; static const char __pyx_k_cuMemGetHandleForAddressRange[] = "__cuMemGetHandleForAddressRange"; static const char __pyx_k_cuWaitExternalSemaphoresAsync[] = "__cuWaitExternalSemaphoresAsync"; static const char __pyx_k_Function_cuCtxAttach_not_found[] = "Function \"cuCtxAttach\" not found"; static const char __pyx_k_Function_cuCtxDetach_not_found[] = "Function \"cuCtxDetach\" not found"; static const char __pyx_k_Function_cuDeviceGet_not_found[] = "Function \"cuDeviceGet\" not found"; static const char __pyx_k_Function_cuMemAdvise_not_found[] = "Function \"cuMemAdvise\" not found"; static const char __pyx_k_Function_cuMemCreate_not_found[] = "Function \"cuMemCreate\" not found"; static const char __pyx_k_Function_cuParamSetf_not_found[] = "Function \"cuParamSetf\" not found"; static const char __pyx_k_Function_cuParamSeti_not_found[] = "Function \"cuParamSeti\" not found"; static const char __pyx_k_Function_cuParamSetv_not_found[] = "Function \"cuParamSetv\" not found"; static const char __pyx_k_cuCheckpointProcessGetRestoreT[] = "__cuCheckpointProcessGetRestoreThreadId"; static const char __pyx_k_cuDeviceGetExecAffinitySupport[] = "__cuDeviceGetExecAffinitySupport"; static const char __pyx_k_cuDeviceGetNvSciSyncAttributes[] = "__cuDeviceGetNvSciSyncAttributes"; static const char __pyx_k_cuDeviceGetTexture1DLinearMaxW[] = "__cuDeviceGetTexture1DLinearMaxWidth"; static const char __pyx_k_cuDeviceRegisterAsyncNotificat[] = "__cuDeviceRegisterAsyncNotification"; static const char __pyx_k_cuDeviceUnregisterAsyncNotific[] = "__cuDeviceUnregisterAsyncNotification"; static const char __pyx_k_cuEGLStreamConsumerAcquireFram[] = "__cuEGLStreamConsumerAcquireFrame"; static const char __pyx_k_cuEGLStreamConsumerConnectWith[] = "__cuEGLStreamConsumerConnectWithFlags"; static const char __pyx_k_cuEGLStreamConsumerReleaseFram[] = "__cuEGLStreamConsumerReleaseFrame"; static const char __pyx_k_cuEGLStreamProducerPresentFram[] = "__cuEGLStreamProducerPresentFrame"; static const char __pyx_k_cuEGLStreamProducerReturnFrame[] = "__cuEGLStreamProducerReturnFrame"; static const char __pyx_k_cuExternalMemoryGetMappedBuffe[] = "__cuExternalMemoryGetMappedBuffer"; static const char __pyx_k_cuExternalMemoryGetMappedMipma[] = "__cuExternalMemoryGetMappedMipmappedArray"; static const char __pyx_k_cuGraphAddExternalSemaphoresSi[] = "__cuGraphAddExternalSemaphoresSignalNode"; static const char __pyx_k_cuGraphAddExternalSemaphoresWa[] = "__cuGraphAddExternalSemaphoresWaitNode"; static const char __pyx_k_cuGraphBatchMemOpNodeGetParams[] = "__cuGraphBatchMemOpNodeGetParams"; static const char __pyx_k_cuGraphBatchMemOpNodeSetParams[] = "__cuGraphBatchMemOpNodeSetParams"; static const char __pyx_k_cuGraphConditionalHandleCreate[] = "__cuGraphConditionalHandleCreate"; static const char __pyx_k_cuGraphEventRecordNodeGetEvent[] = "__cuGraphEventRecordNodeGetEvent"; static const char __pyx_k_cuGraphEventRecordNodeSetEvent[] = "__cuGraphEventRecordNodeSetEvent"; static const char __pyx_k_cuGraphExecBatchMemOpNodeSetPa[] = "__cuGraphExecBatchMemOpNodeSetParams"; static const char __pyx_k_cuGraphExecChildGraphNodeSetPa[] = "__cuGraphExecChildGraphNodeSetParams"; static const char __pyx_k_cuGraphExecEventRecordNodeSetE[] = "__cuGraphExecEventRecordNodeSetEvent"; static const char __pyx_k_cuGraphExecEventWaitNodeSetEve[] = "__cuGraphExecEventWaitNodeSetEvent"; static const char __pyx_k_cuGraphExecExternalSemaphoresS[] = "__cuGraphExecExternalSemaphoresSignalNodeSetParams"; static const char __pyx_k_cuGraphExecExternalSemaphoresW[] = "__cuGraphExecExternalSemaphoresWaitNodeSetParams"; static const char __pyx_k_cuGraphExecKernelNodeSetParams[] = "__cuGraphExecKernelNodeSetParams_v2"; static const char __pyx_k_cuGraphExecMemcpyNodeSetParams[] = "__cuGraphExecMemcpyNodeSetParams"; static const char __pyx_k_cuGraphExecMemsetNodeSetParams[] = "__cuGraphExecMemsetNodeSetParams"; static const char __pyx_k_cuGraphExternalSemaphoresSigna[] = "__cuGraphExternalSemaphoresSignalNodeGetParams"; static const char __pyx_k_cuGraphExternalSemaphoresWaitN[] = "__cuGraphExternalSemaphoresWaitNodeGetParams"; static const char __pyx_k_cuGraphKernelNodeCopyAttribute[] = "__cuGraphKernelNodeCopyAttributes"; static const char __pyx_k_cuGraphNodeGetDependentNodes_v[] = "__cuGraphNodeGetDependentNodes_v2"; static const char __pyx_k_cuGraphicsResourceGetMappedEgl[] = "__cuGraphicsResourceGetMappedEglFrame"; static const char __pyx_k_cuGraphicsResourceGetMappedMip[] = "__cuGraphicsResourceGetMappedMipmappedArray"; static const char __pyx_k_cuGraphicsResourceGetMappedPoi[] = "__cuGraphicsResourceGetMappedPointer_v2"; static const char __pyx_k_cuGraphicsSubResourceGetMapped[] = "__cuGraphicsSubResourceGetMappedArray"; static const char __pyx_k_cuGraphicsVDPAURegisterOutputS[] = "__cuGraphicsVDPAURegisterOutputSurface"; static const char __pyx_k_cuGraphicsVDPAURegisterVideoSu[] = "__cuGraphicsVDPAURegisterVideoSurface"; static const char __pyx_k_cuLaunchCooperativeKernelMulti[] = "__cuLaunchCooperativeKernelMultiDevice"; static const char __pyx_k_cuMemGetAllocationPropertiesFr[] = "__cuMemGetAllocationPropertiesFromHandle"; static const char __pyx_k_cuMemImportFromShareableHandle[] = "__cuMemImportFromShareableHandle"; static const char __pyx_k_cuMemPoolExportToShareableHand[] = "__cuMemPoolExportToShareableHandle"; static const char __pyx_k_cuMemPoolImportFromShareableHa[] = "__cuMemPoolImportFromShareableHandle"; static const char __pyx_k_cuMipmappedArrayGetMemoryRequi[] = "__cuMipmappedArrayGetMemoryRequirements"; static const char __pyx_k_cuMipmappedArrayGetSparsePrope[] = "__cuMipmappedArrayGetSparseProperties"; static const char __pyx_k_cuOccupancyAvailableDynamicSMe[] = "__cuOccupancyAvailableDynamicSMemPerBlock"; static const char __pyx_k_cuOccupancyMaxActiveBlocksPerM[] = "__cuOccupancyMaxActiveBlocksPerMultiprocessor"; static const char __pyx_k_cuOccupancyMaxPotentialBlockSi[] = "__cuOccupancyMaxPotentialBlockSize"; static const char __pyx_k_cuOccupancyMaxPotentialCluster[] = "__cuOccupancyMaxPotentialClusterSize"; static const char __pyx_k_cuSignalExternalSemaphoresAsyn[] = "__cuSignalExternalSemaphoresAsync"; static const char __pyx_k_cuStreamUpdateCaptureDependenc[] = "__cuStreamUpdateCaptureDependencies"; static const char __pyx_k_cuTexObjectGetResourceViewDesc[] = "__cuTexObjectGetResourceViewDesc"; static const char __pyx_k_cuThreadExchangeStreamCaptureM[] = "__cuThreadExchangeStreamCaptureMode"; static const char __pyx_k_z_q_Q_1_z_z_Q_Ja_1_Q_Ja_3_Q_Zq[] = "\200\001\330\004\005\330\004\007\200z\220\027\230\001\330\010\017\210q\340\004\020\220\001\330\004\025\220Q\340\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\210\036\220z\240\021\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t3\260:\270Q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\036\230j\250\001""\330\004\005\330\004\010\210\001\320\t\033\230:\240Q\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t\035\230Z\240q\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t*\250*\260A\330""\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t\035\230Z\240q\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t2\260*\270A\330\004\005\330\004\010\210\001\320\t4\260J\270a\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t\031\230\032\2401\330\004\005\330\004\010\210\001\320\t\035\230Z\240q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t ""\240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t4\260J\270a\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t6\260j\300\001\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t\037\230z\250""\021\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t\035\230Z\240q\330\004\005\330\004\010\210\001\320\t\031\230\032\2401\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t\033\230:\240Q\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t7\260z\300\021\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t1\260\032\2701\330\004\005\330\004\010\210\001\320\t3\260:\270Q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330""\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t2\260*\270A\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t2\260*\270A\330\004\005\330\004\010\210\001\320\t5\260Z\270q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330""\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t\035\230Z\240q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t0\260\n\270!\330\004\005\330\004\010\210\001\320\t8\270\n\300!\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t0\260\n\270!\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\033\230:\240Q\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t5\260Z\270q\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t\034\230J\240a\330\004\005\330\004\010\210\001\320\t\031\230\032\2401\330\004\005\330\004\010""\210\001\320\t\035\230Z\240q\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t7\260z\300\021\330\004\005\330\004\010\210\001\320\t=\270Z\300q\330\004\005\330\004\010\210\001\320\t=\270Z\300q\330\004\005\330\004\010\210\001\320\t5\260Z\270q\330\004\005\330\004\010\210\001\320\t;\270:\300Q\330\004\005\330\004\010\210\001\320\t;\270:\300Q\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t3\260:\270Q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t,\250J\260a""\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t\035\230Z\240q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t0\260\n\270!\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t2\260*\270A\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t3\260:\270Q\330\004\005\330\004\010\210\001\320\t3\260:\270Q\330\004\005\330\004\010\210\001\320\t1\260\032\2701\330\004\005\330\004\010\210\001\320\tA\300\032\3101\330\004\005\330\004\010\210\001\320\t?\270z\310\021\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t0\260\n\270!\330\004\005\330\004\010\210\001""\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t%\240Z\250q\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t<\270J\300a\330\004\005\330\004\010\210\001\320\tE\300Z\310q\330\004\005\330\004\010\210\001\320\t1\260\032\2701\330\004\005\330\004\010\210\001\320\t:\270*\300A\330\004\005\330\004\010\210\001\320\t8\270\n\300!\330\004\005\330\004\010\210\001\320\t3\260:\270Q\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004""\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t4\260J\270a\330\004\005\330\004\010\210\001\320\t:\270*\300A\330\004\005\330\004\010\210\001\320\t6\260j\300\001\330\004\005\330\004\010\210\001\320\t1\260\032\2701\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t-\250Z\260q\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320""\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t&\240j\260\001\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t'\240z\260\021\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t\036\230j\250\001\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005\330\004\010\210\001\320\t#\240:\250Q\330\004\005\330\004\010\210\001\320\t6\260j\300\001\330\004\005\330\004\010\210\001\320\t,\250J\260a\330\004\005\330\004\010\210\001\320\t(\250\n\260!\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t \240\n\250!\330\004\005\330\004\010\210\001\320\t\037\230z\250\021\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t4\260J\270a\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t0\260\n\270!\330\004\005\330\004\010\210\001\320\t0\260\n\270!\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t.\250j\270\001\330\004\005\330\004\010\210\001\320\t0\260\n\270!\330\004\005\330\004\010\210\001\320\t/\250z\270\021\330\004\005\330\004\010\210\001\320\t4\260J\270a\330\004\005\330\004\010\210\001\320\t)\250\032\2601\330\004\005\330\004\010\210\001\320\t+\250:\260Q\330\004\005\330\004\010\210\001\320\t*\250*\260A\330\004\005\330\004\010\210\001\320\t\"\240*\250A\330\004\005\330\004\010\210\001\320\t!\240\032\2501\330\004\005""\330\004\010\210\001\320\t$\240J\250a\330\004\005\330\004\010\210\001\320\t4\260J\270a\330\004\005\330\004\010\210\001\320\t5\260Z\270q\340\004\020\220\001\330\004\013\2101"; static const char __pyx_k_Function_cuArray3DCreate_v2_not[] = "Function \"cuArray3DCreate_v2\" not found"; static const char __pyx_k_Function_cuArray3DGetDescriptor[] = "Function \"cuArray3DGetDescriptor_v2\" not found"; static const char __pyx_k_Function_cuCoredumpGetAttribute[] = "Function \"cuCoredumpGetAttribute\" not found"; static const char __pyx_k_Function_cuCoredumpSetAttribute[] = "Function \"cuCoredumpSetAttribute\" not found"; static const char __pyx_k_Function_cuCtxDisablePeerAccess[] = "Function \"cuCtxDisablePeerAccess\" not found"; static const char __pyx_k_Function_cuCtxGetApiVersion_not[] = "Function \"cuCtxGetApiVersion\" not found"; static const char __pyx_k_Function_cuCtxPopCurrent_v2_not[] = "Function \"cuCtxPopCurrent_v2\" not found"; static const char __pyx_k_Function_cuDeviceGetDevResource[] = "Function \"cuDeviceGetDevResource\" not found"; static const char __pyx_k_Function_cuDeviceGetMemPool_not[] = "Function \"cuDeviceGetMemPool\" not found"; static const char __pyx_k_Function_cuDeviceGetUuid_v2_not[] = "Function \"cuDeviceGetUuid_v2\" not found"; static const char __pyx_k_Function_cuDeviceSetMemPool_not[] = "Function \"cuDeviceSetMemPool\" not found"; static const char __pyx_k_Function_cuDriverGetVersion_not[] = "Function \"cuDriverGetVersion\" not found"; static const char __pyx_k_Function_cuEventElapsedTime_not[] = "Function \"cuEventElapsedTime\" not found"; static const char __pyx_k_Function_cuEventQuery_not_found[] = "Function \"cuEventQuery\" not found"; static const char __pyx_k_Function_cuEventRecordWithFlags[] = "Function \"cuEventRecordWithFlags\" not found"; static const char __pyx_k_Function_cuEventSynchronize_not[] = "Function \"cuEventSynchronize\" not found"; static const char __pyx_k_Function_cuFuncGetAttribute_not[] = "Function \"cuFuncGetAttribute\" not found"; static const char __pyx_k_Function_cuFuncGetParamInfo_not[] = "Function \"cuFuncGetParamInfo\" not found"; static const char __pyx_k_Function_cuFuncSetAttribute_not[] = "Function \"cuFuncSetAttribute\" not found"; static const char __pyx_k_Function_cuGraphAddDependencies[] = "Function \"cuGraphAddDependencies\" not found"; static const char __pyx_k_Function_cuGraphAddHostNode_not[] = "Function \"cuGraphAddHostNode\" not found"; static const char __pyx_k_Function_cuGraphAddMemAllocNode[] = "Function \"cuGraphAddMemAllocNode\" not found"; static const char __pyx_k_Function_cuGraphClone_not_found[] = "Function \"cuGraphClone\" not found"; static const char __pyx_k_Function_cuGraphDestroyNode_not[] = "Function \"cuGraphDestroyNode\" not found"; static const char __pyx_k_Function_cuGraphExecDestroy_not[] = "Function \"cuGraphExecDestroy\" not found"; static const char __pyx_k_Function_cuGraphGetEdges_v2_not[] = "Function \"cuGraphGetEdges_v2\" not found"; static const char __pyx_k_Function_cuGraphNodeFindInClone[] = "Function \"cuGraphNodeFindInClone\" not found"; static const char __pyx_k_Function_cuGraphNodeGetType_not[] = "Function \"cuGraphNodeGetType\" not found"; static const char __pyx_k_Function_cuGraphicsMapResources[] = "Function \"cuGraphicsMapResources\" not found"; static const char __pyx_k_Function_cuGreenCtxStreamCreate[] = "Function \"cuGreenCtxStreamCreate\" not found"; static const char __pyx_k_Function_cuImportExternalMemory[] = "Function \"cuImportExternalMemory\" not found"; static const char __pyx_k_Function_cuKernelGetLibrary_not[] = "Function \"cuKernelGetLibrary\" not found"; static const char __pyx_k_Function_cuKernelSetCacheConfig[] = "Function \"cuKernelSetCacheConfig\" not found"; static const char __pyx_k_Function_cuLaunchGrid_not_found[] = "Function \"cuLaunchGrid\" not found"; static const char __pyx_k_Function_cuLibraryGetGlobal_not[] = "Function \"cuLibraryGetGlobal\" not found"; static const char __pyx_k_Function_cuLibraryGetKernel_not[] = "Function \"cuLibraryGetKernel\" not found"; static const char __pyx_k_Function_cuLibraryGetModule_not[] = "Function \"cuLibraryGetModule\" not found"; static const char __pyx_k_Function_cuLogsDumpToMemory_not[] = "Function \"cuLogsDumpToMemory\" not found"; static const char __pyx_k_Function_cuLogsRegisterCallback[] = "Function \"cuLogsRegisterCallback\" not found"; static const char __pyx_k_Function_cuMemAllocPitch_v2_not[] = "Function \"cuMemAllocPitch_v2\" not found"; static const char __pyx_k_Function_cuMemFree_v2_not_found[] = "Function \"cuMemFree_v2\" not found"; static const char __pyx_k_Function_cuMemMapArrayAsync_not[] = "Function \"cuMemMapArrayAsync\" not found"; static const char __pyx_k_Function_cuMemPoolExportPointer[] = "Function \"cuMemPoolExportPointer\" not found"; static const char __pyx_k_Function_cuMemPoolGetAccess_not[] = "Function \"cuMemPoolGetAccess\" not found"; static const char __pyx_k_Function_cuMemPoolImportPointer[] = "Function \"cuMemPoolImportPointer\" not found"; static const char __pyx_k_Function_cuMemPoolSetAccess_not[] = "Function \"cuMemPoolSetAccess\" not found"; static const char __pyx_k_Function_cuMemPrefetchAsync_not[] = "Function \"cuMemPrefetchAsync\" not found"; static const char __pyx_k_Function_cuMemRangeGetAttribute[] = "Function \"cuMemRangeGetAttribute\" not found"; static const char __pyx_k_Function_cuMemRelease_not_found[] = "Function \"cuMemRelease\" not found"; static const char __pyx_k_Function_cuMemcpy2DAsync_v2_not[] = "Function \"cuMemcpy2DAsync_v2\" not found"; static const char __pyx_k_Function_cuMemcpy2DUnaligned_v2[] = "Function \"cuMemcpy2DUnaligned_v2\" not found"; static const char __pyx_k_Function_cuMemcpy3DAsync_v2_not[] = "Function \"cuMemcpy3DAsync_v2\" not found"; static const char __pyx_k_Function_cuMemcpyBatchAsync_not[] = "Function \"cuMemcpyBatchAsync\" not found"; static const char __pyx_k_Function_cuMemcpyPeer_not_found[] = "Function \"cuMemcpyPeer\" not found"; static const char __pyx_k_Function_cuMemsetD2D16Async_not[] = "Function \"cuMemsetD2D16Async\" not found"; static const char __pyx_k_Function_cuMemsetD2D32Async_not[] = "Function \"cuMemsetD2D32Async\" not found"; static const char __pyx_k_Function_cuMipmappedArrayCreate[] = "Function \"cuMipmappedArrayCreate\" not found"; static const char __pyx_k_Function_cuModuleGetLoadingMode[] = "Function \"cuModuleGetLoadingMode\" not found"; static const char __pyx_k_Function_cuModuleGetSurfRef_not[] = "Function \"cuModuleGetSurfRef\" not found"; static const char __pyx_k_Function_cuModuleLoadDataEx_not[] = "Function \"cuModuleLoadDataEx\" not found"; static const char __pyx_k_Function_cuModuleLoad_not_found[] = "Function \"cuModuleLoad\" not found"; static const char __pyx_k_Function_cuMulticastBindMem_not[] = "Function \"cuMulticastBindMem\" not found"; static const char __pyx_k_Function_cuPointerGetAttributes[] = "Function \"cuPointerGetAttributes\" not found"; static const char __pyx_k_Function_cuStreamAttachMemAsync[] = "Function \"cuStreamAttachMemAsync\" not found"; static const char __pyx_k_Function_cuStreamCopyAttributes[] = "Function \"cuStreamCopyAttributes\" not found"; static const char __pyx_k_Function_cuStreamDestroy_v2_not[] = "Function \"cuStreamDestroy_v2\" not found"; static const char __pyx_k_Function_cuStreamEndCapture_not[] = "Function \"cuStreamEndCapture\" not found"; static const char __pyx_k_Function_cuStreamGetCaptureInfo[] = "Function \"cuStreamGetCaptureInfo_v2\" not found"; static const char __pyx_k_Function_cuStreamWaitValue32_v2[] = "Function \"cuStreamWaitValue32_v2\" not found"; static const char __pyx_k_Function_cuStreamWaitValue64_v2[] = "Function \"cuStreamWaitValue64_v2\" not found"; static const char __pyx_k_Function_cuSurfObjectCreate_not[] = "Function \"cuSurfObjectCreate\" not found"; static const char __pyx_k_Function_cuTensorMapEncodeTiled[] = "Function \"cuTensorMapEncodeTiled\" not found"; static const char __pyx_k_Function_cuTexObjectDestroy_not[] = "Function \"cuTexObjectDestroy\" not found"; static const char __pyx_k_Function_cuTexRefGetAddressMode[] = "Function \"cuTexRefGetAddressMode\" not found"; static const char __pyx_k_Function_cuTexRefGetBorderColor[] = "Function \"cuTexRefGetBorderColor\" not found"; static const char __pyx_k_Function_cuTexRefSetAddressMode[] = "Function \"cuTexRefSetAddressMode\" not found"; static const char __pyx_k_Function_cuTexRefSetBorderColor[] = "Function \"cuTexRefSetBorderColor\" not found"; static const char __pyx_k_Function_cuUserObjectCreate_not[] = "Function \"cuUserObjectCreate\" not found"; static const char __pyx_k_Function_cuUserObjectRetain_not[] = "Function \"cuUserObjectRetain\" not found"; static const char __pyx_k_CUDA_PYTHON_CUDA_PER_THREAD_DEFA[] = "CUDA_PYTHON_CUDA_PER_THREAD_DEFAULT_STREAM"; static const char __pyx_k_Function_cuArrayCreate_v2_not_fo[] = "Function \"cuArrayCreate_v2\" not found"; static const char __pyx_k_Function_cuArrayDestroy_not_foun[] = "Function \"cuArrayDestroy\" not found"; static const char __pyx_k_Function_cuArrayGetDescriptor_v2[] = "Function \"cuArrayGetDescriptor_v2\" not found"; static const char __pyx_k_Function_cuArrayGetMemoryRequire[] = "Function \"cuArrayGetMemoryRequirements\" not found"; static const char __pyx_k_Function_cuArrayGetPlane_not_fou[] = "Function \"cuArrayGetPlane\" not found"; static const char __pyx_k_Function_cuArrayGetSparsePropert[] = "Function \"cuArrayGetSparseProperties\" not found"; static const char __pyx_k_Function_cuCheckpointProcessChec[] = "Function \"cuCheckpointProcessCheckpoint\" not found"; static const char __pyx_k_Function_cuCheckpointProcessGetR[] = "Function \"cuCheckpointProcessGetRestoreThreadId\" not found"; static const char __pyx_k_Function_cuCheckpointProcessGetS[] = "Function \"cuCheckpointProcessGetState\" not found"; static const char __pyx_k_Function_cuCheckpointProcessLock[] = "Function \"cuCheckpointProcessLock\" not found"; static const char __pyx_k_Function_cuCheckpointProcessRest[] = "Function \"cuCheckpointProcessRestore\" not found"; static const char __pyx_k_Function_cuCheckpointProcessUnlo[] = "Function \"cuCheckpointProcessUnlock\" not found"; static const char __pyx_k_Function_cuCoredumpGetAttributeG[] = "Function \"cuCoredumpGetAttributeGlobal\" not found"; static const char __pyx_k_Function_cuCoredumpSetAttributeG[] = "Function \"cuCoredumpSetAttributeGlobal\" not found"; static const char __pyx_k_Function_cuCtxCreate_v2_not_foun[] = "Function \"cuCtxCreate_v2\" not found"; static const char __pyx_k_Function_cuCtxCreate_v3_not_foun[] = "Function \"cuCtxCreate_v3\" not found"; static const char __pyx_k_Function_cuCtxCreate_v4_not_foun[] = "Function \"cuCtxCreate_v4\" not found"; static const char __pyx_k_Function_cuCtxDestroy_v2_not_fou[] = "Function \"cuCtxDestroy_v2\" not found"; static const char __pyx_k_Function_cuCtxEnablePeerAccess_n[] = "Function \"cuCtxEnablePeerAccess\" not found"; static const char __pyx_k_Function_cuCtxFromGreenCtx_not_f[] = "Function \"cuCtxFromGreenCtx\" not found"; static const char __pyx_k_Function_cuCtxGetCacheConfig_not[] = "Function \"cuCtxGetCacheConfig\" not found"; static const char __pyx_k_Function_cuCtxGetCurrent_not_fou[] = "Function \"cuCtxGetCurrent\" not found"; static const char __pyx_k_Function_cuCtxGetDevResource_not[] = "Function \"cuCtxGetDevResource\" not found"; static const char __pyx_k_Function_cuCtxGetDevice_not_foun[] = "Function \"cuCtxGetDevice\" not found"; static const char __pyx_k_Function_cuCtxGetExecAffinity_no[] = "Function \"cuCtxGetExecAffinity\" not found"; static const char __pyx_k_Function_cuCtxGetFlags_not_found[] = "Function \"cuCtxGetFlags\" not found"; static const char __pyx_k_Function_cuCtxGetLimit_not_found[] = "Function \"cuCtxGetLimit\" not found"; static const char __pyx_k_Function_cuCtxGetSharedMemConfig[] = "Function \"cuCtxGetSharedMemConfig\" not found"; static const char __pyx_k_Function_cuCtxGetStreamPriorityR[] = "Function \"cuCtxGetStreamPriorityRange\" not found"; static const char __pyx_k_Function_cuCtxPushCurrent_v2_not[] = "Function \"cuCtxPushCurrent_v2\" not found"; static const char __pyx_k_Function_cuCtxRecordEvent_not_fo[] = "Function \"cuCtxRecordEvent\" not found"; static const char __pyx_k_Function_cuCtxResetPersistingL2C[] = "Function \"cuCtxResetPersistingL2Cache\" not found"; static const char __pyx_k_Function_cuCtxSetCacheConfig_not[] = "Function \"cuCtxSetCacheConfig\" not found"; static const char __pyx_k_Function_cuCtxSetCurrent_not_fou[] = "Function \"cuCtxSetCurrent\" not found"; static const char __pyx_k_Function_cuCtxSetFlags_not_found[] = "Function \"cuCtxSetFlags\" not found"; static const char __pyx_k_Function_cuCtxSetLimit_not_found[] = "Function \"cuCtxSetLimit\" not found"; static const char __pyx_k_Function_cuCtxSetSharedMemConfig[] = "Function \"cuCtxSetSharedMemConfig\" not found"; static const char __pyx_k_Function_cuCtxSynchronize_not_fo[] = "Function \"cuCtxSynchronize\" not found"; static const char __pyx_k_Function_cuCtxWaitEvent_not_foun[] = "Function \"cuCtxWaitEvent\" not found"; static const char __pyx_k_Function_cuDestroyExternalMemory[] = "Function \"cuDestroyExternalMemory\" not found"; static const char __pyx_k_Function_cuDestroyExternalSemaph[] = "Function \"cuDestroyExternalSemaphore\" not found"; static const char __pyx_k_Function_cuDevResourceGenerateDe[] = "Function \"cuDevResourceGenerateDesc\" not found"; static const char __pyx_k_Function_cuDevSmResourceSplitByC[] = "Function \"cuDevSmResourceSplitByCount\" not found"; static const char __pyx_k_Function_cuDeviceCanAccessPeer_n[] = "Function \"cuDeviceCanAccessPeer\" not found"; static const char __pyx_k_Function_cuDeviceComputeCapabili[] = "Function \"cuDeviceComputeCapability\" not found"; static const char __pyx_k_Function_cuDeviceGetAttribute_no[] = "Function \"cuDeviceGetAttribute\" not found"; static const char __pyx_k_Function_cuDeviceGetByPCIBusId_n[] = "Function \"cuDeviceGetByPCIBusId\" not found"; static const char __pyx_k_Function_cuDeviceGetCount_not_fo[] = "Function \"cuDeviceGetCount\" not found"; static const char __pyx_k_Function_cuDeviceGetDefaultMemPo[] = "Function \"cuDeviceGetDefaultMemPool\" not found"; static const char __pyx_k_Function_cuDeviceGetExecAffinity[] = "Function \"cuDeviceGetExecAffinitySupport\" not found"; static const char __pyx_k_Function_cuDeviceGetGraphMemAttr[] = "Function \"cuDeviceGetGraphMemAttribute\" not found"; static const char __pyx_k_Function_cuDeviceGetLuid_not_fou[] = "Function \"cuDeviceGetLuid\" not found"; static const char __pyx_k_Function_cuDeviceGetName_not_fou[] = "Function \"cuDeviceGetName\" not found"; static const char __pyx_k_Function_cuDeviceGetNvSciSyncAtt[] = "Function \"cuDeviceGetNvSciSyncAttributes\" not found"; static const char __pyx_k_Function_cuDeviceGetP2PAttribute[] = "Function \"cuDeviceGetP2PAttribute\" not found"; static const char __pyx_k_Function_cuDeviceGetPCIBusId_not[] = "Function \"cuDeviceGetPCIBusId\" not found"; static const char __pyx_k_Function_cuDeviceGetProperties_n[] = "Function \"cuDeviceGetProperties\" not found"; static const char __pyx_k_Function_cuDeviceGetTexture1DLin[] = "Function \"cuDeviceGetTexture1DLinearMaxWidth\" not found"; static const char __pyx_k_Function_cuDeviceGetUuid_not_fou[] = "Function \"cuDeviceGetUuid\" not found"; static const char __pyx_k_Function_cuDeviceGraphMemTrim_no[] = "Function \"cuDeviceGraphMemTrim\" not found"; static const char __pyx_k_Function_cuDevicePrimaryCtxGetSt[] = "Function \"cuDevicePrimaryCtxGetState\" not found"; static const char __pyx_k_Function_cuDevicePrimaryCtxRelea[] = "Function \"cuDevicePrimaryCtxRelease_v2\" not found"; static const char __pyx_k_Function_cuDevicePrimaryCtxReset[] = "Function \"cuDevicePrimaryCtxReset_v2\" not found"; static const char __pyx_k_Function_cuDevicePrimaryCtxRetai[] = "Function \"cuDevicePrimaryCtxRetain\" not found"; static const char __pyx_k_Function_cuDevicePrimaryCtxSetFl[] = "Function \"cuDevicePrimaryCtxSetFlags_v2\" not found"; static const char __pyx_k_Function_cuDeviceRegisterAsyncNo[] = "Function \"cuDeviceRegisterAsyncNotification\" not found"; static const char __pyx_k_Function_cuDeviceSetGraphMemAttr[] = "Function \"cuDeviceSetGraphMemAttribute\" not found"; static const char __pyx_k_Function_cuDeviceTotalMem_v2_not[] = "Function \"cuDeviceTotalMem_v2\" not found"; static const char __pyx_k_Function_cuDeviceUnregisterAsync[] = "Function \"cuDeviceUnregisterAsyncNotification\" not found"; static const char __pyx_k_Function_cuEGLStreamConsumerAcqu[] = "Function \"cuEGLStreamConsumerAcquireFrame\" not found"; static const char __pyx_k_Function_cuEGLStreamConsumerConn[] = "Function \"cuEGLStreamConsumerConnect\" not found"; static const char __pyx_k_Function_cuEGLStreamConsumerDisc[] = "Function \"cuEGLStreamConsumerDisconnect\" not found"; static const char __pyx_k_Function_cuEGLStreamConsumerRele[] = "Function \"cuEGLStreamConsumerReleaseFrame\" not found"; static const char __pyx_k_Function_cuEGLStreamProducerConn[] = "Function \"cuEGLStreamProducerConnect\" not found"; static const char __pyx_k_Function_cuEGLStreamProducerDisc[] = "Function \"cuEGLStreamProducerDisconnect\" not found"; static const char __pyx_k_Function_cuEGLStreamProducerPres[] = "Function \"cuEGLStreamProducerPresentFrame\" not found"; static const char __pyx_k_Function_cuEGLStreamProducerRetu[] = "Function \"cuEGLStreamProducerReturnFrame\" not found"; static const char __pyx_k_Function_cuEventCreateFromEGLSyn[] = "Function \"cuEventCreateFromEGLSync\" not found"; static const char __pyx_k_Function_cuEventCreate_not_found[] = "Function \"cuEventCreate\" not found"; static const char __pyx_k_Function_cuEventDestroy_v2_not_f[] = "Function \"cuEventDestroy_v2\" not found"; static const char __pyx_k_Function_cuEventElapsedTime_v2_n[] = "Function \"cuEventElapsedTime_v2\" not found"; static const char __pyx_k_Function_cuEventRecord_not_found[] = "Function \"cuEventRecord\" not found"; static const char __pyx_k_Function_cuExternalMemoryGetMapp[] = "Function \"cuExternalMemoryGetMappedBuffer\" not found"; static const char __pyx_k_Function_cuFlushGPUDirectRDMAWri[] = "Function \"cuFlushGPUDirectRDMAWrites\" not found"; static const char __pyx_k_Function_cuFuncGetModule_not_fou[] = "Function \"cuFuncGetModule\" not found"; static const char __pyx_k_Function_cuFuncGetName_not_found[] = "Function \"cuFuncGetName\" not found"; static const char __pyx_k_Function_cuFuncIsLoaded_not_foun[] = "Function \"cuFuncIsLoaded\" not found"; static const char __pyx_k_Function_cuFuncSetBlockShape_not[] = "Function \"cuFuncSetBlockShape\" not found"; static const char __pyx_k_Function_cuFuncSetCacheConfig_no[] = "Function \"cuFuncSetCacheConfig\" not found"; static const char __pyx_k_Function_cuFuncSetSharedMemConfi[] = "Function \"cuFuncSetSharedMemConfig\" not found"; static const char __pyx_k_Function_cuFuncSetSharedSize_not[] = "Function \"cuFuncSetSharedSize\" not found"; static const char __pyx_k_Function_cuGLGetDevices_v2_not_f[] = "Function \"cuGLGetDevices_v2\" not found"; static const char __pyx_k_Function_cuGetErrorName_not_foun[] = "Function \"cuGetErrorName\" not found"; static const char __pyx_k_Function_cuGetErrorString_not_fo[] = "Function \"cuGetErrorString\" not found"; static const char __pyx_k_Function_cuGetExportTable_not_fo[] = "Function \"cuGetExportTable\" not found"; static const char __pyx_k_Function_cuGetProcAddress_v2_not[] = "Function \"cuGetProcAddress_v2\" not found"; static const char __pyx_k_Function_cuGraphAddBatchMemOpNod[] = "Function \"cuGraphAddBatchMemOpNode\" not found"; static const char __pyx_k_Function_cuGraphAddChildGraphNod[] = "Function \"cuGraphAddChildGraphNode\" not found"; static const char __pyx_k_Function_cuGraphAddEmptyNode_not[] = "Function \"cuGraphAddEmptyNode\" not found"; static const char __pyx_k_Function_cuGraphAddEventRecordNo[] = "Function \"cuGraphAddEventRecordNode\" not found"; static const char __pyx_k_Function_cuGraphAddEventWaitNode[] = "Function \"cuGraphAddEventWaitNode\" not found"; static const char __pyx_k_Function_cuGraphAddExternalSemap[] = "Function \"cuGraphAddExternalSemaphoresSignalNode\" not found"; static const char __pyx_k_Function_cuGraphAddKernelNode_v2[] = "Function \"cuGraphAddKernelNode_v2\" not found"; static const char __pyx_k_Function_cuGraphAddMemFreeNode_n[] = "Function \"cuGraphAddMemFreeNode\" not found"; static const char __pyx_k_Function_cuGraphAddMemcpyNode_no[] = "Function \"cuGraphAddMemcpyNode\" not found"; static const char __pyx_k_Function_cuGraphAddMemsetNode_no[] = "Function \"cuGraphAddMemsetNode\" not found"; static const char __pyx_k_Function_cuGraphAddNode_not_foun[] = "Function \"cuGraphAddNode\" not found"; static const char __pyx_k_Function_cuGraphAddNode_v2_not_f[] = "Function \"cuGraphAddNode_v2\" not found"; static const char __pyx_k_Function_cuGraphBatchMemOpNodeGe[] = "Function \"cuGraphBatchMemOpNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphBatchMemOpNodeSe[] = "Function \"cuGraphBatchMemOpNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphChildGraphNodeGe[] = "Function \"cuGraphChildGraphNodeGetGraph\" not found"; static const char __pyx_k_Function_cuGraphConditionalHandl[] = "Function \"cuGraphConditionalHandleCreate\" not found"; static const char __pyx_k_Function_cuGraphCreate_not_found[] = "Function \"cuGraphCreate\" not found"; static const char __pyx_k_Function_cuGraphDebugDotPrint_no[] = "Function \"cuGraphDebugDotPrint\" not found"; static const char __pyx_k_Function_cuGraphDestroy_not_foun[] = "Function \"cuGraphDestroy\" not found"; static const char __pyx_k_Function_cuGraphEventRecordNodeG[] = "Function \"cuGraphEventRecordNodeGetEvent\" not found"; static const char __pyx_k_Function_cuGraphEventRecordNodeS[] = "Function \"cuGraphEventRecordNodeSetEvent\" not found"; static const char __pyx_k_Function_cuGraphEventWaitNodeGet[] = "Function \"cuGraphEventWaitNodeGetEvent\" not found"; static const char __pyx_k_Function_cuGraphEventWaitNodeSet[] = "Function \"cuGraphEventWaitNodeSetEvent\" not found"; static const char __pyx_k_Function_cuGraphExecBatchMemOpNo[] = "Function \"cuGraphExecBatchMemOpNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExecChildGraphNo[] = "Function \"cuGraphExecChildGraphNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExecEventRecordN[] = "Function \"cuGraphExecEventRecordNodeSetEvent\" not found"; static const char __pyx_k_Function_cuGraphExecEventWaitNod[] = "Function \"cuGraphExecEventWaitNodeSetEvent\" not found"; static const char __pyx_k_Function_cuGraphExecExternalSema[] = "Function \"cuGraphExecExternalSemaphoresSignalNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExecGetFlags_not[] = "Function \"cuGraphExecGetFlags\" not found"; static const char __pyx_k_Function_cuGraphExecHostNodeSetP[] = "Function \"cuGraphExecHostNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExecKernelNodeSe[] = "Function \"cuGraphExecKernelNodeSetParams_v2\" not found"; static const char __pyx_k_Function_cuGraphExecMemcpyNodeSe[] = "Function \"cuGraphExecMemcpyNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExecMemsetNodeSe[] = "Function \"cuGraphExecMemsetNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExecNodeSetParam[] = "Function \"cuGraphExecNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExecUpdate_v2_no[] = "Function \"cuGraphExecUpdate_v2\" not found"; static const char __pyx_k_Function_cuGraphExternalSemaphor[] = "Function \"cuGraphExternalSemaphoresSignalNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphGetEdges_not_fou[] = "Function \"cuGraphGetEdges\" not found"; static const char __pyx_k_Function_cuGraphGetNodes_not_fou[] = "Function \"cuGraphGetNodes\" not found"; static const char __pyx_k_Function_cuGraphGetRootNodes_not[] = "Function \"cuGraphGetRootNodes\" not found"; static const char __pyx_k_Function_cuGraphHostNodeGetParam[] = "Function \"cuGraphHostNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphHostNodeSetParam[] = "Function \"cuGraphHostNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphInstantiateWithF[] = "Function \"cuGraphInstantiateWithFlags\" not found"; static const char __pyx_k_Function_cuGraphInstantiateWithP[] = "Function \"cuGraphInstantiateWithParams\" not found"; static const char __pyx_k_Function_cuGraphKernelNodeCopyAt[] = "Function \"cuGraphKernelNodeCopyAttributes\" not found"; static const char __pyx_k_Function_cuGraphKernelNodeGetAtt[] = "Function \"cuGraphKernelNodeGetAttribute\" not found"; static const char __pyx_k_Function_cuGraphKernelNodeGetPar[] = "Function \"cuGraphKernelNodeGetParams_v2\" not found"; static const char __pyx_k_Function_cuGraphKernelNodeSetAtt[] = "Function \"cuGraphKernelNodeSetAttribute\" not found"; static const char __pyx_k_Function_cuGraphKernelNodeSetPar[] = "Function \"cuGraphKernelNodeSetParams_v2\" not found"; static const char __pyx_k_Function_cuGraphLaunch_not_found[] = "Function \"cuGraphLaunch\" not found"; static const char __pyx_k_Function_cuGraphMemAllocNodeGetP[] = "Function \"cuGraphMemAllocNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphMemFreeNodeGetPa[] = "Function \"cuGraphMemFreeNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphMemcpyNodeGetPar[] = "Function \"cuGraphMemcpyNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphMemcpyNodeSetPar[] = "Function \"cuGraphMemcpyNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphMemsetNodeGetPar[] = "Function \"cuGraphMemsetNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphMemsetNodeSetPar[] = "Function \"cuGraphMemsetNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphNodeGetDependenc[] = "Function \"cuGraphNodeGetDependencies\" not found"; static const char __pyx_k_Function_cuGraphNodeGetDependent[] = "Function \"cuGraphNodeGetDependentNodes\" not found"; static const char __pyx_k_Function_cuGraphNodeGetEnabled_n[] = "Function \"cuGraphNodeGetEnabled\" not found"; static const char __pyx_k_Function_cuGraphNodeSetEnabled_n[] = "Function \"cuGraphNodeSetEnabled\" not found"; static const char __pyx_k_Function_cuGraphNodeSetParams_no[] = "Function \"cuGraphNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphReleaseUserObjec[] = "Function \"cuGraphReleaseUserObject\" not found"; static const char __pyx_k_Function_cuGraphRemoveDependenci[] = "Function \"cuGraphRemoveDependencies\" not found"; static const char __pyx_k_Function_cuGraphRetainUserObject[] = "Function \"cuGraphRetainUserObject\" not found"; static const char __pyx_k_Function_cuGraphUpload_not_found[] = "Function \"cuGraphUpload\" not found"; static const char __pyx_k_Function_cuGraphicsEGLRegisterIm[] = "Function \"cuGraphicsEGLRegisterImage\" not found"; static const char __pyx_k_Function_cuGraphicsGLRegisterBuf[] = "Function \"cuGraphicsGLRegisterBuffer\" not found"; static const char __pyx_k_Function_cuGraphicsGLRegisterIma[] = "Function \"cuGraphicsGLRegisterImage\" not found"; static const char __pyx_k_Function_cuGraphicsResourceGetMa[] = "Function \"cuGraphicsResourceGetMappedMipmappedArray\" not found"; static const char __pyx_k_Function_cuGraphicsResourceSetMa[] = "Function \"cuGraphicsResourceSetMapFlags_v2\" not found"; static const char __pyx_k_Function_cuGraphicsSubResourceGe[] = "Function \"cuGraphicsSubResourceGetMappedArray\" not found"; static const char __pyx_k_Function_cuGraphicsUnmapResource[] = "Function \"cuGraphicsUnmapResources\" not found"; static const char __pyx_k_Function_cuGraphicsUnregisterRes[] = "Function \"cuGraphicsUnregisterResource\" not found"; static const char __pyx_k_Function_cuGraphicsVDPAURegister[] = "Function \"cuGraphicsVDPAURegisterVideoSurface\" not found"; static const char __pyx_k_Function_cuGreenCtxCreate_not_fo[] = "Function \"cuGreenCtxCreate\" not found"; static const char __pyx_k_Function_cuGreenCtxDestroy_not_f[] = "Function \"cuGreenCtxDestroy\" not found"; static const char __pyx_k_Function_cuGreenCtxGetDevResourc[] = "Function \"cuGreenCtxGetDevResource\" not found"; static const char __pyx_k_Function_cuGreenCtxRecordEvent_n[] = "Function \"cuGreenCtxRecordEvent\" not found"; static const char __pyx_k_Function_cuGreenCtxWaitEvent_not[] = "Function \"cuGreenCtxWaitEvent\" not found"; static const char __pyx_k_Function_cuImportExternalSemapho[] = "Function \"cuImportExternalSemaphore\" not found"; static const char __pyx_k_Function_cuIpcCloseMemHandle_not[] = "Function \"cuIpcCloseMemHandle\" not found"; static const char __pyx_k_Function_cuIpcGetEventHandle_not[] = "Function \"cuIpcGetEventHandle\" not found"; static const char __pyx_k_Function_cuIpcGetMemHandle_not_f[] = "Function \"cuIpcGetMemHandle\" not found"; static const char __pyx_k_Function_cuIpcOpenEventHandle_no[] = "Function \"cuIpcOpenEventHandle\" not found"; static const char __pyx_k_Function_cuIpcOpenMemHandle_v2_n[] = "Function \"cuIpcOpenMemHandle_v2\" not found"; static const char __pyx_k_Function_cuKernelGetAttribute_no[] = "Function \"cuKernelGetAttribute\" not found"; static const char __pyx_k_Function_cuKernelGetFunction_not[] = "Function \"cuKernelGetFunction\" not found"; static const char __pyx_k_Function_cuKernelGetName_not_fou[] = "Function \"cuKernelGetName\" not found"; static const char __pyx_k_Function_cuKernelGetParamInfo_no[] = "Function \"cuKernelGetParamInfo\" not found"; static const char __pyx_k_Function_cuKernelSetAttribute_no[] = "Function \"cuKernelSetAttribute\" not found"; static const char __pyx_k_Function_cuLaunchCooperativeKern[] = "Function \"cuLaunchCooperativeKernel\" not found"; static const char __pyx_k_Function_cuLaunchGridAsync_not_f[] = "Function \"cuLaunchGridAsync\" not found"; static const char __pyx_k_Function_cuLaunchHostFunc_not_fo[] = "Function \"cuLaunchHostFunc\" not found"; static const char __pyx_k_Function_cuLaunchKernelEx_not_fo[] = "Function \"cuLaunchKernelEx\" not found"; static const char __pyx_k_Function_cuLaunchKernel_not_foun[] = "Function \"cuLaunchKernel\" not found"; static const char __pyx_k_Function_cuLibraryEnumerateKerne[] = "Function \"cuLibraryEnumerateKernels\" not found"; static const char __pyx_k_Function_cuLibraryGetKernelCount[] = "Function \"cuLibraryGetKernelCount\" not found"; static const char __pyx_k_Function_cuLibraryGetManaged_not[] = "Function \"cuLibraryGetManaged\" not found"; static const char __pyx_k_Function_cuLibraryGetUnifiedFunc[] = "Function \"cuLibraryGetUnifiedFunction\" not found"; static const char __pyx_k_Function_cuLibraryLoadData_not_f[] = "Function \"cuLibraryLoadData\" not found"; static const char __pyx_k_Function_cuLibraryLoadFromFile_n[] = "Function \"cuLibraryLoadFromFile\" not found"; static const char __pyx_k_Function_cuLibraryUnload_not_fou[] = "Function \"cuLibraryUnload\" not found"; static const char __pyx_k_Function_cuLinkAddData_v2_not_fo[] = "Function \"cuLinkAddData_v2\" not found"; static const char __pyx_k_Function_cuLinkAddFile_v2_not_fo[] = "Function \"cuLinkAddFile_v2\" not found"; static const char __pyx_k_Function_cuLinkComplete_not_foun[] = "Function \"cuLinkComplete\" not found"; static const char __pyx_k_Function_cuLinkCreate_v2_not_fou[] = "Function \"cuLinkCreate_v2\" not found"; static const char __pyx_k_Function_cuLinkDestroy_not_found[] = "Function \"cuLinkDestroy\" not found"; static const char __pyx_k_Function_cuLogsCurrent_not_found[] = "Function \"cuLogsCurrent\" not found"; static const char __pyx_k_Function_cuLogsDumpToFile_not_fo[] = "Function \"cuLogsDumpToFile\" not found"; static const char __pyx_k_Function_cuLogsUnregisterCallbac[] = "Function \"cuLogsUnregisterCallback\" not found"; static const char __pyx_k_Function_cuMemAddressFree_not_fo[] = "Function \"cuMemAddressFree\" not found"; static const char __pyx_k_Function_cuMemAddressReserve_not[] = "Function \"cuMemAddressReserve\" not found"; static const char __pyx_k_Function_cuMemAdvise_v2_not_foun[] = "Function \"cuMemAdvise_v2\" not found"; static const char __pyx_k_Function_cuMemAllocAsync_not_fou[] = "Function \"cuMemAllocAsync\" not found"; static const char __pyx_k_Function_cuMemAllocFromPoolAsync[] = "Function \"cuMemAllocFromPoolAsync\" not found"; static const char __pyx_k_Function_cuMemAllocHost_v2_not_f[] = "Function \"cuMemAllocHost_v2\" not found"; static const char __pyx_k_Function_cuMemAllocManaged_not_f[] = "Function \"cuMemAllocManaged\" not found"; static const char __pyx_k_Function_cuMemAlloc_v2_not_found[] = "Function \"cuMemAlloc_v2\" not found"; static const char __pyx_k_Function_cuMemBatchDecompressAsy[] = "Function \"cuMemBatchDecompressAsync\" not found"; static const char __pyx_k_Function_cuMemExportToShareableH[] = "Function \"cuMemExportToShareableHandle\" not found"; static const char __pyx_k_Function_cuMemFreeAsync_not_foun[] = "Function \"cuMemFreeAsync\" not found"; static const char __pyx_k_Function_cuMemFreeHost_not_found[] = "Function \"cuMemFreeHost\" not found"; static const char __pyx_k_Function_cuMemGetAccess_not_foun[] = "Function \"cuMemGetAccess\" not found"; static const char __pyx_k_Function_cuMemGetAddressRange_v2[] = "Function \"cuMemGetAddressRange_v2\" not found"; static const char __pyx_k_Function_cuMemGetAllocationGranu[] = "Function \"cuMemGetAllocationGranularity\" not found"; static const char __pyx_k_Function_cuMemGetAllocationPrope[] = "Function \"cuMemGetAllocationPropertiesFromHandle\" not found"; static const char __pyx_k_Function_cuMemGetHandleForAddres[] = "Function \"cuMemGetHandleForAddressRange\" not found"; static const char __pyx_k_Function_cuMemGetInfo_v2_not_fou[] = "Function \"cuMemGetInfo_v2\" not found"; static const char __pyx_k_Function_cuMemHostAlloc_not_foun[] = "Function \"cuMemHostAlloc\" not found"; static const char __pyx_k_Function_cuMemHostGetDevicePoint[] = "Function \"cuMemHostGetDevicePointer_v2\" not found"; static const char __pyx_k_Function_cuMemHostGetFlags_not_f[] = "Function \"cuMemHostGetFlags\" not found"; static const char __pyx_k_Function_cuMemHostRegister_v2_no[] = "Function \"cuMemHostRegister_v2\" not found"; static const char __pyx_k_Function_cuMemHostUnregister_not[] = "Function \"cuMemHostUnregister\" not found"; static const char __pyx_k_Function_cuMemImportFromShareabl[] = "Function \"cuMemImportFromShareableHandle\" not found"; static const char __pyx_k_Function_cuMemPoolCreate_not_fou[] = "Function \"cuMemPoolCreate\" not found"; static const char __pyx_k_Function_cuMemPoolDestroy_not_fo[] = "Function \"cuMemPoolDestroy\" not found"; static const char __pyx_k_Function_cuMemPoolExportToSharea[] = "Function \"cuMemPoolExportToShareableHandle\" not found"; static const char __pyx_k_Function_cuMemPoolGetAttribute_n[] = "Function \"cuMemPoolGetAttribute\" not found"; static const char __pyx_k_Function_cuMemPoolImportFromShar[] = "Function \"cuMemPoolImportFromShareableHandle\" not found"; static const char __pyx_k_Function_cuMemPoolSetAttribute_n[] = "Function \"cuMemPoolSetAttribute\" not found"; static const char __pyx_k_Function_cuMemPoolTrimTo_not_fou[] = "Function \"cuMemPoolTrimTo\" not found"; static const char __pyx_k_Function_cuMemPrefetchAsync_v2_n[] = "Function \"cuMemPrefetchAsync_v2\" not found"; static const char __pyx_k_Function_cuMemRangeGetAttributes[] = "Function \"cuMemRangeGetAttributes\" not found"; static const char __pyx_k_Function_cuMemRetainAllocationHa[] = "Function \"cuMemRetainAllocationHandle\" not found"; static const char __pyx_k_Function_cuMemSetAccess_not_foun[] = "Function \"cuMemSetAccess\" not found"; static const char __pyx_k_Function_cuMemcpy2D_v2_not_found[] = "Function \"cuMemcpy2D_v2\" not found"; static const char __pyx_k_Function_cuMemcpy3DBatchAsync_no[] = "Function \"cuMemcpy3DBatchAsync\" not found"; static const char __pyx_k_Function_cuMemcpy3DPeerAsync_not[] = "Function \"cuMemcpy3DPeerAsync\" not found"; static const char __pyx_k_Function_cuMemcpy3DPeer_not_foun[] = "Function \"cuMemcpy3DPeer\" not found"; static const char __pyx_k_Function_cuMemcpy3D_v2_not_found[] = "Function \"cuMemcpy3D_v2\" not found"; static const char __pyx_k_Function_cuMemcpyAsync_not_found[] = "Function \"cuMemcpyAsync\" not found"; static const char __pyx_k_Function_cuMemcpyAtoA_v2_not_fou[] = "Function \"cuMemcpyAtoA_v2\" not found"; static const char __pyx_k_Function_cuMemcpyAtoD_v2_not_fou[] = "Function \"cuMemcpyAtoD_v2\" not found"; static const char __pyx_k_Function_cuMemcpyAtoHAsync_v2_no[] = "Function \"cuMemcpyAtoHAsync_v2\" not found"; static const char __pyx_k_Function_cuMemcpyAtoH_v2_not_fou[] = "Function \"cuMemcpyAtoH_v2\" not found"; static const char __pyx_k_Function_cuMemcpyDtoA_v2_not_fou[] = "Function \"cuMemcpyDtoA_v2\" not found"; static const char __pyx_k_Function_cuMemcpyDtoDAsync_v2_no[] = "Function \"cuMemcpyDtoDAsync_v2\" not found"; static const char __pyx_k_Function_cuMemcpyDtoD_v2_not_fou[] = "Function \"cuMemcpyDtoD_v2\" not found"; static const char __pyx_k_Function_cuMemcpyDtoHAsync_v2_no[] = "Function \"cuMemcpyDtoHAsync_v2\" not found"; static const char __pyx_k_Function_cuMemcpyDtoH_v2_not_fou[] = "Function \"cuMemcpyDtoH_v2\" not found"; static const char __pyx_k_Function_cuMemcpyHtoAAsync_v2_no[] = "Function \"cuMemcpyHtoAAsync_v2\" not found"; static const char __pyx_k_Function_cuMemcpyHtoA_v2_not_fou[] = "Function \"cuMemcpyHtoA_v2\" not found"; static const char __pyx_k_Function_cuMemcpyHtoDAsync_v2_no[] = "Function \"cuMemcpyHtoDAsync_v2\" not found"; static const char __pyx_k_Function_cuMemcpyHtoD_v2_not_fou[] = "Function \"cuMemcpyHtoD_v2\" not found"; static const char __pyx_k_Function_cuMemcpyPeerAsync_not_f[] = "Function \"cuMemcpyPeerAsync\" not found"; static const char __pyx_k_Function_cuMemsetD16Async_not_fo[] = "Function \"cuMemsetD16Async\" not found"; static const char __pyx_k_Function_cuMemsetD16_v2_not_foun[] = "Function \"cuMemsetD16_v2\" not found"; static const char __pyx_k_Function_cuMemsetD2D16_v2_not_fo[] = "Function \"cuMemsetD2D16_v2\" not found"; static const char __pyx_k_Function_cuMemsetD2D32_v2_not_fo[] = "Function \"cuMemsetD2D32_v2\" not found"; static const char __pyx_k_Function_cuMemsetD2D8Async_not_f[] = "Function \"cuMemsetD2D8Async\" not found"; static const char __pyx_k_Function_cuMemsetD2D8_v2_not_fou[] = "Function \"cuMemsetD2D8_v2\" not found"; static const char __pyx_k_Function_cuMemsetD32Async_not_fo[] = "Function \"cuMemsetD32Async\" not found"; static const char __pyx_k_Function_cuMemsetD32_v2_not_foun[] = "Function \"cuMemsetD32_v2\" not found"; static const char __pyx_k_Function_cuMemsetD8Async_not_fou[] = "Function \"cuMemsetD8Async\" not found"; static const char __pyx_k_Function_cuMemsetD8_v2_not_found[] = "Function \"cuMemsetD8_v2\" not found"; static const char __pyx_k_Function_cuMipmappedArrayDestroy[] = "Function \"cuMipmappedArrayDestroy\" not found"; static const char __pyx_k_Function_cuMipmappedArrayGetLeve[] = "Function \"cuMipmappedArrayGetLevel\" not found"; static const char __pyx_k_Function_cuMipmappedArrayGetMemo[] = "Function \"cuMipmappedArrayGetMemoryRequirements\" not found"; static const char __pyx_k_Function_cuMipmappedArrayGetSpar[] = "Function \"cuMipmappedArrayGetSparseProperties\" not found"; static const char __pyx_k_Function_cuModuleEnumerateFuncti[] = "Function \"cuModuleEnumerateFunctions\" not found"; static const char __pyx_k_Function_cuModuleGetFunctionCoun[] = "Function \"cuModuleGetFunctionCount\" not found"; static const char __pyx_k_Function_cuModuleGetFunction_not[] = "Function \"cuModuleGetFunction\" not found"; static const char __pyx_k_Function_cuModuleGetGlobal_v2_no[] = "Function \"cuModuleGetGlobal_v2\" not found"; static const char __pyx_k_Function_cuModuleGetTexRef_not_f[] = "Function \"cuModuleGetTexRef\" not found"; static const char __pyx_k_Function_cuModuleLoadData_not_fo[] = "Function \"cuModuleLoadData\" not found"; static const char __pyx_k_Function_cuModuleLoadFatBinary_n[] = "Function \"cuModuleLoadFatBinary\" not found"; static const char __pyx_k_Function_cuModuleUnload_not_foun[] = "Function \"cuModuleUnload\" not found"; static const char __pyx_k_Function_cuMulticastAddDevice_no[] = "Function \"cuMulticastAddDevice\" not found"; static const char __pyx_k_Function_cuMulticastBindAddr_not[] = "Function \"cuMulticastBindAddr\" not found"; static const char __pyx_k_Function_cuMulticastCreate_not_f[] = "Function \"cuMulticastCreate\" not found"; static const char __pyx_k_Function_cuMulticastGetGranulari[] = "Function \"cuMulticastGetGranularity\" not found"; static const char __pyx_k_Function_cuMulticastUnbind_not_f[] = "Function \"cuMulticastUnbind\" not found"; static const char __pyx_k_Function_cuOccupancyAvailableDyn[] = "Function \"cuOccupancyAvailableDynamicSMemPerBlock\" not found"; static const char __pyx_k_Function_cuOccupancyMaxActiveBlo[] = "Function \"cuOccupancyMaxActiveBlocksPerMultiprocessor\" not found"; static const char __pyx_k_Function_cuOccupancyMaxActiveClu[] = "Function \"cuOccupancyMaxActiveClusters\" not found"; static const char __pyx_k_Function_cuOccupancyMaxPotential[] = "Function \"cuOccupancyMaxPotentialBlockSize\" not found"; static const char __pyx_k_Function_cuParamSetSize_not_foun[] = "Function \"cuParamSetSize\" not found"; static const char __pyx_k_Function_cuParamSetTexRef_not_fo[] = "Function \"cuParamSetTexRef\" not found"; static const char __pyx_k_Function_cuPointerGetAttribute_n[] = "Function \"cuPointerGetAttribute\" not found"; static const char __pyx_k_Function_cuPointerSetAttribute_n[] = "Function \"cuPointerSetAttribute\" not found"; static const char __pyx_k_Function_cuProfilerStart_not_fou[] = "Function \"cuProfilerStart\" not found"; static const char __pyx_k_Function_cuProfilerStop_not_foun[] = "Function \"cuProfilerStop\" not found"; static const char __pyx_k_Function_cuSignalExternalSemapho[] = "Function \"cuSignalExternalSemaphoresAsync\" not found"; static const char __pyx_k_Function_cuStreamAddCallback_not[] = "Function \"cuStreamAddCallback\" not found"; static const char __pyx_k_Function_cuStreamBatchMemOp_v2_n[] = "Function \"cuStreamBatchMemOp_v2\" not found"; static const char __pyx_k_Function_cuStreamBeginCaptureToG[] = "Function \"cuStreamBeginCaptureToGraph\" not found"; static const char __pyx_k_Function_cuStreamBeginCapture_v2[] = "Function \"cuStreamBeginCapture_v2\" not found"; static const char __pyx_k_Function_cuStreamCreateWithPrior[] = "Function \"cuStreamCreateWithPriority\" not found"; static const char __pyx_k_Function_cuStreamCreate_not_foun[] = "Function \"cuStreamCreate\" not found"; static const char __pyx_k_Function_cuStreamGetAttribute_no[] = "Function \"cuStreamGetAttribute\" not found"; static const char __pyx_k_Function_cuStreamGetCtx_not_foun[] = "Function \"cuStreamGetCtx\" not found"; static const char __pyx_k_Function_cuStreamGetCtx_v2_not_f[] = "Function \"cuStreamGetCtx_v2\" not found"; static const char __pyx_k_Function_cuStreamGetDevice_not_f[] = "Function \"cuStreamGetDevice\" not found"; static const char __pyx_k_Function_cuStreamGetFlags_not_fo[] = "Function \"cuStreamGetFlags\" not found"; static const char __pyx_k_Function_cuStreamGetGreenCtx_not[] = "Function \"cuStreamGetGreenCtx\" not found"; static const char __pyx_k_Function_cuStreamGetId_not_found[] = "Function \"cuStreamGetId\" not found"; static const char __pyx_k_Function_cuStreamGetPriority_not[] = "Function \"cuStreamGetPriority\" not found"; static const char __pyx_k_Function_cuStreamIsCapturing_not[] = "Function \"cuStreamIsCapturing\" not found"; static const char __pyx_k_Function_cuStreamQuery_not_found[] = "Function \"cuStreamQuery\" not found"; static const char __pyx_k_Function_cuStreamSetAttribute_no[] = "Function \"cuStreamSetAttribute\" not found"; static const char __pyx_k_Function_cuStreamSynchronize_not[] = "Function \"cuStreamSynchronize\" not found"; static const char __pyx_k_Function_cuStreamUpdateCaptureDe[] = "Function \"cuStreamUpdateCaptureDependencies\" not found"; static const char __pyx_k_Function_cuStreamWaitEvent_not_f[] = "Function \"cuStreamWaitEvent\" not found"; static const char __pyx_k_Function_cuStreamWriteValue32_v2[] = "Function \"cuStreamWriteValue32_v2\" not found"; static const char __pyx_k_Function_cuStreamWriteValue64_v2[] = "Function \"cuStreamWriteValue64_v2\" not found"; static const char __pyx_k_Function_cuSurfObjectDestroy_not[] = "Function \"cuSurfObjectDestroy\" not found"; static const char __pyx_k_Function_cuSurfObjectGetResource[] = "Function \"cuSurfObjectGetResourceDesc\" not found"; static const char __pyx_k_Function_cuSurfRefGetArray_not_f[] = "Function \"cuSurfRefGetArray\" not found"; static const char __pyx_k_Function_cuSurfRefSetArray_not_f[] = "Function \"cuSurfRefSetArray\" not found"; static const char __pyx_k_Function_cuTensorMapEncodeIm2col[] = "Function \"cuTensorMapEncodeIm2col\" not found"; static const char __pyx_k_Function_cuTensorMapReplaceAddre[] = "Function \"cuTensorMapReplaceAddress\" not found"; static const char __pyx_k_Function_cuTexObjectCreate_not_f[] = "Function \"cuTexObjectCreate\" not found"; static const char __pyx_k_Function_cuTexObjectGetResourceD[] = "Function \"cuTexObjectGetResourceDesc\" not found"; static const char __pyx_k_Function_cuTexObjectGetResourceV[] = "Function \"cuTexObjectGetResourceViewDesc\" not found"; static const char __pyx_k_Function_cuTexObjectGetTextureDe[] = "Function \"cuTexObjectGetTextureDesc\" not found"; static const char __pyx_k_Function_cuTexRefCreate_not_foun[] = "Function \"cuTexRefCreate\" not found"; static const char __pyx_k_Function_cuTexRefDestroy_not_fou[] = "Function \"cuTexRefDestroy\" not found"; static const char __pyx_k_Function_cuTexRefGetAddress_v2_n[] = "Function \"cuTexRefGetAddress_v2\" not found"; static const char __pyx_k_Function_cuTexRefGetArray_not_fo[] = "Function \"cuTexRefGetArray\" not found"; static const char __pyx_k_Function_cuTexRefGetFilterMode_n[] = "Function \"cuTexRefGetFilterMode\" not found"; static const char __pyx_k_Function_cuTexRefGetFlags_not_fo[] = "Function \"cuTexRefGetFlags\" not found"; static const char __pyx_k_Function_cuTexRefGetFormat_not_f[] = "Function \"cuTexRefGetFormat\" not found"; static const char __pyx_k_Function_cuTexRefGetMaxAnisotrop[] = "Function \"cuTexRefGetMaxAnisotropy\" not found"; static const char __pyx_k_Function_cuTexRefGetMipmapFilter[] = "Function \"cuTexRefGetMipmapFilterMode\" not found"; static const char __pyx_k_Function_cuTexRefGetMipmapLevelB[] = "Function \"cuTexRefGetMipmapLevelBias\" not found"; static const char __pyx_k_Function_cuTexRefGetMipmapLevelC[] = "Function \"cuTexRefGetMipmapLevelClamp\" not found"; static const char __pyx_k_Function_cuTexRefGetMipmappedArr[] = "Function \"cuTexRefGetMipmappedArray\" not found"; static const char __pyx_k_Function_cuTexRefSetAddress2D_v3[] = "Function \"cuTexRefSetAddress2D_v3\" not found"; static const char __pyx_k_Function_cuTexRefSetAddress_v2_n[] = "Function \"cuTexRefSetAddress_v2\" not found"; static const char __pyx_k_Function_cuTexRefSetArray_not_fo[] = "Function \"cuTexRefSetArray\" not found"; static const char __pyx_k_Function_cuTexRefSetFilterMode_n[] = "Function \"cuTexRefSetFilterMode\" not found"; static const char __pyx_k_Function_cuTexRefSetFlags_not_fo[] = "Function \"cuTexRefSetFlags\" not found"; static const char __pyx_k_Function_cuTexRefSetFormat_not_f[] = "Function \"cuTexRefSetFormat\" not found"; static const char __pyx_k_Function_cuTexRefSetMaxAnisotrop[] = "Function \"cuTexRefSetMaxAnisotropy\" not found"; static const char __pyx_k_Function_cuTexRefSetMipmapFilter[] = "Function \"cuTexRefSetMipmapFilterMode\" not found"; static const char __pyx_k_Function_cuTexRefSetMipmapLevelB[] = "Function \"cuTexRefSetMipmapLevelBias\" not found"; static const char __pyx_k_Function_cuTexRefSetMipmapLevelC[] = "Function \"cuTexRefSetMipmapLevelClamp\" not found"; static const char __pyx_k_Function_cuTexRefSetMipmappedArr[] = "Function \"cuTexRefSetMipmappedArray\" not found"; static const char __pyx_k_Function_cuThreadExchangeStreamC[] = "Function \"cuThreadExchangeStreamCaptureMode\" not found"; static const char __pyx_k_Function_cuUserObjectRelease_not[] = "Function \"cuUserObjectRelease\" not found"; static const char __pyx_k_Function_cuVDPAUCtxCreate_v2_not[] = "Function \"cuVDPAUCtxCreate_v2\" not found"; static const char __pyx_k_Function_cuVDPAUGetDevice_not_fo[] = "Function \"cuVDPAUGetDevice\" not found"; static const char __pyx_k_Function_cuWaitExternalSemaphore[] = "Function \"cuWaitExternalSemaphoresAsync\" not found"; static const char __pyx_k_Note_that_Cython_is_deliberately[] = "Note that Cython is deliberately stricter than PEP-484 and rejects subclasses of builtin types. If you need to pass subclasses then set the 'annotation_typing' directive to False."; static const char __pyx_k_cuGraphExternalSemaphoresSigna_2[] = "__cuGraphExternalSemaphoresSignalNodeSetParams"; static const char __pyx_k_cuGraphExternalSemaphoresWaitN_2[] = "__cuGraphExternalSemaphoresWaitNodeSetParams"; static const char __pyx_k_cuOccupancyMaxActiveBlocksPerM_2[] = "__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"; static const char __pyx_k_cuOccupancyMaxPotentialBlockSi_2[] = "__cuOccupancyMaxPotentialBlockSizeWithFlags"; static const char __pyx_k_cuStreamUpdateCaptureDependenc_2[] = "__cuStreamUpdateCaptureDependencies_v2"; static const char __pyx_k_cuda_bindings__bindings_cydriver[] = "cuda.bindings._bindings.cydriver"; static const char __pyx_k_Function_cuGraphAddDependencies_2[] = "Function \"cuGraphAddDependencies_v2\" not found"; static const char __pyx_k_Function_cuStreamGetCaptureInfo_2[] = "Function \"cuStreamGetCaptureInfo_v3\" not found"; static const char __pyx_k_Function_cuEGLStreamConsumerConn_2[] = "Function \"cuEGLStreamConsumerConnectWithFlags\" not found"; static const char __pyx_k_Function_cuExternalMemoryGetMapp_2[] = "Function \"cuExternalMemoryGetMappedMipmappedArray\" not found"; static const char __pyx_k_Function_cuGraphAddExternalSemap_2[] = "Function \"cuGraphAddExternalSemaphoresWaitNode\" not found"; static const char __pyx_k_Function_cuGraphExecExternalSema_2[] = "Function \"cuGraphExecExternalSemaphoresWaitNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExternalSemaphor_2[] = "Function \"cuGraphExternalSemaphoresSignalNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphExternalSemaphor_3[] = "Function \"cuGraphExternalSemaphoresWaitNodeGetParams\" not found"; static const char __pyx_k_Function_cuGraphExternalSemaphor_4[] = "Function \"cuGraphExternalSemaphoresWaitNodeSetParams\" not found"; static const char __pyx_k_Function_cuGraphNodeGetDependenc_2[] = "Function \"cuGraphNodeGetDependencies_v2\" not found"; static const char __pyx_k_Function_cuGraphNodeGetDependent_2[] = "Function \"cuGraphNodeGetDependentNodes_v2\" not found"; static const char __pyx_k_Function_cuGraphRemoveDependenci_2[] = "Function \"cuGraphRemoveDependencies_v2\" not found"; static const char __pyx_k_Function_cuGraphicsResourceGetMa_2[] = "Function \"cuGraphicsResourceGetMappedPointer_v2\" not found"; static const char __pyx_k_Function_cuGraphicsResourceGetMa_3[] = "Function \"cuGraphicsResourceGetMappedEglFrame\" not found"; static const char __pyx_k_Function_cuGraphicsVDPAURegister_2[] = "Function \"cuGraphicsVDPAURegisterOutputSurface\" not found"; static const char __pyx_k_Function_cuLaunchCooperativeKern_2[] = "Function \"cuLaunchCooperativeKernelMultiDevice\" not found"; static const char __pyx_k_Function_cuOccupancyMaxActiveBlo_2[] = "Function \"cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags\" not found"; static const char __pyx_k_Function_cuOccupancyMaxPotential_2[] = "Function \"cuOccupancyMaxPotentialBlockSizeWithFlags\" not found"; static const char __pyx_k_Function_cuOccupancyMaxPotential_3[] = "Function \"cuOccupancyMaxPotentialClusterSize\" not found"; static const char __pyx_k_Function_cuStreamUpdateCaptureDe_2[] = "Function \"cuStreamUpdateCaptureDependencies_v2\" not found"; static const char __pyx_k_Function_cuTensorMapEncodeIm2col_2[] = "Function \"cuTensorMapEncodeIm2colWide\" not found"; static const char __pyx_k_cuda_bindings__bindings_cydriver_2[] = "cuda/bindings/_bindings/cydriver.pyx"; /* #### Code section: decls ### */ static PyObject *__pyx_pf_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers(CYTHON_UNUSED PyObject *__pyx_self); /* proto */ static PyObject *__pyx_pf_4cuda_8bindings_9_bindings_8cydriver_2_inspect_function_pointer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_name); /* proto */ /* #### Code section: late_includes ### */ /* #### Code section: module_state ### */ /* SmallCodeConfig */ #ifndef CYTHON_SMALL_CODE #if defined(__clang__) #define CYTHON_SMALL_CODE #elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) #define CYTHON_SMALL_CODE __attribute__((cold)) #else #define CYTHON_SMALL_CODE #endif #endif typedef struct { PyObject *__pyx_d; PyObject *__pyx_b; PyObject *__pyx_cython_runtime; PyObject *__pyx_empty_tuple; PyObject *__pyx_empty_bytes; PyObject *__pyx_empty_unicode; #ifdef __Pyx_CyFunction_USED PyTypeObject *__pyx_CyFunctionType; #endif #ifdef __Pyx_FusedFunction_USED PyTypeObject *__pyx_FusedFunctionType; #endif #ifdef __Pyx_Generator_USED PyTypeObject *__pyx_GeneratorType; #endif #ifdef __Pyx_IterableCoroutine_USED PyTypeObject *__pyx_IterableCoroutineType; #endif #ifdef __Pyx_Coroutine_USED PyTypeObject *__pyx_CoroutineAwaitType; #endif #ifdef __Pyx_Coroutine_USED PyTypeObject *__pyx_CoroutineType; #endif __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_pop; PyObject *__pyx_tuple[1]; PyObject *__pyx_codeobj_tab[2]; PyObject *__pyx_string_tab[982]; PyObject *__pyx_int_0; PyObject *__pyx_int_4294967296; /* #### Code section: module_state_contents ### */ /* CommonTypesMetaclass.module_state_decls */ PyTypeObject *__pyx_CommonTypesMetaclassType; /* CachedMethodType.module_state_decls */ #if CYTHON_COMPILING_IN_LIMITED_API PyObject *__Pyx_CachedMethodType; #endif /* CodeObjectCache.module_state_decls */ struct __Pyx_CodeObjectCache __pyx_code_cache; /* #### Code section: module_state_end ### */ } __pyx_mstatetype; #if CYTHON_USE_MODULE_STATE #ifdef __cplusplus namespace { extern struct PyModuleDef __pyx_moduledef; } /* anonymous namespace */ #else static struct PyModuleDef __pyx_moduledef; #endif #define __pyx_mstate_global (__Pyx_PyModule_GetState(__Pyx_State_FindModule(&__pyx_moduledef))) #define __pyx_m (__Pyx_State_FindModule(&__pyx_moduledef)) #else static __pyx_mstatetype __pyx_mstate_global_static = #ifdef __cplusplus {}; #else {0}; #endif static __pyx_mstatetype * const __pyx_mstate_global = &__pyx_mstate_global_static; #endif /* #### Code section: constant_name_defines ### */ #define __pyx_kp_u_ __pyx_string_tab[0] #define __pyx_n_u_CUDA_PYTHON_CUDA_PER_THREAD_DEFA __pyx_string_tab[1] #define __pyx_kp_u_Failed_to_dlopen __pyx_string_tab[2] #define __pyx_kp_u_Function_cuArray3DCreate_v2_not __pyx_string_tab[3] #define __pyx_kp_u_Function_cuArray3DGetDescriptor __pyx_string_tab[4] #define __pyx_kp_u_Function_cuArrayCreate_v2_not_fo __pyx_string_tab[5] #define __pyx_kp_u_Function_cuArrayDestroy_not_foun __pyx_string_tab[6] #define __pyx_kp_u_Function_cuArrayGetDescriptor_v2 __pyx_string_tab[7] #define __pyx_kp_u_Function_cuArrayGetMemoryRequire __pyx_string_tab[8] #define __pyx_kp_u_Function_cuArrayGetPlane_not_fou __pyx_string_tab[9] #define __pyx_kp_u_Function_cuArrayGetSparsePropert __pyx_string_tab[10] #define __pyx_kp_u_Function_cuCheckpointProcessChec __pyx_string_tab[11] #define __pyx_kp_u_Function_cuCheckpointProcessGetR __pyx_string_tab[12] #define __pyx_kp_u_Function_cuCheckpointProcessGetS __pyx_string_tab[13] #define __pyx_kp_u_Function_cuCheckpointProcessLock __pyx_string_tab[14] #define __pyx_kp_u_Function_cuCheckpointProcessRest __pyx_string_tab[15] #define __pyx_kp_u_Function_cuCheckpointProcessUnlo __pyx_string_tab[16] #define __pyx_kp_u_Function_cuCoredumpGetAttribute __pyx_string_tab[17] #define __pyx_kp_u_Function_cuCoredumpGetAttributeG __pyx_string_tab[18] #define __pyx_kp_u_Function_cuCoredumpSetAttribute __pyx_string_tab[19] #define __pyx_kp_u_Function_cuCoredumpSetAttributeG __pyx_string_tab[20] #define __pyx_kp_u_Function_cuCtxAttach_not_found __pyx_string_tab[21] #define __pyx_kp_u_Function_cuCtxCreate_v2_not_foun __pyx_string_tab[22] #define __pyx_kp_u_Function_cuCtxCreate_v3_not_foun __pyx_string_tab[23] #define __pyx_kp_u_Function_cuCtxCreate_v4_not_foun __pyx_string_tab[24] #define __pyx_kp_u_Function_cuCtxDestroy_v2_not_fou __pyx_string_tab[25] #define __pyx_kp_u_Function_cuCtxDetach_not_found __pyx_string_tab[26] #define __pyx_kp_u_Function_cuCtxDisablePeerAccess __pyx_string_tab[27] #define __pyx_kp_u_Function_cuCtxEnablePeerAccess_n __pyx_string_tab[28] #define __pyx_kp_u_Function_cuCtxFromGreenCtx_not_f __pyx_string_tab[29] #define __pyx_kp_u_Function_cuCtxGetApiVersion_not __pyx_string_tab[30] #define __pyx_kp_u_Function_cuCtxGetCacheConfig_not __pyx_string_tab[31] #define __pyx_kp_u_Function_cuCtxGetCurrent_not_fou __pyx_string_tab[32] #define __pyx_kp_u_Function_cuCtxGetDevResource_not __pyx_string_tab[33] #define __pyx_kp_u_Function_cuCtxGetDevice_not_foun __pyx_string_tab[34] #define __pyx_kp_u_Function_cuCtxGetExecAffinity_no __pyx_string_tab[35] #define __pyx_kp_u_Function_cuCtxGetFlags_not_found __pyx_string_tab[36] #define __pyx_kp_u_Function_cuCtxGetId_not_found __pyx_string_tab[37] #define __pyx_kp_u_Function_cuCtxGetLimit_not_found __pyx_string_tab[38] #define __pyx_kp_u_Function_cuCtxGetSharedMemConfig __pyx_string_tab[39] #define __pyx_kp_u_Function_cuCtxGetStreamPriorityR __pyx_string_tab[40] #define __pyx_kp_u_Function_cuCtxPopCurrent_v2_not __pyx_string_tab[41] #define __pyx_kp_u_Function_cuCtxPushCurrent_v2_not __pyx_string_tab[42] #define __pyx_kp_u_Function_cuCtxRecordEvent_not_fo __pyx_string_tab[43] #define __pyx_kp_u_Function_cuCtxResetPersistingL2C __pyx_string_tab[44] #define __pyx_kp_u_Function_cuCtxSetCacheConfig_not __pyx_string_tab[45] #define __pyx_kp_u_Function_cuCtxSetCurrent_not_fou __pyx_string_tab[46] #define __pyx_kp_u_Function_cuCtxSetFlags_not_found __pyx_string_tab[47] #define __pyx_kp_u_Function_cuCtxSetLimit_not_found __pyx_string_tab[48] #define __pyx_kp_u_Function_cuCtxSetSharedMemConfig __pyx_string_tab[49] #define __pyx_kp_u_Function_cuCtxSynchronize_not_fo __pyx_string_tab[50] #define __pyx_kp_u_Function_cuCtxWaitEvent_not_foun __pyx_string_tab[51] #define __pyx_kp_u_Function_cuDestroyExternalMemory __pyx_string_tab[52] #define __pyx_kp_u_Function_cuDestroyExternalSemaph __pyx_string_tab[53] #define __pyx_kp_u_Function_cuDevResourceGenerateDe __pyx_string_tab[54] #define __pyx_kp_u_Function_cuDevSmResourceSplitByC __pyx_string_tab[55] #define __pyx_kp_u_Function_cuDeviceCanAccessPeer_n __pyx_string_tab[56] #define __pyx_kp_u_Function_cuDeviceComputeCapabili __pyx_string_tab[57] #define __pyx_kp_u_Function_cuDeviceGetAttribute_no __pyx_string_tab[58] #define __pyx_kp_u_Function_cuDeviceGetByPCIBusId_n __pyx_string_tab[59] #define __pyx_kp_u_Function_cuDeviceGetCount_not_fo __pyx_string_tab[60] #define __pyx_kp_u_Function_cuDeviceGetDefaultMemPo __pyx_string_tab[61] #define __pyx_kp_u_Function_cuDeviceGetDevResource __pyx_string_tab[62] #define __pyx_kp_u_Function_cuDeviceGetExecAffinity __pyx_string_tab[63] #define __pyx_kp_u_Function_cuDeviceGetGraphMemAttr __pyx_string_tab[64] #define __pyx_kp_u_Function_cuDeviceGetLuid_not_fou __pyx_string_tab[65] #define __pyx_kp_u_Function_cuDeviceGetMemPool_not __pyx_string_tab[66] #define __pyx_kp_u_Function_cuDeviceGetName_not_fou __pyx_string_tab[67] #define __pyx_kp_u_Function_cuDeviceGetNvSciSyncAtt __pyx_string_tab[68] #define __pyx_kp_u_Function_cuDeviceGetP2PAttribute __pyx_string_tab[69] #define __pyx_kp_u_Function_cuDeviceGetPCIBusId_not __pyx_string_tab[70] #define __pyx_kp_u_Function_cuDeviceGetProperties_n __pyx_string_tab[71] #define __pyx_kp_u_Function_cuDeviceGetTexture1DLin __pyx_string_tab[72] #define __pyx_kp_u_Function_cuDeviceGetUuid_not_fou __pyx_string_tab[73] #define __pyx_kp_u_Function_cuDeviceGetUuid_v2_not __pyx_string_tab[74] #define __pyx_kp_u_Function_cuDeviceGet_not_found __pyx_string_tab[75] #define __pyx_kp_u_Function_cuDeviceGraphMemTrim_no __pyx_string_tab[76] #define __pyx_kp_u_Function_cuDevicePrimaryCtxGetSt __pyx_string_tab[77] #define __pyx_kp_u_Function_cuDevicePrimaryCtxRelea __pyx_string_tab[78] #define __pyx_kp_u_Function_cuDevicePrimaryCtxReset __pyx_string_tab[79] #define __pyx_kp_u_Function_cuDevicePrimaryCtxRetai __pyx_string_tab[80] #define __pyx_kp_u_Function_cuDevicePrimaryCtxSetFl __pyx_string_tab[81] #define __pyx_kp_u_Function_cuDeviceRegisterAsyncNo __pyx_string_tab[82] #define __pyx_kp_u_Function_cuDeviceSetGraphMemAttr __pyx_string_tab[83] #define __pyx_kp_u_Function_cuDeviceSetMemPool_not __pyx_string_tab[84] #define __pyx_kp_u_Function_cuDeviceTotalMem_v2_not __pyx_string_tab[85] #define __pyx_kp_u_Function_cuDeviceUnregisterAsync __pyx_string_tab[86] #define __pyx_kp_u_Function_cuDriverGetVersion_not __pyx_string_tab[87] #define __pyx_kp_u_Function_cuEGLStreamConsumerAcqu __pyx_string_tab[88] #define __pyx_kp_u_Function_cuEGLStreamConsumerConn __pyx_string_tab[89] #define __pyx_kp_u_Function_cuEGLStreamConsumerConn_2 __pyx_string_tab[90] #define __pyx_kp_u_Function_cuEGLStreamConsumerDisc __pyx_string_tab[91] #define __pyx_kp_u_Function_cuEGLStreamConsumerRele __pyx_string_tab[92] #define __pyx_kp_u_Function_cuEGLStreamProducerConn __pyx_string_tab[93] #define __pyx_kp_u_Function_cuEGLStreamProducerDisc __pyx_string_tab[94] #define __pyx_kp_u_Function_cuEGLStreamProducerPres __pyx_string_tab[95] #define __pyx_kp_u_Function_cuEGLStreamProducerRetu __pyx_string_tab[96] #define __pyx_kp_u_Function_cuEventCreateFromEGLSyn __pyx_string_tab[97] #define __pyx_kp_u_Function_cuEventCreate_not_found __pyx_string_tab[98] #define __pyx_kp_u_Function_cuEventDestroy_v2_not_f __pyx_string_tab[99] #define __pyx_kp_u_Function_cuEventElapsedTime_not __pyx_string_tab[100] #define __pyx_kp_u_Function_cuEventElapsedTime_v2_n __pyx_string_tab[101] #define __pyx_kp_u_Function_cuEventQuery_not_found __pyx_string_tab[102] #define __pyx_kp_u_Function_cuEventRecordWithFlags __pyx_string_tab[103] #define __pyx_kp_u_Function_cuEventRecord_not_found __pyx_string_tab[104] #define __pyx_kp_u_Function_cuEventSynchronize_not __pyx_string_tab[105] #define __pyx_kp_u_Function_cuExternalMemoryGetMapp __pyx_string_tab[106] #define __pyx_kp_u_Function_cuExternalMemoryGetMapp_2 __pyx_string_tab[107] #define __pyx_kp_u_Function_cuFlushGPUDirectRDMAWri __pyx_string_tab[108] #define __pyx_kp_u_Function_cuFuncGetAttribute_not __pyx_string_tab[109] #define __pyx_kp_u_Function_cuFuncGetModule_not_fou __pyx_string_tab[110] #define __pyx_kp_u_Function_cuFuncGetName_not_found __pyx_string_tab[111] #define __pyx_kp_u_Function_cuFuncGetParamInfo_not __pyx_string_tab[112] #define __pyx_kp_u_Function_cuFuncIsLoaded_not_foun __pyx_string_tab[113] #define __pyx_kp_u_Function_cuFuncLoad_not_found __pyx_string_tab[114] #define __pyx_kp_u_Function_cuFuncSetAttribute_not __pyx_string_tab[115] #define __pyx_kp_u_Function_cuFuncSetBlockShape_not __pyx_string_tab[116] #define __pyx_kp_u_Function_cuFuncSetCacheConfig_no __pyx_string_tab[117] #define __pyx_kp_u_Function_cuFuncSetSharedMemConfi __pyx_string_tab[118] #define __pyx_kp_u_Function_cuFuncSetSharedSize_not __pyx_string_tab[119] #define __pyx_kp_u_Function_cuGLGetDevices_v2_not_f __pyx_string_tab[120] #define __pyx_kp_u_Function_cuGetErrorName_not_foun __pyx_string_tab[121] #define __pyx_kp_u_Function_cuGetErrorString_not_fo __pyx_string_tab[122] #define __pyx_kp_u_Function_cuGetExportTable_not_fo __pyx_string_tab[123] #define __pyx_kp_u_Function_cuGetProcAddress_v2_not __pyx_string_tab[124] #define __pyx_kp_u_Function_cuGraphAddBatchMemOpNod __pyx_string_tab[125] #define __pyx_kp_u_Function_cuGraphAddChildGraphNod __pyx_string_tab[126] #define __pyx_kp_u_Function_cuGraphAddDependencies __pyx_string_tab[127] #define __pyx_kp_u_Function_cuGraphAddDependencies_2 __pyx_string_tab[128] #define __pyx_kp_u_Function_cuGraphAddEmptyNode_not __pyx_string_tab[129] #define __pyx_kp_u_Function_cuGraphAddEventRecordNo __pyx_string_tab[130] #define __pyx_kp_u_Function_cuGraphAddEventWaitNode __pyx_string_tab[131] #define __pyx_kp_u_Function_cuGraphAddExternalSemap __pyx_string_tab[132] #define __pyx_kp_u_Function_cuGraphAddExternalSemap_2 __pyx_string_tab[133] #define __pyx_kp_u_Function_cuGraphAddHostNode_not __pyx_string_tab[134] #define __pyx_kp_u_Function_cuGraphAddKernelNode_v2 __pyx_string_tab[135] #define __pyx_kp_u_Function_cuGraphAddMemAllocNode __pyx_string_tab[136] #define __pyx_kp_u_Function_cuGraphAddMemFreeNode_n __pyx_string_tab[137] #define __pyx_kp_u_Function_cuGraphAddMemcpyNode_no __pyx_string_tab[138] #define __pyx_kp_u_Function_cuGraphAddMemsetNode_no __pyx_string_tab[139] #define __pyx_kp_u_Function_cuGraphAddNode_not_foun __pyx_string_tab[140] #define __pyx_kp_u_Function_cuGraphAddNode_v2_not_f __pyx_string_tab[141] #define __pyx_kp_u_Function_cuGraphBatchMemOpNodeGe __pyx_string_tab[142] #define __pyx_kp_u_Function_cuGraphBatchMemOpNodeSe __pyx_string_tab[143] #define __pyx_kp_u_Function_cuGraphChildGraphNodeGe __pyx_string_tab[144] #define __pyx_kp_u_Function_cuGraphClone_not_found __pyx_string_tab[145] #define __pyx_kp_u_Function_cuGraphConditionalHandl __pyx_string_tab[146] #define __pyx_kp_u_Function_cuGraphCreate_not_found __pyx_string_tab[147] #define __pyx_kp_u_Function_cuGraphDebugDotPrint_no __pyx_string_tab[148] #define __pyx_kp_u_Function_cuGraphDestroyNode_not __pyx_string_tab[149] #define __pyx_kp_u_Function_cuGraphDestroy_not_foun __pyx_string_tab[150] #define __pyx_kp_u_Function_cuGraphEventRecordNodeG __pyx_string_tab[151] #define __pyx_kp_u_Function_cuGraphEventRecordNodeS __pyx_string_tab[152] #define __pyx_kp_u_Function_cuGraphEventWaitNodeGet __pyx_string_tab[153] #define __pyx_kp_u_Function_cuGraphEventWaitNodeSet __pyx_string_tab[154] #define __pyx_kp_u_Function_cuGraphExecBatchMemOpNo __pyx_string_tab[155] #define __pyx_kp_u_Function_cuGraphExecChildGraphNo __pyx_string_tab[156] #define __pyx_kp_u_Function_cuGraphExecDestroy_not __pyx_string_tab[157] #define __pyx_kp_u_Function_cuGraphExecEventRecordN __pyx_string_tab[158] #define __pyx_kp_u_Function_cuGraphExecEventWaitNod __pyx_string_tab[159] #define __pyx_kp_u_Function_cuGraphExecExternalSema __pyx_string_tab[160] #define __pyx_kp_u_Function_cuGraphExecExternalSema_2 __pyx_string_tab[161] #define __pyx_kp_u_Function_cuGraphExecGetFlags_not __pyx_string_tab[162] #define __pyx_kp_u_Function_cuGraphExecHostNodeSetP __pyx_string_tab[163] #define __pyx_kp_u_Function_cuGraphExecKernelNodeSe __pyx_string_tab[164] #define __pyx_kp_u_Function_cuGraphExecMemcpyNodeSe __pyx_string_tab[165] #define __pyx_kp_u_Function_cuGraphExecMemsetNodeSe __pyx_string_tab[166] #define __pyx_kp_u_Function_cuGraphExecNodeSetParam __pyx_string_tab[167] #define __pyx_kp_u_Function_cuGraphExecUpdate_v2_no __pyx_string_tab[168] #define __pyx_kp_u_Function_cuGraphExternalSemaphor __pyx_string_tab[169] #define __pyx_kp_u_Function_cuGraphExternalSemaphor_2 __pyx_string_tab[170] #define __pyx_kp_u_Function_cuGraphExternalSemaphor_3 __pyx_string_tab[171] #define __pyx_kp_u_Function_cuGraphExternalSemaphor_4 __pyx_string_tab[172] #define __pyx_kp_u_Function_cuGraphGetEdges_not_fou __pyx_string_tab[173] #define __pyx_kp_u_Function_cuGraphGetEdges_v2_not __pyx_string_tab[174] #define __pyx_kp_u_Function_cuGraphGetNodes_not_fou __pyx_string_tab[175] #define __pyx_kp_u_Function_cuGraphGetRootNodes_not __pyx_string_tab[176] #define __pyx_kp_u_Function_cuGraphHostNodeGetParam __pyx_string_tab[177] #define __pyx_kp_u_Function_cuGraphHostNodeSetParam __pyx_string_tab[178] #define __pyx_kp_u_Function_cuGraphInstantiateWithF __pyx_string_tab[179] #define __pyx_kp_u_Function_cuGraphInstantiateWithP __pyx_string_tab[180] #define __pyx_kp_u_Function_cuGraphKernelNodeCopyAt __pyx_string_tab[181] #define __pyx_kp_u_Function_cuGraphKernelNodeGetAtt __pyx_string_tab[182] #define __pyx_kp_u_Function_cuGraphKernelNodeGetPar __pyx_string_tab[183] #define __pyx_kp_u_Function_cuGraphKernelNodeSetAtt __pyx_string_tab[184] #define __pyx_kp_u_Function_cuGraphKernelNodeSetPar __pyx_string_tab[185] #define __pyx_kp_u_Function_cuGraphLaunch_not_found __pyx_string_tab[186] #define __pyx_kp_u_Function_cuGraphMemAllocNodeGetP __pyx_string_tab[187] #define __pyx_kp_u_Function_cuGraphMemFreeNodeGetPa __pyx_string_tab[188] #define __pyx_kp_u_Function_cuGraphMemcpyNodeGetPar __pyx_string_tab[189] #define __pyx_kp_u_Function_cuGraphMemcpyNodeSetPar __pyx_string_tab[190] #define __pyx_kp_u_Function_cuGraphMemsetNodeGetPar __pyx_string_tab[191] #define __pyx_kp_u_Function_cuGraphMemsetNodeSetPar __pyx_string_tab[192] #define __pyx_kp_u_Function_cuGraphNodeFindInClone __pyx_string_tab[193] #define __pyx_kp_u_Function_cuGraphNodeGetDependenc __pyx_string_tab[194] #define __pyx_kp_u_Function_cuGraphNodeGetDependenc_2 __pyx_string_tab[195] #define __pyx_kp_u_Function_cuGraphNodeGetDependent __pyx_string_tab[196] #define __pyx_kp_u_Function_cuGraphNodeGetDependent_2 __pyx_string_tab[197] #define __pyx_kp_u_Function_cuGraphNodeGetEnabled_n __pyx_string_tab[198] #define __pyx_kp_u_Function_cuGraphNodeGetType_not __pyx_string_tab[199] #define __pyx_kp_u_Function_cuGraphNodeSetEnabled_n __pyx_string_tab[200] #define __pyx_kp_u_Function_cuGraphNodeSetParams_no __pyx_string_tab[201] #define __pyx_kp_u_Function_cuGraphReleaseUserObjec __pyx_string_tab[202] #define __pyx_kp_u_Function_cuGraphRemoveDependenci __pyx_string_tab[203] #define __pyx_kp_u_Function_cuGraphRemoveDependenci_2 __pyx_string_tab[204] #define __pyx_kp_u_Function_cuGraphRetainUserObject __pyx_string_tab[205] #define __pyx_kp_u_Function_cuGraphUpload_not_found __pyx_string_tab[206] #define __pyx_kp_u_Function_cuGraphicsEGLRegisterIm __pyx_string_tab[207] #define __pyx_kp_u_Function_cuGraphicsGLRegisterBuf __pyx_string_tab[208] #define __pyx_kp_u_Function_cuGraphicsGLRegisterIma __pyx_string_tab[209] #define __pyx_kp_u_Function_cuGraphicsMapResources __pyx_string_tab[210] #define __pyx_kp_u_Function_cuGraphicsResourceGetMa __pyx_string_tab[211] #define __pyx_kp_u_Function_cuGraphicsResourceGetMa_2 __pyx_string_tab[212] #define __pyx_kp_u_Function_cuGraphicsResourceGetMa_3 __pyx_string_tab[213] #define __pyx_kp_u_Function_cuGraphicsResourceSetMa __pyx_string_tab[214] #define __pyx_kp_u_Function_cuGraphicsSubResourceGe __pyx_string_tab[215] #define __pyx_kp_u_Function_cuGraphicsUnmapResource __pyx_string_tab[216] #define __pyx_kp_u_Function_cuGraphicsUnregisterRes __pyx_string_tab[217] #define __pyx_kp_u_Function_cuGraphicsVDPAURegister __pyx_string_tab[218] #define __pyx_kp_u_Function_cuGraphicsVDPAURegister_2 __pyx_string_tab[219] #define __pyx_kp_u_Function_cuGreenCtxCreate_not_fo __pyx_string_tab[220] #define __pyx_kp_u_Function_cuGreenCtxDestroy_not_f __pyx_string_tab[221] #define __pyx_kp_u_Function_cuGreenCtxGetDevResourc __pyx_string_tab[222] #define __pyx_kp_u_Function_cuGreenCtxRecordEvent_n __pyx_string_tab[223] #define __pyx_kp_u_Function_cuGreenCtxStreamCreate __pyx_string_tab[224] #define __pyx_kp_u_Function_cuGreenCtxWaitEvent_not __pyx_string_tab[225] #define __pyx_kp_u_Function_cuImportExternalMemory __pyx_string_tab[226] #define __pyx_kp_u_Function_cuImportExternalSemapho __pyx_string_tab[227] #define __pyx_kp_u_Function_cuInit_not_found __pyx_string_tab[228] #define __pyx_kp_u_Function_cuIpcCloseMemHandle_not __pyx_string_tab[229] #define __pyx_kp_u_Function_cuIpcGetEventHandle_not __pyx_string_tab[230] #define __pyx_kp_u_Function_cuIpcGetMemHandle_not_f __pyx_string_tab[231] #define __pyx_kp_u_Function_cuIpcOpenEventHandle_no __pyx_string_tab[232] #define __pyx_kp_u_Function_cuIpcOpenMemHandle_v2_n __pyx_string_tab[233] #define __pyx_kp_u_Function_cuKernelGetAttribute_no __pyx_string_tab[234] #define __pyx_kp_u_Function_cuKernelGetFunction_not __pyx_string_tab[235] #define __pyx_kp_u_Function_cuKernelGetLibrary_not __pyx_string_tab[236] #define __pyx_kp_u_Function_cuKernelGetName_not_fou __pyx_string_tab[237] #define __pyx_kp_u_Function_cuKernelGetParamInfo_no __pyx_string_tab[238] #define __pyx_kp_u_Function_cuKernelSetAttribute_no __pyx_string_tab[239] #define __pyx_kp_u_Function_cuKernelSetCacheConfig __pyx_string_tab[240] #define __pyx_kp_u_Function_cuLaunchCooperativeKern __pyx_string_tab[241] #define __pyx_kp_u_Function_cuLaunchCooperativeKern_2 __pyx_string_tab[242] #define __pyx_kp_u_Function_cuLaunchGridAsync_not_f __pyx_string_tab[243] #define __pyx_kp_u_Function_cuLaunchGrid_not_found __pyx_string_tab[244] #define __pyx_kp_u_Function_cuLaunchHostFunc_not_fo __pyx_string_tab[245] #define __pyx_kp_u_Function_cuLaunchKernelEx_not_fo __pyx_string_tab[246] #define __pyx_kp_u_Function_cuLaunchKernel_not_foun __pyx_string_tab[247] #define __pyx_kp_u_Function_cuLaunch_not_found __pyx_string_tab[248] #define __pyx_kp_u_Function_cuLibraryEnumerateKerne __pyx_string_tab[249] #define __pyx_kp_u_Function_cuLibraryGetGlobal_not __pyx_string_tab[250] #define __pyx_kp_u_Function_cuLibraryGetKernelCount __pyx_string_tab[251] #define __pyx_kp_u_Function_cuLibraryGetKernel_not __pyx_string_tab[252] #define __pyx_kp_u_Function_cuLibraryGetManaged_not __pyx_string_tab[253] #define __pyx_kp_u_Function_cuLibraryGetModule_not __pyx_string_tab[254] #define __pyx_kp_u_Function_cuLibraryGetUnifiedFunc __pyx_string_tab[255] #define __pyx_kp_u_Function_cuLibraryLoadData_not_f __pyx_string_tab[256] #define __pyx_kp_u_Function_cuLibraryLoadFromFile_n __pyx_string_tab[257] #define __pyx_kp_u_Function_cuLibraryUnload_not_fou __pyx_string_tab[258] #define __pyx_kp_u_Function_cuLinkAddData_v2_not_fo __pyx_string_tab[259] #define __pyx_kp_u_Function_cuLinkAddFile_v2_not_fo __pyx_string_tab[260] #define __pyx_kp_u_Function_cuLinkComplete_not_foun __pyx_string_tab[261] #define __pyx_kp_u_Function_cuLinkCreate_v2_not_fou __pyx_string_tab[262] #define __pyx_kp_u_Function_cuLinkDestroy_not_found __pyx_string_tab[263] #define __pyx_kp_u_Function_cuLogsCurrent_not_found __pyx_string_tab[264] #define __pyx_kp_u_Function_cuLogsDumpToFile_not_fo __pyx_string_tab[265] #define __pyx_kp_u_Function_cuLogsDumpToMemory_not __pyx_string_tab[266] #define __pyx_kp_u_Function_cuLogsRegisterCallback __pyx_string_tab[267] #define __pyx_kp_u_Function_cuLogsUnregisterCallbac __pyx_string_tab[268] #define __pyx_kp_u_Function_cuMemAddressFree_not_fo __pyx_string_tab[269] #define __pyx_kp_u_Function_cuMemAddressReserve_not __pyx_string_tab[270] #define __pyx_kp_u_Function_cuMemAdvise_not_found __pyx_string_tab[271] #define __pyx_kp_u_Function_cuMemAdvise_v2_not_foun __pyx_string_tab[272] #define __pyx_kp_u_Function_cuMemAllocAsync_not_fou __pyx_string_tab[273] #define __pyx_kp_u_Function_cuMemAllocFromPoolAsync __pyx_string_tab[274] #define __pyx_kp_u_Function_cuMemAllocHost_v2_not_f __pyx_string_tab[275] #define __pyx_kp_u_Function_cuMemAllocManaged_not_f __pyx_string_tab[276] #define __pyx_kp_u_Function_cuMemAllocPitch_v2_not __pyx_string_tab[277] #define __pyx_kp_u_Function_cuMemAlloc_v2_not_found __pyx_string_tab[278] #define __pyx_kp_u_Function_cuMemBatchDecompressAsy __pyx_string_tab[279] #define __pyx_kp_u_Function_cuMemCreate_not_found __pyx_string_tab[280] #define __pyx_kp_u_Function_cuMemExportToShareableH __pyx_string_tab[281] #define __pyx_kp_u_Function_cuMemFreeAsync_not_foun __pyx_string_tab[282] #define __pyx_kp_u_Function_cuMemFreeHost_not_found __pyx_string_tab[283] #define __pyx_kp_u_Function_cuMemFree_v2_not_found __pyx_string_tab[284] #define __pyx_kp_u_Function_cuMemGetAccess_not_foun __pyx_string_tab[285] #define __pyx_kp_u_Function_cuMemGetAddressRange_v2 __pyx_string_tab[286] #define __pyx_kp_u_Function_cuMemGetAllocationGranu __pyx_string_tab[287] #define __pyx_kp_u_Function_cuMemGetAllocationPrope __pyx_string_tab[288] #define __pyx_kp_u_Function_cuMemGetHandleForAddres __pyx_string_tab[289] #define __pyx_kp_u_Function_cuMemGetInfo_v2_not_fou __pyx_string_tab[290] #define __pyx_kp_u_Function_cuMemHostAlloc_not_foun __pyx_string_tab[291] #define __pyx_kp_u_Function_cuMemHostGetDevicePoint __pyx_string_tab[292] #define __pyx_kp_u_Function_cuMemHostGetFlags_not_f __pyx_string_tab[293] #define __pyx_kp_u_Function_cuMemHostRegister_v2_no __pyx_string_tab[294] #define __pyx_kp_u_Function_cuMemHostUnregister_not __pyx_string_tab[295] #define __pyx_kp_u_Function_cuMemImportFromShareabl __pyx_string_tab[296] #define __pyx_kp_u_Function_cuMemMapArrayAsync_not __pyx_string_tab[297] #define __pyx_kp_u_Function_cuMemMap_not_found __pyx_string_tab[298] #define __pyx_kp_u_Function_cuMemPoolCreate_not_fou __pyx_string_tab[299] #define __pyx_kp_u_Function_cuMemPoolDestroy_not_fo __pyx_string_tab[300] #define __pyx_kp_u_Function_cuMemPoolExportPointer __pyx_string_tab[301] #define __pyx_kp_u_Function_cuMemPoolExportToSharea __pyx_string_tab[302] #define __pyx_kp_u_Function_cuMemPoolGetAccess_not __pyx_string_tab[303] #define __pyx_kp_u_Function_cuMemPoolGetAttribute_n __pyx_string_tab[304] #define __pyx_kp_u_Function_cuMemPoolImportFromShar __pyx_string_tab[305] #define __pyx_kp_u_Function_cuMemPoolImportPointer __pyx_string_tab[306] #define __pyx_kp_u_Function_cuMemPoolSetAccess_not __pyx_string_tab[307] #define __pyx_kp_u_Function_cuMemPoolSetAttribute_n __pyx_string_tab[308] #define __pyx_kp_u_Function_cuMemPoolTrimTo_not_fou __pyx_string_tab[309] #define __pyx_kp_u_Function_cuMemPrefetchAsync_not __pyx_string_tab[310] #define __pyx_kp_u_Function_cuMemPrefetchAsync_v2_n __pyx_string_tab[311] #define __pyx_kp_u_Function_cuMemRangeGetAttribute __pyx_string_tab[312] #define __pyx_kp_u_Function_cuMemRangeGetAttributes __pyx_string_tab[313] #define __pyx_kp_u_Function_cuMemRelease_not_found __pyx_string_tab[314] #define __pyx_kp_u_Function_cuMemRetainAllocationHa __pyx_string_tab[315] #define __pyx_kp_u_Function_cuMemSetAccess_not_foun __pyx_string_tab[316] #define __pyx_kp_u_Function_cuMemUnmap_not_found __pyx_string_tab[317] #define __pyx_kp_u_Function_cuMemcpy2DAsync_v2_not __pyx_string_tab[318] #define __pyx_kp_u_Function_cuMemcpy2DUnaligned_v2 __pyx_string_tab[319] #define __pyx_kp_u_Function_cuMemcpy2D_v2_not_found __pyx_string_tab[320] #define __pyx_kp_u_Function_cuMemcpy3DAsync_v2_not __pyx_string_tab[321] #define __pyx_kp_u_Function_cuMemcpy3DBatchAsync_no __pyx_string_tab[322] #define __pyx_kp_u_Function_cuMemcpy3DPeerAsync_not __pyx_string_tab[323] #define __pyx_kp_u_Function_cuMemcpy3DPeer_not_foun __pyx_string_tab[324] #define __pyx_kp_u_Function_cuMemcpy3D_v2_not_found __pyx_string_tab[325] #define __pyx_kp_u_Function_cuMemcpyAsync_not_found __pyx_string_tab[326] #define __pyx_kp_u_Function_cuMemcpyAtoA_v2_not_fou __pyx_string_tab[327] #define __pyx_kp_u_Function_cuMemcpyAtoD_v2_not_fou __pyx_string_tab[328] #define __pyx_kp_u_Function_cuMemcpyAtoHAsync_v2_no __pyx_string_tab[329] #define __pyx_kp_u_Function_cuMemcpyAtoH_v2_not_fou __pyx_string_tab[330] #define __pyx_kp_u_Function_cuMemcpyBatchAsync_not __pyx_string_tab[331] #define __pyx_kp_u_Function_cuMemcpyDtoA_v2_not_fou __pyx_string_tab[332] #define __pyx_kp_u_Function_cuMemcpyDtoDAsync_v2_no __pyx_string_tab[333] #define __pyx_kp_u_Function_cuMemcpyDtoD_v2_not_fou __pyx_string_tab[334] #define __pyx_kp_u_Function_cuMemcpyDtoHAsync_v2_no __pyx_string_tab[335] #define __pyx_kp_u_Function_cuMemcpyDtoH_v2_not_fou __pyx_string_tab[336] #define __pyx_kp_u_Function_cuMemcpyHtoAAsync_v2_no __pyx_string_tab[337] #define __pyx_kp_u_Function_cuMemcpyHtoA_v2_not_fou __pyx_string_tab[338] #define __pyx_kp_u_Function_cuMemcpyHtoDAsync_v2_no __pyx_string_tab[339] #define __pyx_kp_u_Function_cuMemcpyHtoD_v2_not_fou __pyx_string_tab[340] #define __pyx_kp_u_Function_cuMemcpyPeerAsync_not_f __pyx_string_tab[341] #define __pyx_kp_u_Function_cuMemcpyPeer_not_found __pyx_string_tab[342] #define __pyx_kp_u_Function_cuMemcpy_not_found __pyx_string_tab[343] #define __pyx_kp_u_Function_cuMemsetD16Async_not_fo __pyx_string_tab[344] #define __pyx_kp_u_Function_cuMemsetD16_v2_not_foun __pyx_string_tab[345] #define __pyx_kp_u_Function_cuMemsetD2D16Async_not __pyx_string_tab[346] #define __pyx_kp_u_Function_cuMemsetD2D16_v2_not_fo __pyx_string_tab[347] #define __pyx_kp_u_Function_cuMemsetD2D32Async_not __pyx_string_tab[348] #define __pyx_kp_u_Function_cuMemsetD2D32_v2_not_fo __pyx_string_tab[349] #define __pyx_kp_u_Function_cuMemsetD2D8Async_not_f __pyx_string_tab[350] #define __pyx_kp_u_Function_cuMemsetD2D8_v2_not_fou __pyx_string_tab[351] #define __pyx_kp_u_Function_cuMemsetD32Async_not_fo __pyx_string_tab[352] #define __pyx_kp_u_Function_cuMemsetD32_v2_not_foun __pyx_string_tab[353] #define __pyx_kp_u_Function_cuMemsetD8Async_not_fou __pyx_string_tab[354] #define __pyx_kp_u_Function_cuMemsetD8_v2_not_found __pyx_string_tab[355] #define __pyx_kp_u_Function_cuMipmappedArrayCreate __pyx_string_tab[356] #define __pyx_kp_u_Function_cuMipmappedArrayDestroy __pyx_string_tab[357] #define __pyx_kp_u_Function_cuMipmappedArrayGetLeve __pyx_string_tab[358] #define __pyx_kp_u_Function_cuMipmappedArrayGetMemo __pyx_string_tab[359] #define __pyx_kp_u_Function_cuMipmappedArrayGetSpar __pyx_string_tab[360] #define __pyx_kp_u_Function_cuModuleEnumerateFuncti __pyx_string_tab[361] #define __pyx_kp_u_Function_cuModuleGetFunctionCoun __pyx_string_tab[362] #define __pyx_kp_u_Function_cuModuleGetFunction_not __pyx_string_tab[363] #define __pyx_kp_u_Function_cuModuleGetGlobal_v2_no __pyx_string_tab[364] #define __pyx_kp_u_Function_cuModuleGetLoadingMode __pyx_string_tab[365] #define __pyx_kp_u_Function_cuModuleGetSurfRef_not __pyx_string_tab[366] #define __pyx_kp_u_Function_cuModuleGetTexRef_not_f __pyx_string_tab[367] #define __pyx_kp_u_Function_cuModuleLoadDataEx_not __pyx_string_tab[368] #define __pyx_kp_u_Function_cuModuleLoadData_not_fo __pyx_string_tab[369] #define __pyx_kp_u_Function_cuModuleLoadFatBinary_n __pyx_string_tab[370] #define __pyx_kp_u_Function_cuModuleLoad_not_found __pyx_string_tab[371] #define __pyx_kp_u_Function_cuModuleUnload_not_foun __pyx_string_tab[372] #define __pyx_kp_u_Function_cuMulticastAddDevice_no __pyx_string_tab[373] #define __pyx_kp_u_Function_cuMulticastBindAddr_not __pyx_string_tab[374] #define __pyx_kp_u_Function_cuMulticastBindMem_not __pyx_string_tab[375] #define __pyx_kp_u_Function_cuMulticastCreate_not_f __pyx_string_tab[376] #define __pyx_kp_u_Function_cuMulticastGetGranulari __pyx_string_tab[377] #define __pyx_kp_u_Function_cuMulticastUnbind_not_f __pyx_string_tab[378] #define __pyx_kp_u_Function_cuOccupancyAvailableDyn __pyx_string_tab[379] #define __pyx_kp_u_Function_cuOccupancyMaxActiveBlo __pyx_string_tab[380] #define __pyx_kp_u_Function_cuOccupancyMaxActiveBlo_2 __pyx_string_tab[381] #define __pyx_kp_u_Function_cuOccupancyMaxActiveClu __pyx_string_tab[382] #define __pyx_kp_u_Function_cuOccupancyMaxPotential __pyx_string_tab[383] #define __pyx_kp_u_Function_cuOccupancyMaxPotential_2 __pyx_string_tab[384] #define __pyx_kp_u_Function_cuOccupancyMaxPotential_3 __pyx_string_tab[385] #define __pyx_kp_u_Function_cuParamSetSize_not_foun __pyx_string_tab[386] #define __pyx_kp_u_Function_cuParamSetTexRef_not_fo __pyx_string_tab[387] #define __pyx_kp_u_Function_cuParamSetf_not_found __pyx_string_tab[388] #define __pyx_kp_u_Function_cuParamSeti_not_found __pyx_string_tab[389] #define __pyx_kp_u_Function_cuParamSetv_not_found __pyx_string_tab[390] #define __pyx_kp_u_Function_cuPointerGetAttribute_n __pyx_string_tab[391] #define __pyx_kp_u_Function_cuPointerGetAttributes __pyx_string_tab[392] #define __pyx_kp_u_Function_cuPointerSetAttribute_n __pyx_string_tab[393] #define __pyx_kp_u_Function_cuProfilerStart_not_fou __pyx_string_tab[394] #define __pyx_kp_u_Function_cuProfilerStop_not_foun __pyx_string_tab[395] #define __pyx_kp_u_Function_cuSignalExternalSemapho __pyx_string_tab[396] #define __pyx_kp_u_Function_cuStreamAddCallback_not __pyx_string_tab[397] #define __pyx_kp_u_Function_cuStreamAttachMemAsync __pyx_string_tab[398] #define __pyx_kp_u_Function_cuStreamBatchMemOp_v2_n __pyx_string_tab[399] #define __pyx_kp_u_Function_cuStreamBeginCaptureToG __pyx_string_tab[400] #define __pyx_kp_u_Function_cuStreamBeginCapture_v2 __pyx_string_tab[401] #define __pyx_kp_u_Function_cuStreamCopyAttributes __pyx_string_tab[402] #define __pyx_kp_u_Function_cuStreamCreateWithPrior __pyx_string_tab[403] #define __pyx_kp_u_Function_cuStreamCreate_not_foun __pyx_string_tab[404] #define __pyx_kp_u_Function_cuStreamDestroy_v2_not __pyx_string_tab[405] #define __pyx_kp_u_Function_cuStreamEndCapture_not __pyx_string_tab[406] #define __pyx_kp_u_Function_cuStreamGetAttribute_no __pyx_string_tab[407] #define __pyx_kp_u_Function_cuStreamGetCaptureInfo __pyx_string_tab[408] #define __pyx_kp_u_Function_cuStreamGetCaptureInfo_2 __pyx_string_tab[409] #define __pyx_kp_u_Function_cuStreamGetCtx_not_foun __pyx_string_tab[410] #define __pyx_kp_u_Function_cuStreamGetCtx_v2_not_f __pyx_string_tab[411] #define __pyx_kp_u_Function_cuStreamGetDevice_not_f __pyx_string_tab[412] #define __pyx_kp_u_Function_cuStreamGetFlags_not_fo __pyx_string_tab[413] #define __pyx_kp_u_Function_cuStreamGetGreenCtx_not __pyx_string_tab[414] #define __pyx_kp_u_Function_cuStreamGetId_not_found __pyx_string_tab[415] #define __pyx_kp_u_Function_cuStreamGetPriority_not __pyx_string_tab[416] #define __pyx_kp_u_Function_cuStreamIsCapturing_not __pyx_string_tab[417] #define __pyx_kp_u_Function_cuStreamQuery_not_found __pyx_string_tab[418] #define __pyx_kp_u_Function_cuStreamSetAttribute_no __pyx_string_tab[419] #define __pyx_kp_u_Function_cuStreamSynchronize_not __pyx_string_tab[420] #define __pyx_kp_u_Function_cuStreamUpdateCaptureDe __pyx_string_tab[421] #define __pyx_kp_u_Function_cuStreamUpdateCaptureDe_2 __pyx_string_tab[422] #define __pyx_kp_u_Function_cuStreamWaitEvent_not_f __pyx_string_tab[423] #define __pyx_kp_u_Function_cuStreamWaitValue32_v2 __pyx_string_tab[424] #define __pyx_kp_u_Function_cuStreamWaitValue64_v2 __pyx_string_tab[425] #define __pyx_kp_u_Function_cuStreamWriteValue32_v2 __pyx_string_tab[426] #define __pyx_kp_u_Function_cuStreamWriteValue64_v2 __pyx_string_tab[427] #define __pyx_kp_u_Function_cuSurfObjectCreate_not __pyx_string_tab[428] #define __pyx_kp_u_Function_cuSurfObjectDestroy_not __pyx_string_tab[429] #define __pyx_kp_u_Function_cuSurfObjectGetResource __pyx_string_tab[430] #define __pyx_kp_u_Function_cuSurfRefGetArray_not_f __pyx_string_tab[431] #define __pyx_kp_u_Function_cuSurfRefSetArray_not_f __pyx_string_tab[432] #define __pyx_kp_u_Function_cuTensorMapEncodeIm2col __pyx_string_tab[433] #define __pyx_kp_u_Function_cuTensorMapEncodeIm2col_2 __pyx_string_tab[434] #define __pyx_kp_u_Function_cuTensorMapEncodeTiled __pyx_string_tab[435] #define __pyx_kp_u_Function_cuTensorMapReplaceAddre __pyx_string_tab[436] #define __pyx_kp_u_Function_cuTexObjectCreate_not_f __pyx_string_tab[437] #define __pyx_kp_u_Function_cuTexObjectDestroy_not __pyx_string_tab[438] #define __pyx_kp_u_Function_cuTexObjectGetResourceD __pyx_string_tab[439] #define __pyx_kp_u_Function_cuTexObjectGetResourceV __pyx_string_tab[440] #define __pyx_kp_u_Function_cuTexObjectGetTextureDe __pyx_string_tab[441] #define __pyx_kp_u_Function_cuTexRefCreate_not_foun __pyx_string_tab[442] #define __pyx_kp_u_Function_cuTexRefDestroy_not_fou __pyx_string_tab[443] #define __pyx_kp_u_Function_cuTexRefGetAddressMode __pyx_string_tab[444] #define __pyx_kp_u_Function_cuTexRefGetAddress_v2_n __pyx_string_tab[445] #define __pyx_kp_u_Function_cuTexRefGetArray_not_fo __pyx_string_tab[446] #define __pyx_kp_u_Function_cuTexRefGetBorderColor __pyx_string_tab[447] #define __pyx_kp_u_Function_cuTexRefGetFilterMode_n __pyx_string_tab[448] #define __pyx_kp_u_Function_cuTexRefGetFlags_not_fo __pyx_string_tab[449] #define __pyx_kp_u_Function_cuTexRefGetFormat_not_f __pyx_string_tab[450] #define __pyx_kp_u_Function_cuTexRefGetMaxAnisotrop __pyx_string_tab[451] #define __pyx_kp_u_Function_cuTexRefGetMipmapFilter __pyx_string_tab[452] #define __pyx_kp_u_Function_cuTexRefGetMipmapLevelB __pyx_string_tab[453] #define __pyx_kp_u_Function_cuTexRefGetMipmapLevelC __pyx_string_tab[454] #define __pyx_kp_u_Function_cuTexRefGetMipmappedArr __pyx_string_tab[455] #define __pyx_kp_u_Function_cuTexRefSetAddress2D_v3 __pyx_string_tab[456] #define __pyx_kp_u_Function_cuTexRefSetAddressMode __pyx_string_tab[457] #define __pyx_kp_u_Function_cuTexRefSetAddress_v2_n __pyx_string_tab[458] #define __pyx_kp_u_Function_cuTexRefSetArray_not_fo __pyx_string_tab[459] #define __pyx_kp_u_Function_cuTexRefSetBorderColor __pyx_string_tab[460] #define __pyx_kp_u_Function_cuTexRefSetFilterMode_n __pyx_string_tab[461] #define __pyx_kp_u_Function_cuTexRefSetFlags_not_fo __pyx_string_tab[462] #define __pyx_kp_u_Function_cuTexRefSetFormat_not_f __pyx_string_tab[463] #define __pyx_kp_u_Function_cuTexRefSetMaxAnisotrop __pyx_string_tab[464] #define __pyx_kp_u_Function_cuTexRefSetMipmapFilter __pyx_string_tab[465] #define __pyx_kp_u_Function_cuTexRefSetMipmapLevelB __pyx_string_tab[466] #define __pyx_kp_u_Function_cuTexRefSetMipmapLevelC __pyx_string_tab[467] #define __pyx_kp_u_Function_cuTexRefSetMipmappedArr __pyx_string_tab[468] #define __pyx_kp_u_Function_cuThreadExchangeStreamC __pyx_string_tab[469] #define __pyx_kp_u_Function_cuUserObjectCreate_not __pyx_string_tab[470] #define __pyx_kp_u_Function_cuUserObjectRelease_not __pyx_string_tab[471] #define __pyx_kp_u_Function_cuUserObjectRetain_not __pyx_string_tab[472] #define __pyx_kp_u_Function_cuVDPAUCtxCreate_v2_not __pyx_string_tab[473] #define __pyx_kp_u_Function_cuVDPAUGetDevice_not_fo __pyx_string_tab[474] #define __pyx_kp_u_Function_cuWaitExternalSemaphore __pyx_string_tab[475] #define __pyx_n_u_Lock __pyx_string_tab[476] #define __pyx_kp_u_Note_that_Cython_is_deliberately __pyx_string_tab[477] #define __pyx_n_u_RuntimeError __pyx_string_tab[478] #define __pyx_kp_u_add_note __pyx_string_tab[479] #define __pyx_n_u_asyncio_coroutines __pyx_string_tab[480] #define __pyx_n_u_cline_in_traceback __pyx_string_tab[481] #define __pyx_n_u_cuArray3DCreate_v2 __pyx_string_tab[482] #define __pyx_n_u_cuArray3DGetDescriptor_v2 __pyx_string_tab[483] #define __pyx_n_u_cuArrayCreate_v2 __pyx_string_tab[484] #define __pyx_n_u_cuArrayDestroy __pyx_string_tab[485] #define __pyx_n_u_cuArrayGetDescriptor_v2 __pyx_string_tab[486] #define __pyx_n_u_cuArrayGetMemoryRequirements __pyx_string_tab[487] #define __pyx_n_u_cuArrayGetPlane __pyx_string_tab[488] #define __pyx_n_u_cuArrayGetSparseProperties __pyx_string_tab[489] #define __pyx_n_u_cuCheckpointProcessCheckpoint __pyx_string_tab[490] #define __pyx_n_u_cuCheckpointProcessGetRestoreT __pyx_string_tab[491] #define __pyx_n_u_cuCheckpointProcessGetState __pyx_string_tab[492] #define __pyx_n_u_cuCheckpointProcessLock __pyx_string_tab[493] #define __pyx_n_u_cuCheckpointProcessRestore __pyx_string_tab[494] #define __pyx_n_u_cuCheckpointProcessUnlock __pyx_string_tab[495] #define __pyx_n_u_cuCoredumpGetAttribute __pyx_string_tab[496] #define __pyx_n_u_cuCoredumpGetAttributeGlobal __pyx_string_tab[497] #define __pyx_n_u_cuCoredumpSetAttribute __pyx_string_tab[498] #define __pyx_n_u_cuCoredumpSetAttributeGlobal __pyx_string_tab[499] #define __pyx_n_u_cuCtxAttach __pyx_string_tab[500] #define __pyx_n_u_cuCtxCreate_v2 __pyx_string_tab[501] #define __pyx_n_u_cuCtxCreate_v3 __pyx_string_tab[502] #define __pyx_n_u_cuCtxCreate_v4 __pyx_string_tab[503] #define __pyx_n_u_cuCtxDestroy_v2 __pyx_string_tab[504] #define __pyx_n_u_cuCtxDetach __pyx_string_tab[505] #define __pyx_n_u_cuCtxDisablePeerAccess __pyx_string_tab[506] #define __pyx_n_u_cuCtxEnablePeerAccess __pyx_string_tab[507] #define __pyx_n_u_cuCtxFromGreenCtx __pyx_string_tab[508] #define __pyx_n_u_cuCtxGetApiVersion __pyx_string_tab[509] #define __pyx_n_u_cuCtxGetCacheConfig __pyx_string_tab[510] #define __pyx_n_u_cuCtxGetCurrent __pyx_string_tab[511] #define __pyx_n_u_cuCtxGetDevResource __pyx_string_tab[512] #define __pyx_n_u_cuCtxGetDevice __pyx_string_tab[513] #define __pyx_n_u_cuCtxGetExecAffinity __pyx_string_tab[514] #define __pyx_n_u_cuCtxGetFlags __pyx_string_tab[515] #define __pyx_n_u_cuCtxGetId __pyx_string_tab[516] #define __pyx_n_u_cuCtxGetLimit __pyx_string_tab[517] #define __pyx_n_u_cuCtxGetSharedMemConfig __pyx_string_tab[518] #define __pyx_n_u_cuCtxGetStreamPriorityRange __pyx_string_tab[519] #define __pyx_n_u_cuCtxPopCurrent_v2 __pyx_string_tab[520] #define __pyx_n_u_cuCtxPushCurrent_v2 __pyx_string_tab[521] #define __pyx_n_u_cuCtxRecordEvent __pyx_string_tab[522] #define __pyx_n_u_cuCtxResetPersistingL2Cache __pyx_string_tab[523] #define __pyx_n_u_cuCtxSetCacheConfig __pyx_string_tab[524] #define __pyx_n_u_cuCtxSetCurrent __pyx_string_tab[525] #define __pyx_n_u_cuCtxSetFlags __pyx_string_tab[526] #define __pyx_n_u_cuCtxSetLimit __pyx_string_tab[527] #define __pyx_n_u_cuCtxSetSharedMemConfig __pyx_string_tab[528] #define __pyx_n_u_cuCtxSynchronize __pyx_string_tab[529] #define __pyx_n_u_cuCtxWaitEvent __pyx_string_tab[530] #define __pyx_n_u_cuDestroyExternalMemory __pyx_string_tab[531] #define __pyx_n_u_cuDestroyExternalSemaphore __pyx_string_tab[532] #define __pyx_n_u_cuDevResourceGenerateDesc __pyx_string_tab[533] #define __pyx_n_u_cuDevSmResourceSplitByCount __pyx_string_tab[534] #define __pyx_n_u_cuDeviceCanAccessPeer __pyx_string_tab[535] #define __pyx_n_u_cuDeviceComputeCapability __pyx_string_tab[536] #define __pyx_n_u_cuDeviceGet __pyx_string_tab[537] #define __pyx_n_u_cuDeviceGetAttribute __pyx_string_tab[538] #define __pyx_n_u_cuDeviceGetByPCIBusId __pyx_string_tab[539] #define __pyx_n_u_cuDeviceGetCount __pyx_string_tab[540] #define __pyx_n_u_cuDeviceGetDefaultMemPool __pyx_string_tab[541] #define __pyx_n_u_cuDeviceGetDevResource __pyx_string_tab[542] #define __pyx_n_u_cuDeviceGetExecAffinitySupport __pyx_string_tab[543] #define __pyx_n_u_cuDeviceGetGraphMemAttribute __pyx_string_tab[544] #define __pyx_n_u_cuDeviceGetLuid __pyx_string_tab[545] #define __pyx_n_u_cuDeviceGetMemPool __pyx_string_tab[546] #define __pyx_n_u_cuDeviceGetName __pyx_string_tab[547] #define __pyx_n_u_cuDeviceGetNvSciSyncAttributes __pyx_string_tab[548] #define __pyx_n_u_cuDeviceGetP2PAttribute __pyx_string_tab[549] #define __pyx_n_u_cuDeviceGetPCIBusId __pyx_string_tab[550] #define __pyx_n_u_cuDeviceGetProperties __pyx_string_tab[551] #define __pyx_n_u_cuDeviceGetTexture1DLinearMaxW __pyx_string_tab[552] #define __pyx_n_u_cuDeviceGetUuid __pyx_string_tab[553] #define __pyx_n_u_cuDeviceGetUuid_v2 __pyx_string_tab[554] #define __pyx_n_u_cuDeviceGraphMemTrim __pyx_string_tab[555] #define __pyx_n_u_cuDevicePrimaryCtxGetState __pyx_string_tab[556] #define __pyx_n_u_cuDevicePrimaryCtxRelease_v2 __pyx_string_tab[557] #define __pyx_n_u_cuDevicePrimaryCtxReset_v2 __pyx_string_tab[558] #define __pyx_n_u_cuDevicePrimaryCtxRetain __pyx_string_tab[559] #define __pyx_n_u_cuDevicePrimaryCtxSetFlags_v2 __pyx_string_tab[560] #define __pyx_n_u_cuDeviceRegisterAsyncNotificat __pyx_string_tab[561] #define __pyx_n_u_cuDeviceSetGraphMemAttribute __pyx_string_tab[562] #define __pyx_n_u_cuDeviceSetMemPool __pyx_string_tab[563] #define __pyx_n_u_cuDeviceTotalMem_v2 __pyx_string_tab[564] #define __pyx_n_u_cuDeviceUnregisterAsyncNotific __pyx_string_tab[565] #define __pyx_n_u_cuDriverGetVersion __pyx_string_tab[566] #define __pyx_n_u_cuEGLStreamConsumerAcquireFram __pyx_string_tab[567] #define __pyx_n_u_cuEGLStreamConsumerConnect __pyx_string_tab[568] #define __pyx_n_u_cuEGLStreamConsumerConnectWith __pyx_string_tab[569] #define __pyx_n_u_cuEGLStreamConsumerDisconnect __pyx_string_tab[570] #define __pyx_n_u_cuEGLStreamConsumerReleaseFram __pyx_string_tab[571] #define __pyx_n_u_cuEGLStreamProducerConnect __pyx_string_tab[572] #define __pyx_n_u_cuEGLStreamProducerDisconnect __pyx_string_tab[573] #define __pyx_n_u_cuEGLStreamProducerPresentFram __pyx_string_tab[574] #define __pyx_n_u_cuEGLStreamProducerReturnFrame __pyx_string_tab[575] #define __pyx_n_u_cuEventCreate __pyx_string_tab[576] #define __pyx_n_u_cuEventCreateFromEGLSync __pyx_string_tab[577] #define __pyx_n_u_cuEventDestroy_v2 __pyx_string_tab[578] #define __pyx_n_u_cuEventElapsedTime __pyx_string_tab[579] #define __pyx_n_u_cuEventElapsedTime_v2 __pyx_string_tab[580] #define __pyx_n_u_cuEventQuery __pyx_string_tab[581] #define __pyx_n_u_cuEventRecord __pyx_string_tab[582] #define __pyx_n_u_cuEventRecordWithFlags __pyx_string_tab[583] #define __pyx_n_u_cuEventSynchronize __pyx_string_tab[584] #define __pyx_n_u_cuExternalMemoryGetMappedBuffe __pyx_string_tab[585] #define __pyx_n_u_cuExternalMemoryGetMappedMipma __pyx_string_tab[586] #define __pyx_n_u_cuFlushGPUDirectRDMAWrites __pyx_string_tab[587] #define __pyx_n_u_cuFuncGetAttribute __pyx_string_tab[588] #define __pyx_n_u_cuFuncGetModule __pyx_string_tab[589] #define __pyx_n_u_cuFuncGetName __pyx_string_tab[590] #define __pyx_n_u_cuFuncGetParamInfo __pyx_string_tab[591] #define __pyx_n_u_cuFuncIsLoaded __pyx_string_tab[592] #define __pyx_n_u_cuFuncLoad __pyx_string_tab[593] #define __pyx_n_u_cuFuncSetAttribute __pyx_string_tab[594] #define __pyx_n_u_cuFuncSetBlockShape __pyx_string_tab[595] #define __pyx_n_u_cuFuncSetCacheConfig __pyx_string_tab[596] #define __pyx_n_u_cuFuncSetSharedMemConfig __pyx_string_tab[597] #define __pyx_n_u_cuFuncSetSharedSize __pyx_string_tab[598] #define __pyx_n_u_cuGLGetDevices_v2 __pyx_string_tab[599] #define __pyx_n_u_cuGetErrorName __pyx_string_tab[600] #define __pyx_n_u_cuGetErrorString __pyx_string_tab[601] #define __pyx_n_u_cuGetExportTable __pyx_string_tab[602] #define __pyx_n_u_cuGetProcAddress_v2 __pyx_string_tab[603] #define __pyx_n_u_cuGraphAddBatchMemOpNode __pyx_string_tab[604] #define __pyx_n_u_cuGraphAddChildGraphNode __pyx_string_tab[605] #define __pyx_n_u_cuGraphAddDependencies __pyx_string_tab[606] #define __pyx_n_u_cuGraphAddDependencies_v2 __pyx_string_tab[607] #define __pyx_n_u_cuGraphAddEmptyNode __pyx_string_tab[608] #define __pyx_n_u_cuGraphAddEventRecordNode __pyx_string_tab[609] #define __pyx_n_u_cuGraphAddEventWaitNode __pyx_string_tab[610] #define __pyx_n_u_cuGraphAddExternalSemaphoresSi __pyx_string_tab[611] #define __pyx_n_u_cuGraphAddExternalSemaphoresWa __pyx_string_tab[612] #define __pyx_n_u_cuGraphAddHostNode __pyx_string_tab[613] #define __pyx_n_u_cuGraphAddKernelNode_v2 __pyx_string_tab[614] #define __pyx_n_u_cuGraphAddMemAllocNode __pyx_string_tab[615] #define __pyx_n_u_cuGraphAddMemFreeNode __pyx_string_tab[616] #define __pyx_n_u_cuGraphAddMemcpyNode __pyx_string_tab[617] #define __pyx_n_u_cuGraphAddMemsetNode __pyx_string_tab[618] #define __pyx_n_u_cuGraphAddNode __pyx_string_tab[619] #define __pyx_n_u_cuGraphAddNode_v2 __pyx_string_tab[620] #define __pyx_n_u_cuGraphBatchMemOpNodeGetParams __pyx_string_tab[621] #define __pyx_n_u_cuGraphBatchMemOpNodeSetParams __pyx_string_tab[622] #define __pyx_n_u_cuGraphChildGraphNodeGetGraph __pyx_string_tab[623] #define __pyx_n_u_cuGraphClone __pyx_string_tab[624] #define __pyx_n_u_cuGraphConditionalHandleCreate __pyx_string_tab[625] #define __pyx_n_u_cuGraphCreate __pyx_string_tab[626] #define __pyx_n_u_cuGraphDebugDotPrint __pyx_string_tab[627] #define __pyx_n_u_cuGraphDestroy __pyx_string_tab[628] #define __pyx_n_u_cuGraphDestroyNode __pyx_string_tab[629] #define __pyx_n_u_cuGraphEventRecordNodeGetEvent __pyx_string_tab[630] #define __pyx_n_u_cuGraphEventRecordNodeSetEvent __pyx_string_tab[631] #define __pyx_n_u_cuGraphEventWaitNodeGetEvent __pyx_string_tab[632] #define __pyx_n_u_cuGraphEventWaitNodeSetEvent __pyx_string_tab[633] #define __pyx_n_u_cuGraphExecBatchMemOpNodeSetPa __pyx_string_tab[634] #define __pyx_n_u_cuGraphExecChildGraphNodeSetPa __pyx_string_tab[635] #define __pyx_n_u_cuGraphExecDestroy __pyx_string_tab[636] #define __pyx_n_u_cuGraphExecEventRecordNodeSetE __pyx_string_tab[637] #define __pyx_n_u_cuGraphExecEventWaitNodeSetEve __pyx_string_tab[638] #define __pyx_n_u_cuGraphExecExternalSemaphoresS __pyx_string_tab[639] #define __pyx_n_u_cuGraphExecExternalSemaphoresW __pyx_string_tab[640] #define __pyx_n_u_cuGraphExecGetFlags __pyx_string_tab[641] #define __pyx_n_u_cuGraphExecHostNodeSetParams __pyx_string_tab[642] #define __pyx_n_u_cuGraphExecKernelNodeSetParams __pyx_string_tab[643] #define __pyx_n_u_cuGraphExecMemcpyNodeSetParams __pyx_string_tab[644] #define __pyx_n_u_cuGraphExecMemsetNodeSetParams __pyx_string_tab[645] #define __pyx_n_u_cuGraphExecNodeSetParams __pyx_string_tab[646] #define __pyx_n_u_cuGraphExecUpdate_v2 __pyx_string_tab[647] #define __pyx_n_u_cuGraphExternalSemaphoresSigna __pyx_string_tab[648] #define __pyx_n_u_cuGraphExternalSemaphoresSigna_2 __pyx_string_tab[649] #define __pyx_n_u_cuGraphExternalSemaphoresWaitN __pyx_string_tab[650] #define __pyx_n_u_cuGraphExternalSemaphoresWaitN_2 __pyx_string_tab[651] #define __pyx_n_u_cuGraphGetEdges __pyx_string_tab[652] #define __pyx_n_u_cuGraphGetEdges_v2 __pyx_string_tab[653] #define __pyx_n_u_cuGraphGetNodes __pyx_string_tab[654] #define __pyx_n_u_cuGraphGetRootNodes __pyx_string_tab[655] #define __pyx_n_u_cuGraphHostNodeGetParams __pyx_string_tab[656] #define __pyx_n_u_cuGraphHostNodeSetParams __pyx_string_tab[657] #define __pyx_n_u_cuGraphInstantiateWithFlags __pyx_string_tab[658] #define __pyx_n_u_cuGraphInstantiateWithParams __pyx_string_tab[659] #define __pyx_n_u_cuGraphKernelNodeCopyAttribute __pyx_string_tab[660] #define __pyx_n_u_cuGraphKernelNodeGetAttribute __pyx_string_tab[661] #define __pyx_n_u_cuGraphKernelNodeGetParams_v2 __pyx_string_tab[662] #define __pyx_n_u_cuGraphKernelNodeSetAttribute __pyx_string_tab[663] #define __pyx_n_u_cuGraphKernelNodeSetParams_v2 __pyx_string_tab[664] #define __pyx_n_u_cuGraphLaunch __pyx_string_tab[665] #define __pyx_n_u_cuGraphMemAllocNodeGetParams __pyx_string_tab[666] #define __pyx_n_u_cuGraphMemFreeNodeGetParams __pyx_string_tab[667] #define __pyx_n_u_cuGraphMemcpyNodeGetParams __pyx_string_tab[668] #define __pyx_n_u_cuGraphMemcpyNodeSetParams __pyx_string_tab[669] #define __pyx_n_u_cuGraphMemsetNodeGetParams __pyx_string_tab[670] #define __pyx_n_u_cuGraphMemsetNodeSetParams __pyx_string_tab[671] #define __pyx_n_u_cuGraphNodeFindInClone __pyx_string_tab[672] #define __pyx_n_u_cuGraphNodeGetDependencies __pyx_string_tab[673] #define __pyx_n_u_cuGraphNodeGetDependencies_v2 __pyx_string_tab[674] #define __pyx_n_u_cuGraphNodeGetDependentNodes __pyx_string_tab[675] #define __pyx_n_u_cuGraphNodeGetDependentNodes_v __pyx_string_tab[676] #define __pyx_n_u_cuGraphNodeGetEnabled __pyx_string_tab[677] #define __pyx_n_u_cuGraphNodeGetType __pyx_string_tab[678] #define __pyx_n_u_cuGraphNodeSetEnabled __pyx_string_tab[679] #define __pyx_n_u_cuGraphNodeSetParams __pyx_string_tab[680] #define __pyx_n_u_cuGraphReleaseUserObject __pyx_string_tab[681] #define __pyx_n_u_cuGraphRemoveDependencies __pyx_string_tab[682] #define __pyx_n_u_cuGraphRemoveDependencies_v2 __pyx_string_tab[683] #define __pyx_n_u_cuGraphRetainUserObject __pyx_string_tab[684] #define __pyx_n_u_cuGraphUpload __pyx_string_tab[685] #define __pyx_n_u_cuGraphicsEGLRegisterImage __pyx_string_tab[686] #define __pyx_n_u_cuGraphicsGLRegisterBuffer __pyx_string_tab[687] #define __pyx_n_u_cuGraphicsGLRegisterImage __pyx_string_tab[688] #define __pyx_n_u_cuGraphicsMapResources __pyx_string_tab[689] #define __pyx_n_u_cuGraphicsResourceGetMappedEgl __pyx_string_tab[690] #define __pyx_n_u_cuGraphicsResourceGetMappedMip __pyx_string_tab[691] #define __pyx_n_u_cuGraphicsResourceGetMappedPoi __pyx_string_tab[692] #define __pyx_n_u_cuGraphicsResourceSetMapFlags __pyx_string_tab[693] #define __pyx_n_u_cuGraphicsSubResourceGetMapped __pyx_string_tab[694] #define __pyx_n_u_cuGraphicsUnmapResources __pyx_string_tab[695] #define __pyx_n_u_cuGraphicsUnregisterResource __pyx_string_tab[696] #define __pyx_n_u_cuGraphicsVDPAURegisterOutputS __pyx_string_tab[697] #define __pyx_n_u_cuGraphicsVDPAURegisterVideoSu __pyx_string_tab[698] #define __pyx_n_u_cuGreenCtxCreate __pyx_string_tab[699] #define __pyx_n_u_cuGreenCtxDestroy __pyx_string_tab[700] #define __pyx_n_u_cuGreenCtxGetDevResource __pyx_string_tab[701] #define __pyx_n_u_cuGreenCtxRecordEvent __pyx_string_tab[702] #define __pyx_n_u_cuGreenCtxStreamCreate __pyx_string_tab[703] #define __pyx_n_u_cuGreenCtxWaitEvent __pyx_string_tab[704] #define __pyx_n_u_cuImportExternalMemory __pyx_string_tab[705] #define __pyx_n_u_cuImportExternalSemaphore __pyx_string_tab[706] #define __pyx_n_u_cuInit __pyx_string_tab[707] #define __pyx_n_u_cuIpcCloseMemHandle __pyx_string_tab[708] #define __pyx_n_u_cuIpcGetEventHandle __pyx_string_tab[709] #define __pyx_n_u_cuIpcGetMemHandle __pyx_string_tab[710] #define __pyx_n_u_cuIpcOpenEventHandle __pyx_string_tab[711] #define __pyx_n_u_cuIpcOpenMemHandle_v2 __pyx_string_tab[712] #define __pyx_n_u_cuKernelGetAttribute __pyx_string_tab[713] #define __pyx_n_u_cuKernelGetFunction __pyx_string_tab[714] #define __pyx_n_u_cuKernelGetLibrary __pyx_string_tab[715] #define __pyx_n_u_cuKernelGetName __pyx_string_tab[716] #define __pyx_n_u_cuKernelGetParamInfo __pyx_string_tab[717] #define __pyx_n_u_cuKernelSetAttribute __pyx_string_tab[718] #define __pyx_n_u_cuKernelSetCacheConfig __pyx_string_tab[719] #define __pyx_n_u_cuLaunch __pyx_string_tab[720] #define __pyx_n_u_cuLaunchCooperativeKernel __pyx_string_tab[721] #define __pyx_n_u_cuLaunchCooperativeKernelMulti __pyx_string_tab[722] #define __pyx_n_u_cuLaunchGrid __pyx_string_tab[723] #define __pyx_n_u_cuLaunchGridAsync __pyx_string_tab[724] #define __pyx_n_u_cuLaunchHostFunc __pyx_string_tab[725] #define __pyx_n_u_cuLaunchKernel __pyx_string_tab[726] #define __pyx_n_u_cuLaunchKernelEx __pyx_string_tab[727] #define __pyx_n_u_cuLibraryEnumerateKernels __pyx_string_tab[728] #define __pyx_n_u_cuLibraryGetGlobal __pyx_string_tab[729] #define __pyx_n_u_cuLibraryGetKernel __pyx_string_tab[730] #define __pyx_n_u_cuLibraryGetKernelCount __pyx_string_tab[731] #define __pyx_n_u_cuLibraryGetManaged __pyx_string_tab[732] #define __pyx_n_u_cuLibraryGetModule __pyx_string_tab[733] #define __pyx_n_u_cuLibraryGetUnifiedFunction __pyx_string_tab[734] #define __pyx_n_u_cuLibraryLoadData __pyx_string_tab[735] #define __pyx_n_u_cuLibraryLoadFromFile __pyx_string_tab[736] #define __pyx_n_u_cuLibraryUnload __pyx_string_tab[737] #define __pyx_n_u_cuLinkAddData_v2 __pyx_string_tab[738] #define __pyx_n_u_cuLinkAddFile_v2 __pyx_string_tab[739] #define __pyx_n_u_cuLinkComplete __pyx_string_tab[740] #define __pyx_n_u_cuLinkCreate_v2 __pyx_string_tab[741] #define __pyx_n_u_cuLinkDestroy __pyx_string_tab[742] #define __pyx_n_u_cuLogsCurrent __pyx_string_tab[743] #define __pyx_n_u_cuLogsDumpToFile __pyx_string_tab[744] #define __pyx_n_u_cuLogsDumpToMemory __pyx_string_tab[745] #define __pyx_n_u_cuLogsRegisterCallback __pyx_string_tab[746] #define __pyx_n_u_cuLogsUnregisterCallback __pyx_string_tab[747] #define __pyx_n_u_cuMemAddressFree __pyx_string_tab[748] #define __pyx_n_u_cuMemAddressReserve __pyx_string_tab[749] #define __pyx_n_u_cuMemAdvise __pyx_string_tab[750] #define __pyx_n_u_cuMemAdvise_v2 __pyx_string_tab[751] #define __pyx_n_u_cuMemAllocAsync __pyx_string_tab[752] #define __pyx_n_u_cuMemAllocFromPoolAsync __pyx_string_tab[753] #define __pyx_n_u_cuMemAllocHost_v2 __pyx_string_tab[754] #define __pyx_n_u_cuMemAllocManaged __pyx_string_tab[755] #define __pyx_n_u_cuMemAllocPitch_v2 __pyx_string_tab[756] #define __pyx_n_u_cuMemAlloc_v2 __pyx_string_tab[757] #define __pyx_n_u_cuMemBatchDecompressAsync __pyx_string_tab[758] #define __pyx_n_u_cuMemCreate __pyx_string_tab[759] #define __pyx_n_u_cuMemExportToShareableHandle __pyx_string_tab[760] #define __pyx_n_u_cuMemFreeAsync __pyx_string_tab[761] #define __pyx_n_u_cuMemFreeHost __pyx_string_tab[762] #define __pyx_n_u_cuMemFree_v2 __pyx_string_tab[763] #define __pyx_n_u_cuMemGetAccess __pyx_string_tab[764] #define __pyx_n_u_cuMemGetAddressRange_v2 __pyx_string_tab[765] #define __pyx_n_u_cuMemGetAllocationGranularity __pyx_string_tab[766] #define __pyx_n_u_cuMemGetAllocationPropertiesFr __pyx_string_tab[767] #define __pyx_n_u_cuMemGetHandleForAddressRange __pyx_string_tab[768] #define __pyx_n_u_cuMemGetInfo_v2 __pyx_string_tab[769] #define __pyx_n_u_cuMemHostAlloc __pyx_string_tab[770] #define __pyx_n_u_cuMemHostGetDevicePointer_v2 __pyx_string_tab[771] #define __pyx_n_u_cuMemHostGetFlags __pyx_string_tab[772] #define __pyx_n_u_cuMemHostRegister_v2 __pyx_string_tab[773] #define __pyx_n_u_cuMemHostUnregister __pyx_string_tab[774] #define __pyx_n_u_cuMemImportFromShareableHandle __pyx_string_tab[775] #define __pyx_n_u_cuMemMap __pyx_string_tab[776] #define __pyx_n_u_cuMemMapArrayAsync __pyx_string_tab[777] #define __pyx_n_u_cuMemPoolCreate __pyx_string_tab[778] #define __pyx_n_u_cuMemPoolDestroy __pyx_string_tab[779] #define __pyx_n_u_cuMemPoolExportPointer __pyx_string_tab[780] #define __pyx_n_u_cuMemPoolExportToShareableHand __pyx_string_tab[781] #define __pyx_n_u_cuMemPoolGetAccess __pyx_string_tab[782] #define __pyx_n_u_cuMemPoolGetAttribute __pyx_string_tab[783] #define __pyx_n_u_cuMemPoolImportFromShareableHa __pyx_string_tab[784] #define __pyx_n_u_cuMemPoolImportPointer __pyx_string_tab[785] #define __pyx_n_u_cuMemPoolSetAccess __pyx_string_tab[786] #define __pyx_n_u_cuMemPoolSetAttribute __pyx_string_tab[787] #define __pyx_n_u_cuMemPoolTrimTo __pyx_string_tab[788] #define __pyx_n_u_cuMemPrefetchAsync __pyx_string_tab[789] #define __pyx_n_u_cuMemPrefetchAsync_v2 __pyx_string_tab[790] #define __pyx_n_u_cuMemRangeGetAttribute __pyx_string_tab[791] #define __pyx_n_u_cuMemRangeGetAttributes __pyx_string_tab[792] #define __pyx_n_u_cuMemRelease __pyx_string_tab[793] #define __pyx_n_u_cuMemRetainAllocationHandle __pyx_string_tab[794] #define __pyx_n_u_cuMemSetAccess __pyx_string_tab[795] #define __pyx_n_u_cuMemUnmap __pyx_string_tab[796] #define __pyx_n_u_cuMemcpy __pyx_string_tab[797] #define __pyx_n_u_cuMemcpy2DAsync_v2 __pyx_string_tab[798] #define __pyx_n_u_cuMemcpy2DUnaligned_v2 __pyx_string_tab[799] #define __pyx_n_u_cuMemcpy2D_v2 __pyx_string_tab[800] #define __pyx_n_u_cuMemcpy3DAsync_v2 __pyx_string_tab[801] #define __pyx_n_u_cuMemcpy3DBatchAsync __pyx_string_tab[802] #define __pyx_n_u_cuMemcpy3DPeer __pyx_string_tab[803] #define __pyx_n_u_cuMemcpy3DPeerAsync __pyx_string_tab[804] #define __pyx_n_u_cuMemcpy3D_v2 __pyx_string_tab[805] #define __pyx_n_u_cuMemcpyAsync __pyx_string_tab[806] #define __pyx_n_u_cuMemcpyAtoA_v2 __pyx_string_tab[807] #define __pyx_n_u_cuMemcpyAtoD_v2 __pyx_string_tab[808] #define __pyx_n_u_cuMemcpyAtoHAsync_v2 __pyx_string_tab[809] #define __pyx_n_u_cuMemcpyAtoH_v2 __pyx_string_tab[810] #define __pyx_n_u_cuMemcpyBatchAsync __pyx_string_tab[811] #define __pyx_n_u_cuMemcpyDtoA_v2 __pyx_string_tab[812] #define __pyx_n_u_cuMemcpyDtoDAsync_v2 __pyx_string_tab[813] #define __pyx_n_u_cuMemcpyDtoD_v2 __pyx_string_tab[814] #define __pyx_n_u_cuMemcpyDtoHAsync_v2 __pyx_string_tab[815] #define __pyx_n_u_cuMemcpyDtoH_v2 __pyx_string_tab[816] #define __pyx_n_u_cuMemcpyHtoAAsync_v2 __pyx_string_tab[817] #define __pyx_n_u_cuMemcpyHtoA_v2 __pyx_string_tab[818] #define __pyx_n_u_cuMemcpyHtoDAsync_v2 __pyx_string_tab[819] #define __pyx_n_u_cuMemcpyHtoD_v2 __pyx_string_tab[820] #define __pyx_n_u_cuMemcpyPeer __pyx_string_tab[821] #define __pyx_n_u_cuMemcpyPeerAsync __pyx_string_tab[822] #define __pyx_n_u_cuMemsetD16Async __pyx_string_tab[823] #define __pyx_n_u_cuMemsetD16_v2 __pyx_string_tab[824] #define __pyx_n_u_cuMemsetD2D16Async __pyx_string_tab[825] #define __pyx_n_u_cuMemsetD2D16_v2 __pyx_string_tab[826] #define __pyx_n_u_cuMemsetD2D32Async __pyx_string_tab[827] #define __pyx_n_u_cuMemsetD2D32_v2 __pyx_string_tab[828] #define __pyx_n_u_cuMemsetD2D8Async __pyx_string_tab[829] #define __pyx_n_u_cuMemsetD2D8_v2 __pyx_string_tab[830] #define __pyx_n_u_cuMemsetD32Async __pyx_string_tab[831] #define __pyx_n_u_cuMemsetD32_v2 __pyx_string_tab[832] #define __pyx_n_u_cuMemsetD8Async __pyx_string_tab[833] #define __pyx_n_u_cuMemsetD8_v2 __pyx_string_tab[834] #define __pyx_n_u_cuMipmappedArrayCreate __pyx_string_tab[835] #define __pyx_n_u_cuMipmappedArrayDestroy __pyx_string_tab[836] #define __pyx_n_u_cuMipmappedArrayGetLevel __pyx_string_tab[837] #define __pyx_n_u_cuMipmappedArrayGetMemoryRequi __pyx_string_tab[838] #define __pyx_n_u_cuMipmappedArrayGetSparsePrope __pyx_string_tab[839] #define __pyx_n_u_cuModuleEnumerateFunctions __pyx_string_tab[840] #define __pyx_n_u_cuModuleGetFunction __pyx_string_tab[841] #define __pyx_n_u_cuModuleGetFunctionCount __pyx_string_tab[842] #define __pyx_n_u_cuModuleGetGlobal_v2 __pyx_string_tab[843] #define __pyx_n_u_cuModuleGetLoadingMode __pyx_string_tab[844] #define __pyx_n_u_cuModuleGetSurfRef __pyx_string_tab[845] #define __pyx_n_u_cuModuleGetTexRef __pyx_string_tab[846] #define __pyx_n_u_cuModuleLoad __pyx_string_tab[847] #define __pyx_n_u_cuModuleLoadData __pyx_string_tab[848] #define __pyx_n_u_cuModuleLoadDataEx __pyx_string_tab[849] #define __pyx_n_u_cuModuleLoadFatBinary __pyx_string_tab[850] #define __pyx_n_u_cuModuleUnload __pyx_string_tab[851] #define __pyx_n_u_cuMulticastAddDevice __pyx_string_tab[852] #define __pyx_n_u_cuMulticastBindAddr __pyx_string_tab[853] #define __pyx_n_u_cuMulticastBindMem __pyx_string_tab[854] #define __pyx_n_u_cuMulticastCreate __pyx_string_tab[855] #define __pyx_n_u_cuMulticastGetGranularity __pyx_string_tab[856] #define __pyx_n_u_cuMulticastUnbind __pyx_string_tab[857] #define __pyx_n_u_cuOccupancyAvailableDynamicSMe __pyx_string_tab[858] #define __pyx_n_u_cuOccupancyMaxActiveBlocksPerM __pyx_string_tab[859] #define __pyx_n_u_cuOccupancyMaxActiveBlocksPerM_2 __pyx_string_tab[860] #define __pyx_n_u_cuOccupancyMaxActiveClusters __pyx_string_tab[861] #define __pyx_n_u_cuOccupancyMaxPotentialBlockSi __pyx_string_tab[862] #define __pyx_n_u_cuOccupancyMaxPotentialBlockSi_2 __pyx_string_tab[863] #define __pyx_n_u_cuOccupancyMaxPotentialCluster __pyx_string_tab[864] #define __pyx_n_u_cuParamSetSize __pyx_string_tab[865] #define __pyx_n_u_cuParamSetTexRef __pyx_string_tab[866] #define __pyx_n_u_cuParamSetf __pyx_string_tab[867] #define __pyx_n_u_cuParamSeti __pyx_string_tab[868] #define __pyx_n_u_cuParamSetv __pyx_string_tab[869] #define __pyx_n_u_cuPointerGetAttribute __pyx_string_tab[870] #define __pyx_n_u_cuPointerGetAttributes __pyx_string_tab[871] #define __pyx_n_u_cuPointerSetAttribute __pyx_string_tab[872] #define __pyx_n_u_cuProfilerStart __pyx_string_tab[873] #define __pyx_n_u_cuProfilerStop __pyx_string_tab[874] #define __pyx_n_u_cuSignalExternalSemaphoresAsyn __pyx_string_tab[875] #define __pyx_n_u_cuStreamAddCallback __pyx_string_tab[876] #define __pyx_n_u_cuStreamAttachMemAsync __pyx_string_tab[877] #define __pyx_n_u_cuStreamBatchMemOp_v2 __pyx_string_tab[878] #define __pyx_n_u_cuStreamBeginCaptureToGraph __pyx_string_tab[879] #define __pyx_n_u_cuStreamBeginCapture_v2 __pyx_string_tab[880] #define __pyx_n_u_cuStreamCopyAttributes __pyx_string_tab[881] #define __pyx_n_u_cuStreamCreate __pyx_string_tab[882] #define __pyx_n_u_cuStreamCreateWithPriority __pyx_string_tab[883] #define __pyx_n_u_cuStreamDestroy_v2 __pyx_string_tab[884] #define __pyx_n_u_cuStreamEndCapture __pyx_string_tab[885] #define __pyx_n_u_cuStreamGetAttribute __pyx_string_tab[886] #define __pyx_n_u_cuStreamGetCaptureInfo_v2 __pyx_string_tab[887] #define __pyx_n_u_cuStreamGetCaptureInfo_v3 __pyx_string_tab[888] #define __pyx_n_u_cuStreamGetCtx __pyx_string_tab[889] #define __pyx_n_u_cuStreamGetCtx_v2 __pyx_string_tab[890] #define __pyx_n_u_cuStreamGetDevice __pyx_string_tab[891] #define __pyx_n_u_cuStreamGetFlags __pyx_string_tab[892] #define __pyx_n_u_cuStreamGetGreenCtx __pyx_string_tab[893] #define __pyx_n_u_cuStreamGetId __pyx_string_tab[894] #define __pyx_n_u_cuStreamGetPriority __pyx_string_tab[895] #define __pyx_n_u_cuStreamIsCapturing __pyx_string_tab[896] #define __pyx_n_u_cuStreamQuery __pyx_string_tab[897] #define __pyx_n_u_cuStreamSetAttribute __pyx_string_tab[898] #define __pyx_n_u_cuStreamSynchronize __pyx_string_tab[899] #define __pyx_n_u_cuStreamUpdateCaptureDependenc __pyx_string_tab[900] #define __pyx_n_u_cuStreamUpdateCaptureDependenc_2 __pyx_string_tab[901] #define __pyx_n_u_cuStreamWaitEvent __pyx_string_tab[902] #define __pyx_n_u_cuStreamWaitValue32_v2 __pyx_string_tab[903] #define __pyx_n_u_cuStreamWaitValue64_v2 __pyx_string_tab[904] #define __pyx_n_u_cuStreamWriteValue32_v2 __pyx_string_tab[905] #define __pyx_n_u_cuStreamWriteValue64_v2 __pyx_string_tab[906] #define __pyx_n_u_cuSurfObjectCreate __pyx_string_tab[907] #define __pyx_n_u_cuSurfObjectDestroy __pyx_string_tab[908] #define __pyx_n_u_cuSurfObjectGetResourceDesc __pyx_string_tab[909] #define __pyx_n_u_cuSurfRefGetArray __pyx_string_tab[910] #define __pyx_n_u_cuSurfRefSetArray __pyx_string_tab[911] #define __pyx_n_u_cuTensorMapEncodeIm2col __pyx_string_tab[912] #define __pyx_n_u_cuTensorMapEncodeIm2colWide __pyx_string_tab[913] #define __pyx_n_u_cuTensorMapEncodeTiled __pyx_string_tab[914] #define __pyx_n_u_cuTensorMapReplaceAddress __pyx_string_tab[915] #define __pyx_n_u_cuTexObjectCreate __pyx_string_tab[916] #define __pyx_n_u_cuTexObjectDestroy __pyx_string_tab[917] #define __pyx_n_u_cuTexObjectGetResourceDesc __pyx_string_tab[918] #define __pyx_n_u_cuTexObjectGetResourceViewDesc __pyx_string_tab[919] #define __pyx_n_u_cuTexObjectGetTextureDesc __pyx_string_tab[920] #define __pyx_n_u_cuTexRefCreate __pyx_string_tab[921] #define __pyx_n_u_cuTexRefDestroy __pyx_string_tab[922] #define __pyx_n_u_cuTexRefGetAddressMode __pyx_string_tab[923] #define __pyx_n_u_cuTexRefGetAddress_v2 __pyx_string_tab[924] #define __pyx_n_u_cuTexRefGetArray __pyx_string_tab[925] #define __pyx_n_u_cuTexRefGetBorderColor __pyx_string_tab[926] #define __pyx_n_u_cuTexRefGetFilterMode __pyx_string_tab[927] #define __pyx_n_u_cuTexRefGetFlags __pyx_string_tab[928] #define __pyx_n_u_cuTexRefGetFormat __pyx_string_tab[929] #define __pyx_n_u_cuTexRefGetMaxAnisotropy __pyx_string_tab[930] #define __pyx_n_u_cuTexRefGetMipmapFilterMode __pyx_string_tab[931] #define __pyx_n_u_cuTexRefGetMipmapLevelBias __pyx_string_tab[932] #define __pyx_n_u_cuTexRefGetMipmapLevelClamp __pyx_string_tab[933] #define __pyx_n_u_cuTexRefGetMipmappedArray __pyx_string_tab[934] #define __pyx_n_u_cuTexRefSetAddress2D_v3 __pyx_string_tab[935] #define __pyx_n_u_cuTexRefSetAddressMode __pyx_string_tab[936] #define __pyx_n_u_cuTexRefSetAddress_v2 __pyx_string_tab[937] #define __pyx_n_u_cuTexRefSetArray __pyx_string_tab[938] #define __pyx_n_u_cuTexRefSetBorderColor __pyx_string_tab[939] #define __pyx_n_u_cuTexRefSetFilterMode __pyx_string_tab[940] #define __pyx_n_u_cuTexRefSetFlags __pyx_string_tab[941] #define __pyx_n_u_cuTexRefSetFormat __pyx_string_tab[942] #define __pyx_n_u_cuTexRefSetMaxAnisotropy __pyx_string_tab[943] #define __pyx_n_u_cuTexRefSetMipmapFilterMode __pyx_string_tab[944] #define __pyx_n_u_cuTexRefSetMipmapLevelBias __pyx_string_tab[945] #define __pyx_n_u_cuTexRefSetMipmapLevelClamp __pyx_string_tab[946] #define __pyx_n_u_cuTexRefSetMipmappedArray __pyx_string_tab[947] #define __pyx_n_u_cuThreadExchangeStreamCaptureM __pyx_string_tab[948] #define __pyx_n_u_cuUserObjectCreate __pyx_string_tab[949] #define __pyx_n_u_cuUserObjectRelease __pyx_string_tab[950] #define __pyx_n_u_cuUserObjectRetain __pyx_string_tab[951] #define __pyx_n_u_cuVDPAUCtxCreate_v2 __pyx_string_tab[952] #define __pyx_n_u_cuVDPAUGetDevice __pyx_string_tab[953] #define __pyx_n_u_cuWaitExternalSemaphoresAsync __pyx_string_tab[954] #define __pyx_n_u_cuda_bindings__bindings_cydriver __pyx_string_tab[955] #define __pyx_kp_u_cuda_bindings__bindings_cydriver_2 __pyx_string_tab[956] #define __pyx_n_u_default __pyx_string_tab[957] #define __pyx_n_u_encoding __pyx_string_tab[958] #define __pyx_n_u_enter __pyx_string_tab[959] #define __pyx_n_u_exit __pyx_string_tab[960] #define __pyx_n_u_func __pyx_string_tab[961] #define __pyx_n_u_getenv __pyx_string_tab[962] #define __pyx_n_u_initializing __pyx_string_tab[963] #define __pyx_n_u_inspect_function_pointer __pyx_string_tab[964] #define __pyx_n_u_inspect_function_pointers __pyx_string_tab[965] #define __pyx_n_u_is_coroutine __pyx_string_tab[966] #define __pyx_kp_u_libcuda_so_1 __pyx_string_tab[967] #define __pyx_n_u_main __pyx_string_tab[968] #define __pyx_n_u_maxsize __pyx_string_tab[969] #define __pyx_n_u_module __pyx_string_tab[970] #define __pyx_n_u_name __pyx_string_tab[971] #define __pyx_n_u_name_2 __pyx_string_tab[972] #define __pyx_n_u_os __pyx_string_tab[973] #define __pyx_n_u_pop __pyx_string_tab[974] #define __pyx_n_u_qualname __pyx_string_tab[975] #define __pyx_n_u_set_name __pyx_string_tab[976] #define __pyx_n_u_spec __pyx_string_tab[977] #define __pyx_n_u_sys __pyx_string_tab[978] #define __pyx_n_u_test __pyx_string_tab[979] #define __pyx_n_u_threading __pyx_string_tab[980] #define __pyx_kp_u_utf_8 __pyx_string_tab[981] /* #### Code section: module_state_clear ### */ #if CYTHON_USE_MODULE_STATE static CYTHON_SMALL_CODE int __pyx_m_clear(PyObject *m) { __pyx_mstatetype *clear_module_state = __Pyx_PyModule_GetState(m); if (!clear_module_state) return 0; Py_CLEAR(clear_module_state->__pyx_d); Py_CLEAR(clear_module_state->__pyx_b); Py_CLEAR(clear_module_state->__pyx_cython_runtime); Py_CLEAR(clear_module_state->__pyx_empty_tuple); Py_CLEAR(clear_module_state->__pyx_empty_bytes); Py_CLEAR(clear_module_state->__pyx_empty_unicode); #ifdef __Pyx_CyFunction_USED Py_CLEAR(clear_module_state->__pyx_CyFunctionType); #endif #ifdef __Pyx_FusedFunction_USED Py_CLEAR(clear_module_state->__pyx_FusedFunctionType); #endif #if CYTHON_PEP489_MULTI_PHASE_INIT __Pyx_State_RemoveModule(NULL); #endif for (int i=0; i<1; ++i) { Py_CLEAR(clear_module_state->__pyx_tuple[i]); } for (int i=0; i<2; ++i) { Py_CLEAR(clear_module_state->__pyx_codeobj_tab[i]); } for (int i=0; i<982; ++i) { Py_CLEAR(clear_module_state->__pyx_string_tab[i]); } Py_CLEAR(clear_module_state->__pyx_int_0); Py_CLEAR(clear_module_state->__pyx_int_4294967296); return 0; } #endif /* #### Code section: module_state_traverse ### */ #if CYTHON_USE_MODULE_STATE static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { __pyx_mstatetype *traverse_module_state = __Pyx_PyModule_GetState(m); if (!traverse_module_state) return 0; Py_VISIT(traverse_module_state->__pyx_d); Py_VISIT(traverse_module_state->__pyx_b); Py_VISIT(traverse_module_state->__pyx_cython_runtime); __Pyx_VISIT_CONST(traverse_module_state->__pyx_empty_tuple); __Pyx_VISIT_CONST(traverse_module_state->__pyx_empty_bytes); __Pyx_VISIT_CONST(traverse_module_state->__pyx_empty_unicode); #ifdef __Pyx_CyFunction_USED Py_VISIT(traverse_module_state->__pyx_CyFunctionType); #endif #ifdef __Pyx_FusedFunction_USED Py_VISIT(traverse_module_state->__pyx_FusedFunctionType); #endif for (int i=0; i<1; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_tuple[i]); } for (int i=0; i<2; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_codeobj_tab[i]); } for (int i=0; i<982; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_string_tab[i]); } __Pyx_VISIT_CONST(traverse_module_state->__pyx_int_0); __Pyx_VISIT_CONST(traverse_module_state->__pyx_int_4294967296); return 0; } #endif /* #### Code section: module_code ### */ /* "cuda/bindings/_bindings/cydriver.pyx":492 * cdef __cuGetProcAddress_v2_T _F_cuGetProcAddress_v2 = NULL * * cdef int _cuPythonInit() except -1 nogil: # <<<<<<<<<<<<<< * global __cuPythonInit * */ static int __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPythonInit(void) { int __pyx_v_usePTDS; char __pyx_v_libPath[0x104]; int __pyx_v_status; PyObject *__pyx_v_path = NULL; void *__pyx_v_handle; __pyx_t_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2_T __pyx_v__F_cuGetProcAddress_v2; int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; size_t __pyx_t_5; PyObject *__pyx_t_6 = NULL; PyObject *__pyx_t_7 = NULL; PyObject *__pyx_t_8 = NULL; PyObject *__pyx_t_9 = NULL; int __pyx_t_10; int __pyx_t_11; Py_ssize_t __pyx_t_12; char const *__pyx_t_13; CUresult __pyx_t_14; PyObject *__pyx_t_15 = NULL; int __pyx_t_16; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuPythonInit", 1); /* "cuda/bindings/_bindings/cydriver.pyx":498 * cdef char libPath[260] * * with gil, __symbol_lock: # <<<<<<<<<<<<<< * usePTDS = os.getenv('CUDA_PYTHON_CUDA_PER_THREAD_DEFAULT_STREAM', default=0) * */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /*with:*/ { __pyx_t_1 = __Pyx_PyObject_LookupSpecial(__pyx_v_4cuda_8bindings_9_bindings_8cydriver___symbol_lock, __pyx_mstate_global->__pyx_n_u_exit); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 498, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = NULL; __pyx_t_4 = __Pyx_PyObject_LookupSpecial(__pyx_v_4cuda_8bindings_9_bindings_8cydriver___symbol_lock, __pyx_mstate_global->__pyx_n_u_enter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 498, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (likely(PyMethod_Check(__pyx_t_4))) { __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4); assert(__pyx_t_3); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4); __Pyx_INCREF(__pyx_t_3); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_4, __pyx__function); __pyx_t_5 = 0; } #endif { PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 498, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /*try:*/ { { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8); __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_7); __Pyx_XGOTREF(__pyx_t_8); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":499 * * with gil, __symbol_lock: * usePTDS = os.getenv('CUDA_PYTHON_CUDA_PER_THREAD_DEFAULT_STREAM', default=0) # <<<<<<<<<<<<<< * * # Load library */ __pyx_t_4 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_os); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 499, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_getenv); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 499, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_9))) { __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_9); assert(__pyx_t_4); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_9); __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_9, __pyx__function); __pyx_t_5 = 0; } #endif { PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_4, __pyx_mstate_global->__pyx_n_u_CUDA_PYTHON_CUDA_PER_THREAD_DEFA}; __pyx_t_3 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 499, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_3); if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_default, __pyx_mstate_global->__pyx_int_0, __pyx_t_3, __pyx_callargs+2, 0) < (0)) __PYX_ERR(0, 499, __pyx_L10_error) __pyx_t_2 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_9, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 499, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_2); } __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 499, __pyx_L10_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_usePTDS = __pyx_t_10; /* "cuda/bindings/_bindings/cydriver.pyx":502 * * # Load library * libPath[0] = 0 # <<<<<<<<<<<<<< * status = loader.getCUDALibraryPath(libPath, sys.maxsize > 2**32) * if status == 0 and len(libPath) != 0: */ (__pyx_v_libPath[0]) = 0; /* "cuda/bindings/_bindings/cydriver.pyx":503 * # Load library * libPath[0] = 0 * status = loader.getCUDALibraryPath(libPath, sys.maxsize > 2**32) # <<<<<<<<<<<<<< * if status == 0 and len(libPath) != 0: * path = libPath.decode('utf-8') */ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_sys); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 503, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_maxsize); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 503, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = PyObject_RichCompare(__pyx_t_9, __pyx_mstate_global->__pyx_int_4294967296, Py_GT); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 503, __pyx_L10_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 503, __pyx_L10_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_status = getCUDALibraryPath(__pyx_v_libPath, __pyx_t_10); /* "cuda/bindings/_bindings/cydriver.pyx":504 * libPath[0] = 0 * status = loader.getCUDALibraryPath(libPath, sys.maxsize > 2**32) * if status == 0 and len(libPath) != 0: # <<<<<<<<<<<<<< * path = libPath.decode('utf-8') * else: */ __pyx_t_11 = (__pyx_v_status == 0); if (__pyx_t_11) { } else { __pyx_t_10 = __pyx_t_11; goto __pyx_L17_bool_binop_done; } __pyx_t_12 = __Pyx_ssize_strlen(__pyx_v_libPath); if (unlikely(__pyx_t_12 == ((Py_ssize_t)-1))) __PYX_ERR(0, 504, __pyx_L10_error) __pyx_t_11 = (__pyx_t_12 != 0); __pyx_t_10 = __pyx_t_11; __pyx_L17_bool_binop_done:; if (__pyx_t_10) { /* "cuda/bindings/_bindings/cydriver.pyx":505 * status = loader.getCUDALibraryPath(libPath, sys.maxsize > 2**32) * if status == 0 and len(libPath) != 0: * path = libPath.decode('utf-8') # <<<<<<<<<<<<<< * else: * path = 'libcuda.so.1' */ __pyx_t_12 = __Pyx_ssize_strlen(__pyx_v_libPath); if (unlikely(__pyx_t_12 == ((Py_ssize_t)-1))) __PYX_ERR(0, 505, __pyx_L10_error) __pyx_t_2 = __Pyx_decode_c_string(__pyx_v_libPath, 0, __pyx_t_12, NULL, NULL, PyUnicode_DecodeUTF8); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 505, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_path = __pyx_t_2; __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":504 * libPath[0] = 0 * status = loader.getCUDALibraryPath(libPath, sys.maxsize > 2**32) * if status == 0 and len(libPath) != 0: # <<<<<<<<<<<<<< * path = libPath.decode('utf-8') * else: */ goto __pyx_L16; } /* "cuda/bindings/_bindings/cydriver.pyx":507 * path = libPath.decode('utf-8') * else: * path = 'libcuda.so.1' # <<<<<<<<<<<<<< * handle = dlfcn.dlopen(bytes(path, encoding='utf-8'), dlfcn.RTLD_NOW) * if handle == NULL: */ /*else*/ { __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_libcuda_so_1); __pyx_v_path = __pyx_mstate_global->__pyx_kp_u_libcuda_so_1; } __pyx_L16:; /* "cuda/bindings/_bindings/cydriver.pyx":508 * else: * path = 'libcuda.so.1' * handle = dlfcn.dlopen(bytes(path, encoding='utf-8'), dlfcn.RTLD_NOW) # <<<<<<<<<<<<<< * if handle == NULL: * raise RuntimeError('Failed to dlopen ' + path) */ __pyx_t_9 = NULL; __Pyx_INCREF((PyObject *)(&PyBytes_Type)); __pyx_t_3 = ((PyObject *)(&PyBytes_Type)); __pyx_t_5 = 1; { PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_9, __pyx_v_path}; __pyx_t_4 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 508, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_4); if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_encoding, __pyx_mstate_global->__pyx_kp_u_utf_8, __pyx_t_4, __pyx_callargs+2, 0) < (0)) __PYX_ERR(0, 508, __pyx_L10_error) __pyx_t_2 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_3, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_4); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 508, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_2); } __pyx_t_13 = __Pyx_PyBytes_AsString(__pyx_t_2); if (unlikely((!__pyx_t_13) && PyErr_Occurred())) __PYX_ERR(0, 508, __pyx_L10_error) __pyx_v_handle = dlopen(__pyx_t_13, RTLD_NOW); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":509 * path = 'libcuda.so.1' * handle = dlfcn.dlopen(bytes(path, encoding='utf-8'), dlfcn.RTLD_NOW) * if handle == NULL: # <<<<<<<<<<<<<< * raise RuntimeError('Failed to dlopen ' + path) * */ __pyx_t_10 = (__pyx_v_handle == NULL); if (unlikely(__pyx_t_10)) { /* "cuda/bindings/_bindings/cydriver.pyx":510 * handle = dlfcn.dlopen(bytes(path, encoding='utf-8'), dlfcn.RTLD_NOW) * if handle == NULL: * raise RuntimeError('Failed to dlopen ' + path) # <<<<<<<<<<<<<< * * # Get latest __cuGetProcAddress_v2 */ __pyx_t_3 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_4 = __pyx_builtin_RuntimeError; __pyx_t_9 = PyNumber_Add(__pyx_mstate_global->__pyx_kp_u_Failed_to_dlopen, __pyx_v_path); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 510, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_9); __pyx_t_5 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_9}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 510, __pyx_L10_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __PYX_ERR(0, 510, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":509 * path = 'libcuda.so.1' * handle = dlfcn.dlopen(bytes(path, encoding='utf-8'), dlfcn.RTLD_NOW) * if handle == NULL: # <<<<<<<<<<<<<< * raise RuntimeError('Failed to dlopen ' + path) * */ } /* "cuda/bindings/_bindings/cydriver.pyx":514 * # Get latest __cuGetProcAddress_v2 * global __cuGetProcAddress_v2 * __cuGetProcAddress_v2 = dlfcn.dlsym(handle, 'cuGetProcAddress_v2') # <<<<<<<<<<<<<< * * # Load using cuGetProcAddress if available */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGetProcAddress_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":517 * * # Load using cuGetProcAddress if available * if __cuGetProcAddress_v2 != NULL: # <<<<<<<<<<<<<< * _F_cuGetProcAddress_v2 = <__cuGetProcAddress_v2_T>__cuGetProcAddress_v2 * if usePTDS: */ __pyx_t_10 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2 != NULL); if (__pyx_t_10) { /* "cuda/bindings/_bindings/cydriver.pyx":518 * # Load using cuGetProcAddress if available * if __cuGetProcAddress_v2 != NULL: * _F_cuGetProcAddress_v2 = <__cuGetProcAddress_v2_T>__cuGetProcAddress_v2 # <<<<<<<<<<<<<< * if usePTDS: * # Get all PTDS version of functions */ __pyx_v__F_cuGetProcAddress_v2 = ((__pyx_t_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2_T)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2); /* "cuda/bindings/_bindings/cydriver.pyx":519 * if __cuGetProcAddress_v2 != NULL: * _F_cuGetProcAddress_v2 = <__cuGetProcAddress_v2_T>__cuGetProcAddress_v2 * if usePTDS: # <<<<<<<<<<<<<< * # Get all PTDS version of functions * pass */ if (__pyx_v_usePTDS) { /* "cuda/bindings/_bindings/cydriver.pyx":523 * pass * global __cuMemcpy * _F_cuGetProcAddress_v2('cuMemcpy', &__cuMemcpy, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyPeer * _F_cuGetProcAddress_v2('cuMemcpyPeer', &__cuMemcpyPeer, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 523, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":525 * _F_cuGetProcAddress_v2('cuMemcpy', &__cuMemcpy, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyPeer * _F_cuGetProcAddress_v2('cuMemcpyPeer', &__cuMemcpyPeer, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoD', &__cuMemcpyHtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyPeer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 525, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":527 * _F_cuGetProcAddress_v2('cuMemcpyPeer', &__cuMemcpyPeer, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyHtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoD', &__cuMemcpyHtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoH', &__cuMemcpyDtoH_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoD"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 527, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":529 * _F_cuGetProcAddress_v2('cuMemcpyHtoD', &__cuMemcpyHtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyDtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoH', &__cuMemcpyDtoH_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoD', &__cuMemcpyDtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoH"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 529, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":531 * _F_cuGetProcAddress_v2('cuMemcpyDtoH', &__cuMemcpyDtoH_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyDtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoD', &__cuMemcpyDtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoA', &__cuMemcpyDtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoD"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 531, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":533 * _F_cuGetProcAddress_v2('cuMemcpyDtoD', &__cuMemcpyDtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyDtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoA', &__cuMemcpyDtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoD', &__cuMemcpyAtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoA"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 533, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":535 * _F_cuGetProcAddress_v2('cuMemcpyDtoA', &__cuMemcpyDtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyAtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoD', &__cuMemcpyAtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoA', &__cuMemcpyHtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoD"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 535, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":537 * _F_cuGetProcAddress_v2('cuMemcpyAtoD', &__cuMemcpyAtoD_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyHtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoA', &__cuMemcpyHtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoH', &__cuMemcpyAtoH_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoA"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 537, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":539 * _F_cuGetProcAddress_v2('cuMemcpyHtoA', &__cuMemcpyHtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyAtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoH', &__cuMemcpyAtoH_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoA', &__cuMemcpyAtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoH"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 539, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":541 * _F_cuGetProcAddress_v2('cuMemcpyAtoH', &__cuMemcpyAtoH_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyAtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoA', &__cuMemcpyAtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy2D_v2 * _F_cuGetProcAddress_v2('cuMemcpy2D', &__cuMemcpy2D_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoA"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 541, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":543 * _F_cuGetProcAddress_v2('cuMemcpyAtoA', &__cuMemcpyAtoA_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy2D_v2 * _F_cuGetProcAddress_v2('cuMemcpy2D', &__cuMemcpy2D_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy2DUnaligned_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DUnaligned', &__cuMemcpy2DUnaligned_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy2D"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 543, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":545 * _F_cuGetProcAddress_v2('cuMemcpy2D', &__cuMemcpy2D_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy2DUnaligned_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DUnaligned', &__cuMemcpy2DUnaligned_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3D_v2 * _F_cuGetProcAddress_v2('cuMemcpy3D', &__cuMemcpy3D_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy2DUnaligned"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 545, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":547 * _F_cuGetProcAddress_v2('cuMemcpy2DUnaligned', &__cuMemcpy2DUnaligned_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy3D_v2 * _F_cuGetProcAddress_v2('cuMemcpy3D', &__cuMemcpy3D_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DPeer * _F_cuGetProcAddress_v2('cuMemcpy3DPeer', &__cuMemcpy3DPeer, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3D"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 547, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":549 * _F_cuGetProcAddress_v2('cuMemcpy3D', &__cuMemcpy3D_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy3DPeer * _F_cuGetProcAddress_v2('cuMemcpy3DPeer', &__cuMemcpy3DPeer, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAsync * _F_cuGetProcAddress_v2('cuMemcpyAsync', &__cuMemcpyAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DPeer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 549, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":551 * _F_cuGetProcAddress_v2('cuMemcpy3DPeer', &__cuMemcpy3DPeer, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyAsync * _F_cuGetProcAddress_v2('cuMemcpyAsync', &__cuMemcpyAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyPeerAsync * _F_cuGetProcAddress_v2('cuMemcpyPeerAsync', &__cuMemcpyPeerAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 551, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":553 * _F_cuGetProcAddress_v2('cuMemcpyAsync', &__cuMemcpyAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyPeerAsync * _F_cuGetProcAddress_v2('cuMemcpyPeerAsync', &__cuMemcpyPeerAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoDAsync', &__cuMemcpyHtoDAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyPeerAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 553, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":555 * _F_cuGetProcAddress_v2('cuMemcpyPeerAsync', &__cuMemcpyPeerAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyHtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoDAsync', &__cuMemcpyHtoDAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoHAsync', &__cuMemcpyDtoHAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoDAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 555, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":557 * _F_cuGetProcAddress_v2('cuMemcpyHtoDAsync', &__cuMemcpyHtoDAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyDtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoHAsync', &__cuMemcpyDtoHAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoDAsync', &__cuMemcpyDtoDAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoHAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 557, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":559 * _F_cuGetProcAddress_v2('cuMemcpyDtoHAsync', &__cuMemcpyDtoHAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyDtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoDAsync', &__cuMemcpyDtoDAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoAAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoAAsync', &__cuMemcpyHtoAAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoDAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 559, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":561 * _F_cuGetProcAddress_v2('cuMemcpyDtoDAsync', &__cuMemcpyDtoDAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyHtoAAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoAAsync', &__cuMemcpyHtoAAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoHAsync', &__cuMemcpyAtoHAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoAAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 561, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":563 * _F_cuGetProcAddress_v2('cuMemcpyHtoAAsync', &__cuMemcpyHtoAAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyAtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoHAsync', &__cuMemcpyAtoHAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy2DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DAsync', &__cuMemcpy2DAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoHAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 563, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":565 * _F_cuGetProcAddress_v2('cuMemcpyAtoHAsync', &__cuMemcpyAtoHAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy2DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DAsync', &__cuMemcpy2DAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy3DAsync', &__cuMemcpy3DAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy2DAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 565, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":567 * _F_cuGetProcAddress_v2('cuMemcpy2DAsync', &__cuMemcpy2DAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy3DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy3DAsync', &__cuMemcpy3DAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DPeerAsync * _F_cuGetProcAddress_v2('cuMemcpy3DPeerAsync', &__cuMemcpy3DPeerAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 567, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":569 * _F_cuGetProcAddress_v2('cuMemcpy3DAsync', &__cuMemcpy3DAsync_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy3DPeerAsync * _F_cuGetProcAddress_v2('cuMemcpy3DPeerAsync', &__cuMemcpy3DPeerAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyBatchAsync * _F_cuGetProcAddress_v2('cuMemcpyBatchAsync', &__cuMemcpyBatchAsync, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DPeerAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 569, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":571 * _F_cuGetProcAddress_v2('cuMemcpy3DPeerAsync', &__cuMemcpy3DPeerAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpyBatchAsync * _F_cuGetProcAddress_v2('cuMemcpyBatchAsync', &__cuMemcpyBatchAsync, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DBatchAsync * _F_cuGetProcAddress_v2('cuMemcpy3DBatchAsync', &__cuMemcpy3DBatchAsync, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyBatchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync), 0x2F30, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 571, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":573 * _F_cuGetProcAddress_v2('cuMemcpyBatchAsync', &__cuMemcpyBatchAsync, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemcpy3DBatchAsync * _F_cuGetProcAddress_v2('cuMemcpy3DBatchAsync', &__cuMemcpy3DBatchAsync, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD8_v2 * _F_cuGetProcAddress_v2('cuMemsetD8', &__cuMemsetD8_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DBatchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync), 0x2F30, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 573, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":575 * _F_cuGetProcAddress_v2('cuMemcpy3DBatchAsync', &__cuMemcpy3DBatchAsync, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD8_v2 * _F_cuGetProcAddress_v2('cuMemsetD8', &__cuMemsetD8_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD16_v2 * _F_cuGetProcAddress_v2('cuMemsetD16', &__cuMemsetD16_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD8"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 575, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":577 * _F_cuGetProcAddress_v2('cuMemsetD8', &__cuMemsetD8_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD16_v2 * _F_cuGetProcAddress_v2('cuMemsetD16', &__cuMemsetD16_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD32_v2 * _F_cuGetProcAddress_v2('cuMemsetD32', &__cuMemsetD32_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD16"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 577, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":579 * _F_cuGetProcAddress_v2('cuMemsetD16', &__cuMemsetD16_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD32_v2 * _F_cuGetProcAddress_v2('cuMemsetD32', &__cuMemsetD32_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D8_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D8', &__cuMemsetD2D8_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 579, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":581 * _F_cuGetProcAddress_v2('cuMemsetD32', &__cuMemsetD32_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD2D8_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D8', &__cuMemsetD2D8_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D16_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D16', &__cuMemsetD2D16_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D8"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 581, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":583 * _F_cuGetProcAddress_v2('cuMemsetD2D8', &__cuMemsetD2D8_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD2D16_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D16', &__cuMemsetD2D16_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D32_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D32', &__cuMemsetD2D32_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D16"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 583, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":585 * _F_cuGetProcAddress_v2('cuMemsetD2D16', &__cuMemsetD2D16_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD2D32_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D32', &__cuMemsetD2D32_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD8Async * _F_cuGetProcAddress_v2('cuMemsetD8Async', &__cuMemsetD8Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 585, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":587 * _F_cuGetProcAddress_v2('cuMemsetD2D32', &__cuMemsetD2D32_v2, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD8Async * _F_cuGetProcAddress_v2('cuMemsetD8Async', &__cuMemsetD8Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD16Async * _F_cuGetProcAddress_v2('cuMemsetD16Async', &__cuMemsetD16Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD8Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 587, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":589 * _F_cuGetProcAddress_v2('cuMemsetD8Async', &__cuMemsetD8Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD16Async * _F_cuGetProcAddress_v2('cuMemsetD16Async', &__cuMemsetD16Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD32Async * _F_cuGetProcAddress_v2('cuMemsetD32Async', &__cuMemsetD32Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD16Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 589, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":591 * _F_cuGetProcAddress_v2('cuMemsetD16Async', &__cuMemsetD16Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD32Async * _F_cuGetProcAddress_v2('cuMemsetD32Async', &__cuMemsetD32Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D8Async * _F_cuGetProcAddress_v2('cuMemsetD2D8Async', &__cuMemsetD2D8Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD32Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 591, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":593 * _F_cuGetProcAddress_v2('cuMemsetD32Async', &__cuMemsetD32Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD2D8Async * _F_cuGetProcAddress_v2('cuMemsetD2D8Async', &__cuMemsetD2D8Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D16Async * _F_cuGetProcAddress_v2('cuMemsetD2D16Async', &__cuMemsetD2D16Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D8Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 593, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":595 * _F_cuGetProcAddress_v2('cuMemsetD2D8Async', &__cuMemsetD2D8Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD2D16Async * _F_cuGetProcAddress_v2('cuMemsetD2D16Async', &__cuMemsetD2D16Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D32Async * _F_cuGetProcAddress_v2('cuMemsetD2D32Async', &__cuMemsetD2D32Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D16Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 595, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":597 * _F_cuGetProcAddress_v2('cuMemsetD2D16Async', &__cuMemsetD2D16Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemsetD2D32Async * _F_cuGetProcAddress_v2('cuMemsetD2D32Async', &__cuMemsetD2D32Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemBatchDecompressAsync * _F_cuGetProcAddress_v2('cuMemBatchDecompressAsync', &__cuMemBatchDecompressAsync, 12060, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D32Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 597, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":599 * _F_cuGetProcAddress_v2('cuMemsetD2D32Async', &__cuMemsetD2D32Async, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemBatchDecompressAsync * _F_cuGetProcAddress_v2('cuMemBatchDecompressAsync', &__cuMemBatchDecompressAsync, 12060, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemMapArrayAsync * _F_cuGetProcAddress_v2('cuMemMapArrayAsync', &__cuMemMapArrayAsync, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemBatchDecompressAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync), 0x2F1C, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 599, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":601 * _F_cuGetProcAddress_v2('cuMemBatchDecompressAsync', &__cuMemBatchDecompressAsync, 12060, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemMapArrayAsync * _F_cuGetProcAddress_v2('cuMemMapArrayAsync', &__cuMemMapArrayAsync, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemFreeAsync * _F_cuGetProcAddress_v2('cuMemFreeAsync', &__cuMemFreeAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemMapArrayAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync), 0x2B02, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 601, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":603 * _F_cuGetProcAddress_v2('cuMemMapArrayAsync', &__cuMemMapArrayAsync, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemFreeAsync * _F_cuGetProcAddress_v2('cuMemFreeAsync', &__cuMemFreeAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemAllocAsync * _F_cuGetProcAddress_v2('cuMemAllocAsync', &__cuMemAllocAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemFreeAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync), 0x2B0C, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 603, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":605 * _F_cuGetProcAddress_v2('cuMemFreeAsync', &__cuMemFreeAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemAllocAsync * _F_cuGetProcAddress_v2('cuMemAllocAsync', &__cuMemAllocAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemAllocFromPoolAsync * _F_cuGetProcAddress_v2('cuMemAllocFromPoolAsync', &__cuMemAllocFromPoolAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAllocAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync), 0x2B0C, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 605, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":607 * _F_cuGetProcAddress_v2('cuMemAllocAsync', &__cuMemAllocAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemAllocFromPoolAsync * _F_cuGetProcAddress_v2('cuMemAllocFromPoolAsync', &__cuMemAllocFromPoolAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync, 8000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAllocFromPoolAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync), 0x2B0C, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 607, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":609 * _F_cuGetProcAddress_v2('cuMemAllocFromPoolAsync', &__cuMemAllocFromPoolAsync, 11020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemPrefetchAsync * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync, 8000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync_v2 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync_v2, 12020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPrefetchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync), 0x1F40, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 609, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":611 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync, 8000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuMemPrefetchAsync_v2 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync_v2, 12020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetPriority * _F_cuGetProcAddress_v2('cuStreamGetPriority', &__cuStreamGetPriority, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPrefetchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2), 0x2EF4, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 611, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":613 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync_v2, 12020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetPriority * _F_cuGetProcAddress_v2('cuStreamGetPriority', &__cuStreamGetPriority, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetDevice * _F_cuGetProcAddress_v2('cuStreamGetDevice', &__cuStreamGetDevice, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetPriority"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 613, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":615 * _F_cuGetProcAddress_v2('cuStreamGetPriority', &__cuStreamGetPriority, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetDevice * _F_cuGetProcAddress_v2('cuStreamGetDevice', &__cuStreamGetDevice, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetFlags * _F_cuGetProcAddress_v2('cuStreamGetFlags', &__cuStreamGetFlags, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetDevice"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice), 0x2F30, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 615, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":617 * _F_cuGetProcAddress_v2('cuStreamGetDevice', &__cuStreamGetDevice, 12080, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetFlags * _F_cuGetProcAddress_v2('cuStreamGetFlags', &__cuStreamGetFlags, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetId * _F_cuGetProcAddress_v2('cuStreamGetId', &__cuStreamGetId, 12000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 617, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":619 * _F_cuGetProcAddress_v2('cuStreamGetFlags', &__cuStreamGetFlags, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetId * _F_cuGetProcAddress_v2('cuStreamGetId', &__cuStreamGetId, 12000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCtx * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx, 9020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetId"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId), 0x2EE0, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 619, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":621 * _F_cuGetProcAddress_v2('cuStreamGetId', &__cuStreamGetId, 12000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetCtx * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx, 9020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCtx_v2 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx_v2, 12050, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCtx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx), 0x233C, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 621, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":623 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx, 9020, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetCtx_v2 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx_v2, 12050, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamWaitEvent * _F_cuGetProcAddress_v2('cuStreamWaitEvent', &__cuStreamWaitEvent, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCtx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2), 0x2F12, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 623, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":625 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx_v2, 12050, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamWaitEvent * _F_cuGetProcAddress_v2('cuStreamWaitEvent', &__cuStreamWaitEvent, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamAddCallback * _F_cuGetProcAddress_v2('cuStreamAddCallback', &__cuStreamAddCallback, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWaitEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 625, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":627 * _F_cuGetProcAddress_v2('cuStreamWaitEvent', &__cuStreamWaitEvent, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamAddCallback * _F_cuGetProcAddress_v2('cuStreamAddCallback', &__cuStreamAddCallback, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamBeginCapture_v2 * _F_cuGetProcAddress_v2('cuStreamBeginCapture', &__cuStreamBeginCapture_v2, 10010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamAddCallback"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 627, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":629 * _F_cuGetProcAddress_v2('cuStreamAddCallback', &__cuStreamAddCallback, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamBeginCapture_v2 * _F_cuGetProcAddress_v2('cuStreamBeginCapture', &__cuStreamBeginCapture_v2, 10010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamBeginCaptureToGraph * _F_cuGetProcAddress_v2('cuStreamBeginCaptureToGraph', &__cuStreamBeginCaptureToGraph, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamBeginCapture"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2), 0x271A, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 629, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":631 * _F_cuGetProcAddress_v2('cuStreamBeginCapture', &__cuStreamBeginCapture_v2, 10010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamBeginCaptureToGraph * _F_cuGetProcAddress_v2('cuStreamBeginCaptureToGraph', &__cuStreamBeginCaptureToGraph, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamEndCapture * _F_cuGetProcAddress_v2('cuStreamEndCapture', &__cuStreamEndCapture, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamBeginCaptureToGraph"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph), 0x2EFE, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 631, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":633 * _F_cuGetProcAddress_v2('cuStreamBeginCaptureToGraph', &__cuStreamBeginCaptureToGraph, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamEndCapture * _F_cuGetProcAddress_v2('cuStreamEndCapture', &__cuStreamEndCapture, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamIsCapturing * _F_cuGetProcAddress_v2('cuStreamIsCapturing', &__cuStreamIsCapturing, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamEndCapture"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture), 0x2710, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 633, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":635 * _F_cuGetProcAddress_v2('cuStreamEndCapture', &__cuStreamEndCapture, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamIsCapturing * _F_cuGetProcAddress_v2('cuStreamIsCapturing', &__cuStreamIsCapturing, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v2 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v2, 11030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamIsCapturing"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing), 0x2710, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 635, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":637 * _F_cuGetProcAddress_v2('cuStreamIsCapturing', &__cuStreamIsCapturing, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetCaptureInfo_v2 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v2, 11030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v3 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v3, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCaptureInfo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2), 0x2B16, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 637, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":639 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v2, 11030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetCaptureInfo_v3 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v3, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies, 11030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCaptureInfo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3), 0x2EFE, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 639, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":641 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v3, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamUpdateCaptureDependencies * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies, 11030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies_v2 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies_v2, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamUpdateCaptureDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies), 0x2B16, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 641, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":643 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies, 11030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamUpdateCaptureDependencies_v2 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies_v2, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamAttachMemAsync * _F_cuGetProcAddress_v2('cuStreamAttachMemAsync', &__cuStreamAttachMemAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamUpdateCaptureDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2), 0x2EFE, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 643, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":645 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies_v2, 12030, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamAttachMemAsync * _F_cuGetProcAddress_v2('cuStreamAttachMemAsync', &__cuStreamAttachMemAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamQuery * _F_cuGetProcAddress_v2('cuStreamQuery', &__cuStreamQuery, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamAttachMemAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 645, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":647 * _F_cuGetProcAddress_v2('cuStreamAttachMemAsync', &__cuStreamAttachMemAsync, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamQuery * _F_cuGetProcAddress_v2('cuStreamQuery', &__cuStreamQuery, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamSynchronize * _F_cuGetProcAddress_v2('cuStreamSynchronize', &__cuStreamSynchronize, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamQuery"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 647, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":649 * _F_cuGetProcAddress_v2('cuStreamQuery', &__cuStreamQuery, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamSynchronize * _F_cuGetProcAddress_v2('cuStreamSynchronize', &__cuStreamSynchronize, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamCopyAttributes * _F_cuGetProcAddress_v2('cuStreamCopyAttributes', &__cuStreamCopyAttributes, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamSynchronize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 649, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":651 * _F_cuGetProcAddress_v2('cuStreamSynchronize', &__cuStreamSynchronize, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamCopyAttributes * _F_cuGetProcAddress_v2('cuStreamCopyAttributes', &__cuStreamCopyAttributes, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetAttribute * _F_cuGetProcAddress_v2('cuStreamGetAttribute', &__cuStreamGetAttribute, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamCopyAttributes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes), 0x2AF8, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 651, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":653 * _F_cuGetProcAddress_v2('cuStreamCopyAttributes', &__cuStreamCopyAttributes, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamGetAttribute * _F_cuGetProcAddress_v2('cuStreamGetAttribute', &__cuStreamGetAttribute, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamSetAttribute * _F_cuGetProcAddress_v2('cuStreamSetAttribute', &__cuStreamSetAttribute, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute), 0x2AF8, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 653, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":655 * _F_cuGetProcAddress_v2('cuStreamGetAttribute', &__cuStreamGetAttribute, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamSetAttribute * _F_cuGetProcAddress_v2('cuStreamSetAttribute', &__cuStreamSetAttribute, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuEventRecord * _F_cuGetProcAddress_v2('cuEventRecord', &__cuEventRecord, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute), 0x2AF8, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 655, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":657 * _F_cuGetProcAddress_v2('cuStreamSetAttribute', &__cuStreamSetAttribute, 11000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuEventRecord * _F_cuGetProcAddress_v2('cuEventRecord', &__cuEventRecord, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuEventRecordWithFlags * _F_cuGetProcAddress_v2('cuEventRecordWithFlags', &__cuEventRecordWithFlags, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventRecord"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 657, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":659 * _F_cuGetProcAddress_v2('cuEventRecord', &__cuEventRecord, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuEventRecordWithFlags * _F_cuGetProcAddress_v2('cuEventRecordWithFlags', &__cuEventRecordWithFlags, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuSignalExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuSignalExternalSemaphoresAsync', &__cuSignalExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventRecordWithFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags), 0x2B02, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 659, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":661 * _F_cuGetProcAddress_v2('cuEventRecordWithFlags', &__cuEventRecordWithFlags, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuSignalExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuSignalExternalSemaphoresAsync', &__cuSignalExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuWaitExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuWaitExternalSemaphoresAsync', &__cuWaitExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuSignalExternalSemaphoresAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync), 0x2710, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 661, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":663 * _F_cuGetProcAddress_v2('cuSignalExternalSemaphoresAsync', &__cuSignalExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuWaitExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuWaitExternalSemaphoresAsync', &__cuWaitExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamWaitValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue32', &__cuStreamWaitValue32_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuWaitExternalSemaphoresAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync), 0x2710, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 663, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":665 * _F_cuGetProcAddress_v2('cuWaitExternalSemaphoresAsync', &__cuWaitExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamWaitValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue32', &__cuStreamWaitValue32_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamWaitValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue64', &__cuStreamWaitValue64_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWaitValue32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2), 0x2B3E, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 665, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":667 * _F_cuGetProcAddress_v2('cuStreamWaitValue32', &__cuStreamWaitValue32_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamWaitValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue64', &__cuStreamWaitValue64_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamWriteValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue32', &__cuStreamWriteValue32_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWaitValue64"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2), 0x2B3E, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 667, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":669 * _F_cuGetProcAddress_v2('cuStreamWaitValue64', &__cuStreamWaitValue64_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamWriteValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue32', &__cuStreamWriteValue32_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamWriteValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue64', &__cuStreamWriteValue64_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWriteValue32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2), 0x2B3E, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 669, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":671 * _F_cuGetProcAddress_v2('cuStreamWriteValue32', &__cuStreamWriteValue32_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamWriteValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue64', &__cuStreamWriteValue64_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuStreamBatchMemOp_v2 * _F_cuGetProcAddress_v2('cuStreamBatchMemOp', &__cuStreamBatchMemOp_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWriteValue64"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2), 0x2B3E, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 671, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":673 * _F_cuGetProcAddress_v2('cuStreamWriteValue64', &__cuStreamWriteValue64_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuStreamBatchMemOp_v2 * _F_cuGetProcAddress_v2('cuStreamBatchMemOp', &__cuStreamBatchMemOp_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuLaunchKernel * _F_cuGetProcAddress_v2('cuLaunchKernel', &__cuLaunchKernel, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamBatchMemOp"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2), 0x2B3E, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 673, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":675 * _F_cuGetProcAddress_v2('cuStreamBatchMemOp', &__cuStreamBatchMemOp_v2, 11070, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuLaunchKernel * _F_cuGetProcAddress_v2('cuLaunchKernel', &__cuLaunchKernel, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuLaunchKernelEx * _F_cuGetProcAddress_v2('cuLaunchKernelEx', &__cuLaunchKernelEx, 11060, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchKernel"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 675, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":677 * _F_cuGetProcAddress_v2('cuLaunchKernel', &__cuLaunchKernel, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuLaunchKernelEx * _F_cuGetProcAddress_v2('cuLaunchKernelEx', &__cuLaunchKernelEx, 11060, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernel * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernel', &__cuLaunchCooperativeKernel, 9000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchKernelEx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx), 0x2B34, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 677, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":679 * _F_cuGetProcAddress_v2('cuLaunchKernelEx', &__cuLaunchKernelEx, 11060, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuLaunchCooperativeKernel * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernel', &__cuLaunchCooperativeKernel, 9000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuLaunchHostFunc * _F_cuGetProcAddress_v2('cuLaunchHostFunc', &__cuLaunchHostFunc, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchCooperativeKernel"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel), 0x2328, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 679, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":681 * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernel', &__cuLaunchCooperativeKernel, 9000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuLaunchHostFunc * _F_cuGetProcAddress_v2('cuLaunchHostFunc', &__cuLaunchHostFunc, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithParams * _F_cuGetProcAddress_v2('cuGraphInstantiateWithParams', &__cuGraphInstantiateWithParams, 12000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchHostFunc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc), 0x2710, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 681, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":683 * _F_cuGetProcAddress_v2('cuLaunchHostFunc', &__cuLaunchHostFunc, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuGraphInstantiateWithParams * _F_cuGetProcAddress_v2('cuGraphInstantiateWithParams', &__cuGraphInstantiateWithParams, 12000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuGraphUpload * _F_cuGetProcAddress_v2('cuGraphUpload', &__cuGraphUpload, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphInstantiateWithParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams), 0x2EE0, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 683, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":685 * _F_cuGetProcAddress_v2('cuGraphInstantiateWithParams', &__cuGraphInstantiateWithParams, 12000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuGraphUpload * _F_cuGetProcAddress_v2('cuGraphUpload', &__cuGraphUpload, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuGraphLaunch * _F_cuGetProcAddress_v2('cuGraphLaunch', &__cuGraphLaunch, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphUpload"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload), 0x2B02, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 685, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":687 * _F_cuGetProcAddress_v2('cuGraphUpload', &__cuGraphUpload, 11010, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuGraphLaunch * _F_cuGetProcAddress_v2('cuGraphLaunch', &__cuGraphLaunch, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsMapResources * _F_cuGetProcAddress_v2('cuGraphicsMapResources', &__cuGraphicsMapResources, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphLaunch"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch), 0x2710, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 687, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":689 * _F_cuGetProcAddress_v2('cuGraphLaunch', &__cuGraphLaunch, 10000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuGraphicsMapResources * _F_cuGetProcAddress_v2('cuGraphicsMapResources', &__cuGraphicsMapResources, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsUnmapResources * _F_cuGetProcAddress_v2('cuGraphicsUnmapResources', &__cuGraphicsUnmapResources, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsMapResources"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 689, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":691 * _F_cuGetProcAddress_v2('cuGraphicsMapResources', &__cuGraphicsMapResources, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) * global __cuGraphicsUnmapResources * _F_cuGetProcAddress_v2('cuGraphicsUnmapResources', &__cuGraphicsUnmapResources, 7000, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL) # <<<<<<<<<<<<<< * else: * # Else get the regular version */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsUnmapResources"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources), 0x1B58, CU_GET_PROC_ADDRESS_PER_THREAD_DEFAULT_STREAM, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 691, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":519 * if __cuGetProcAddress_v2 != NULL: * _F_cuGetProcAddress_v2 = <__cuGetProcAddress_v2_T>__cuGetProcAddress_v2 * if usePTDS: # <<<<<<<<<<<<<< * # Get all PTDS version of functions * pass */ goto __pyx_L21; } /* "cuda/bindings/_bindings/cydriver.pyx":694 * else: * # Else get the regular version * pass # <<<<<<<<<<<<<< * global __cuMemcpy * _F_cuGetProcAddress_v2('cuMemcpy', &__cuMemcpy, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ /*else*/ { /* "cuda/bindings/_bindings/cydriver.pyx":696 * pass * global __cuMemcpy * _F_cuGetProcAddress_v2('cuMemcpy', &__cuMemcpy, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyPeer * _F_cuGetProcAddress_v2('cuMemcpyPeer', &__cuMemcpyPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 696, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":698 * _F_cuGetProcAddress_v2('cuMemcpy', &__cuMemcpy, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyPeer * _F_cuGetProcAddress_v2('cuMemcpyPeer', &__cuMemcpyPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoD', &__cuMemcpyHtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyPeer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 698, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":700 * _F_cuGetProcAddress_v2('cuMemcpyPeer', &__cuMemcpyPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyHtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoD', &__cuMemcpyHtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoH', &__cuMemcpyDtoH_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoD"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 700, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":702 * _F_cuGetProcAddress_v2('cuMemcpyHtoD', &__cuMemcpyHtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyDtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoH', &__cuMemcpyDtoH_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoD', &__cuMemcpyDtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoH"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 702, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":704 * _F_cuGetProcAddress_v2('cuMemcpyDtoH', &__cuMemcpyDtoH_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyDtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoD', &__cuMemcpyDtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoA', &__cuMemcpyDtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoD"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 704, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":706 * _F_cuGetProcAddress_v2('cuMemcpyDtoD', &__cuMemcpyDtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyDtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoA', &__cuMemcpyDtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoD', &__cuMemcpyAtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoA"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 706, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":708 * _F_cuGetProcAddress_v2('cuMemcpyDtoA', &__cuMemcpyDtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyAtoD_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoD', &__cuMemcpyAtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoA', &__cuMemcpyHtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoD"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 708, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":710 * _F_cuGetProcAddress_v2('cuMemcpyAtoD', &__cuMemcpyAtoD_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyHtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoA', &__cuMemcpyHtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoH', &__cuMemcpyAtoH_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoA"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 710, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":712 * _F_cuGetProcAddress_v2('cuMemcpyHtoA', &__cuMemcpyHtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyAtoH_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoH', &__cuMemcpyAtoH_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoA', &__cuMemcpyAtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoH"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 712, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":714 * _F_cuGetProcAddress_v2('cuMemcpyAtoH', &__cuMemcpyAtoH_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyAtoA_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoA', &__cuMemcpyAtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy2D_v2 * _F_cuGetProcAddress_v2('cuMemcpy2D', &__cuMemcpy2D_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoA"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 714, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":716 * _F_cuGetProcAddress_v2('cuMemcpyAtoA', &__cuMemcpyAtoA_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy2D_v2 * _F_cuGetProcAddress_v2('cuMemcpy2D', &__cuMemcpy2D_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy2DUnaligned_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DUnaligned', &__cuMemcpy2DUnaligned_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy2D"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 716, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":718 * _F_cuGetProcAddress_v2('cuMemcpy2D', &__cuMemcpy2D_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy2DUnaligned_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DUnaligned', &__cuMemcpy2DUnaligned_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3D_v2 * _F_cuGetProcAddress_v2('cuMemcpy3D', &__cuMemcpy3D_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy2DUnaligned"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 718, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":720 * _F_cuGetProcAddress_v2('cuMemcpy2DUnaligned', &__cuMemcpy2DUnaligned_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy3D_v2 * _F_cuGetProcAddress_v2('cuMemcpy3D', &__cuMemcpy3D_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DPeer * _F_cuGetProcAddress_v2('cuMemcpy3DPeer', &__cuMemcpy3DPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3D"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 720, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":722 * _F_cuGetProcAddress_v2('cuMemcpy3D', &__cuMemcpy3D_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy3DPeer * _F_cuGetProcAddress_v2('cuMemcpy3DPeer', &__cuMemcpy3DPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAsync * _F_cuGetProcAddress_v2('cuMemcpyAsync', &__cuMemcpyAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DPeer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 722, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":724 * _F_cuGetProcAddress_v2('cuMemcpy3DPeer', &__cuMemcpy3DPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyAsync * _F_cuGetProcAddress_v2('cuMemcpyAsync', &__cuMemcpyAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyPeerAsync * _F_cuGetProcAddress_v2('cuMemcpyPeerAsync', &__cuMemcpyPeerAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 724, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":726 * _F_cuGetProcAddress_v2('cuMemcpyAsync', &__cuMemcpyAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyPeerAsync * _F_cuGetProcAddress_v2('cuMemcpyPeerAsync', &__cuMemcpyPeerAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoDAsync', &__cuMemcpyHtoDAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyPeerAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 726, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":728 * _F_cuGetProcAddress_v2('cuMemcpyPeerAsync', &__cuMemcpyPeerAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyHtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoDAsync', &__cuMemcpyHtoDAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoHAsync', &__cuMemcpyDtoHAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoDAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 728, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":730 * _F_cuGetProcAddress_v2('cuMemcpyHtoDAsync', &__cuMemcpyHtoDAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyDtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoHAsync', &__cuMemcpyDtoHAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyDtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoDAsync', &__cuMemcpyDtoDAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoHAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 730, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":732 * _F_cuGetProcAddress_v2('cuMemcpyDtoHAsync', &__cuMemcpyDtoHAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyDtoDAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyDtoDAsync', &__cuMemcpyDtoDAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyHtoAAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoAAsync', &__cuMemcpyHtoAAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyDtoDAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 732, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":734 * _F_cuGetProcAddress_v2('cuMemcpyDtoDAsync', &__cuMemcpyDtoDAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyHtoAAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyHtoAAsync', &__cuMemcpyHtoAAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyAtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoHAsync', &__cuMemcpyAtoHAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyHtoAAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 734, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":736 * _F_cuGetProcAddress_v2('cuMemcpyHtoAAsync', &__cuMemcpyHtoAAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyAtoHAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpyAtoHAsync', &__cuMemcpyAtoHAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy2DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DAsync', &__cuMemcpy2DAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyAtoHAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 736, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":738 * _F_cuGetProcAddress_v2('cuMemcpyAtoHAsync', &__cuMemcpyAtoHAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy2DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy2DAsync', &__cuMemcpy2DAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy3DAsync', &__cuMemcpy3DAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy2DAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 738, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":740 * _F_cuGetProcAddress_v2('cuMemcpy2DAsync', &__cuMemcpy2DAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy3DAsync_v2 * _F_cuGetProcAddress_v2('cuMemcpy3DAsync', &__cuMemcpy3DAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DPeerAsync * _F_cuGetProcAddress_v2('cuMemcpy3DPeerAsync', &__cuMemcpy3DPeerAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 740, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":742 * _F_cuGetProcAddress_v2('cuMemcpy3DAsync', &__cuMemcpy3DAsync_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy3DPeerAsync * _F_cuGetProcAddress_v2('cuMemcpy3DPeerAsync', &__cuMemcpy3DPeerAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpyBatchAsync * _F_cuGetProcAddress_v2('cuMemcpyBatchAsync', &__cuMemcpyBatchAsync, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DPeerAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 742, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":744 * _F_cuGetProcAddress_v2('cuMemcpy3DPeerAsync', &__cuMemcpy3DPeerAsync, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpyBatchAsync * _F_cuGetProcAddress_v2('cuMemcpyBatchAsync', &__cuMemcpyBatchAsync, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemcpy3DBatchAsync * _F_cuGetProcAddress_v2('cuMemcpy3DBatchAsync', &__cuMemcpy3DBatchAsync, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpyBatchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 744, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":746 * _F_cuGetProcAddress_v2('cuMemcpyBatchAsync', &__cuMemcpyBatchAsync, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemcpy3DBatchAsync * _F_cuGetProcAddress_v2('cuMemcpy3DBatchAsync', &__cuMemcpy3DBatchAsync, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD8_v2 * _F_cuGetProcAddress_v2('cuMemsetD8', &__cuMemsetD8_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemcpy3DBatchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 746, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":748 * _F_cuGetProcAddress_v2('cuMemcpy3DBatchAsync', &__cuMemcpy3DBatchAsync, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD8_v2 * _F_cuGetProcAddress_v2('cuMemsetD8', &__cuMemsetD8_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD16_v2 * _F_cuGetProcAddress_v2('cuMemsetD16', &__cuMemsetD16_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD8"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 748, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":750 * _F_cuGetProcAddress_v2('cuMemsetD8', &__cuMemsetD8_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD16_v2 * _F_cuGetProcAddress_v2('cuMemsetD16', &__cuMemsetD16_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD32_v2 * _F_cuGetProcAddress_v2('cuMemsetD32', &__cuMemsetD32_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD16"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 750, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":752 * _F_cuGetProcAddress_v2('cuMemsetD16', &__cuMemsetD16_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD32_v2 * _F_cuGetProcAddress_v2('cuMemsetD32', &__cuMemsetD32_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D8_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D8', &__cuMemsetD2D8_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 752, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":754 * _F_cuGetProcAddress_v2('cuMemsetD32', &__cuMemsetD32_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD2D8_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D8', &__cuMemsetD2D8_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D16_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D16', &__cuMemsetD2D16_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D8"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 754, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":756 * _F_cuGetProcAddress_v2('cuMemsetD2D8', &__cuMemsetD2D8_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD2D16_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D16', &__cuMemsetD2D16_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D32_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D32', &__cuMemsetD2D32_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D16"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 756, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":758 * _F_cuGetProcAddress_v2('cuMemsetD2D16', &__cuMemsetD2D16_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD2D32_v2 * _F_cuGetProcAddress_v2('cuMemsetD2D32', &__cuMemsetD2D32_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD8Async * _F_cuGetProcAddress_v2('cuMemsetD8Async', &__cuMemsetD8Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 758, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":760 * _F_cuGetProcAddress_v2('cuMemsetD2D32', &__cuMemsetD2D32_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD8Async * _F_cuGetProcAddress_v2('cuMemsetD8Async', &__cuMemsetD8Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD16Async * _F_cuGetProcAddress_v2('cuMemsetD16Async', &__cuMemsetD16Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD8Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 760, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":762 * _F_cuGetProcAddress_v2('cuMemsetD8Async', &__cuMemsetD8Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD16Async * _F_cuGetProcAddress_v2('cuMemsetD16Async', &__cuMemsetD16Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD32Async * _F_cuGetProcAddress_v2('cuMemsetD32Async', &__cuMemsetD32Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD16Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 762, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":764 * _F_cuGetProcAddress_v2('cuMemsetD16Async', &__cuMemsetD16Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD32Async * _F_cuGetProcAddress_v2('cuMemsetD32Async', &__cuMemsetD32Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D8Async * _F_cuGetProcAddress_v2('cuMemsetD2D8Async', &__cuMemsetD2D8Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD32Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 764, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":766 * _F_cuGetProcAddress_v2('cuMemsetD32Async', &__cuMemsetD32Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD2D8Async * _F_cuGetProcAddress_v2('cuMemsetD2D8Async', &__cuMemsetD2D8Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D16Async * _F_cuGetProcAddress_v2('cuMemsetD2D16Async', &__cuMemsetD2D16Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D8Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 766, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":768 * _F_cuGetProcAddress_v2('cuMemsetD2D8Async', &__cuMemsetD2D8Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD2D16Async * _F_cuGetProcAddress_v2('cuMemsetD2D16Async', &__cuMemsetD2D16Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemsetD2D32Async * _F_cuGetProcAddress_v2('cuMemsetD2D32Async', &__cuMemsetD2D32Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D16Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 768, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":770 * _F_cuGetProcAddress_v2('cuMemsetD2D16Async', &__cuMemsetD2D16Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemsetD2D32Async * _F_cuGetProcAddress_v2('cuMemsetD2D32Async', &__cuMemsetD2D32Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemBatchDecompressAsync * _F_cuGetProcAddress_v2('cuMemBatchDecompressAsync', &__cuMemBatchDecompressAsync, 12060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemsetD2D32Async"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 770, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":772 * _F_cuGetProcAddress_v2('cuMemsetD2D32Async', &__cuMemsetD2D32Async, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemBatchDecompressAsync * _F_cuGetProcAddress_v2('cuMemBatchDecompressAsync', &__cuMemBatchDecompressAsync, 12060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemMapArrayAsync * _F_cuGetProcAddress_v2('cuMemMapArrayAsync', &__cuMemMapArrayAsync, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemBatchDecompressAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync), 0x2F1C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 772, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":774 * _F_cuGetProcAddress_v2('cuMemBatchDecompressAsync', &__cuMemBatchDecompressAsync, 12060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemMapArrayAsync * _F_cuGetProcAddress_v2('cuMemMapArrayAsync', &__cuMemMapArrayAsync, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemFreeAsync * _F_cuGetProcAddress_v2('cuMemFreeAsync', &__cuMemFreeAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemMapArrayAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 774, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":776 * _F_cuGetProcAddress_v2('cuMemMapArrayAsync', &__cuMemMapArrayAsync, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemFreeAsync * _F_cuGetProcAddress_v2('cuMemFreeAsync', &__cuMemFreeAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAllocAsync * _F_cuGetProcAddress_v2('cuMemAllocAsync', &__cuMemAllocAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemFreeAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 776, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":778 * _F_cuGetProcAddress_v2('cuMemFreeAsync', &__cuMemFreeAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAllocAsync * _F_cuGetProcAddress_v2('cuMemAllocAsync', &__cuMemAllocAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAllocFromPoolAsync * _F_cuGetProcAddress_v2('cuMemAllocFromPoolAsync', &__cuMemAllocFromPoolAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAllocAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 778, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":780 * _F_cuGetProcAddress_v2('cuMemAllocAsync', &__cuMemAllocAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAllocFromPoolAsync * _F_cuGetProcAddress_v2('cuMemAllocFromPoolAsync', &__cuMemAllocFromPoolAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAllocFromPoolAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 780, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":782 * _F_cuGetProcAddress_v2('cuMemAllocFromPoolAsync', &__cuMemAllocFromPoolAsync, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPrefetchAsync * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync_v2 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync_v2, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPrefetchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 782, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":784 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPrefetchAsync_v2 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync_v2, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetPriority * _F_cuGetProcAddress_v2('cuStreamGetPriority', &__cuStreamGetPriority, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPrefetchAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2), 0x2EF4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 784, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":786 * _F_cuGetProcAddress_v2('cuMemPrefetchAsync', &__cuMemPrefetchAsync_v2, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetPriority * _F_cuGetProcAddress_v2('cuStreamGetPriority', &__cuStreamGetPriority, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetDevice * _F_cuGetProcAddress_v2('cuStreamGetDevice', &__cuStreamGetDevice, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetPriority"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority), 0x13BA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 786, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":788 * _F_cuGetProcAddress_v2('cuStreamGetPriority', &__cuStreamGetPriority, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetDevice * _F_cuGetProcAddress_v2('cuStreamGetDevice', &__cuStreamGetDevice, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetFlags * _F_cuGetProcAddress_v2('cuStreamGetFlags', &__cuStreamGetFlags, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetDevice"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 788, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":790 * _F_cuGetProcAddress_v2('cuStreamGetDevice', &__cuStreamGetDevice, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetFlags * _F_cuGetProcAddress_v2('cuStreamGetFlags', &__cuStreamGetFlags, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetId * _F_cuGetProcAddress_v2('cuStreamGetId', &__cuStreamGetId, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags), 0x13BA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 790, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":792 * _F_cuGetProcAddress_v2('cuStreamGetFlags', &__cuStreamGetFlags, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetId * _F_cuGetProcAddress_v2('cuStreamGetId', &__cuStreamGetId, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCtx * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx, 9020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetId"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 792, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":794 * _F_cuGetProcAddress_v2('cuStreamGetId', &__cuStreamGetId, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetCtx * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx, 9020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCtx_v2 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx_v2, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCtx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx), 0x233C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 794, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":796 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx, 9020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetCtx_v2 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx_v2, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamWaitEvent * _F_cuGetProcAddress_v2('cuStreamWaitEvent', &__cuStreamWaitEvent, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCtx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2), 0x2F12, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 796, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":798 * _F_cuGetProcAddress_v2('cuStreamGetCtx', &__cuStreamGetCtx_v2, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamWaitEvent * _F_cuGetProcAddress_v2('cuStreamWaitEvent', &__cuStreamWaitEvent, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamAddCallback * _F_cuGetProcAddress_v2('cuStreamAddCallback', &__cuStreamAddCallback, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWaitEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 798, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":800 * _F_cuGetProcAddress_v2('cuStreamWaitEvent', &__cuStreamWaitEvent, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamAddCallback * _F_cuGetProcAddress_v2('cuStreamAddCallback', &__cuStreamAddCallback, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamBeginCapture_v2 * _F_cuGetProcAddress_v2('cuStreamBeginCapture', &__cuStreamBeginCapture_v2, 10010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamAddCallback"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 800, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":802 * _F_cuGetProcAddress_v2('cuStreamAddCallback', &__cuStreamAddCallback, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamBeginCapture_v2 * _F_cuGetProcAddress_v2('cuStreamBeginCapture', &__cuStreamBeginCapture_v2, 10010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamBeginCaptureToGraph * _F_cuGetProcAddress_v2('cuStreamBeginCaptureToGraph', &__cuStreamBeginCaptureToGraph, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamBeginCapture"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2), 0x271A, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 802, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":804 * _F_cuGetProcAddress_v2('cuStreamBeginCapture', &__cuStreamBeginCapture_v2, 10010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamBeginCaptureToGraph * _F_cuGetProcAddress_v2('cuStreamBeginCaptureToGraph', &__cuStreamBeginCaptureToGraph, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamEndCapture * _F_cuGetProcAddress_v2('cuStreamEndCapture', &__cuStreamEndCapture, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamBeginCaptureToGraph"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 804, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":806 * _F_cuGetProcAddress_v2('cuStreamBeginCaptureToGraph', &__cuStreamBeginCaptureToGraph, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamEndCapture * _F_cuGetProcAddress_v2('cuStreamEndCapture', &__cuStreamEndCapture, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamIsCapturing * _F_cuGetProcAddress_v2('cuStreamIsCapturing', &__cuStreamIsCapturing, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamEndCapture"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 806, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":808 * _F_cuGetProcAddress_v2('cuStreamEndCapture', &__cuStreamEndCapture, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamIsCapturing * _F_cuGetProcAddress_v2('cuStreamIsCapturing', &__cuStreamIsCapturing, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v2 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v2, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamIsCapturing"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 808, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":810 * _F_cuGetProcAddress_v2('cuStreamIsCapturing', &__cuStreamIsCapturing, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetCaptureInfo_v2 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v2, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v3 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v3, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCaptureInfo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 810, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":812 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v2, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetCaptureInfo_v3 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v3, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetCaptureInfo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 812, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":814 * _F_cuGetProcAddress_v2('cuStreamGetCaptureInfo', &__cuStreamGetCaptureInfo_v3, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamUpdateCaptureDependencies * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies_v2 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamUpdateCaptureDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 814, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":816 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamUpdateCaptureDependencies_v2 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamAttachMemAsync * _F_cuGetProcAddress_v2('cuStreamAttachMemAsync', &__cuStreamAttachMemAsync, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamUpdateCaptureDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 816, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":818 * _F_cuGetProcAddress_v2('cuStreamUpdateCaptureDependencies', &__cuStreamUpdateCaptureDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamAttachMemAsync * _F_cuGetProcAddress_v2('cuStreamAttachMemAsync', &__cuStreamAttachMemAsync, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamQuery * _F_cuGetProcAddress_v2('cuStreamQuery', &__cuStreamQuery, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamAttachMemAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync), 0x1770, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 818, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":820 * _F_cuGetProcAddress_v2('cuStreamAttachMemAsync', &__cuStreamAttachMemAsync, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamQuery * _F_cuGetProcAddress_v2('cuStreamQuery', &__cuStreamQuery, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamSynchronize * _F_cuGetProcAddress_v2('cuStreamSynchronize', &__cuStreamSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamQuery"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 820, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":822 * _F_cuGetProcAddress_v2('cuStreamQuery', &__cuStreamQuery, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamSynchronize * _F_cuGetProcAddress_v2('cuStreamSynchronize', &__cuStreamSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamCopyAttributes * _F_cuGetProcAddress_v2('cuStreamCopyAttributes', &__cuStreamCopyAttributes, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamSynchronize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 822, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":824 * _F_cuGetProcAddress_v2('cuStreamSynchronize', &__cuStreamSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamCopyAttributes * _F_cuGetProcAddress_v2('cuStreamCopyAttributes', &__cuStreamCopyAttributes, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetAttribute * _F_cuGetProcAddress_v2('cuStreamGetAttribute', &__cuStreamGetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamCopyAttributes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 824, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":826 * _F_cuGetProcAddress_v2('cuStreamCopyAttributes', &__cuStreamCopyAttributes, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetAttribute * _F_cuGetProcAddress_v2('cuStreamGetAttribute', &__cuStreamGetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamSetAttribute * _F_cuGetProcAddress_v2('cuStreamSetAttribute', &__cuStreamSetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 826, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":828 * _F_cuGetProcAddress_v2('cuStreamGetAttribute', &__cuStreamGetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamSetAttribute * _F_cuGetProcAddress_v2('cuStreamSetAttribute', &__cuStreamSetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventRecord * _F_cuGetProcAddress_v2('cuEventRecord', &__cuEventRecord, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 828, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":830 * _F_cuGetProcAddress_v2('cuStreamSetAttribute', &__cuStreamSetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventRecord * _F_cuGetProcAddress_v2('cuEventRecord', &__cuEventRecord, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventRecordWithFlags * _F_cuGetProcAddress_v2('cuEventRecordWithFlags', &__cuEventRecordWithFlags, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventRecord"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 830, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":832 * _F_cuGetProcAddress_v2('cuEventRecord', &__cuEventRecord, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventRecordWithFlags * _F_cuGetProcAddress_v2('cuEventRecordWithFlags', &__cuEventRecordWithFlags, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuSignalExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuSignalExternalSemaphoresAsync', &__cuSignalExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventRecordWithFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 832, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":834 * _F_cuGetProcAddress_v2('cuEventRecordWithFlags', &__cuEventRecordWithFlags, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuSignalExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuSignalExternalSemaphoresAsync', &__cuSignalExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuWaitExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuWaitExternalSemaphoresAsync', &__cuWaitExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuSignalExternalSemaphoresAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 834, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":836 * _F_cuGetProcAddress_v2('cuSignalExternalSemaphoresAsync', &__cuSignalExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuWaitExternalSemaphoresAsync * _F_cuGetProcAddress_v2('cuWaitExternalSemaphoresAsync', &__cuWaitExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamWaitValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue32', &__cuStreamWaitValue32_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuWaitExternalSemaphoresAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 836, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":838 * _F_cuGetProcAddress_v2('cuWaitExternalSemaphoresAsync', &__cuWaitExternalSemaphoresAsync, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamWaitValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue32', &__cuStreamWaitValue32_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamWaitValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue64', &__cuStreamWaitValue64_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWaitValue32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 838, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":840 * _F_cuGetProcAddress_v2('cuStreamWaitValue32', &__cuStreamWaitValue32_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamWaitValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWaitValue64', &__cuStreamWaitValue64_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamWriteValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue32', &__cuStreamWriteValue32_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWaitValue64"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 840, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":842 * _F_cuGetProcAddress_v2('cuStreamWaitValue64', &__cuStreamWaitValue64_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamWriteValue32_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue32', &__cuStreamWriteValue32_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamWriteValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue64', &__cuStreamWriteValue64_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWriteValue32"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 842, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":844 * _F_cuGetProcAddress_v2('cuStreamWriteValue32', &__cuStreamWriteValue32_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamWriteValue64_v2 * _F_cuGetProcAddress_v2('cuStreamWriteValue64', &__cuStreamWriteValue64_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamBatchMemOp_v2 * _F_cuGetProcAddress_v2('cuStreamBatchMemOp', &__cuStreamBatchMemOp_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamWriteValue64"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 844, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":846 * _F_cuGetProcAddress_v2('cuStreamWriteValue64', &__cuStreamWriteValue64_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamBatchMemOp_v2 * _F_cuGetProcAddress_v2('cuStreamBatchMemOp', &__cuStreamBatchMemOp_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunchKernel * _F_cuGetProcAddress_v2('cuLaunchKernel', &__cuLaunchKernel, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamBatchMemOp"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 846, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":848 * _F_cuGetProcAddress_v2('cuStreamBatchMemOp', &__cuStreamBatchMemOp_v2, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunchKernel * _F_cuGetProcAddress_v2('cuLaunchKernel', &__cuLaunchKernel, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunchKernelEx * _F_cuGetProcAddress_v2('cuLaunchKernelEx', &__cuLaunchKernelEx, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchKernel"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 848, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":850 * _F_cuGetProcAddress_v2('cuLaunchKernel', &__cuLaunchKernel, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunchKernelEx * _F_cuGetProcAddress_v2('cuLaunchKernelEx', &__cuLaunchKernelEx, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernel * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernel', &__cuLaunchCooperativeKernel, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchKernelEx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx), 0x2B34, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 850, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":852 * _F_cuGetProcAddress_v2('cuLaunchKernelEx', &__cuLaunchKernelEx, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunchCooperativeKernel * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernel', &__cuLaunchCooperativeKernel, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunchHostFunc * _F_cuGetProcAddress_v2('cuLaunchHostFunc', &__cuLaunchHostFunc, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchCooperativeKernel"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel), 0x2328, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 852, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":854 * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernel', &__cuLaunchCooperativeKernel, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunchHostFunc * _F_cuGetProcAddress_v2('cuLaunchHostFunc', &__cuLaunchHostFunc, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithParams * _F_cuGetProcAddress_v2('cuGraphInstantiateWithParams', &__cuGraphInstantiateWithParams, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchHostFunc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 854, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":856 * _F_cuGetProcAddress_v2('cuLaunchHostFunc', &__cuLaunchHostFunc, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphInstantiateWithParams * _F_cuGetProcAddress_v2('cuGraphInstantiateWithParams', &__cuGraphInstantiateWithParams, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphUpload * _F_cuGetProcAddress_v2('cuGraphUpload', &__cuGraphUpload, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphInstantiateWithParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 856, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":858 * _F_cuGetProcAddress_v2('cuGraphInstantiateWithParams', &__cuGraphInstantiateWithParams, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphUpload * _F_cuGetProcAddress_v2('cuGraphUpload', &__cuGraphUpload, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphLaunch * _F_cuGetProcAddress_v2('cuGraphLaunch', &__cuGraphLaunch, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphUpload"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 858, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":860 * _F_cuGetProcAddress_v2('cuGraphUpload', &__cuGraphUpload, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphLaunch * _F_cuGetProcAddress_v2('cuGraphLaunch', &__cuGraphLaunch, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsMapResources * _F_cuGetProcAddress_v2('cuGraphicsMapResources', &__cuGraphicsMapResources, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphLaunch"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 860, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":862 * _F_cuGetProcAddress_v2('cuGraphLaunch', &__cuGraphLaunch, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsMapResources * _F_cuGetProcAddress_v2('cuGraphicsMapResources', &__cuGraphicsMapResources, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsUnmapResources * _F_cuGetProcAddress_v2('cuGraphicsUnmapResources', &__cuGraphicsUnmapResources, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsMapResources"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 862, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":864 * _F_cuGetProcAddress_v2('cuGraphicsMapResources', &__cuGraphicsMapResources, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsUnmapResources * _F_cuGetProcAddress_v2('cuGraphicsUnmapResources', &__cuGraphicsUnmapResources, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * # Get remaining functions * global __cuGetErrorString */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsUnmapResources"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 864, __pyx_L10_error) } __pyx_L21:; /* "cuda/bindings/_bindings/cydriver.pyx":867 * # Get remaining functions * global __cuGetErrorString * _F_cuGetProcAddress_v2('cuGetErrorString', &__cuGetErrorString, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGetErrorName * _F_cuGetProcAddress_v2('cuGetErrorName', &__cuGetErrorName, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGetErrorString"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorString), 0x1770, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 867, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":869 * _F_cuGetProcAddress_v2('cuGetErrorString', &__cuGetErrorString, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGetErrorName * _F_cuGetProcAddress_v2('cuGetErrorName', &__cuGetErrorName, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuInit * _F_cuGetProcAddress_v2('cuInit', &__cuInit, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGetErrorName"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorName), 0x1770, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 869, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":871 * _F_cuGetProcAddress_v2('cuGetErrorName', &__cuGetErrorName, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuInit * _F_cuGetProcAddress_v2('cuInit', &__cuInit, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDriverGetVersion * _F_cuGetProcAddress_v2('cuDriverGetVersion', &__cuDriverGetVersion, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuInit"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuInit), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 871, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":873 * _F_cuGetProcAddress_v2('cuInit', &__cuInit, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDriverGetVersion * _F_cuGetProcAddress_v2('cuDriverGetVersion', &__cuDriverGetVersion, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGet * _F_cuGetProcAddress_v2('cuDeviceGet', &__cuDeviceGet, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDriverGetVersion"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDriverGetVersion), 0x7E4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 873, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":875 * _F_cuGetProcAddress_v2('cuDriverGetVersion', &__cuDriverGetVersion, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGet * _F_cuGetProcAddress_v2('cuDeviceGet', &__cuDeviceGet, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetCount * _F_cuGetProcAddress_v2('cuDeviceGetCount', &__cuDeviceGetCount, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGet"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGet), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 875, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":877 * _F_cuGetProcAddress_v2('cuDeviceGet', &__cuDeviceGet, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetCount * _F_cuGetProcAddress_v2('cuDeviceGetCount', &__cuDeviceGetCount, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetName * _F_cuGetProcAddress_v2('cuDeviceGetName', &__cuDeviceGetName, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetCount"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetCount), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 877, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":879 * _F_cuGetProcAddress_v2('cuDeviceGetCount', &__cuDeviceGetCount, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetName * _F_cuGetProcAddress_v2('cuDeviceGetName', &__cuDeviceGetName, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetUuid * _F_cuGetProcAddress_v2('cuDeviceGetUuid', &__cuDeviceGetUuid, 9020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetName"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetName), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 879, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":881 * _F_cuGetProcAddress_v2('cuDeviceGetName', &__cuDeviceGetName, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetUuid * _F_cuGetProcAddress_v2('cuDeviceGetUuid', &__cuDeviceGetUuid, 9020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetUuid_v2 * _F_cuGetProcAddress_v2('cuDeviceGetUuid', &__cuDeviceGetUuid_v2, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetUuid"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid), 0x233C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 881, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":883 * _F_cuGetProcAddress_v2('cuDeviceGetUuid', &__cuDeviceGetUuid, 9020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetUuid_v2 * _F_cuGetProcAddress_v2('cuDeviceGetUuid', &__cuDeviceGetUuid_v2, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetLuid * _F_cuGetProcAddress_v2('cuDeviceGetLuid', &__cuDeviceGetLuid, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetUuid"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid_v2), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 883, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":885 * _F_cuGetProcAddress_v2('cuDeviceGetUuid', &__cuDeviceGetUuid_v2, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetLuid * _F_cuGetProcAddress_v2('cuDeviceGetLuid', &__cuDeviceGetLuid, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceTotalMem_v2 * _F_cuGetProcAddress_v2('cuDeviceTotalMem', &__cuDeviceTotalMem_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetLuid"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetLuid), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 885, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":887 * _F_cuGetProcAddress_v2('cuDeviceGetLuid', &__cuDeviceGetLuid, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceTotalMem_v2 * _F_cuGetProcAddress_v2('cuDeviceTotalMem', &__cuDeviceTotalMem_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetTexture1DLinearMaxWidth * _F_cuGetProcAddress_v2('cuDeviceGetTexture1DLinearMaxWidth', &__cuDeviceGetTexture1DLinearMaxWidth, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceTotalMem"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceTotalMem_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 887, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":889 * _F_cuGetProcAddress_v2('cuDeviceTotalMem', &__cuDeviceTotalMem_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetTexture1DLinearMaxWidth * _F_cuGetProcAddress_v2('cuDeviceGetTexture1DLinearMaxWidth', &__cuDeviceGetTexture1DLinearMaxWidth, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetAttribute * _F_cuGetProcAddress_v2('cuDeviceGetAttribute', &__cuDeviceGetAttribute, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetTexture1DLinearMaxWidth"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetTexture1DLinearMaxWidth), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 889, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":891 * _F_cuGetProcAddress_v2('cuDeviceGetTexture1DLinearMaxWidth', &__cuDeviceGetTexture1DLinearMaxWidth, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetAttribute * _F_cuGetProcAddress_v2('cuDeviceGetAttribute', &__cuDeviceGetAttribute, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetNvSciSyncAttributes * _F_cuGetProcAddress_v2('cuDeviceGetNvSciSyncAttributes', &__cuDeviceGetNvSciSyncAttributes, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetAttribute), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 891, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":893 * _F_cuGetProcAddress_v2('cuDeviceGetAttribute', &__cuDeviceGetAttribute, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetNvSciSyncAttributes * _F_cuGetProcAddress_v2('cuDeviceGetNvSciSyncAttributes', &__cuDeviceGetNvSciSyncAttributes, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceSetMemPool * _F_cuGetProcAddress_v2('cuDeviceSetMemPool', &__cuDeviceSetMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetNvSciSyncAttributes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetNvSciSyncAttributes), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 893, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":895 * _F_cuGetProcAddress_v2('cuDeviceGetNvSciSyncAttributes', &__cuDeviceGetNvSciSyncAttributes, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceSetMemPool * _F_cuGetProcAddress_v2('cuDeviceSetMemPool', &__cuDeviceSetMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetMemPool * _F_cuGetProcAddress_v2('cuDeviceGetMemPool', &__cuDeviceGetMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceSetMemPool"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetMemPool), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 895, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":897 * _F_cuGetProcAddress_v2('cuDeviceSetMemPool', &__cuDeviceSetMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetMemPool * _F_cuGetProcAddress_v2('cuDeviceGetMemPool', &__cuDeviceGetMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetDefaultMemPool * _F_cuGetProcAddress_v2('cuDeviceGetDefaultMemPool', &__cuDeviceGetDefaultMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetMemPool"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetMemPool), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 897, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":899 * _F_cuGetProcAddress_v2('cuDeviceGetMemPool', &__cuDeviceGetMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetDefaultMemPool * _F_cuGetProcAddress_v2('cuDeviceGetDefaultMemPool', &__cuDeviceGetDefaultMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetExecAffinitySupport * _F_cuGetProcAddress_v2('cuDeviceGetExecAffinitySupport', &__cuDeviceGetExecAffinitySupport, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetDefaultMemPool"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDefaultMemPool), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 899, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":901 * _F_cuGetProcAddress_v2('cuDeviceGetDefaultMemPool', &__cuDeviceGetDefaultMemPool, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetExecAffinitySupport * _F_cuGetProcAddress_v2('cuDeviceGetExecAffinitySupport', &__cuDeviceGetExecAffinitySupport, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFlushGPUDirectRDMAWrites * _F_cuGetProcAddress_v2('cuFlushGPUDirectRDMAWrites', &__cuFlushGPUDirectRDMAWrites, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetExecAffinitySupport"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetExecAffinitySupport), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 901, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":903 * _F_cuGetProcAddress_v2('cuDeviceGetExecAffinitySupport', &__cuDeviceGetExecAffinitySupport, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFlushGPUDirectRDMAWrites * _F_cuGetProcAddress_v2('cuFlushGPUDirectRDMAWrites', &__cuFlushGPUDirectRDMAWrites, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetProperties * _F_cuGetProcAddress_v2('cuDeviceGetProperties', &__cuDeviceGetProperties, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFlushGPUDirectRDMAWrites"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFlushGPUDirectRDMAWrites), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 903, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":905 * _F_cuGetProcAddress_v2('cuFlushGPUDirectRDMAWrites', &__cuFlushGPUDirectRDMAWrites, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetProperties * _F_cuGetProcAddress_v2('cuDeviceGetProperties', &__cuDeviceGetProperties, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceComputeCapability * _F_cuGetProcAddress_v2('cuDeviceComputeCapability', &__cuDeviceComputeCapability, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetProperties"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetProperties), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 905, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":907 * _F_cuGetProcAddress_v2('cuDeviceGetProperties', &__cuDeviceGetProperties, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceComputeCapability * _F_cuGetProcAddress_v2('cuDeviceComputeCapability', &__cuDeviceComputeCapability, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRetain * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxRetain', &__cuDevicePrimaryCtxRetain, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceComputeCapability"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceComputeCapability), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 907, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":909 * _F_cuGetProcAddress_v2('cuDeviceComputeCapability', &__cuDeviceComputeCapability, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDevicePrimaryCtxRetain * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxRetain', &__cuDevicePrimaryCtxRetain, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRelease_v2 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxRelease', &__cuDevicePrimaryCtxRelease_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDevicePrimaryCtxRetain"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRetain), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 909, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":911 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxRetain', &__cuDevicePrimaryCtxRetain, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDevicePrimaryCtxRelease_v2 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxRelease', &__cuDevicePrimaryCtxRelease_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxSetFlags_v2 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxSetFlags', &__cuDevicePrimaryCtxSetFlags_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDevicePrimaryCtxRelease"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRelease_v2), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 911, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":913 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxRelease', &__cuDevicePrimaryCtxRelease_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDevicePrimaryCtxSetFlags_v2 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxSetFlags', &__cuDevicePrimaryCtxSetFlags_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxGetState * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxGetState', &__cuDevicePrimaryCtxGetState, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDevicePrimaryCtxSetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxSetFlags_v2), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 913, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":915 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxSetFlags', &__cuDevicePrimaryCtxSetFlags_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDevicePrimaryCtxGetState * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxGetState', &__cuDevicePrimaryCtxGetState, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxReset_v2 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxReset', &__cuDevicePrimaryCtxReset_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDevicePrimaryCtxGetState"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxGetState), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 915, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":917 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxGetState', &__cuDevicePrimaryCtxGetState, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDevicePrimaryCtxReset_v2 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxReset', &__cuDevicePrimaryCtxReset_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxCreate_v2 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDevicePrimaryCtxReset"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxReset_v2), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 917, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":919 * _F_cuGetProcAddress_v2('cuDevicePrimaryCtxReset', &__cuDevicePrimaryCtxReset_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxCreate_v2 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxCreate_v3 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v3, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 919, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":921 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxCreate_v3 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v3, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxCreate_v4 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v4, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v3), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 921, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":923 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v3, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxCreate_v4 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v4, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxDestroy_v2 * _F_cuGetProcAddress_v2('cuCtxDestroy', &__cuCtxDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v4), 0x2F12, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 923, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":925 * _F_cuGetProcAddress_v2('cuCtxCreate', &__cuCtxCreate_v4, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxDestroy_v2 * _F_cuGetProcAddress_v2('cuCtxDestroy', &__cuCtxDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxPushCurrent_v2 * _F_cuGetProcAddress_v2('cuCtxPushCurrent', &__cuCtxPushCurrent_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDestroy_v2), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 925, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":927 * _F_cuGetProcAddress_v2('cuCtxDestroy', &__cuCtxDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxPushCurrent_v2 * _F_cuGetProcAddress_v2('cuCtxPushCurrent', &__cuCtxPushCurrent_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxPopCurrent_v2 * _F_cuGetProcAddress_v2('cuCtxPopCurrent', &__cuCtxPopCurrent_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxPushCurrent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPushCurrent_v2), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 927, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":929 * _F_cuGetProcAddress_v2('cuCtxPushCurrent', &__cuCtxPushCurrent_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxPopCurrent_v2 * _F_cuGetProcAddress_v2('cuCtxPopCurrent', &__cuCtxPopCurrent_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxSetCurrent * _F_cuGetProcAddress_v2('cuCtxSetCurrent', &__cuCtxSetCurrent, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxPopCurrent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPopCurrent_v2), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 929, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":931 * _F_cuGetProcAddress_v2('cuCtxPopCurrent', &__cuCtxPopCurrent_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxSetCurrent * _F_cuGetProcAddress_v2('cuCtxSetCurrent', &__cuCtxSetCurrent, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetCurrent * _F_cuGetProcAddress_v2('cuCtxGetCurrent', &__cuCtxGetCurrent, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxSetCurrent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCurrent), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 931, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":933 * _F_cuGetProcAddress_v2('cuCtxSetCurrent', &__cuCtxSetCurrent, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetCurrent * _F_cuGetProcAddress_v2('cuCtxGetCurrent', &__cuCtxGetCurrent, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetDevice * _F_cuGetProcAddress_v2('cuCtxGetDevice', &__cuCtxGetDevice, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetCurrent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCurrent), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 933, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":935 * _F_cuGetProcAddress_v2('cuCtxGetCurrent', &__cuCtxGetCurrent, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetDevice * _F_cuGetProcAddress_v2('cuCtxGetDevice', &__cuCtxGetDevice, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetFlags * _F_cuGetProcAddress_v2('cuCtxGetFlags', &__cuCtxGetFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetDevice"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevice), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 935, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":937 * _F_cuGetProcAddress_v2('cuCtxGetDevice', &__cuCtxGetDevice, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetFlags * _F_cuGetProcAddress_v2('cuCtxGetFlags', &__cuCtxGetFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxSetFlags * _F_cuGetProcAddress_v2('cuCtxSetFlags', &__cuCtxSetFlags, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetFlags), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 937, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":939 * _F_cuGetProcAddress_v2('cuCtxGetFlags', &__cuCtxGetFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxSetFlags * _F_cuGetProcAddress_v2('cuCtxSetFlags', &__cuCtxSetFlags, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetId * _F_cuGetProcAddress_v2('cuCtxGetId', &__cuCtxGetId, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxSetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetFlags), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 939, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":941 * _F_cuGetProcAddress_v2('cuCtxSetFlags', &__cuCtxSetFlags, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetId * _F_cuGetProcAddress_v2('cuCtxGetId', &__cuCtxGetId, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxSynchronize * _F_cuGetProcAddress_v2('cuCtxSynchronize', &__cuCtxSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetId"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetId), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 941, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":943 * _F_cuGetProcAddress_v2('cuCtxGetId', &__cuCtxGetId, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxSynchronize * _F_cuGetProcAddress_v2('cuCtxSynchronize', &__cuCtxSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxSetLimit * _F_cuGetProcAddress_v2('cuCtxSetLimit', &__cuCtxSetLimit, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxSynchronize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSynchronize), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 943, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":945 * _F_cuGetProcAddress_v2('cuCtxSynchronize', &__cuCtxSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxSetLimit * _F_cuGetProcAddress_v2('cuCtxSetLimit', &__cuCtxSetLimit, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetLimit * _F_cuGetProcAddress_v2('cuCtxGetLimit', &__cuCtxGetLimit, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxSetLimit"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetLimit), 0xBC2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 945, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":947 * _F_cuGetProcAddress_v2('cuCtxSetLimit', &__cuCtxSetLimit, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetLimit * _F_cuGetProcAddress_v2('cuCtxGetLimit', &__cuCtxGetLimit, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetCacheConfig * _F_cuGetProcAddress_v2('cuCtxGetCacheConfig', &__cuCtxGetCacheConfig, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetLimit"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetLimit), 0xBC2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 947, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":949 * _F_cuGetProcAddress_v2('cuCtxGetLimit', &__cuCtxGetLimit, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetCacheConfig * _F_cuGetProcAddress_v2('cuCtxGetCacheConfig', &__cuCtxGetCacheConfig, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxSetCacheConfig * _F_cuGetProcAddress_v2('cuCtxSetCacheConfig', &__cuCtxSetCacheConfig, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetCacheConfig"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCacheConfig), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 949, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":951 * _F_cuGetProcAddress_v2('cuCtxGetCacheConfig', &__cuCtxGetCacheConfig, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxSetCacheConfig * _F_cuGetProcAddress_v2('cuCtxSetCacheConfig', &__cuCtxSetCacheConfig, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetApiVersion * _F_cuGetProcAddress_v2('cuCtxGetApiVersion', &__cuCtxGetApiVersion, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxSetCacheConfig"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCacheConfig), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 951, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":953 * _F_cuGetProcAddress_v2('cuCtxSetCacheConfig', &__cuCtxSetCacheConfig, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetApiVersion * _F_cuGetProcAddress_v2('cuCtxGetApiVersion', &__cuCtxGetApiVersion, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetStreamPriorityRange * _F_cuGetProcAddress_v2('cuCtxGetStreamPriorityRange', &__cuCtxGetStreamPriorityRange, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetApiVersion"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetApiVersion), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 953, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":955 * _F_cuGetProcAddress_v2('cuCtxGetApiVersion', &__cuCtxGetApiVersion, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetStreamPriorityRange * _F_cuGetProcAddress_v2('cuCtxGetStreamPriorityRange', &__cuCtxGetStreamPriorityRange, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxResetPersistingL2Cache * _F_cuGetProcAddress_v2('cuCtxResetPersistingL2Cache', &__cuCtxResetPersistingL2Cache, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetStreamPriorityRange"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetStreamPriorityRange), 0x13BA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 955, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":957 * _F_cuGetProcAddress_v2('cuCtxGetStreamPriorityRange', &__cuCtxGetStreamPriorityRange, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxResetPersistingL2Cache * _F_cuGetProcAddress_v2('cuCtxResetPersistingL2Cache', &__cuCtxResetPersistingL2Cache, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetExecAffinity * _F_cuGetProcAddress_v2('cuCtxGetExecAffinity', &__cuCtxGetExecAffinity, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxResetPersistingL2Cache"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxResetPersistingL2Cache), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 957, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":959 * _F_cuGetProcAddress_v2('cuCtxResetPersistingL2Cache', &__cuCtxResetPersistingL2Cache, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetExecAffinity * _F_cuGetProcAddress_v2('cuCtxGetExecAffinity', &__cuCtxGetExecAffinity, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxRecordEvent * _F_cuGetProcAddress_v2('cuCtxRecordEvent', &__cuCtxRecordEvent, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetExecAffinity"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetExecAffinity), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 959, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":961 * _F_cuGetProcAddress_v2('cuCtxGetExecAffinity', &__cuCtxGetExecAffinity, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxRecordEvent * _F_cuGetProcAddress_v2('cuCtxRecordEvent', &__cuCtxRecordEvent, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxWaitEvent * _F_cuGetProcAddress_v2('cuCtxWaitEvent', &__cuCtxWaitEvent, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxRecordEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxRecordEvent), 0x2F12, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 961, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":963 * _F_cuGetProcAddress_v2('cuCtxRecordEvent', &__cuCtxRecordEvent, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxWaitEvent * _F_cuGetProcAddress_v2('cuCtxWaitEvent', &__cuCtxWaitEvent, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxAttach * _F_cuGetProcAddress_v2('cuCtxAttach', &__cuCtxAttach, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxWaitEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxWaitEvent), 0x2F12, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 963, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":965 * _F_cuGetProcAddress_v2('cuCtxWaitEvent', &__cuCtxWaitEvent, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxAttach * _F_cuGetProcAddress_v2('cuCtxAttach', &__cuCtxAttach, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxDetach * _F_cuGetProcAddress_v2('cuCtxDetach', &__cuCtxDetach, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxAttach"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxAttach), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 965, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":967 * _F_cuGetProcAddress_v2('cuCtxAttach', &__cuCtxAttach, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxDetach * _F_cuGetProcAddress_v2('cuCtxDetach', &__cuCtxDetach, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetSharedMemConfig * _F_cuGetProcAddress_v2('cuCtxGetSharedMemConfig', &__cuCtxGetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxDetach"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDetach), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 967, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":969 * _F_cuGetProcAddress_v2('cuCtxDetach', &__cuCtxDetach, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetSharedMemConfig * _F_cuGetProcAddress_v2('cuCtxGetSharedMemConfig', &__cuCtxGetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxSetSharedMemConfig * _F_cuGetProcAddress_v2('cuCtxSetSharedMemConfig', &__cuCtxSetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetSharedMemConfig"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetSharedMemConfig), 0xFB4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 969, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":971 * _F_cuGetProcAddress_v2('cuCtxGetSharedMemConfig', &__cuCtxGetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxSetSharedMemConfig * _F_cuGetProcAddress_v2('cuCtxSetSharedMemConfig', &__cuCtxSetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleLoad * _F_cuGetProcAddress_v2('cuModuleLoad', &__cuModuleLoad, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxSetSharedMemConfig"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetSharedMemConfig), 0xFB4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 971, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":973 * _F_cuGetProcAddress_v2('cuCtxSetSharedMemConfig', &__cuCtxSetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleLoad * _F_cuGetProcAddress_v2('cuModuleLoad', &__cuModuleLoad, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleLoadData * _F_cuGetProcAddress_v2('cuModuleLoadData', &__cuModuleLoadData, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleLoad"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoad), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 973, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":975 * _F_cuGetProcAddress_v2('cuModuleLoad', &__cuModuleLoad, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleLoadData * _F_cuGetProcAddress_v2('cuModuleLoadData', &__cuModuleLoadData, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleLoadDataEx * _F_cuGetProcAddress_v2('cuModuleLoadDataEx', &__cuModuleLoadDataEx, 2010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleLoadData"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadData), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 975, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":977 * _F_cuGetProcAddress_v2('cuModuleLoadData', &__cuModuleLoadData, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleLoadDataEx * _F_cuGetProcAddress_v2('cuModuleLoadDataEx', &__cuModuleLoadDataEx, 2010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleLoadFatBinary * _F_cuGetProcAddress_v2('cuModuleLoadFatBinary', &__cuModuleLoadFatBinary, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleLoadDataEx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadDataEx), 0x7DA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 977, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":979 * _F_cuGetProcAddress_v2('cuModuleLoadDataEx', &__cuModuleLoadDataEx, 2010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleLoadFatBinary * _F_cuGetProcAddress_v2('cuModuleLoadFatBinary', &__cuModuleLoadFatBinary, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleUnload * _F_cuGetProcAddress_v2('cuModuleUnload', &__cuModuleUnload, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleLoadFatBinary"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadFatBinary), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 979, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":981 * _F_cuGetProcAddress_v2('cuModuleLoadFatBinary', &__cuModuleLoadFatBinary, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleUnload * _F_cuGetProcAddress_v2('cuModuleUnload', &__cuModuleUnload, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleGetLoadingMode * _F_cuGetProcAddress_v2('cuModuleGetLoadingMode', &__cuModuleGetLoadingMode, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleUnload"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleUnload), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 981, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":983 * _F_cuGetProcAddress_v2('cuModuleUnload', &__cuModuleUnload, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleGetLoadingMode * _F_cuGetProcAddress_v2('cuModuleGetLoadingMode', &__cuModuleGetLoadingMode, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleGetFunction * _F_cuGetProcAddress_v2('cuModuleGetFunction', &__cuModuleGetFunction, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleGetLoadingMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetLoadingMode), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 983, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":985 * _F_cuGetProcAddress_v2('cuModuleGetLoadingMode', &__cuModuleGetLoadingMode, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleGetFunction * _F_cuGetProcAddress_v2('cuModuleGetFunction', &__cuModuleGetFunction, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleGetFunctionCount * _F_cuGetProcAddress_v2('cuModuleGetFunctionCount', &__cuModuleGetFunctionCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleGetFunction"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunction), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 985, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":987 * _F_cuGetProcAddress_v2('cuModuleGetFunction', &__cuModuleGetFunction, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleGetFunctionCount * _F_cuGetProcAddress_v2('cuModuleGetFunctionCount', &__cuModuleGetFunctionCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleEnumerateFunctions * _F_cuGetProcAddress_v2('cuModuleEnumerateFunctions', &__cuModuleEnumerateFunctions, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleGetFunctionCount"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunctionCount), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 987, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":989 * _F_cuGetProcAddress_v2('cuModuleGetFunctionCount', &__cuModuleGetFunctionCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleEnumerateFunctions * _F_cuGetProcAddress_v2('cuModuleEnumerateFunctions', &__cuModuleEnumerateFunctions, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleGetGlobal_v2 * _F_cuGetProcAddress_v2('cuModuleGetGlobal', &__cuModuleGetGlobal_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleEnumerateFunctions"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleEnumerateFunctions), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 989, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":991 * _F_cuGetProcAddress_v2('cuModuleEnumerateFunctions', &__cuModuleEnumerateFunctions, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleGetGlobal_v2 * _F_cuGetProcAddress_v2('cuModuleGetGlobal', &__cuModuleGetGlobal_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLinkCreate_v2 * _F_cuGetProcAddress_v2('cuLinkCreate', &__cuLinkCreate_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleGetGlobal"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetGlobal_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 991, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":993 * _F_cuGetProcAddress_v2('cuModuleGetGlobal', &__cuModuleGetGlobal_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLinkCreate_v2 * _F_cuGetProcAddress_v2('cuLinkCreate', &__cuLinkCreate_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLinkAddData_v2 * _F_cuGetProcAddress_v2('cuLinkAddData', &__cuLinkAddData_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLinkCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkCreate_v2), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 993, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":995 * _F_cuGetProcAddress_v2('cuLinkCreate', &__cuLinkCreate_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLinkAddData_v2 * _F_cuGetProcAddress_v2('cuLinkAddData', &__cuLinkAddData_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLinkAddFile_v2 * _F_cuGetProcAddress_v2('cuLinkAddFile', &__cuLinkAddFile_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLinkAddData"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddData_v2), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 995, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":997 * _F_cuGetProcAddress_v2('cuLinkAddData', &__cuLinkAddData_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLinkAddFile_v2 * _F_cuGetProcAddress_v2('cuLinkAddFile', &__cuLinkAddFile_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLinkComplete * _F_cuGetProcAddress_v2('cuLinkComplete', &__cuLinkComplete, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLinkAddFile"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddFile_v2), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 997, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":999 * _F_cuGetProcAddress_v2('cuLinkAddFile', &__cuLinkAddFile_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLinkComplete * _F_cuGetProcAddress_v2('cuLinkComplete', &__cuLinkComplete, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLinkDestroy * _F_cuGetProcAddress_v2('cuLinkDestroy', &__cuLinkDestroy, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLinkComplete"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkComplete), 0x13BA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 999, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1001 * _F_cuGetProcAddress_v2('cuLinkComplete', &__cuLinkComplete, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLinkDestroy * _F_cuGetProcAddress_v2('cuLinkDestroy', &__cuLinkDestroy, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleGetTexRef * _F_cuGetProcAddress_v2('cuModuleGetTexRef', &__cuModuleGetTexRef, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLinkDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkDestroy), 0x13BA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1001, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1003 * _F_cuGetProcAddress_v2('cuLinkDestroy', &__cuLinkDestroy, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleGetTexRef * _F_cuGetProcAddress_v2('cuModuleGetTexRef', &__cuModuleGetTexRef, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuModuleGetSurfRef * _F_cuGetProcAddress_v2('cuModuleGetSurfRef', &__cuModuleGetSurfRef, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleGetTexRef"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetTexRef), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1003, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1005 * _F_cuGetProcAddress_v2('cuModuleGetTexRef', &__cuModuleGetTexRef, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuModuleGetSurfRef * _F_cuGetProcAddress_v2('cuModuleGetSurfRef', &__cuModuleGetSurfRef, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryLoadData * _F_cuGetProcAddress_v2('cuLibraryLoadData', &__cuLibraryLoadData, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuModuleGetSurfRef"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetSurfRef), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1005, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1007 * _F_cuGetProcAddress_v2('cuModuleGetSurfRef', &__cuModuleGetSurfRef, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryLoadData * _F_cuGetProcAddress_v2('cuLibraryLoadData', &__cuLibraryLoadData, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryLoadFromFile * _F_cuGetProcAddress_v2('cuLibraryLoadFromFile', &__cuLibraryLoadFromFile, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryLoadData"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadData), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1007, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1009 * _F_cuGetProcAddress_v2('cuLibraryLoadData', &__cuLibraryLoadData, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryLoadFromFile * _F_cuGetProcAddress_v2('cuLibraryLoadFromFile', &__cuLibraryLoadFromFile, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryUnload * _F_cuGetProcAddress_v2('cuLibraryUnload', &__cuLibraryUnload, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryLoadFromFile"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadFromFile), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1009, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1011 * _F_cuGetProcAddress_v2('cuLibraryLoadFromFile', &__cuLibraryLoadFromFile, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryUnload * _F_cuGetProcAddress_v2('cuLibraryUnload', &__cuLibraryUnload, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryGetKernel * _F_cuGetProcAddress_v2('cuLibraryGetKernel', &__cuLibraryGetKernel, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryUnload"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryUnload), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1011, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1013 * _F_cuGetProcAddress_v2('cuLibraryUnload', &__cuLibraryUnload, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryGetKernel * _F_cuGetProcAddress_v2('cuLibraryGetKernel', &__cuLibraryGetKernel, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryGetKernelCount * _F_cuGetProcAddress_v2('cuLibraryGetKernelCount', &__cuLibraryGetKernelCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryGetKernel"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernel), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1013, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1015 * _F_cuGetProcAddress_v2('cuLibraryGetKernel', &__cuLibraryGetKernel, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryGetKernelCount * _F_cuGetProcAddress_v2('cuLibraryGetKernelCount', &__cuLibraryGetKernelCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryEnumerateKernels * _F_cuGetProcAddress_v2('cuLibraryEnumerateKernels', &__cuLibraryEnumerateKernels, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryGetKernelCount"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernelCount), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1015, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1017 * _F_cuGetProcAddress_v2('cuLibraryGetKernelCount', &__cuLibraryGetKernelCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryEnumerateKernels * _F_cuGetProcAddress_v2('cuLibraryEnumerateKernels', &__cuLibraryEnumerateKernels, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryGetModule * _F_cuGetProcAddress_v2('cuLibraryGetModule', &__cuLibraryGetModule, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryEnumerateKernels"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryEnumerateKernels), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1017, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1019 * _F_cuGetProcAddress_v2('cuLibraryEnumerateKernels', &__cuLibraryEnumerateKernels, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryGetModule * _F_cuGetProcAddress_v2('cuLibraryGetModule', &__cuLibraryGetModule, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuKernelGetFunction * _F_cuGetProcAddress_v2('cuKernelGetFunction', &__cuKernelGetFunction, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryGetModule"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetModule), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1019, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1021 * _F_cuGetProcAddress_v2('cuLibraryGetModule', &__cuLibraryGetModule, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuKernelGetFunction * _F_cuGetProcAddress_v2('cuKernelGetFunction', &__cuKernelGetFunction, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuKernelGetLibrary * _F_cuGetProcAddress_v2('cuKernelGetLibrary', &__cuKernelGetLibrary, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuKernelGetFunction"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetFunction), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1021, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1023 * _F_cuGetProcAddress_v2('cuKernelGetFunction', &__cuKernelGetFunction, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuKernelGetLibrary * _F_cuGetProcAddress_v2('cuKernelGetLibrary', &__cuKernelGetLibrary, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryGetGlobal * _F_cuGetProcAddress_v2('cuLibraryGetGlobal', &__cuLibraryGetGlobal, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuKernelGetLibrary"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetLibrary), 0x2F12, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1023, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1025 * _F_cuGetProcAddress_v2('cuKernelGetLibrary', &__cuKernelGetLibrary, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryGetGlobal * _F_cuGetProcAddress_v2('cuLibraryGetGlobal', &__cuLibraryGetGlobal, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryGetManaged * _F_cuGetProcAddress_v2('cuLibraryGetManaged', &__cuLibraryGetManaged, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryGetGlobal"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetGlobal), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1025, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1027 * _F_cuGetProcAddress_v2('cuLibraryGetGlobal', &__cuLibraryGetGlobal, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryGetManaged * _F_cuGetProcAddress_v2('cuLibraryGetManaged', &__cuLibraryGetManaged, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLibraryGetUnifiedFunction * _F_cuGetProcAddress_v2('cuLibraryGetUnifiedFunction', &__cuLibraryGetUnifiedFunction, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryGetManaged"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetManaged), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1027, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1029 * _F_cuGetProcAddress_v2('cuLibraryGetManaged', &__cuLibraryGetManaged, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLibraryGetUnifiedFunction * _F_cuGetProcAddress_v2('cuLibraryGetUnifiedFunction', &__cuLibraryGetUnifiedFunction, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuKernelGetAttribute * _F_cuGetProcAddress_v2('cuKernelGetAttribute', &__cuKernelGetAttribute, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLibraryGetUnifiedFunction"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetUnifiedFunction), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1029, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1031 * _F_cuGetProcAddress_v2('cuLibraryGetUnifiedFunction', &__cuLibraryGetUnifiedFunction, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuKernelGetAttribute * _F_cuGetProcAddress_v2('cuKernelGetAttribute', &__cuKernelGetAttribute, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuKernelSetAttribute * _F_cuGetProcAddress_v2('cuKernelSetAttribute', &__cuKernelSetAttribute, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuKernelGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetAttribute), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1031, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1033 * _F_cuGetProcAddress_v2('cuKernelGetAttribute', &__cuKernelGetAttribute, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuKernelSetAttribute * _F_cuGetProcAddress_v2('cuKernelSetAttribute', &__cuKernelSetAttribute, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuKernelSetCacheConfig * _F_cuGetProcAddress_v2('cuKernelSetCacheConfig', &__cuKernelSetCacheConfig, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuKernelSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetAttribute), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1033, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1035 * _F_cuGetProcAddress_v2('cuKernelSetAttribute', &__cuKernelSetAttribute, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuKernelSetCacheConfig * _F_cuGetProcAddress_v2('cuKernelSetCacheConfig', &__cuKernelSetCacheConfig, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuKernelGetName * _F_cuGetProcAddress_v2('cuKernelGetName', &__cuKernelGetName, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuKernelSetCacheConfig"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetCacheConfig), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1035, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1037 * _F_cuGetProcAddress_v2('cuKernelSetCacheConfig', &__cuKernelSetCacheConfig, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuKernelGetName * _F_cuGetProcAddress_v2('cuKernelGetName', &__cuKernelGetName, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuKernelGetParamInfo * _F_cuGetProcAddress_v2('cuKernelGetParamInfo', &__cuKernelGetParamInfo, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuKernelGetName"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetName), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1037, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1039 * _F_cuGetProcAddress_v2('cuKernelGetName', &__cuKernelGetName, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuKernelGetParamInfo * _F_cuGetProcAddress_v2('cuKernelGetParamInfo', &__cuKernelGetParamInfo, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemGetInfo_v2 * _F_cuGetProcAddress_v2('cuMemGetInfo', &__cuMemGetInfo_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuKernelGetParamInfo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetParamInfo), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1039, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1041 * _F_cuGetProcAddress_v2('cuKernelGetParamInfo', &__cuKernelGetParamInfo, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemGetInfo_v2 * _F_cuGetProcAddress_v2('cuMemGetInfo', &__cuMemGetInfo_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAlloc_v2 * _F_cuGetProcAddress_v2('cuMemAlloc', &__cuMemAlloc_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemGetInfo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetInfo_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1041, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1043 * _F_cuGetProcAddress_v2('cuMemGetInfo', &__cuMemGetInfo_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAlloc_v2 * _F_cuGetProcAddress_v2('cuMemAlloc', &__cuMemAlloc_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAllocPitch_v2 * _F_cuGetProcAddress_v2('cuMemAllocPitch', &__cuMemAllocPitch_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAlloc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAlloc_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1043, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1045 * _F_cuGetProcAddress_v2('cuMemAlloc', &__cuMemAlloc_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAllocPitch_v2 * _F_cuGetProcAddress_v2('cuMemAllocPitch', &__cuMemAllocPitch_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemFree_v2 * _F_cuGetProcAddress_v2('cuMemFree', &__cuMemFree_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAllocPitch"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocPitch_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1045, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1047 * _F_cuGetProcAddress_v2('cuMemAllocPitch', &__cuMemAllocPitch_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemFree_v2 * _F_cuGetProcAddress_v2('cuMemFree', &__cuMemFree_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemGetAddressRange_v2 * _F_cuGetProcAddress_v2('cuMemGetAddressRange', &__cuMemGetAddressRange_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemFree"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFree_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1047, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1049 * _F_cuGetProcAddress_v2('cuMemFree', &__cuMemFree_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemGetAddressRange_v2 * _F_cuGetProcAddress_v2('cuMemGetAddressRange', &__cuMemGetAddressRange_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAllocHost_v2 * _F_cuGetProcAddress_v2('cuMemAllocHost', &__cuMemAllocHost_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemGetAddressRange"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAddressRange_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1049, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1051 * _F_cuGetProcAddress_v2('cuMemGetAddressRange', &__cuMemGetAddressRange_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAllocHost_v2 * _F_cuGetProcAddress_v2('cuMemAllocHost', &__cuMemAllocHost_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemFreeHost * _F_cuGetProcAddress_v2('cuMemFreeHost', &__cuMemFreeHost, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAllocHost"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocHost_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1051, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1053 * _F_cuGetProcAddress_v2('cuMemAllocHost', &__cuMemAllocHost_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemFreeHost * _F_cuGetProcAddress_v2('cuMemFreeHost', &__cuMemFreeHost, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemHostAlloc * _F_cuGetProcAddress_v2('cuMemHostAlloc', &__cuMemHostAlloc, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemFreeHost"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeHost), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1053, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1055 * _F_cuGetProcAddress_v2('cuMemFreeHost', &__cuMemFreeHost, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemHostAlloc * _F_cuGetProcAddress_v2('cuMemHostAlloc', &__cuMemHostAlloc, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemHostGetDevicePointer_v2 * _F_cuGetProcAddress_v2('cuMemHostGetDevicePointer', &__cuMemHostGetDevicePointer_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemHostAlloc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostAlloc), 0x7E4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1055, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1057 * _F_cuGetProcAddress_v2('cuMemHostAlloc', &__cuMemHostAlloc, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemHostGetDevicePointer_v2 * _F_cuGetProcAddress_v2('cuMemHostGetDevicePointer', &__cuMemHostGetDevicePointer_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemHostGetFlags * _F_cuGetProcAddress_v2('cuMemHostGetFlags', &__cuMemHostGetFlags, 2030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemHostGetDevicePointer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetDevicePointer_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1057, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1059 * _F_cuGetProcAddress_v2('cuMemHostGetDevicePointer', &__cuMemHostGetDevicePointer_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemHostGetFlags * _F_cuGetProcAddress_v2('cuMemHostGetFlags', &__cuMemHostGetFlags, 2030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAllocManaged * _F_cuGetProcAddress_v2('cuMemAllocManaged', &__cuMemAllocManaged, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemHostGetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetFlags), 0x7EE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1059, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1061 * _F_cuGetProcAddress_v2('cuMemHostGetFlags', &__cuMemHostGetFlags, 2030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAllocManaged * _F_cuGetProcAddress_v2('cuMemAllocManaged', &__cuMemAllocManaged, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceRegisterAsyncNotification * _F_cuGetProcAddress_v2('cuDeviceRegisterAsyncNotification', &__cuDeviceRegisterAsyncNotification, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAllocManaged"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocManaged), 0x1770, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1061, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1063 * _F_cuGetProcAddress_v2('cuMemAllocManaged', &__cuMemAllocManaged, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceRegisterAsyncNotification * _F_cuGetProcAddress_v2('cuDeviceRegisterAsyncNotification', &__cuDeviceRegisterAsyncNotification, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceUnregisterAsyncNotification * _F_cuGetProcAddress_v2('cuDeviceUnregisterAsyncNotification', &__cuDeviceUnregisterAsyncNotification, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceRegisterAsyncNotification"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceRegisterAsyncNotification), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1063, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1065 * _F_cuGetProcAddress_v2('cuDeviceRegisterAsyncNotification', &__cuDeviceRegisterAsyncNotification, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceUnregisterAsyncNotification * _F_cuGetProcAddress_v2('cuDeviceUnregisterAsyncNotification', &__cuDeviceUnregisterAsyncNotification, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetByPCIBusId * _F_cuGetProcAddress_v2('cuDeviceGetByPCIBusId', &__cuDeviceGetByPCIBusId, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceUnregisterAsyncNotification"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceUnregisterAsyncNotification), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1065, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1067 * _F_cuGetProcAddress_v2('cuDeviceUnregisterAsyncNotification', &__cuDeviceUnregisterAsyncNotification, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetByPCIBusId * _F_cuGetProcAddress_v2('cuDeviceGetByPCIBusId', &__cuDeviceGetByPCIBusId, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetPCIBusId * _F_cuGetProcAddress_v2('cuDeviceGetPCIBusId', &__cuDeviceGetPCIBusId, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetByPCIBusId"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetByPCIBusId), 0xFAA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1067, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1069 * _F_cuGetProcAddress_v2('cuDeviceGetByPCIBusId', &__cuDeviceGetByPCIBusId, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetPCIBusId * _F_cuGetProcAddress_v2('cuDeviceGetPCIBusId', &__cuDeviceGetPCIBusId, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuIpcGetEventHandle * _F_cuGetProcAddress_v2('cuIpcGetEventHandle', &__cuIpcGetEventHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetPCIBusId"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetPCIBusId), 0xFAA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1069, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1071 * _F_cuGetProcAddress_v2('cuDeviceGetPCIBusId', &__cuDeviceGetPCIBusId, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuIpcGetEventHandle * _F_cuGetProcAddress_v2('cuIpcGetEventHandle', &__cuIpcGetEventHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuIpcOpenEventHandle * _F_cuGetProcAddress_v2('cuIpcOpenEventHandle', &__cuIpcOpenEventHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuIpcGetEventHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetEventHandle), 0xFAA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1071, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1073 * _F_cuGetProcAddress_v2('cuIpcGetEventHandle', &__cuIpcGetEventHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuIpcOpenEventHandle * _F_cuGetProcAddress_v2('cuIpcOpenEventHandle', &__cuIpcOpenEventHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuIpcGetMemHandle * _F_cuGetProcAddress_v2('cuIpcGetMemHandle', &__cuIpcGetMemHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuIpcOpenEventHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenEventHandle), 0xFAA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1073, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1075 * _F_cuGetProcAddress_v2('cuIpcOpenEventHandle', &__cuIpcOpenEventHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuIpcGetMemHandle * _F_cuGetProcAddress_v2('cuIpcGetMemHandle', &__cuIpcGetMemHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuIpcOpenMemHandle_v2 * _F_cuGetProcAddress_v2('cuIpcOpenMemHandle', &__cuIpcOpenMemHandle_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuIpcGetMemHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetMemHandle), 0xFAA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1075, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1077 * _F_cuGetProcAddress_v2('cuIpcGetMemHandle', &__cuIpcGetMemHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuIpcOpenMemHandle_v2 * _F_cuGetProcAddress_v2('cuIpcOpenMemHandle', &__cuIpcOpenMemHandle_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuIpcCloseMemHandle * _F_cuGetProcAddress_v2('cuIpcCloseMemHandle', &__cuIpcCloseMemHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuIpcOpenMemHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenMemHandle_v2), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1077, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1079 * _F_cuGetProcAddress_v2('cuIpcOpenMemHandle', &__cuIpcOpenMemHandle_v2, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuIpcCloseMemHandle * _F_cuGetProcAddress_v2('cuIpcCloseMemHandle', &__cuIpcCloseMemHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemHostRegister_v2 * _F_cuGetProcAddress_v2('cuMemHostRegister', &__cuMemHostRegister_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuIpcCloseMemHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcCloseMemHandle), 0xFAA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1079, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1081 * _F_cuGetProcAddress_v2('cuIpcCloseMemHandle', &__cuIpcCloseMemHandle, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemHostRegister_v2 * _F_cuGetProcAddress_v2('cuMemHostRegister', &__cuMemHostRegister_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemHostUnregister * _F_cuGetProcAddress_v2('cuMemHostUnregister', &__cuMemHostUnregister, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemHostRegister"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostRegister_v2), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1081, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1083 * _F_cuGetProcAddress_v2('cuMemHostRegister', &__cuMemHostRegister_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemHostUnregister * _F_cuGetProcAddress_v2('cuMemHostUnregister', &__cuMemHostUnregister, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArrayCreate_v2 * _F_cuGetProcAddress_v2('cuArrayCreate', &__cuArrayCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemHostUnregister"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostUnregister), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1083, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1085 * _F_cuGetProcAddress_v2('cuMemHostUnregister', &__cuMemHostUnregister, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArrayCreate_v2 * _F_cuGetProcAddress_v2('cuArrayCreate', &__cuArrayCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArrayGetDescriptor_v2 * _F_cuGetProcAddress_v2('cuArrayGetDescriptor', &__cuArrayGetDescriptor_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArrayCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayCreate_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1085, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1087 * _F_cuGetProcAddress_v2('cuArrayCreate', &__cuArrayCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArrayGetDescriptor_v2 * _F_cuGetProcAddress_v2('cuArrayGetDescriptor', &__cuArrayGetDescriptor_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArrayGetSparseProperties * _F_cuGetProcAddress_v2('cuArrayGetSparseProperties', &__cuArrayGetSparseProperties, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArrayGetDescriptor"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetDescriptor_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1087, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1089 * _F_cuGetProcAddress_v2('cuArrayGetDescriptor', &__cuArrayGetDescriptor_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArrayGetSparseProperties * _F_cuGetProcAddress_v2('cuArrayGetSparseProperties', &__cuArrayGetSparseProperties, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetSparseProperties * _F_cuGetProcAddress_v2('cuMipmappedArrayGetSparseProperties', &__cuMipmappedArrayGetSparseProperties, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArrayGetSparseProperties"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetSparseProperties), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1089, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1091 * _F_cuGetProcAddress_v2('cuArrayGetSparseProperties', &__cuArrayGetSparseProperties, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMipmappedArrayGetSparseProperties * _F_cuGetProcAddress_v2('cuMipmappedArrayGetSparseProperties', &__cuMipmappedArrayGetSparseProperties, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArrayGetMemoryRequirements * _F_cuGetProcAddress_v2('cuArrayGetMemoryRequirements', &__cuArrayGetMemoryRequirements, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMipmappedArrayGetSparseProperties"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetSparseProperties), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1091, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1093 * _F_cuGetProcAddress_v2('cuMipmappedArrayGetSparseProperties', &__cuMipmappedArrayGetSparseProperties, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArrayGetMemoryRequirements * _F_cuGetProcAddress_v2('cuArrayGetMemoryRequirements', &__cuArrayGetMemoryRequirements, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetMemoryRequirements * _F_cuGetProcAddress_v2('cuMipmappedArrayGetMemoryRequirements', &__cuMipmappedArrayGetMemoryRequirements, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArrayGetMemoryRequirements"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetMemoryRequirements), 0x2B34, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1093, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1095 * _F_cuGetProcAddress_v2('cuArrayGetMemoryRequirements', &__cuArrayGetMemoryRequirements, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMipmappedArrayGetMemoryRequirements * _F_cuGetProcAddress_v2('cuMipmappedArrayGetMemoryRequirements', &__cuMipmappedArrayGetMemoryRequirements, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArrayGetPlane * _F_cuGetProcAddress_v2('cuArrayGetPlane', &__cuArrayGetPlane, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMipmappedArrayGetMemoryRequirements"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetMemoryRequirements), 0x2B34, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1095, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1097 * _F_cuGetProcAddress_v2('cuMipmappedArrayGetMemoryRequirements', &__cuMipmappedArrayGetMemoryRequirements, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArrayGetPlane * _F_cuGetProcAddress_v2('cuArrayGetPlane', &__cuArrayGetPlane, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArrayDestroy * _F_cuGetProcAddress_v2('cuArrayDestroy', &__cuArrayDestroy, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArrayGetPlane"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetPlane), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1097, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1099 * _F_cuGetProcAddress_v2('cuArrayGetPlane', &__cuArrayGetPlane, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArrayDestroy * _F_cuGetProcAddress_v2('cuArrayDestroy', &__cuArrayDestroy, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArray3DCreate_v2 * _F_cuGetProcAddress_v2('cuArray3DCreate', &__cuArray3DCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArrayDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayDestroy), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1099, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1101 * _F_cuGetProcAddress_v2('cuArrayDestroy', &__cuArrayDestroy, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArray3DCreate_v2 * _F_cuGetProcAddress_v2('cuArray3DCreate', &__cuArray3DCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuArray3DGetDescriptor_v2 * _F_cuGetProcAddress_v2('cuArray3DGetDescriptor', &__cuArray3DGetDescriptor_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArray3DCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DCreate_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1101, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1103 * _F_cuGetProcAddress_v2('cuArray3DCreate', &__cuArray3DCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuArray3DGetDescriptor_v2 * _F_cuGetProcAddress_v2('cuArray3DGetDescriptor', &__cuArray3DGetDescriptor_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMipmappedArrayCreate * _F_cuGetProcAddress_v2('cuMipmappedArrayCreate', &__cuMipmappedArrayCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuArray3DGetDescriptor"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DGetDescriptor_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1103, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1105 * _F_cuGetProcAddress_v2('cuArray3DGetDescriptor', &__cuArray3DGetDescriptor_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMipmappedArrayCreate * _F_cuGetProcAddress_v2('cuMipmappedArrayCreate', &__cuMipmappedArrayCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetLevel * _F_cuGetProcAddress_v2('cuMipmappedArrayGetLevel', &__cuMipmappedArrayGetLevel, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMipmappedArrayCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayCreate), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1105, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1107 * _F_cuGetProcAddress_v2('cuMipmappedArrayCreate', &__cuMipmappedArrayCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMipmappedArrayGetLevel * _F_cuGetProcAddress_v2('cuMipmappedArrayGetLevel', &__cuMipmappedArrayGetLevel, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMipmappedArrayDestroy * _F_cuGetProcAddress_v2('cuMipmappedArrayDestroy', &__cuMipmappedArrayDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMipmappedArrayGetLevel"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetLevel), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1107, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1109 * _F_cuGetProcAddress_v2('cuMipmappedArrayGetLevel', &__cuMipmappedArrayGetLevel, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMipmappedArrayDestroy * _F_cuGetProcAddress_v2('cuMipmappedArrayDestroy', &__cuMipmappedArrayDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemGetHandleForAddressRange * _F_cuGetProcAddress_v2('cuMemGetHandleForAddressRange', &__cuMemGetHandleForAddressRange, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMipmappedArrayDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayDestroy), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1109, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1111 * _F_cuGetProcAddress_v2('cuMipmappedArrayDestroy', &__cuMipmappedArrayDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemGetHandleForAddressRange * _F_cuGetProcAddress_v2('cuMemGetHandleForAddressRange', &__cuMemGetHandleForAddressRange, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAddressReserve * _F_cuGetProcAddress_v2('cuMemAddressReserve', &__cuMemAddressReserve, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemGetHandleForAddressRange"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetHandleForAddressRange), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1111, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1113 * _F_cuGetProcAddress_v2('cuMemGetHandleForAddressRange', &__cuMemGetHandleForAddressRange, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAddressReserve * _F_cuGetProcAddress_v2('cuMemAddressReserve', &__cuMemAddressReserve, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAddressFree * _F_cuGetProcAddress_v2('cuMemAddressFree', &__cuMemAddressFree, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAddressReserve"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressReserve), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1113, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1115 * _F_cuGetProcAddress_v2('cuMemAddressReserve', &__cuMemAddressReserve, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAddressFree * _F_cuGetProcAddress_v2('cuMemAddressFree', &__cuMemAddressFree, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemCreate * _F_cuGetProcAddress_v2('cuMemCreate', &__cuMemCreate, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAddressFree"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressFree), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1115, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1117 * _F_cuGetProcAddress_v2('cuMemAddressFree', &__cuMemAddressFree, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemCreate * _F_cuGetProcAddress_v2('cuMemCreate', &__cuMemCreate, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemRelease * _F_cuGetProcAddress_v2('cuMemRelease', &__cuMemRelease, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemCreate), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1117, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1119 * _F_cuGetProcAddress_v2('cuMemCreate', &__cuMemCreate, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemRelease * _F_cuGetProcAddress_v2('cuMemRelease', &__cuMemRelease, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemMap * _F_cuGetProcAddress_v2('cuMemMap', &__cuMemMap, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemRelease"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRelease), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1119, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1121 * _F_cuGetProcAddress_v2('cuMemRelease', &__cuMemRelease, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemMap * _F_cuGetProcAddress_v2('cuMemMap', &__cuMemMap, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemUnmap * _F_cuGetProcAddress_v2('cuMemUnmap', &__cuMemUnmap, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemMap"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMap), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1121, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1123 * _F_cuGetProcAddress_v2('cuMemMap', &__cuMemMap, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemUnmap * _F_cuGetProcAddress_v2('cuMemUnmap', &__cuMemUnmap, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemSetAccess * _F_cuGetProcAddress_v2('cuMemSetAccess', &__cuMemSetAccess, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemUnmap"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemUnmap), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1123, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1125 * _F_cuGetProcAddress_v2('cuMemUnmap', &__cuMemUnmap, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemSetAccess * _F_cuGetProcAddress_v2('cuMemSetAccess', &__cuMemSetAccess, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemGetAccess * _F_cuGetProcAddress_v2('cuMemGetAccess', &__cuMemGetAccess, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemSetAccess"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemSetAccess), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1125, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1127 * _F_cuGetProcAddress_v2('cuMemSetAccess', &__cuMemSetAccess, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemGetAccess * _F_cuGetProcAddress_v2('cuMemGetAccess', &__cuMemGetAccess, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemExportToShareableHandle * _F_cuGetProcAddress_v2('cuMemExportToShareableHandle', &__cuMemExportToShareableHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemGetAccess"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAccess), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1127, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1129 * _F_cuGetProcAddress_v2('cuMemGetAccess', &__cuMemGetAccess, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemExportToShareableHandle * _F_cuGetProcAddress_v2('cuMemExportToShareableHandle', &__cuMemExportToShareableHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemImportFromShareableHandle * _F_cuGetProcAddress_v2('cuMemImportFromShareableHandle', &__cuMemImportFromShareableHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemExportToShareableHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemExportToShareableHandle), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1129, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1131 * _F_cuGetProcAddress_v2('cuMemExportToShareableHandle', &__cuMemExportToShareableHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemImportFromShareableHandle * _F_cuGetProcAddress_v2('cuMemImportFromShareableHandle', &__cuMemImportFromShareableHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemGetAllocationGranularity * _F_cuGetProcAddress_v2('cuMemGetAllocationGranularity', &__cuMemGetAllocationGranularity, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemImportFromShareableHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemImportFromShareableHandle), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1131, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1133 * _F_cuGetProcAddress_v2('cuMemImportFromShareableHandle', &__cuMemImportFromShareableHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemGetAllocationGranularity * _F_cuGetProcAddress_v2('cuMemGetAllocationGranularity', &__cuMemGetAllocationGranularity, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemGetAllocationPropertiesFromHandle * _F_cuGetProcAddress_v2('cuMemGetAllocationPropertiesFromHandle', &__cuMemGetAllocationPropertiesFromHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemGetAllocationGranularity"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationGranularity), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1133, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1135 * _F_cuGetProcAddress_v2('cuMemGetAllocationGranularity', &__cuMemGetAllocationGranularity, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemGetAllocationPropertiesFromHandle * _F_cuGetProcAddress_v2('cuMemGetAllocationPropertiesFromHandle', &__cuMemGetAllocationPropertiesFromHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemRetainAllocationHandle * _F_cuGetProcAddress_v2('cuMemRetainAllocationHandle', &__cuMemRetainAllocationHandle, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemGetAllocationPropertiesFromHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationPropertiesFromHandle), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1135, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1137 * _F_cuGetProcAddress_v2('cuMemGetAllocationPropertiesFromHandle', &__cuMemGetAllocationPropertiesFromHandle, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemRetainAllocationHandle * _F_cuGetProcAddress_v2('cuMemRetainAllocationHandle', &__cuMemRetainAllocationHandle, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolTrimTo * _F_cuGetProcAddress_v2('cuMemPoolTrimTo', &__cuMemPoolTrimTo, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemRetainAllocationHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRetainAllocationHandle), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1137, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1139 * _F_cuGetProcAddress_v2('cuMemRetainAllocationHandle', &__cuMemRetainAllocationHandle, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolTrimTo * _F_cuGetProcAddress_v2('cuMemPoolTrimTo', &__cuMemPoolTrimTo, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolSetAttribute * _F_cuGetProcAddress_v2('cuMemPoolSetAttribute', &__cuMemPoolSetAttribute, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolTrimTo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolTrimTo), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1139, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1141 * _F_cuGetProcAddress_v2('cuMemPoolTrimTo', &__cuMemPoolTrimTo, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolSetAttribute * _F_cuGetProcAddress_v2('cuMemPoolSetAttribute', &__cuMemPoolSetAttribute, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolGetAttribute * _F_cuGetProcAddress_v2('cuMemPoolGetAttribute', &__cuMemPoolGetAttribute, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAttribute), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1141, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1143 * _F_cuGetProcAddress_v2('cuMemPoolSetAttribute', &__cuMemPoolSetAttribute, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolGetAttribute * _F_cuGetProcAddress_v2('cuMemPoolGetAttribute', &__cuMemPoolGetAttribute, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolSetAccess * _F_cuGetProcAddress_v2('cuMemPoolSetAccess', &__cuMemPoolSetAccess, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAttribute), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1143, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1145 * _F_cuGetProcAddress_v2('cuMemPoolGetAttribute', &__cuMemPoolGetAttribute, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolSetAccess * _F_cuGetProcAddress_v2('cuMemPoolSetAccess', &__cuMemPoolSetAccess, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolGetAccess * _F_cuGetProcAddress_v2('cuMemPoolGetAccess', &__cuMemPoolGetAccess, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolSetAccess"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAccess), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1145, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1147 * _F_cuGetProcAddress_v2('cuMemPoolSetAccess', &__cuMemPoolSetAccess, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolGetAccess * _F_cuGetProcAddress_v2('cuMemPoolGetAccess', &__cuMemPoolGetAccess, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolCreate * _F_cuGetProcAddress_v2('cuMemPoolCreate', &__cuMemPoolCreate, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolGetAccess"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAccess), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1147, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1149 * _F_cuGetProcAddress_v2('cuMemPoolGetAccess', &__cuMemPoolGetAccess, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolCreate * _F_cuGetProcAddress_v2('cuMemPoolCreate', &__cuMemPoolCreate, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolDestroy * _F_cuGetProcAddress_v2('cuMemPoolDestroy', &__cuMemPoolDestroy, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolCreate), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1149, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1151 * _F_cuGetProcAddress_v2('cuMemPoolCreate', &__cuMemPoolCreate, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolDestroy * _F_cuGetProcAddress_v2('cuMemPoolDestroy', &__cuMemPoolDestroy, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolExportToShareableHandle * _F_cuGetProcAddress_v2('cuMemPoolExportToShareableHandle', &__cuMemPoolExportToShareableHandle, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolDestroy), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1151, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1153 * _F_cuGetProcAddress_v2('cuMemPoolDestroy', &__cuMemPoolDestroy, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolExportToShareableHandle * _F_cuGetProcAddress_v2('cuMemPoolExportToShareableHandle', &__cuMemPoolExportToShareableHandle, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolImportFromShareableHandle * _F_cuGetProcAddress_v2('cuMemPoolImportFromShareableHandle', &__cuMemPoolImportFromShareableHandle, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolExportToShareableHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportToShareableHandle), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1153, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1155 * _F_cuGetProcAddress_v2('cuMemPoolExportToShareableHandle', &__cuMemPoolExportToShareableHandle, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolImportFromShareableHandle * _F_cuGetProcAddress_v2('cuMemPoolImportFromShareableHandle', &__cuMemPoolImportFromShareableHandle, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolExportPointer * _F_cuGetProcAddress_v2('cuMemPoolExportPointer', &__cuMemPoolExportPointer, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolImportFromShareableHandle"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportFromShareableHandle), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1155, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1157 * _F_cuGetProcAddress_v2('cuMemPoolImportFromShareableHandle', &__cuMemPoolImportFromShareableHandle, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolExportPointer * _F_cuGetProcAddress_v2('cuMemPoolExportPointer', &__cuMemPoolExportPointer, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemPoolImportPointer * _F_cuGetProcAddress_v2('cuMemPoolImportPointer', &__cuMemPoolImportPointer, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolExportPointer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportPointer), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1157, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1159 * _F_cuGetProcAddress_v2('cuMemPoolExportPointer', &__cuMemPoolExportPointer, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemPoolImportPointer * _F_cuGetProcAddress_v2('cuMemPoolImportPointer', &__cuMemPoolImportPointer, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMulticastCreate * _F_cuGetProcAddress_v2('cuMulticastCreate', &__cuMulticastCreate, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemPoolImportPointer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportPointer), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1159, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1161 * _F_cuGetProcAddress_v2('cuMemPoolImportPointer', &__cuMemPoolImportPointer, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMulticastCreate * _F_cuGetProcAddress_v2('cuMulticastCreate', &__cuMulticastCreate, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMulticastAddDevice * _F_cuGetProcAddress_v2('cuMulticastAddDevice', &__cuMulticastAddDevice, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMulticastCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastCreate), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1161, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1163 * _F_cuGetProcAddress_v2('cuMulticastCreate', &__cuMulticastCreate, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMulticastAddDevice * _F_cuGetProcAddress_v2('cuMulticastAddDevice', &__cuMulticastAddDevice, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMulticastBindMem * _F_cuGetProcAddress_v2('cuMulticastBindMem', &__cuMulticastBindMem, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMulticastAddDevice"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastAddDevice), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1163, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1165 * _F_cuGetProcAddress_v2('cuMulticastAddDevice', &__cuMulticastAddDevice, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMulticastBindMem * _F_cuGetProcAddress_v2('cuMulticastBindMem', &__cuMulticastBindMem, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMulticastBindAddr * _F_cuGetProcAddress_v2('cuMulticastBindAddr', &__cuMulticastBindAddr, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMulticastBindMem"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindMem), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1165, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1167 * _F_cuGetProcAddress_v2('cuMulticastBindMem', &__cuMulticastBindMem, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMulticastBindAddr * _F_cuGetProcAddress_v2('cuMulticastBindAddr', &__cuMulticastBindAddr, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMulticastUnbind * _F_cuGetProcAddress_v2('cuMulticastUnbind', &__cuMulticastUnbind, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMulticastBindAddr"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindAddr), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1167, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1169 * _F_cuGetProcAddress_v2('cuMulticastBindAddr', &__cuMulticastBindAddr, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMulticastUnbind * _F_cuGetProcAddress_v2('cuMulticastUnbind', &__cuMulticastUnbind, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMulticastGetGranularity * _F_cuGetProcAddress_v2('cuMulticastGetGranularity', &__cuMulticastGetGranularity, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMulticastUnbind"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastUnbind), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1169, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1171 * _F_cuGetProcAddress_v2('cuMulticastUnbind', &__cuMulticastUnbind, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMulticastGetGranularity * _F_cuGetProcAddress_v2('cuMulticastGetGranularity', &__cuMulticastGetGranularity, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuPointerGetAttribute * _F_cuGetProcAddress_v2('cuPointerGetAttribute', &__cuPointerGetAttribute, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMulticastGetGranularity"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastGetGranularity), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1171, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1173 * _F_cuGetProcAddress_v2('cuMulticastGetGranularity', &__cuMulticastGetGranularity, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuPointerGetAttribute * _F_cuGetProcAddress_v2('cuPointerGetAttribute', &__cuPointerGetAttribute, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAdvise * _F_cuGetProcAddress_v2('cuMemAdvise', &__cuMemAdvise, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuPointerGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttribute), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1173, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1175 * _F_cuGetProcAddress_v2('cuPointerGetAttribute', &__cuPointerGetAttribute, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAdvise * _F_cuGetProcAddress_v2('cuMemAdvise', &__cuMemAdvise, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemAdvise_v2 * _F_cuGetProcAddress_v2('cuMemAdvise', &__cuMemAdvise_v2, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAdvise"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1175, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1177 * _F_cuGetProcAddress_v2('cuMemAdvise', &__cuMemAdvise, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemAdvise_v2 * _F_cuGetProcAddress_v2('cuMemAdvise', &__cuMemAdvise_v2, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemRangeGetAttribute * _F_cuGetProcAddress_v2('cuMemRangeGetAttribute', &__cuMemRangeGetAttribute, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemAdvise"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise_v2), 0x2EF4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1177, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1179 * _F_cuGetProcAddress_v2('cuMemAdvise', &__cuMemAdvise_v2, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemRangeGetAttribute * _F_cuGetProcAddress_v2('cuMemRangeGetAttribute', &__cuMemRangeGetAttribute, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuMemRangeGetAttributes * _F_cuGetProcAddress_v2('cuMemRangeGetAttributes', &__cuMemRangeGetAttributes, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemRangeGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttribute), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1179, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1181 * _F_cuGetProcAddress_v2('cuMemRangeGetAttribute', &__cuMemRangeGetAttribute, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuMemRangeGetAttributes * _F_cuGetProcAddress_v2('cuMemRangeGetAttributes', &__cuMemRangeGetAttributes, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuPointerSetAttribute * _F_cuGetProcAddress_v2('cuPointerSetAttribute', &__cuPointerSetAttribute, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuMemRangeGetAttributes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttributes), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1181, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1183 * _F_cuGetProcAddress_v2('cuMemRangeGetAttributes', &__cuMemRangeGetAttributes, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuPointerSetAttribute * _F_cuGetProcAddress_v2('cuPointerSetAttribute', &__cuPointerSetAttribute, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuPointerGetAttributes * _F_cuGetProcAddress_v2('cuPointerGetAttributes', &__cuPointerGetAttributes, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuPointerSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerSetAttribute), 0x1770, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1183, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1185 * _F_cuGetProcAddress_v2('cuPointerSetAttribute', &__cuPointerSetAttribute, 6000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuPointerGetAttributes * _F_cuGetProcAddress_v2('cuPointerGetAttributes', &__cuPointerGetAttributes, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamCreate * _F_cuGetProcAddress_v2('cuStreamCreate', &__cuStreamCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuPointerGetAttributes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttributes), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1185, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1187 * _F_cuGetProcAddress_v2('cuPointerGetAttributes', &__cuPointerGetAttributes, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamCreate * _F_cuGetProcAddress_v2('cuStreamCreate', &__cuStreamCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamCreateWithPriority * _F_cuGetProcAddress_v2('cuStreamCreateWithPriority', &__cuStreamCreateWithPriority, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreate), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1187, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1189 * _F_cuGetProcAddress_v2('cuStreamCreate', &__cuStreamCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamCreateWithPriority * _F_cuGetProcAddress_v2('cuStreamCreateWithPriority', &__cuStreamCreateWithPriority, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuThreadExchangeStreamCaptureMode * _F_cuGetProcAddress_v2('cuThreadExchangeStreamCaptureMode', &__cuThreadExchangeStreamCaptureMode, 10010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamCreateWithPriority"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreateWithPriority), 0x13BA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1189, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1191 * _F_cuGetProcAddress_v2('cuStreamCreateWithPriority', &__cuStreamCreateWithPriority, 5050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuThreadExchangeStreamCaptureMode * _F_cuGetProcAddress_v2('cuThreadExchangeStreamCaptureMode', &__cuThreadExchangeStreamCaptureMode, 10010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamDestroy_v2 * _F_cuGetProcAddress_v2('cuStreamDestroy', &__cuStreamDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuThreadExchangeStreamCaptureMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuThreadExchangeStreamCaptureMode), 0x271A, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1191, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1193 * _F_cuGetProcAddress_v2('cuThreadExchangeStreamCaptureMode', &__cuThreadExchangeStreamCaptureMode, 10010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamDestroy_v2 * _F_cuGetProcAddress_v2('cuStreamDestroy', &__cuStreamDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventCreate * _F_cuGetProcAddress_v2('cuEventCreate', &__cuEventCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamDestroy_v2), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1193, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1195 * _F_cuGetProcAddress_v2('cuStreamDestroy', &__cuStreamDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventCreate * _F_cuGetProcAddress_v2('cuEventCreate', &__cuEventCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventQuery * _F_cuGetProcAddress_v2('cuEventQuery', &__cuEventQuery, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreate), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1195, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1197 * _F_cuGetProcAddress_v2('cuEventCreate', &__cuEventCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventQuery * _F_cuGetProcAddress_v2('cuEventQuery', &__cuEventQuery, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventSynchronize * _F_cuGetProcAddress_v2('cuEventSynchronize', &__cuEventSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventQuery"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventQuery), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1197, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1199 * _F_cuGetProcAddress_v2('cuEventQuery', &__cuEventQuery, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventSynchronize * _F_cuGetProcAddress_v2('cuEventSynchronize', &__cuEventSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventDestroy_v2 * _F_cuGetProcAddress_v2('cuEventDestroy', &__cuEventDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventSynchronize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventSynchronize), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1199, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1201 * _F_cuGetProcAddress_v2('cuEventSynchronize', &__cuEventSynchronize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventDestroy_v2 * _F_cuGetProcAddress_v2('cuEventDestroy', &__cuEventDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventElapsedTime * _F_cuGetProcAddress_v2('cuEventElapsedTime', &__cuEventElapsedTime, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventDestroy_v2), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1201, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1203 * _F_cuGetProcAddress_v2('cuEventDestroy', &__cuEventDestroy_v2, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventElapsedTime * _F_cuGetProcAddress_v2('cuEventElapsedTime', &__cuEventElapsedTime, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventElapsedTime_v2 * _F_cuGetProcAddress_v2('cuEventElapsedTime', &__cuEventElapsedTime_v2, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventElapsedTime"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1203, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1205 * _F_cuGetProcAddress_v2('cuEventElapsedTime', &__cuEventElapsedTime, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventElapsedTime_v2 * _F_cuGetProcAddress_v2('cuEventElapsedTime', &__cuEventElapsedTime_v2, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuImportExternalMemory * _F_cuGetProcAddress_v2('cuImportExternalMemory', &__cuImportExternalMemory, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventElapsedTime"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime_v2), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1205, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1207 * _F_cuGetProcAddress_v2('cuEventElapsedTime', &__cuEventElapsedTime_v2, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuImportExternalMemory * _F_cuGetProcAddress_v2('cuImportExternalMemory', &__cuImportExternalMemory, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedBuffer * _F_cuGetProcAddress_v2('cuExternalMemoryGetMappedBuffer', &__cuExternalMemoryGetMappedBuffer, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuImportExternalMemory"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalMemory), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1207, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1209 * _F_cuGetProcAddress_v2('cuImportExternalMemory', &__cuImportExternalMemory, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuExternalMemoryGetMappedBuffer * _F_cuGetProcAddress_v2('cuExternalMemoryGetMappedBuffer', &__cuExternalMemoryGetMappedBuffer, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedMipmappedArray * _F_cuGetProcAddress_v2('cuExternalMemoryGetMappedMipmappedArray', &__cuExternalMemoryGetMappedMipmappedArray, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuExternalMemoryGetMappedBuffer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedBuffer), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1209, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1211 * _F_cuGetProcAddress_v2('cuExternalMemoryGetMappedBuffer', &__cuExternalMemoryGetMappedBuffer, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuExternalMemoryGetMappedMipmappedArray * _F_cuGetProcAddress_v2('cuExternalMemoryGetMappedMipmappedArray', &__cuExternalMemoryGetMappedMipmappedArray, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDestroyExternalMemory * _F_cuGetProcAddress_v2('cuDestroyExternalMemory', &__cuDestroyExternalMemory, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuExternalMemoryGetMappedMipmappedArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedMipmappedArray), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1211, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1213 * _F_cuGetProcAddress_v2('cuExternalMemoryGetMappedMipmappedArray', &__cuExternalMemoryGetMappedMipmappedArray, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDestroyExternalMemory * _F_cuGetProcAddress_v2('cuDestroyExternalMemory', &__cuDestroyExternalMemory, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuImportExternalSemaphore * _F_cuGetProcAddress_v2('cuImportExternalSemaphore', &__cuImportExternalSemaphore, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDestroyExternalMemory"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalMemory), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1213, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1215 * _F_cuGetProcAddress_v2('cuDestroyExternalMemory', &__cuDestroyExternalMemory, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuImportExternalSemaphore * _F_cuGetProcAddress_v2('cuImportExternalSemaphore', &__cuImportExternalSemaphore, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDestroyExternalSemaphore * _F_cuGetProcAddress_v2('cuDestroyExternalSemaphore', &__cuDestroyExternalSemaphore, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuImportExternalSemaphore"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalSemaphore), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1215, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1217 * _F_cuGetProcAddress_v2('cuImportExternalSemaphore', &__cuImportExternalSemaphore, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDestroyExternalSemaphore * _F_cuGetProcAddress_v2('cuDestroyExternalSemaphore', &__cuDestroyExternalSemaphore, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncGetAttribute * _F_cuGetProcAddress_v2('cuFuncGetAttribute', &__cuFuncGetAttribute, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDestroyExternalSemaphore"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalSemaphore), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1217, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1219 * _F_cuGetProcAddress_v2('cuDestroyExternalSemaphore', &__cuDestroyExternalSemaphore, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncGetAttribute * _F_cuGetProcAddress_v2('cuFuncGetAttribute', &__cuFuncGetAttribute, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncSetAttribute * _F_cuGetProcAddress_v2('cuFuncSetAttribute', &__cuFuncSetAttribute, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetAttribute), 0x7E4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1219, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1221 * _F_cuGetProcAddress_v2('cuFuncGetAttribute', &__cuFuncGetAttribute, 2020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncSetAttribute * _F_cuGetProcAddress_v2('cuFuncSetAttribute', &__cuFuncSetAttribute, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncSetCacheConfig * _F_cuGetProcAddress_v2('cuFuncSetCacheConfig', &__cuFuncSetCacheConfig, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetAttribute), 0x2328, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1221, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1223 * _F_cuGetProcAddress_v2('cuFuncSetAttribute', &__cuFuncSetAttribute, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncSetCacheConfig * _F_cuGetProcAddress_v2('cuFuncSetCacheConfig', &__cuFuncSetCacheConfig, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncGetModule * _F_cuGetProcAddress_v2('cuFuncGetModule', &__cuFuncGetModule, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncSetCacheConfig"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetCacheConfig), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1223, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1225 * _F_cuGetProcAddress_v2('cuFuncSetCacheConfig', &__cuFuncSetCacheConfig, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncGetModule * _F_cuGetProcAddress_v2('cuFuncGetModule', &__cuFuncGetModule, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncGetName * _F_cuGetProcAddress_v2('cuFuncGetName', &__cuFuncGetName, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncGetModule"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetModule), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1225, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1227 * _F_cuGetProcAddress_v2('cuFuncGetModule', &__cuFuncGetModule, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncGetName * _F_cuGetProcAddress_v2('cuFuncGetName', &__cuFuncGetName, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncGetParamInfo * _F_cuGetProcAddress_v2('cuFuncGetParamInfo', &__cuFuncGetParamInfo, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncGetName"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetName), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1227, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1229 * _F_cuGetProcAddress_v2('cuFuncGetName', &__cuFuncGetName, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncGetParamInfo * _F_cuGetProcAddress_v2('cuFuncGetParamInfo', &__cuFuncGetParamInfo, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncIsLoaded * _F_cuGetProcAddress_v2('cuFuncIsLoaded', &__cuFuncIsLoaded, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncGetParamInfo"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetParamInfo), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1229, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1231 * _F_cuGetProcAddress_v2('cuFuncGetParamInfo', &__cuFuncGetParamInfo, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncIsLoaded * _F_cuGetProcAddress_v2('cuFuncIsLoaded', &__cuFuncIsLoaded, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncLoad * _F_cuGetProcAddress_v2('cuFuncLoad', &__cuFuncLoad, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncIsLoaded"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncIsLoaded), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1231, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1233 * _F_cuGetProcAddress_v2('cuFuncIsLoaded', &__cuFuncIsLoaded, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncLoad * _F_cuGetProcAddress_v2('cuFuncLoad', &__cuFuncLoad, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernelMultiDevice * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernelMultiDevice', &__cuLaunchCooperativeKernelMultiDevice, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncLoad"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncLoad), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1233, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1235 * _F_cuGetProcAddress_v2('cuFuncLoad', &__cuFuncLoad, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunchCooperativeKernelMultiDevice * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernelMultiDevice', &__cuLaunchCooperativeKernelMultiDevice, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncSetBlockShape * _F_cuGetProcAddress_v2('cuFuncSetBlockShape', &__cuFuncSetBlockShape, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchCooperativeKernelMultiDevice"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernelMultiDevice), 0x2328, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1235, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1237 * _F_cuGetProcAddress_v2('cuLaunchCooperativeKernelMultiDevice', &__cuLaunchCooperativeKernelMultiDevice, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncSetBlockShape * _F_cuGetProcAddress_v2('cuFuncSetBlockShape', &__cuFuncSetBlockShape, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncSetSharedSize * _F_cuGetProcAddress_v2('cuFuncSetSharedSize', &__cuFuncSetSharedSize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncSetBlockShape"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetBlockShape), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1237, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1239 * _F_cuGetProcAddress_v2('cuFuncSetBlockShape', &__cuFuncSetBlockShape, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncSetSharedSize * _F_cuGetProcAddress_v2('cuFuncSetSharedSize', &__cuFuncSetSharedSize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuParamSetSize * _F_cuGetProcAddress_v2('cuParamSetSize', &__cuParamSetSize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncSetSharedSize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedSize), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1239, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1241 * _F_cuGetProcAddress_v2('cuFuncSetSharedSize', &__cuFuncSetSharedSize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuParamSetSize * _F_cuGetProcAddress_v2('cuParamSetSize', &__cuParamSetSize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuParamSeti * _F_cuGetProcAddress_v2('cuParamSeti', &__cuParamSeti, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuParamSetSize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetSize), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1241, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1243 * _F_cuGetProcAddress_v2('cuParamSetSize', &__cuParamSetSize, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuParamSeti * _F_cuGetProcAddress_v2('cuParamSeti', &__cuParamSeti, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuParamSetf * _F_cuGetProcAddress_v2('cuParamSetf', &__cuParamSetf, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuParamSeti"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSeti), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1243, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1245 * _F_cuGetProcAddress_v2('cuParamSeti', &__cuParamSeti, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuParamSetf * _F_cuGetProcAddress_v2('cuParamSetf', &__cuParamSetf, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuParamSetv * _F_cuGetProcAddress_v2('cuParamSetv', &__cuParamSetv, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuParamSetf"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetf), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1245, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1247 * _F_cuGetProcAddress_v2('cuParamSetf', &__cuParamSetf, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuParamSetv * _F_cuGetProcAddress_v2('cuParamSetv', &__cuParamSetv, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunch * _F_cuGetProcAddress_v2('cuLaunch', &__cuLaunch, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuParamSetv"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetv), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1247, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1249 * _F_cuGetProcAddress_v2('cuParamSetv', &__cuParamSetv, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunch * _F_cuGetProcAddress_v2('cuLaunch', &__cuLaunch, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunchGrid * _F_cuGetProcAddress_v2('cuLaunchGrid', &__cuLaunchGrid, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunch"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunch), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1249, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1251 * _F_cuGetProcAddress_v2('cuLaunch', &__cuLaunch, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunchGrid * _F_cuGetProcAddress_v2('cuLaunchGrid', &__cuLaunchGrid, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLaunchGridAsync * _F_cuGetProcAddress_v2('cuLaunchGridAsync', &__cuLaunchGridAsync, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchGrid"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGrid), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1251, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1253 * _F_cuGetProcAddress_v2('cuLaunchGrid', &__cuLaunchGrid, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLaunchGridAsync * _F_cuGetProcAddress_v2('cuLaunchGridAsync', &__cuLaunchGridAsync, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuParamSetTexRef * _F_cuGetProcAddress_v2('cuParamSetTexRef', &__cuParamSetTexRef, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLaunchGridAsync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGridAsync), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1253, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1255 * _F_cuGetProcAddress_v2('cuLaunchGridAsync', &__cuLaunchGridAsync, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuParamSetTexRef * _F_cuGetProcAddress_v2('cuParamSetTexRef', &__cuParamSetTexRef, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuFuncSetSharedMemConfig * _F_cuGetProcAddress_v2('cuFuncSetSharedMemConfig', &__cuFuncSetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuParamSetTexRef"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetTexRef), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1255, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1257 * _F_cuGetProcAddress_v2('cuParamSetTexRef', &__cuParamSetTexRef, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuFuncSetSharedMemConfig * _F_cuGetProcAddress_v2('cuFuncSetSharedMemConfig', &__cuFuncSetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphCreate * _F_cuGetProcAddress_v2('cuGraphCreate', &__cuGraphCreate, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuFuncSetSharedMemConfig"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedMemConfig), 0xFB4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1257, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1259 * _F_cuGetProcAddress_v2('cuFuncSetSharedMemConfig', &__cuFuncSetSharedMemConfig, 4020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphCreate * _F_cuGetProcAddress_v2('cuGraphCreate', &__cuGraphCreate, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddKernelNode_v2 * _F_cuGetProcAddress_v2('cuGraphAddKernelNode', &__cuGraphAddKernelNode_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphCreate), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1259, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1261 * _F_cuGetProcAddress_v2('cuGraphCreate', &__cuGraphCreate, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddKernelNode_v2 * _F_cuGetProcAddress_v2('cuGraphAddKernelNode', &__cuGraphAddKernelNode_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetParams_v2 * _F_cuGetProcAddress_v2('cuGraphKernelNodeGetParams', &__cuGraphKernelNodeGetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddKernelNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddKernelNode_v2), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1261, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1263 * _F_cuGetProcAddress_v2('cuGraphAddKernelNode', &__cuGraphAddKernelNode_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphKernelNodeGetParams_v2 * _F_cuGetProcAddress_v2('cuGraphKernelNodeGetParams', &__cuGraphKernelNodeGetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetParams_v2 * _F_cuGetProcAddress_v2('cuGraphKernelNodeSetParams', &__cuGraphKernelNodeSetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphKernelNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetParams_v2), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1263, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1265 * _F_cuGetProcAddress_v2('cuGraphKernelNodeGetParams', &__cuGraphKernelNodeGetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphKernelNodeSetParams_v2 * _F_cuGetProcAddress_v2('cuGraphKernelNodeSetParams', &__cuGraphKernelNodeSetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddMemcpyNode * _F_cuGetProcAddress_v2('cuGraphAddMemcpyNode', &__cuGraphAddMemcpyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphKernelNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetParams_v2), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1265, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1267 * _F_cuGetProcAddress_v2('cuGraphKernelNodeSetParams', &__cuGraphKernelNodeSetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddMemcpyNode * _F_cuGetProcAddress_v2('cuGraphAddMemcpyNode', &__cuGraphAddMemcpyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemcpyNodeGetParams', &__cuGraphMemcpyNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddMemcpyNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemcpyNode), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1267, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1269 * _F_cuGetProcAddress_v2('cuGraphAddMemcpyNode', &__cuGraphAddMemcpyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphMemcpyNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemcpyNodeGetParams', &__cuGraphMemcpyNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeSetParams * _F_cuGetProcAddress_v2('cuGraphMemcpyNodeSetParams', &__cuGraphMemcpyNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphMemcpyNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeGetParams), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1269, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1271 * _F_cuGetProcAddress_v2('cuGraphMemcpyNodeGetParams', &__cuGraphMemcpyNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphMemcpyNodeSetParams * _F_cuGetProcAddress_v2('cuGraphMemcpyNodeSetParams', &__cuGraphMemcpyNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddMemsetNode * _F_cuGetProcAddress_v2('cuGraphAddMemsetNode', &__cuGraphAddMemsetNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphMemcpyNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeSetParams), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1271, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1273 * _F_cuGetProcAddress_v2('cuGraphMemcpyNodeSetParams', &__cuGraphMemcpyNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddMemsetNode * _F_cuGetProcAddress_v2('cuGraphAddMemsetNode', &__cuGraphAddMemsetNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemsetNodeGetParams', &__cuGraphMemsetNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddMemsetNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemsetNode), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1273, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1275 * _F_cuGetProcAddress_v2('cuGraphAddMemsetNode', &__cuGraphAddMemsetNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphMemsetNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemsetNodeGetParams', &__cuGraphMemsetNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeSetParams * _F_cuGetProcAddress_v2('cuGraphMemsetNodeSetParams', &__cuGraphMemsetNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphMemsetNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeGetParams), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1275, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1277 * _F_cuGetProcAddress_v2('cuGraphMemsetNodeGetParams', &__cuGraphMemsetNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphMemsetNodeSetParams * _F_cuGetProcAddress_v2('cuGraphMemsetNodeSetParams', &__cuGraphMemsetNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddHostNode * _F_cuGetProcAddress_v2('cuGraphAddHostNode', &__cuGraphAddHostNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphMemsetNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeSetParams), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1277, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1279 * _F_cuGetProcAddress_v2('cuGraphMemsetNodeSetParams', &__cuGraphMemsetNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddHostNode * _F_cuGetProcAddress_v2('cuGraphAddHostNode', &__cuGraphAddHostNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphHostNodeGetParams * _F_cuGetProcAddress_v2('cuGraphHostNodeGetParams', &__cuGraphHostNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddHostNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddHostNode), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1279, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1281 * _F_cuGetProcAddress_v2('cuGraphAddHostNode', &__cuGraphAddHostNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphHostNodeGetParams * _F_cuGetProcAddress_v2('cuGraphHostNodeGetParams', &__cuGraphHostNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphHostNodeSetParams * _F_cuGetProcAddress_v2('cuGraphHostNodeSetParams', &__cuGraphHostNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphHostNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeGetParams), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1281, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1283 * _F_cuGetProcAddress_v2('cuGraphHostNodeGetParams', &__cuGraphHostNodeGetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphHostNodeSetParams * _F_cuGetProcAddress_v2('cuGraphHostNodeSetParams', &__cuGraphHostNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddChildGraphNode * _F_cuGetProcAddress_v2('cuGraphAddChildGraphNode', &__cuGraphAddChildGraphNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphHostNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeSetParams), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1283, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1285 * _F_cuGetProcAddress_v2('cuGraphHostNodeSetParams', &__cuGraphHostNodeSetParams, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddChildGraphNode * _F_cuGetProcAddress_v2('cuGraphAddChildGraphNode', &__cuGraphAddChildGraphNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphChildGraphNodeGetGraph * _F_cuGetProcAddress_v2('cuGraphChildGraphNodeGetGraph', &__cuGraphChildGraphNodeGetGraph, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddChildGraphNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddChildGraphNode), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1285, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1287 * _F_cuGetProcAddress_v2('cuGraphAddChildGraphNode', &__cuGraphAddChildGraphNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphChildGraphNodeGetGraph * _F_cuGetProcAddress_v2('cuGraphChildGraphNodeGetGraph', &__cuGraphChildGraphNodeGetGraph, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddEmptyNode * _F_cuGetProcAddress_v2('cuGraphAddEmptyNode', &__cuGraphAddEmptyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphChildGraphNodeGetGraph"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphChildGraphNodeGetGraph), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1287, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1289 * _F_cuGetProcAddress_v2('cuGraphChildGraphNodeGetGraph', &__cuGraphChildGraphNodeGetGraph, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddEmptyNode * _F_cuGetProcAddress_v2('cuGraphAddEmptyNode', &__cuGraphAddEmptyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddEventRecordNode * _F_cuGetProcAddress_v2('cuGraphAddEventRecordNode', &__cuGraphAddEventRecordNode, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddEmptyNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEmptyNode), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1289, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1291 * _F_cuGetProcAddress_v2('cuGraphAddEmptyNode', &__cuGraphAddEmptyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddEventRecordNode * _F_cuGetProcAddress_v2('cuGraphAddEventRecordNode', &__cuGraphAddEventRecordNode, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeGetEvent * _F_cuGetProcAddress_v2('cuGraphEventRecordNodeGetEvent', &__cuGraphEventRecordNodeGetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddEventRecordNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventRecordNode), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1291, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1293 * _F_cuGetProcAddress_v2('cuGraphAddEventRecordNode', &__cuGraphAddEventRecordNode, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphEventRecordNodeGetEvent * _F_cuGetProcAddress_v2('cuGraphEventRecordNodeGetEvent', &__cuGraphEventRecordNodeGetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphEventRecordNodeSetEvent', &__cuGraphEventRecordNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphEventRecordNodeGetEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeGetEvent), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1293, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1295 * _F_cuGetProcAddress_v2('cuGraphEventRecordNodeGetEvent', &__cuGraphEventRecordNodeGetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphEventRecordNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphEventRecordNodeSetEvent', &__cuGraphEventRecordNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddEventWaitNode * _F_cuGetProcAddress_v2('cuGraphAddEventWaitNode', &__cuGraphAddEventWaitNode, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphEventRecordNodeSetEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeSetEvent), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1295, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1297 * _F_cuGetProcAddress_v2('cuGraphEventRecordNodeSetEvent', &__cuGraphEventRecordNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddEventWaitNode * _F_cuGetProcAddress_v2('cuGraphAddEventWaitNode', &__cuGraphAddEventWaitNode, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeGetEvent * _F_cuGetProcAddress_v2('cuGraphEventWaitNodeGetEvent', &__cuGraphEventWaitNodeGetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddEventWaitNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventWaitNode), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1297, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1299 * _F_cuGetProcAddress_v2('cuGraphAddEventWaitNode', &__cuGraphAddEventWaitNode, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphEventWaitNodeGetEvent * _F_cuGetProcAddress_v2('cuGraphEventWaitNodeGetEvent', &__cuGraphEventWaitNodeGetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphEventWaitNodeSetEvent', &__cuGraphEventWaitNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphEventWaitNodeGetEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeGetEvent), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1299, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1301 * _F_cuGetProcAddress_v2('cuGraphEventWaitNodeGetEvent', &__cuGraphEventWaitNodeGetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphEventWaitNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphEventWaitNodeSetEvent', &__cuGraphEventWaitNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresSignalNode * _F_cuGetProcAddress_v2('cuGraphAddExternalSemaphoresSignalNode', &__cuGraphAddExternalSemaphoresSignalNode, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphEventWaitNodeSetEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeSetEvent), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1301, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1303 * _F_cuGetProcAddress_v2('cuGraphEventWaitNodeSetEvent', &__cuGraphEventWaitNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddExternalSemaphoresSignalNode * _F_cuGetProcAddress_v2('cuGraphAddExternalSemaphoresSignalNode', &__cuGraphAddExternalSemaphoresSignalNode, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeGetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresSignalNodeGetParams', &__cuGraphExternalSemaphoresSignalNodeGetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddExternalSemaphoresSignalNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresSignalNode), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1303, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1305 * _F_cuGetProcAddress_v2('cuGraphAddExternalSemaphoresSignalNode', &__cuGraphAddExternalSemaphoresSignalNode, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExternalSemaphoresSignalNodeGetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresSignalNodeGetParams', &__cuGraphExternalSemaphoresSignalNodeGetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresSignalNodeSetParams', &__cuGraphExternalSemaphoresSignalNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExternalSemaphoresSignalNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeGetParams), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1305, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1307 * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresSignalNodeGetParams', &__cuGraphExternalSemaphoresSignalNodeGetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExternalSemaphoresSignalNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresSignalNodeSetParams', &__cuGraphExternalSemaphoresSignalNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresWaitNode * _F_cuGetProcAddress_v2('cuGraphAddExternalSemaphoresWaitNode', &__cuGraphAddExternalSemaphoresWaitNode, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExternalSemaphoresSignalNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeSetParams), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1307, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1309 * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresSignalNodeSetParams', &__cuGraphExternalSemaphoresSignalNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddExternalSemaphoresWaitNode * _F_cuGetProcAddress_v2('cuGraphAddExternalSemaphoresWaitNode', &__cuGraphAddExternalSemaphoresWaitNode, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeGetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresWaitNodeGetParams', &__cuGraphExternalSemaphoresWaitNodeGetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddExternalSemaphoresWaitNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresWaitNode), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1309, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1311 * _F_cuGetProcAddress_v2('cuGraphAddExternalSemaphoresWaitNode', &__cuGraphAddExternalSemaphoresWaitNode, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExternalSemaphoresWaitNodeGetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresWaitNodeGetParams', &__cuGraphExternalSemaphoresWaitNodeGetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresWaitNodeSetParams', &__cuGraphExternalSemaphoresWaitNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExternalSemaphoresWaitNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeGetParams), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1311, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1313 * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresWaitNodeGetParams', &__cuGraphExternalSemaphoresWaitNodeGetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExternalSemaphoresWaitNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresWaitNodeSetParams', &__cuGraphExternalSemaphoresWaitNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddBatchMemOpNode * _F_cuGetProcAddress_v2('cuGraphAddBatchMemOpNode', &__cuGraphAddBatchMemOpNode, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExternalSemaphoresWaitNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeSetParams), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1313, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1315 * _F_cuGetProcAddress_v2('cuGraphExternalSemaphoresWaitNodeSetParams', &__cuGraphExternalSemaphoresWaitNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddBatchMemOpNode * _F_cuGetProcAddress_v2('cuGraphAddBatchMemOpNode', &__cuGraphAddBatchMemOpNode, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeGetParams * _F_cuGetProcAddress_v2('cuGraphBatchMemOpNodeGetParams', &__cuGraphBatchMemOpNodeGetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddBatchMemOpNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddBatchMemOpNode), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1315, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1317 * _F_cuGetProcAddress_v2('cuGraphAddBatchMemOpNode', &__cuGraphAddBatchMemOpNode, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphBatchMemOpNodeGetParams * _F_cuGetProcAddress_v2('cuGraphBatchMemOpNodeGetParams', &__cuGraphBatchMemOpNodeGetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeSetParams * _F_cuGetProcAddress_v2('cuGraphBatchMemOpNodeSetParams', &__cuGraphBatchMemOpNodeSetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphBatchMemOpNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeGetParams), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1317, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1319 * _F_cuGetProcAddress_v2('cuGraphBatchMemOpNodeGetParams', &__cuGraphBatchMemOpNodeGetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphBatchMemOpNodeSetParams * _F_cuGetProcAddress_v2('cuGraphBatchMemOpNodeSetParams', &__cuGraphBatchMemOpNodeSetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecBatchMemOpNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecBatchMemOpNodeSetParams', &__cuGraphExecBatchMemOpNodeSetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphBatchMemOpNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeSetParams), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1319, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1321 * _F_cuGetProcAddress_v2('cuGraphBatchMemOpNodeSetParams', &__cuGraphBatchMemOpNodeSetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecBatchMemOpNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecBatchMemOpNodeSetParams', &__cuGraphExecBatchMemOpNodeSetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddMemAllocNode * _F_cuGetProcAddress_v2('cuGraphAddMemAllocNode', &__cuGraphAddMemAllocNode, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecBatchMemOpNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecBatchMemOpNodeSetParams), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1321, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1323 * _F_cuGetProcAddress_v2('cuGraphExecBatchMemOpNodeSetParams', &__cuGraphExecBatchMemOpNodeSetParams, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddMemAllocNode * _F_cuGetProcAddress_v2('cuGraphAddMemAllocNode', &__cuGraphAddMemAllocNode, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphMemAllocNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemAllocNodeGetParams', &__cuGraphMemAllocNodeGetParams, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddMemAllocNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemAllocNode), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1323, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1325 * _F_cuGetProcAddress_v2('cuGraphAddMemAllocNode', &__cuGraphAddMemAllocNode, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphMemAllocNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemAllocNodeGetParams', &__cuGraphMemAllocNodeGetParams, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddMemFreeNode * _F_cuGetProcAddress_v2('cuGraphAddMemFreeNode', &__cuGraphAddMemFreeNode, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphMemAllocNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemAllocNodeGetParams), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1325, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1327 * _F_cuGetProcAddress_v2('cuGraphMemAllocNodeGetParams', &__cuGraphMemAllocNodeGetParams, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddMemFreeNode * _F_cuGetProcAddress_v2('cuGraphAddMemFreeNode', &__cuGraphAddMemFreeNode, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphMemFreeNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemFreeNodeGetParams', &__cuGraphMemFreeNodeGetParams, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddMemFreeNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemFreeNode), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1327, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1329 * _F_cuGetProcAddress_v2('cuGraphAddMemFreeNode', &__cuGraphAddMemFreeNode, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphMemFreeNodeGetParams * _F_cuGetProcAddress_v2('cuGraphMemFreeNodeGetParams', &__cuGraphMemFreeNodeGetParams, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGraphMemTrim * _F_cuGetProcAddress_v2('cuDeviceGraphMemTrim', &__cuDeviceGraphMemTrim, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphMemFreeNodeGetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemFreeNodeGetParams), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1329, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1331 * _F_cuGetProcAddress_v2('cuGraphMemFreeNodeGetParams', &__cuGraphMemFreeNodeGetParams, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGraphMemTrim * _F_cuGetProcAddress_v2('cuDeviceGraphMemTrim', &__cuDeviceGraphMemTrim, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetGraphMemAttribute * _F_cuGetProcAddress_v2('cuDeviceGetGraphMemAttribute', &__cuDeviceGetGraphMemAttribute, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGraphMemTrim"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGraphMemTrim), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1331, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1333 * _F_cuGetProcAddress_v2('cuDeviceGraphMemTrim', &__cuDeviceGraphMemTrim, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetGraphMemAttribute * _F_cuGetProcAddress_v2('cuDeviceGetGraphMemAttribute', &__cuDeviceGetGraphMemAttribute, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceSetGraphMemAttribute * _F_cuGetProcAddress_v2('cuDeviceSetGraphMemAttribute', &__cuDeviceSetGraphMemAttribute, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetGraphMemAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetGraphMemAttribute), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1333, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1335 * _F_cuGetProcAddress_v2('cuDeviceGetGraphMemAttribute', &__cuDeviceGetGraphMemAttribute, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceSetGraphMemAttribute * _F_cuGetProcAddress_v2('cuDeviceSetGraphMemAttribute', &__cuDeviceSetGraphMemAttribute, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphClone * _F_cuGetProcAddress_v2('cuGraphClone', &__cuGraphClone, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceSetGraphMemAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetGraphMemAttribute), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1335, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1337 * _F_cuGetProcAddress_v2('cuDeviceSetGraphMemAttribute', &__cuDeviceSetGraphMemAttribute, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphClone * _F_cuGetProcAddress_v2('cuGraphClone', &__cuGraphClone, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeFindInClone * _F_cuGetProcAddress_v2('cuGraphNodeFindInClone', &__cuGraphNodeFindInClone, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphClone"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphClone), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1337, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1339 * _F_cuGetProcAddress_v2('cuGraphClone', &__cuGraphClone, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeFindInClone * _F_cuGetProcAddress_v2('cuGraphNodeFindInClone', &__cuGraphNodeFindInClone, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeGetType * _F_cuGetProcAddress_v2('cuGraphNodeGetType', &__cuGraphNodeGetType, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeFindInClone"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeFindInClone), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1339, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1341 * _F_cuGetProcAddress_v2('cuGraphNodeFindInClone', &__cuGraphNodeFindInClone, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeGetType * _F_cuGetProcAddress_v2('cuGraphNodeGetType', &__cuGraphNodeGetType, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphGetNodes * _F_cuGetProcAddress_v2('cuGraphGetNodes', &__cuGraphGetNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeGetType"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetType), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1341, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1343 * _F_cuGetProcAddress_v2('cuGraphNodeGetType', &__cuGraphNodeGetType, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphGetNodes * _F_cuGetProcAddress_v2('cuGraphGetNodes', &__cuGraphGetNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphGetRootNodes * _F_cuGetProcAddress_v2('cuGraphGetRootNodes', &__cuGraphGetRootNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphGetNodes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetNodes), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1343, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1345 * _F_cuGetProcAddress_v2('cuGraphGetNodes', &__cuGraphGetNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphGetRootNodes * _F_cuGetProcAddress_v2('cuGraphGetRootNodes', &__cuGraphGetRootNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphGetEdges * _F_cuGetProcAddress_v2('cuGraphGetEdges', &__cuGraphGetEdges, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphGetRootNodes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetRootNodes), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1345, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1347 * _F_cuGetProcAddress_v2('cuGraphGetRootNodes', &__cuGraphGetRootNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphGetEdges * _F_cuGetProcAddress_v2('cuGraphGetEdges', &__cuGraphGetEdges, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphGetEdges_v2 * _F_cuGetProcAddress_v2('cuGraphGetEdges', &__cuGraphGetEdges_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphGetEdges"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1347, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1349 * _F_cuGetProcAddress_v2('cuGraphGetEdges', &__cuGraphGetEdges, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphGetEdges_v2 * _F_cuGetProcAddress_v2('cuGraphGetEdges', &__cuGraphGetEdges_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies * _F_cuGetProcAddress_v2('cuGraphNodeGetDependencies', &__cuGraphNodeGetDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphGetEdges"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges_v2), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1349, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1351 * _F_cuGetProcAddress_v2('cuGraphGetEdges', &__cuGraphGetEdges_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeGetDependencies * _F_cuGetProcAddress_v2('cuGraphNodeGetDependencies', &__cuGraphNodeGetDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies_v2 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependencies', &__cuGraphNodeGetDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeGetDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1351, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1353 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependencies', &__cuGraphNodeGetDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeGetDependencies_v2 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependencies', &__cuGraphNodeGetDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes * _F_cuGetProcAddress_v2('cuGraphNodeGetDependentNodes', &__cuGraphNodeGetDependentNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeGetDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies_v2), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1353, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1355 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependencies', &__cuGraphNodeGetDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeGetDependentNodes * _F_cuGetProcAddress_v2('cuGraphNodeGetDependentNodes', &__cuGraphNodeGetDependentNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes_v2 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependentNodes', &__cuGraphNodeGetDependentNodes_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeGetDependentNodes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1355, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1357 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependentNodes', &__cuGraphNodeGetDependentNodes, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeGetDependentNodes_v2 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependentNodes', &__cuGraphNodeGetDependentNodes_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddDependencies * _F_cuGetProcAddress_v2('cuGraphAddDependencies', &__cuGraphAddDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeGetDependentNodes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes_v2), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1357, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1359 * _F_cuGetProcAddress_v2('cuGraphNodeGetDependentNodes', &__cuGraphNodeGetDependentNodes_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddDependencies * _F_cuGetProcAddress_v2('cuGraphAddDependencies', &__cuGraphAddDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddDependencies_v2 * _F_cuGetProcAddress_v2('cuGraphAddDependencies', &__cuGraphAddDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1359, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1361 * _F_cuGetProcAddress_v2('cuGraphAddDependencies', &__cuGraphAddDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddDependencies_v2 * _F_cuGetProcAddress_v2('cuGraphAddDependencies', &__cuGraphAddDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies * _F_cuGetProcAddress_v2('cuGraphRemoveDependencies', &__cuGraphRemoveDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies_v2), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1361, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1363 * _F_cuGetProcAddress_v2('cuGraphAddDependencies', &__cuGraphAddDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphRemoveDependencies * _F_cuGetProcAddress_v2('cuGraphRemoveDependencies', &__cuGraphRemoveDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies_v2 * _F_cuGetProcAddress_v2('cuGraphRemoveDependencies', &__cuGraphRemoveDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphRemoveDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1363, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1365 * _F_cuGetProcAddress_v2('cuGraphRemoveDependencies', &__cuGraphRemoveDependencies, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphRemoveDependencies_v2 * _F_cuGetProcAddress_v2('cuGraphRemoveDependencies', &__cuGraphRemoveDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphDestroyNode * _F_cuGetProcAddress_v2('cuGraphDestroyNode', &__cuGraphDestroyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphRemoveDependencies"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies_v2), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1365, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1367 * _F_cuGetProcAddress_v2('cuGraphRemoveDependencies', &__cuGraphRemoveDependencies_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphDestroyNode * _F_cuGetProcAddress_v2('cuGraphDestroyNode', &__cuGraphDestroyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithFlags * _F_cuGetProcAddress_v2('cuGraphInstantiateWithFlags', &__cuGraphInstantiateWithFlags, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphDestroyNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroyNode), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1367, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1369 * _F_cuGetProcAddress_v2('cuGraphDestroyNode', &__cuGraphDestroyNode, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphInstantiateWithFlags * _F_cuGetProcAddress_v2('cuGraphInstantiateWithFlags', &__cuGraphInstantiateWithFlags, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecGetFlags * _F_cuGetProcAddress_v2('cuGraphExecGetFlags', &__cuGraphExecGetFlags, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphInstantiateWithFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithFlags), 0x2B20, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1369, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1371 * _F_cuGetProcAddress_v2('cuGraphInstantiateWithFlags', &__cuGraphInstantiateWithFlags, 11040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecGetFlags * _F_cuGetProcAddress_v2('cuGraphExecGetFlags', &__cuGraphExecGetFlags, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecKernelNodeSetParams_v2 * _F_cuGetProcAddress_v2('cuGraphExecKernelNodeSetParams', &__cuGraphExecKernelNodeSetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecGetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecGetFlags), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1371, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1373 * _F_cuGetProcAddress_v2('cuGraphExecGetFlags', &__cuGraphExecGetFlags, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecKernelNodeSetParams_v2 * _F_cuGetProcAddress_v2('cuGraphExecKernelNodeSetParams', &__cuGraphExecKernelNodeSetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecMemcpyNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecMemcpyNodeSetParams', &__cuGraphExecMemcpyNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecKernelNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecKernelNodeSetParams_v2), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1373, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1375 * _F_cuGetProcAddress_v2('cuGraphExecKernelNodeSetParams', &__cuGraphExecKernelNodeSetParams_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecMemcpyNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecMemcpyNodeSetParams', &__cuGraphExecMemcpyNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecMemsetNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecMemsetNodeSetParams', &__cuGraphExecMemsetNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecMemcpyNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemcpyNodeSetParams), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1375, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1377 * _F_cuGetProcAddress_v2('cuGraphExecMemcpyNodeSetParams', &__cuGraphExecMemcpyNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecMemsetNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecMemsetNodeSetParams', &__cuGraphExecMemsetNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecHostNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecHostNodeSetParams', &__cuGraphExecHostNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecMemsetNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemsetNodeSetParams), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1377, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1379 * _F_cuGetProcAddress_v2('cuGraphExecMemsetNodeSetParams', &__cuGraphExecMemsetNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecHostNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecHostNodeSetParams', &__cuGraphExecHostNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecChildGraphNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecChildGraphNodeSetParams', &__cuGraphExecChildGraphNodeSetParams, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecHostNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecHostNodeSetParams), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1379, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1381 * _F_cuGetProcAddress_v2('cuGraphExecHostNodeSetParams', &__cuGraphExecHostNodeSetParams, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecChildGraphNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecChildGraphNodeSetParams', &__cuGraphExecChildGraphNodeSetParams, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecEventRecordNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphExecEventRecordNodeSetEvent', &__cuGraphExecEventRecordNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecChildGraphNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecChildGraphNodeSetParams), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1381, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1383 * _F_cuGetProcAddress_v2('cuGraphExecChildGraphNodeSetParams', &__cuGraphExecChildGraphNodeSetParams, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecEventRecordNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphExecEventRecordNodeSetEvent', &__cuGraphExecEventRecordNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecEventWaitNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphExecEventWaitNodeSetEvent', &__cuGraphExecEventWaitNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecEventRecordNodeSetEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventRecordNodeSetEvent), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1383, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1385 * _F_cuGetProcAddress_v2('cuGraphExecEventRecordNodeSetEvent', &__cuGraphExecEventRecordNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecEventWaitNodeSetEvent * _F_cuGetProcAddress_v2('cuGraphExecEventWaitNodeSetEvent', &__cuGraphExecEventWaitNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecExternalSemaphoresSignalNodeSetParams', &__cuGraphExecExternalSemaphoresSignalNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecEventWaitNodeSetEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventWaitNodeSetEvent), 0x2B02, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1385, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1387 * _F_cuGetProcAddress_v2('cuGraphExecEventWaitNodeSetEvent', &__cuGraphExecEventWaitNodeSetEvent, 11010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecExternalSemaphoresSignalNodeSetParams', &__cuGraphExecExternalSemaphoresSignalNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecExternalSemaphoresWaitNodeSetParams', &__cuGraphExecExternalSemaphoresWaitNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecExternalSemaphoresSignalNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresSignalNodeSetParams), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1387, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1389 * _F_cuGetProcAddress_v2('cuGraphExecExternalSemaphoresSignalNodeSetParams', &__cuGraphExecExternalSemaphoresSignalNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecExternalSemaphoresWaitNodeSetParams', &__cuGraphExecExternalSemaphoresWaitNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeSetEnabled * _F_cuGetProcAddress_v2('cuGraphNodeSetEnabled', &__cuGraphNodeSetEnabled, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecExternalSemaphoresWaitNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresWaitNodeSetParams), 0x2B0C, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1389, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1391 * _F_cuGetProcAddress_v2('cuGraphExecExternalSemaphoresWaitNodeSetParams', &__cuGraphExecExternalSemaphoresWaitNodeSetParams, 11020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeSetEnabled * _F_cuGetProcAddress_v2('cuGraphNodeSetEnabled', &__cuGraphNodeSetEnabled, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeGetEnabled * _F_cuGetProcAddress_v2('cuGraphNodeGetEnabled', &__cuGraphNodeGetEnabled, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeSetEnabled"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetEnabled), 0x2B34, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1391, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1393 * _F_cuGetProcAddress_v2('cuGraphNodeSetEnabled', &__cuGraphNodeSetEnabled, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeGetEnabled * _F_cuGetProcAddress_v2('cuGraphNodeGetEnabled', &__cuGraphNodeGetEnabled, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecDestroy * _F_cuGetProcAddress_v2('cuGraphExecDestroy', &__cuGraphExecDestroy, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeGetEnabled"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetEnabled), 0x2B34, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1393, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1395 * _F_cuGetProcAddress_v2('cuGraphNodeGetEnabled', &__cuGraphNodeGetEnabled, 11060, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecDestroy * _F_cuGetProcAddress_v2('cuGraphExecDestroy', &__cuGraphExecDestroy, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphDestroy * _F_cuGetProcAddress_v2('cuGraphDestroy', &__cuGraphDestroy, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecDestroy), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1395, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1397 * _F_cuGetProcAddress_v2('cuGraphExecDestroy', &__cuGraphExecDestroy, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphDestroy * _F_cuGetProcAddress_v2('cuGraphDestroy', &__cuGraphDestroy, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecUpdate_v2 * _F_cuGetProcAddress_v2('cuGraphExecUpdate', &__cuGraphExecUpdate_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroy), 0x2710, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1397, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1399 * _F_cuGetProcAddress_v2('cuGraphDestroy', &__cuGraphDestroy, 10000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecUpdate_v2 * _F_cuGetProcAddress_v2('cuGraphExecUpdate', &__cuGraphExecUpdate_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphKernelNodeCopyAttributes * _F_cuGetProcAddress_v2('cuGraphKernelNodeCopyAttributes', &__cuGraphKernelNodeCopyAttributes, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecUpdate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecUpdate_v2), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1399, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1401 * _F_cuGetProcAddress_v2('cuGraphExecUpdate', &__cuGraphExecUpdate_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphKernelNodeCopyAttributes * _F_cuGetProcAddress_v2('cuGraphKernelNodeCopyAttributes', &__cuGraphKernelNodeCopyAttributes, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetAttribute * _F_cuGetProcAddress_v2('cuGraphKernelNodeGetAttribute', &__cuGraphKernelNodeGetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphKernelNodeCopyAttributes"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeCopyAttributes), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1401, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1403 * _F_cuGetProcAddress_v2('cuGraphKernelNodeCopyAttributes', &__cuGraphKernelNodeCopyAttributes, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphKernelNodeGetAttribute * _F_cuGetProcAddress_v2('cuGraphKernelNodeGetAttribute', &__cuGraphKernelNodeGetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetAttribute * _F_cuGetProcAddress_v2('cuGraphKernelNodeSetAttribute', &__cuGraphKernelNodeSetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphKernelNodeGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetAttribute), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1403, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1405 * _F_cuGetProcAddress_v2('cuGraphKernelNodeGetAttribute', &__cuGraphKernelNodeGetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphKernelNodeSetAttribute * _F_cuGetProcAddress_v2('cuGraphKernelNodeSetAttribute', &__cuGraphKernelNodeSetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphDebugDotPrint * _F_cuGetProcAddress_v2('cuGraphDebugDotPrint', &__cuGraphDebugDotPrint, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphKernelNodeSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetAttribute), 0x2AF8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1405, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1407 * _F_cuGetProcAddress_v2('cuGraphKernelNodeSetAttribute', &__cuGraphKernelNodeSetAttribute, 11000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphDebugDotPrint * _F_cuGetProcAddress_v2('cuGraphDebugDotPrint', &__cuGraphDebugDotPrint, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuUserObjectCreate * _F_cuGetProcAddress_v2('cuUserObjectCreate', &__cuUserObjectCreate, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphDebugDotPrint"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDebugDotPrint), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1407, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1409 * _F_cuGetProcAddress_v2('cuGraphDebugDotPrint', &__cuGraphDebugDotPrint, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuUserObjectCreate * _F_cuGetProcAddress_v2('cuUserObjectCreate', &__cuUserObjectCreate, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuUserObjectRetain * _F_cuGetProcAddress_v2('cuUserObjectRetain', &__cuUserObjectRetain, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuUserObjectCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectCreate), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1409, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1411 * _F_cuGetProcAddress_v2('cuUserObjectCreate', &__cuUserObjectCreate, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuUserObjectRetain * _F_cuGetProcAddress_v2('cuUserObjectRetain', &__cuUserObjectRetain, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuUserObjectRelease * _F_cuGetProcAddress_v2('cuUserObjectRelease', &__cuUserObjectRelease, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuUserObjectRetain"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRetain), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1411, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1413 * _F_cuGetProcAddress_v2('cuUserObjectRetain', &__cuUserObjectRetain, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuUserObjectRelease * _F_cuGetProcAddress_v2('cuUserObjectRelease', &__cuUserObjectRelease, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphRetainUserObject * _F_cuGetProcAddress_v2('cuGraphRetainUserObject', &__cuGraphRetainUserObject, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuUserObjectRelease"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRelease), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1413, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1415 * _F_cuGetProcAddress_v2('cuUserObjectRelease', &__cuUserObjectRelease, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphRetainUserObject * _F_cuGetProcAddress_v2('cuGraphRetainUserObject', &__cuGraphRetainUserObject, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphReleaseUserObject * _F_cuGetProcAddress_v2('cuGraphReleaseUserObject', &__cuGraphReleaseUserObject, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphRetainUserObject"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRetainUserObject), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1415, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1417 * _F_cuGetProcAddress_v2('cuGraphRetainUserObject', &__cuGraphRetainUserObject, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphReleaseUserObject * _F_cuGetProcAddress_v2('cuGraphReleaseUserObject', &__cuGraphReleaseUserObject, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddNode * _F_cuGetProcAddress_v2('cuGraphAddNode', &__cuGraphAddNode, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphReleaseUserObject"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphReleaseUserObject), 0x2B16, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1417, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1419 * _F_cuGetProcAddress_v2('cuGraphReleaseUserObject', &__cuGraphReleaseUserObject, 11030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddNode * _F_cuGetProcAddress_v2('cuGraphAddNode', &__cuGraphAddNode, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphAddNode_v2 * _F_cuGetProcAddress_v2('cuGraphAddNode', &__cuGraphAddNode_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode), 0x2EF4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1419, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1421 * _F_cuGetProcAddress_v2('cuGraphAddNode', &__cuGraphAddNode, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphAddNode_v2 * _F_cuGetProcAddress_v2('cuGraphAddNode', &__cuGraphAddNode_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphNodeSetParams * _F_cuGetProcAddress_v2('cuGraphNodeSetParams', &__cuGraphNodeSetParams, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphAddNode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode_v2), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1421, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1423 * _F_cuGetProcAddress_v2('cuGraphAddNode', &__cuGraphAddNode_v2, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphNodeSetParams * _F_cuGetProcAddress_v2('cuGraphNodeSetParams', &__cuGraphNodeSetParams, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphExecNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecNodeSetParams', &__cuGraphExecNodeSetParams, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetParams), 0x2EF4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1423, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1425 * _F_cuGetProcAddress_v2('cuGraphNodeSetParams', &__cuGraphNodeSetParams, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphExecNodeSetParams * _F_cuGetProcAddress_v2('cuGraphExecNodeSetParams', &__cuGraphExecNodeSetParams, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphConditionalHandleCreate * _F_cuGetProcAddress_v2('cuGraphConditionalHandleCreate', &__cuGraphConditionalHandleCreate, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphExecNodeSetParams"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecNodeSetParams), 0x2EF4, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1425, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1427 * _F_cuGetProcAddress_v2('cuGraphExecNodeSetParams', &__cuGraphExecNodeSetParams, 12020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphConditionalHandleCreate * _F_cuGetProcAddress_v2('cuGraphConditionalHandleCreate', &__cuGraphConditionalHandleCreate, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveBlocksPerMultiprocessor', &__cuOccupancyMaxActiveBlocksPerMultiprocessor, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphConditionalHandleCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphConditionalHandleCreate), 0x2EFE, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1427, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1429 * _F_cuGetProcAddress_v2('cuGraphConditionalHandleCreate', &__cuGraphConditionalHandleCreate, 12030, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveBlocksPerMultiprocessor', &__cuOccupancyMaxActiveBlocksPerMultiprocessor, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags', &__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuOccupancyMaxActiveBlocksPerMultiprocessor"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessor), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1429, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1431 * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveBlocksPerMultiprocessor', &__cuOccupancyMaxActiveBlocksPerMultiprocessor, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags', &__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSize * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialBlockSize', &__cuOccupancyMaxPotentialBlockSize, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1431, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1433 * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags', &__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuOccupancyMaxPotentialBlockSize * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialBlockSize', &__cuOccupancyMaxPotentialBlockSize, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSizeWithFlags * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialBlockSizeWithFlags', &__cuOccupancyMaxPotentialBlockSizeWithFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuOccupancyMaxPotentialBlockSize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSize), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1433, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1435 * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialBlockSize', &__cuOccupancyMaxPotentialBlockSize, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuOccupancyMaxPotentialBlockSizeWithFlags * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialBlockSizeWithFlags', &__cuOccupancyMaxPotentialBlockSizeWithFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuOccupancyAvailableDynamicSMemPerBlock * _F_cuGetProcAddress_v2('cuOccupancyAvailableDynamicSMemPerBlock', &__cuOccupancyAvailableDynamicSMemPerBlock, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuOccupancyMaxPotentialBlockSizeWithFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSizeWithFlags), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1435, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1437 * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialBlockSizeWithFlags', &__cuOccupancyMaxPotentialBlockSizeWithFlags, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuOccupancyAvailableDynamicSMemPerBlock * _F_cuGetProcAddress_v2('cuOccupancyAvailableDynamicSMemPerBlock', &__cuOccupancyAvailableDynamicSMemPerBlock, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialClusterSize * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialClusterSize', &__cuOccupancyMaxPotentialClusterSize, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuOccupancyAvailableDynamicSMemPerBlock"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyAvailableDynamicSMemPerBlock), 0x2724, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1437, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1439 * _F_cuGetProcAddress_v2('cuOccupancyAvailableDynamicSMemPerBlock', &__cuOccupancyAvailableDynamicSMemPerBlock, 10020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuOccupancyMaxPotentialClusterSize * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialClusterSize', &__cuOccupancyMaxPotentialClusterSize, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveClusters * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveClusters', &__cuOccupancyMaxActiveClusters, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuOccupancyMaxPotentialClusterSize"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialClusterSize), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1439, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1441 * _F_cuGetProcAddress_v2('cuOccupancyMaxPotentialClusterSize', &__cuOccupancyMaxPotentialClusterSize, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuOccupancyMaxActiveClusters * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveClusters', &__cuOccupancyMaxActiveClusters, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetArray * _F_cuGetProcAddress_v2('cuTexRefSetArray', &__cuTexRefSetArray, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuOccupancyMaxActiveClusters"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveClusters), 0x2B3E, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1441, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1443 * _F_cuGetProcAddress_v2('cuOccupancyMaxActiveClusters', &__cuOccupancyMaxActiveClusters, 11070, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetArray * _F_cuGetProcAddress_v2('cuTexRefSetArray', &__cuTexRefSetArray, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetMipmappedArray * _F_cuGetProcAddress_v2('cuTexRefSetMipmappedArray', &__cuTexRefSetMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetArray), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1443, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1445 * _F_cuGetProcAddress_v2('cuTexRefSetArray', &__cuTexRefSetArray, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetMipmappedArray * _F_cuGetProcAddress_v2('cuTexRefSetMipmappedArray', &__cuTexRefSetMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetAddress_v2 * _F_cuGetProcAddress_v2('cuTexRefSetAddress', &__cuTexRefSetAddress_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetMipmappedArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmappedArray), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1445, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1447 * _F_cuGetProcAddress_v2('cuTexRefSetMipmappedArray', &__cuTexRefSetMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetAddress_v2 * _F_cuGetProcAddress_v2('cuTexRefSetAddress', &__cuTexRefSetAddress_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetAddress2D_v3 * _F_cuGetProcAddress_v2('cuTexRefSetAddress2D', &__cuTexRefSetAddress2D_v3, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetAddress"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1447, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1449 * _F_cuGetProcAddress_v2('cuTexRefSetAddress', &__cuTexRefSetAddress_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetAddress2D_v3 * _F_cuGetProcAddress_v2('cuTexRefSetAddress2D', &__cuTexRefSetAddress2D_v3, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetFormat * _F_cuGetProcAddress_v2('cuTexRefSetFormat', &__cuTexRefSetFormat, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetAddress2D"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress2D_v3), 0xFAA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1449, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1451 * _F_cuGetProcAddress_v2('cuTexRefSetAddress2D', &__cuTexRefSetAddress2D_v3, 4010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetFormat * _F_cuGetProcAddress_v2('cuTexRefSetFormat', &__cuTexRefSetFormat, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetAddressMode * _F_cuGetProcAddress_v2('cuTexRefSetAddressMode', &__cuTexRefSetAddressMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetFormat"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFormat), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1451, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1453 * _F_cuGetProcAddress_v2('cuTexRefSetFormat', &__cuTexRefSetFormat, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetAddressMode * _F_cuGetProcAddress_v2('cuTexRefSetAddressMode', &__cuTexRefSetAddressMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetFilterMode * _F_cuGetProcAddress_v2('cuTexRefSetFilterMode', &__cuTexRefSetFilterMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetAddressMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddressMode), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1453, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1455 * _F_cuGetProcAddress_v2('cuTexRefSetAddressMode', &__cuTexRefSetAddressMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetFilterMode * _F_cuGetProcAddress_v2('cuTexRefSetFilterMode', &__cuTexRefSetFilterMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapFilterMode * _F_cuGetProcAddress_v2('cuTexRefSetMipmapFilterMode', &__cuTexRefSetMipmapFilterMode, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetFilterMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFilterMode), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1455, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1457 * _F_cuGetProcAddress_v2('cuTexRefSetFilterMode', &__cuTexRefSetFilterMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetMipmapFilterMode * _F_cuGetProcAddress_v2('cuTexRefSetMipmapFilterMode', &__cuTexRefSetMipmapFilterMode, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelBias * _F_cuGetProcAddress_v2('cuTexRefSetMipmapLevelBias', &__cuTexRefSetMipmapLevelBias, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetMipmapFilterMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapFilterMode), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1457, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1459 * _F_cuGetProcAddress_v2('cuTexRefSetMipmapFilterMode', &__cuTexRefSetMipmapFilterMode, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetMipmapLevelBias * _F_cuGetProcAddress_v2('cuTexRefSetMipmapLevelBias', &__cuTexRefSetMipmapLevelBias, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelClamp * _F_cuGetProcAddress_v2('cuTexRefSetMipmapLevelClamp', &__cuTexRefSetMipmapLevelClamp, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetMipmapLevelBias"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelBias), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1459, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1461 * _F_cuGetProcAddress_v2('cuTexRefSetMipmapLevelBias', &__cuTexRefSetMipmapLevelBias, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetMipmapLevelClamp * _F_cuGetProcAddress_v2('cuTexRefSetMipmapLevelClamp', &__cuTexRefSetMipmapLevelClamp, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetMaxAnisotropy * _F_cuGetProcAddress_v2('cuTexRefSetMaxAnisotropy', &__cuTexRefSetMaxAnisotropy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetMipmapLevelClamp"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelClamp), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1461, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1463 * _F_cuGetProcAddress_v2('cuTexRefSetMipmapLevelClamp', &__cuTexRefSetMipmapLevelClamp, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetMaxAnisotropy * _F_cuGetProcAddress_v2('cuTexRefSetMaxAnisotropy', &__cuTexRefSetMaxAnisotropy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetBorderColor * _F_cuGetProcAddress_v2('cuTexRefSetBorderColor', &__cuTexRefSetBorderColor, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetMaxAnisotropy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMaxAnisotropy), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1463, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1465 * _F_cuGetProcAddress_v2('cuTexRefSetMaxAnisotropy', &__cuTexRefSetMaxAnisotropy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetBorderColor * _F_cuGetProcAddress_v2('cuTexRefSetBorderColor', &__cuTexRefSetBorderColor, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefSetFlags * _F_cuGetProcAddress_v2('cuTexRefSetFlags', &__cuTexRefSetFlags, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetBorderColor"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetBorderColor), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1465, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1467 * _F_cuGetProcAddress_v2('cuTexRefSetBorderColor', &__cuTexRefSetBorderColor, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefSetFlags * _F_cuGetProcAddress_v2('cuTexRefSetFlags', &__cuTexRefSetFlags, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetAddress_v2 * _F_cuGetProcAddress_v2('cuTexRefGetAddress', &__cuTexRefGetAddress_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefSetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFlags), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1467, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1469 * _F_cuGetProcAddress_v2('cuTexRefSetFlags', &__cuTexRefSetFlags, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetAddress_v2 * _F_cuGetProcAddress_v2('cuTexRefGetAddress', &__cuTexRefGetAddress_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetArray * _F_cuGetProcAddress_v2('cuTexRefGetArray', &__cuTexRefGetArray, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetAddress"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddress_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1469, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1471 * _F_cuGetProcAddress_v2('cuTexRefGetAddress', &__cuTexRefGetAddress_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetArray * _F_cuGetProcAddress_v2('cuTexRefGetArray', &__cuTexRefGetArray, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetMipmappedArray * _F_cuGetProcAddress_v2('cuTexRefGetMipmappedArray', &__cuTexRefGetMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetArray), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1471, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1473 * _F_cuGetProcAddress_v2('cuTexRefGetArray', &__cuTexRefGetArray, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetMipmappedArray * _F_cuGetProcAddress_v2('cuTexRefGetMipmappedArray', &__cuTexRefGetMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetAddressMode * _F_cuGetProcAddress_v2('cuTexRefGetAddressMode', &__cuTexRefGetAddressMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetMipmappedArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmappedArray), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1473, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1475 * _F_cuGetProcAddress_v2('cuTexRefGetMipmappedArray', &__cuTexRefGetMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetAddressMode * _F_cuGetProcAddress_v2('cuTexRefGetAddressMode', &__cuTexRefGetAddressMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetFilterMode * _F_cuGetProcAddress_v2('cuTexRefGetFilterMode', &__cuTexRefGetFilterMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetAddressMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddressMode), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1475, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1477 * _F_cuGetProcAddress_v2('cuTexRefGetAddressMode', &__cuTexRefGetAddressMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetFilterMode * _F_cuGetProcAddress_v2('cuTexRefGetFilterMode', &__cuTexRefGetFilterMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetFormat * _F_cuGetProcAddress_v2('cuTexRefGetFormat', &__cuTexRefGetFormat, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetFilterMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFilterMode), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1477, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1479 * _F_cuGetProcAddress_v2('cuTexRefGetFilterMode', &__cuTexRefGetFilterMode, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetFormat * _F_cuGetProcAddress_v2('cuTexRefGetFormat', &__cuTexRefGetFormat, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapFilterMode * _F_cuGetProcAddress_v2('cuTexRefGetMipmapFilterMode', &__cuTexRefGetMipmapFilterMode, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetFormat"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFormat), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1479, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1481 * _F_cuGetProcAddress_v2('cuTexRefGetFormat', &__cuTexRefGetFormat, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetMipmapFilterMode * _F_cuGetProcAddress_v2('cuTexRefGetMipmapFilterMode', &__cuTexRefGetMipmapFilterMode, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelBias * _F_cuGetProcAddress_v2('cuTexRefGetMipmapLevelBias', &__cuTexRefGetMipmapLevelBias, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetMipmapFilterMode"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapFilterMode), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1481, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1483 * _F_cuGetProcAddress_v2('cuTexRefGetMipmapFilterMode', &__cuTexRefGetMipmapFilterMode, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetMipmapLevelBias * _F_cuGetProcAddress_v2('cuTexRefGetMipmapLevelBias', &__cuTexRefGetMipmapLevelBias, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelClamp * _F_cuGetProcAddress_v2('cuTexRefGetMipmapLevelClamp', &__cuTexRefGetMipmapLevelClamp, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetMipmapLevelBias"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelBias), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1483, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1485 * _F_cuGetProcAddress_v2('cuTexRefGetMipmapLevelBias', &__cuTexRefGetMipmapLevelBias, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetMipmapLevelClamp * _F_cuGetProcAddress_v2('cuTexRefGetMipmapLevelClamp', &__cuTexRefGetMipmapLevelClamp, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetMaxAnisotropy * _F_cuGetProcAddress_v2('cuTexRefGetMaxAnisotropy', &__cuTexRefGetMaxAnisotropy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetMipmapLevelClamp"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelClamp), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1485, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1487 * _F_cuGetProcAddress_v2('cuTexRefGetMipmapLevelClamp', &__cuTexRefGetMipmapLevelClamp, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetMaxAnisotropy * _F_cuGetProcAddress_v2('cuTexRefGetMaxAnisotropy', &__cuTexRefGetMaxAnisotropy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetBorderColor * _F_cuGetProcAddress_v2('cuTexRefGetBorderColor', &__cuTexRefGetBorderColor, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetMaxAnisotropy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMaxAnisotropy), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1487, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1489 * _F_cuGetProcAddress_v2('cuTexRefGetMaxAnisotropy', &__cuTexRefGetMaxAnisotropy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetBorderColor * _F_cuGetProcAddress_v2('cuTexRefGetBorderColor', &__cuTexRefGetBorderColor, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefGetFlags * _F_cuGetProcAddress_v2('cuTexRefGetFlags', &__cuTexRefGetFlags, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetBorderColor"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetBorderColor), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1489, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1491 * _F_cuGetProcAddress_v2('cuTexRefGetBorderColor', &__cuTexRefGetBorderColor, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefGetFlags * _F_cuGetProcAddress_v2('cuTexRefGetFlags', &__cuTexRefGetFlags, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefCreate * _F_cuGetProcAddress_v2('cuTexRefCreate', &__cuTexRefCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefGetFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFlags), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1491, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1493 * _F_cuGetProcAddress_v2('cuTexRefGetFlags', &__cuTexRefGetFlags, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefCreate * _F_cuGetProcAddress_v2('cuTexRefCreate', &__cuTexRefCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexRefDestroy * _F_cuGetProcAddress_v2('cuTexRefDestroy', &__cuTexRefDestroy, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefCreate), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1493, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1495 * _F_cuGetProcAddress_v2('cuTexRefCreate', &__cuTexRefCreate, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexRefDestroy * _F_cuGetProcAddress_v2('cuTexRefDestroy', &__cuTexRefDestroy, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuSurfRefSetArray * _F_cuGetProcAddress_v2('cuSurfRefSetArray', &__cuSurfRefSetArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexRefDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefDestroy), 0x7D0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1495, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1497 * _F_cuGetProcAddress_v2('cuTexRefDestroy', &__cuTexRefDestroy, 2000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuSurfRefSetArray * _F_cuGetProcAddress_v2('cuSurfRefSetArray', &__cuSurfRefSetArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuSurfRefGetArray * _F_cuGetProcAddress_v2('cuSurfRefGetArray', &__cuSurfRefGetArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuSurfRefSetArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefSetArray), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1497, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1499 * _F_cuGetProcAddress_v2('cuSurfRefSetArray', &__cuSurfRefSetArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuSurfRefGetArray * _F_cuGetProcAddress_v2('cuSurfRefGetArray', &__cuSurfRefGetArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexObjectCreate * _F_cuGetProcAddress_v2('cuTexObjectCreate', &__cuTexObjectCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuSurfRefGetArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefGetArray), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1499, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1501 * _F_cuGetProcAddress_v2('cuSurfRefGetArray', &__cuSurfRefGetArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexObjectCreate * _F_cuGetProcAddress_v2('cuTexObjectCreate', &__cuTexObjectCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexObjectDestroy * _F_cuGetProcAddress_v2('cuTexObjectDestroy', &__cuTexObjectDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexObjectCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectCreate), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1501, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1503 * _F_cuGetProcAddress_v2('cuTexObjectCreate', &__cuTexObjectCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexObjectDestroy * _F_cuGetProcAddress_v2('cuTexObjectDestroy', &__cuTexObjectDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceDesc * _F_cuGetProcAddress_v2('cuTexObjectGetResourceDesc', &__cuTexObjectGetResourceDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexObjectDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectDestroy), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1503, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1505 * _F_cuGetProcAddress_v2('cuTexObjectDestroy', &__cuTexObjectDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexObjectGetResourceDesc * _F_cuGetProcAddress_v2('cuTexObjectGetResourceDesc', &__cuTexObjectGetResourceDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexObjectGetTextureDesc * _F_cuGetProcAddress_v2('cuTexObjectGetTextureDesc', &__cuTexObjectGetTextureDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexObjectGetResourceDesc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceDesc), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1505, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1507 * _F_cuGetProcAddress_v2('cuTexObjectGetResourceDesc', &__cuTexObjectGetResourceDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexObjectGetTextureDesc * _F_cuGetProcAddress_v2('cuTexObjectGetTextureDesc', &__cuTexObjectGetTextureDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceViewDesc * _F_cuGetProcAddress_v2('cuTexObjectGetResourceViewDesc', &__cuTexObjectGetResourceViewDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexObjectGetTextureDesc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetTextureDesc), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1507, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1509 * _F_cuGetProcAddress_v2('cuTexObjectGetTextureDesc', &__cuTexObjectGetTextureDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTexObjectGetResourceViewDesc * _F_cuGetProcAddress_v2('cuTexObjectGetResourceViewDesc', &__cuTexObjectGetResourceViewDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuSurfObjectCreate * _F_cuGetProcAddress_v2('cuSurfObjectCreate', &__cuSurfObjectCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTexObjectGetResourceViewDesc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceViewDesc), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1509, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1511 * _F_cuGetProcAddress_v2('cuTexObjectGetResourceViewDesc', &__cuTexObjectGetResourceViewDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuSurfObjectCreate * _F_cuGetProcAddress_v2('cuSurfObjectCreate', &__cuSurfObjectCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuSurfObjectDestroy * _F_cuGetProcAddress_v2('cuSurfObjectDestroy', &__cuSurfObjectDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuSurfObjectCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectCreate), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1511, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1513 * _F_cuGetProcAddress_v2('cuSurfObjectCreate', &__cuSurfObjectCreate, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuSurfObjectDestroy * _F_cuGetProcAddress_v2('cuSurfObjectDestroy', &__cuSurfObjectDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuSurfObjectGetResourceDesc * _F_cuGetProcAddress_v2('cuSurfObjectGetResourceDesc', &__cuSurfObjectGetResourceDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuSurfObjectDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectDestroy), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1513, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1515 * _F_cuGetProcAddress_v2('cuSurfObjectDestroy', &__cuSurfObjectDestroy, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuSurfObjectGetResourceDesc * _F_cuGetProcAddress_v2('cuSurfObjectGetResourceDesc', &__cuSurfObjectGetResourceDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTensorMapEncodeTiled * _F_cuGetProcAddress_v2('cuTensorMapEncodeTiled', &__cuTensorMapEncodeTiled, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuSurfObjectGetResourceDesc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectGetResourceDesc), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1515, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1517 * _F_cuGetProcAddress_v2('cuSurfObjectGetResourceDesc', &__cuSurfObjectGetResourceDesc, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTensorMapEncodeTiled * _F_cuGetProcAddress_v2('cuTensorMapEncodeTiled', &__cuTensorMapEncodeTiled, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2col * _F_cuGetProcAddress_v2('cuTensorMapEncodeIm2col', &__cuTensorMapEncodeIm2col, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTensorMapEncodeTiled"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeTiled), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1517, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1519 * _F_cuGetProcAddress_v2('cuTensorMapEncodeTiled', &__cuTensorMapEncodeTiled, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTensorMapEncodeIm2col * _F_cuGetProcAddress_v2('cuTensorMapEncodeIm2col', &__cuTensorMapEncodeIm2col, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2colWide * _F_cuGetProcAddress_v2('cuTensorMapEncodeIm2colWide', &__cuTensorMapEncodeIm2colWide, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTensorMapEncodeIm2col"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2col), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1519, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1521 * _F_cuGetProcAddress_v2('cuTensorMapEncodeIm2col', &__cuTensorMapEncodeIm2col, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTensorMapEncodeIm2colWide * _F_cuGetProcAddress_v2('cuTensorMapEncodeIm2colWide', &__cuTensorMapEncodeIm2colWide, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuTensorMapReplaceAddress * _F_cuGetProcAddress_v2('cuTensorMapReplaceAddress', &__cuTensorMapReplaceAddress, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTensorMapEncodeIm2colWide"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2colWide), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1521, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1523 * _F_cuGetProcAddress_v2('cuTensorMapEncodeIm2colWide', &__cuTensorMapEncodeIm2colWide, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuTensorMapReplaceAddress * _F_cuGetProcAddress_v2('cuTensorMapReplaceAddress', &__cuTensorMapReplaceAddress, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceCanAccessPeer * _F_cuGetProcAddress_v2('cuDeviceCanAccessPeer', &__cuDeviceCanAccessPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuTensorMapReplaceAddress"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapReplaceAddress), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1523, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1525 * _F_cuGetProcAddress_v2('cuTensorMapReplaceAddress', &__cuTensorMapReplaceAddress, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceCanAccessPeer * _F_cuGetProcAddress_v2('cuDeviceCanAccessPeer', &__cuDeviceCanAccessPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxEnablePeerAccess * _F_cuGetProcAddress_v2('cuCtxEnablePeerAccess', &__cuCtxEnablePeerAccess, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceCanAccessPeer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceCanAccessPeer), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1525, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1527 * _F_cuGetProcAddress_v2('cuDeviceCanAccessPeer', &__cuDeviceCanAccessPeer, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxEnablePeerAccess * _F_cuGetProcAddress_v2('cuCtxEnablePeerAccess', &__cuCtxEnablePeerAccess, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxDisablePeerAccess * _F_cuGetProcAddress_v2('cuCtxDisablePeerAccess', &__cuCtxDisablePeerAccess, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxEnablePeerAccess"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxEnablePeerAccess), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1527, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1529 * _F_cuGetProcAddress_v2('cuCtxEnablePeerAccess', &__cuCtxEnablePeerAccess, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxDisablePeerAccess * _F_cuGetProcAddress_v2('cuCtxDisablePeerAccess', &__cuCtxDisablePeerAccess, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetP2PAttribute * _F_cuGetProcAddress_v2('cuDeviceGetP2PAttribute', &__cuDeviceGetP2PAttribute, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxDisablePeerAccess"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDisablePeerAccess), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1529, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1531 * _F_cuGetProcAddress_v2('cuCtxDisablePeerAccess', &__cuCtxDisablePeerAccess, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetP2PAttribute * _F_cuGetProcAddress_v2('cuDeviceGetP2PAttribute', &__cuDeviceGetP2PAttribute, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsUnregisterResource * _F_cuGetProcAddress_v2('cuGraphicsUnregisterResource', &__cuGraphicsUnregisterResource, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetP2PAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetP2PAttribute), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1531, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1533 * _F_cuGetProcAddress_v2('cuDeviceGetP2PAttribute', &__cuDeviceGetP2PAttribute, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsUnregisterResource * _F_cuGetProcAddress_v2('cuGraphicsUnregisterResource', &__cuGraphicsUnregisterResource, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsSubResourceGetMappedArray * _F_cuGetProcAddress_v2('cuGraphicsSubResourceGetMappedArray', &__cuGraphicsSubResourceGetMappedArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsUnregisterResource"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnregisterResource), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1533, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1535 * _F_cuGetProcAddress_v2('cuGraphicsUnregisterResource', &__cuGraphicsUnregisterResource, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsSubResourceGetMappedArray * _F_cuGetProcAddress_v2('cuGraphicsSubResourceGetMappedArray', &__cuGraphicsSubResourceGetMappedArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedMipmappedArray * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedMipmappedArray', &__cuGraphicsResourceGetMappedMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsSubResourceGetMappedArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsSubResourceGetMappedArray), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1535, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1537 * _F_cuGetProcAddress_v2('cuGraphicsSubResourceGetMappedArray', &__cuGraphicsSubResourceGetMappedArray, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsResourceGetMappedMipmappedArray * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedMipmappedArray', &__cuGraphicsResourceGetMappedMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedPointer_v2 * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedPointer', &__cuGraphicsResourceGetMappedPointer_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsResourceGetMappedMipmappedArray"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedMipmappedArray), 0x1388, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1537, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1539 * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedMipmappedArray', &__cuGraphicsResourceGetMappedMipmappedArray, 5000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsResourceGetMappedPointer_v2 * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedPointer', &__cuGraphicsResourceGetMappedPointer_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsResourceSetMapFlags_v2 * _F_cuGetProcAddress_v2('cuGraphicsResourceSetMapFlags', &__cuGraphicsResourceSetMapFlags_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsResourceGetMappedPointer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedPointer_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1539, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1541 * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedPointer', &__cuGraphicsResourceGetMappedPointer_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsResourceSetMapFlags_v2 * _F_cuGetProcAddress_v2('cuGraphicsResourceSetMapFlags', &__cuGraphicsResourceSetMapFlags_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGetProcAddress_v2 * _F_cuGetProcAddress_v2('cuGetProcAddress', &__cuGetProcAddress_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsResourceSetMapFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceSetMapFlags_v2), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1541, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1543 * _F_cuGetProcAddress_v2('cuGraphicsResourceSetMapFlags', &__cuGraphicsResourceSetMapFlags_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGetProcAddress_v2 * _F_cuGetProcAddress_v2('cuGetProcAddress', &__cuGetProcAddress_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCoredumpGetAttribute * _F_cuGetProcAddress_v2('cuCoredumpGetAttribute', &__cuCoredumpGetAttribute, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGetProcAddress"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2), 0x2EE0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1543, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1545 * _F_cuGetProcAddress_v2('cuGetProcAddress', &__cuGetProcAddress_v2, 12000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCoredumpGetAttribute * _F_cuGetProcAddress_v2('cuCoredumpGetAttribute', &__cuCoredumpGetAttribute, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCoredumpGetAttributeGlobal * _F_cuGetProcAddress_v2('cuCoredumpGetAttributeGlobal', &__cuCoredumpGetAttributeGlobal, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCoredumpGetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttribute), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1545, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1547 * _F_cuGetProcAddress_v2('cuCoredumpGetAttribute', &__cuCoredumpGetAttribute, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCoredumpGetAttributeGlobal * _F_cuGetProcAddress_v2('cuCoredumpGetAttributeGlobal', &__cuCoredumpGetAttributeGlobal, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCoredumpSetAttribute * _F_cuGetProcAddress_v2('cuCoredumpSetAttribute', &__cuCoredumpSetAttribute, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCoredumpGetAttributeGlobal"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttributeGlobal), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1547, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1549 * _F_cuGetProcAddress_v2('cuCoredumpGetAttributeGlobal', &__cuCoredumpGetAttributeGlobal, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCoredumpSetAttribute * _F_cuGetProcAddress_v2('cuCoredumpSetAttribute', &__cuCoredumpSetAttribute, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCoredumpSetAttributeGlobal * _F_cuGetProcAddress_v2('cuCoredumpSetAttributeGlobal', &__cuCoredumpSetAttributeGlobal, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCoredumpSetAttribute"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttribute), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1549, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1551 * _F_cuGetProcAddress_v2('cuCoredumpSetAttribute', &__cuCoredumpSetAttribute, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCoredumpSetAttributeGlobal * _F_cuGetProcAddress_v2('cuCoredumpSetAttributeGlobal', &__cuCoredumpSetAttributeGlobal, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGetExportTable * _F_cuGetProcAddress_v2('cuGetExportTable', &__cuGetExportTable, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCoredumpSetAttributeGlobal"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttributeGlobal), 0x2EEA, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1551, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1553 * _F_cuGetProcAddress_v2('cuCoredumpSetAttributeGlobal', &__cuCoredumpSetAttributeGlobal, 12010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGetExportTable * _F_cuGetProcAddress_v2('cuGetExportTable', &__cuGetExportTable, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGreenCtxCreate * _F_cuGetProcAddress_v2('cuGreenCtxCreate', &__cuGreenCtxCreate, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGetExportTable"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetExportTable), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1553, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1555 * _F_cuGetProcAddress_v2('cuGetExportTable', &__cuGetExportTable, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGreenCtxCreate * _F_cuGetProcAddress_v2('cuGreenCtxCreate', &__cuGreenCtxCreate, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGreenCtxDestroy * _F_cuGetProcAddress_v2('cuGreenCtxDestroy', &__cuGreenCtxDestroy, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGreenCtxCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxCreate), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1555, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1557 * _F_cuGetProcAddress_v2('cuGreenCtxCreate', &__cuGreenCtxCreate, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGreenCtxDestroy * _F_cuGetProcAddress_v2('cuGreenCtxDestroy', &__cuGreenCtxDestroy, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxFromGreenCtx * _F_cuGetProcAddress_v2('cuCtxFromGreenCtx', &__cuCtxFromGreenCtx, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGreenCtxDestroy"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxDestroy), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1557, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1559 * _F_cuGetProcAddress_v2('cuGreenCtxDestroy', &__cuGreenCtxDestroy, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxFromGreenCtx * _F_cuGetProcAddress_v2('cuCtxFromGreenCtx', &__cuCtxFromGreenCtx, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDeviceGetDevResource * _F_cuGetProcAddress_v2('cuDeviceGetDevResource', &__cuDeviceGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxFromGreenCtx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxFromGreenCtx), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1559, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1561 * _F_cuGetProcAddress_v2('cuCtxFromGreenCtx', &__cuCtxFromGreenCtx, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDeviceGetDevResource * _F_cuGetProcAddress_v2('cuDeviceGetDevResource', &__cuDeviceGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCtxGetDevResource * _F_cuGetProcAddress_v2('cuCtxGetDevResource', &__cuCtxGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDeviceGetDevResource"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDevResource), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1561, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1563 * _F_cuGetProcAddress_v2('cuDeviceGetDevResource', &__cuDeviceGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCtxGetDevResource * _F_cuGetProcAddress_v2('cuCtxGetDevResource', &__cuCtxGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGreenCtxGetDevResource * _F_cuGetProcAddress_v2('cuGreenCtxGetDevResource', &__cuGreenCtxGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCtxGetDevResource"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevResource), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1563, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1565 * _F_cuGetProcAddress_v2('cuCtxGetDevResource', &__cuCtxGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGreenCtxGetDevResource * _F_cuGetProcAddress_v2('cuGreenCtxGetDevResource', &__cuGreenCtxGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDevSmResourceSplitByCount * _F_cuGetProcAddress_v2('cuDevSmResourceSplitByCount', &__cuDevSmResourceSplitByCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGreenCtxGetDevResource"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxGetDevResource), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1565, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1567 * _F_cuGetProcAddress_v2('cuGreenCtxGetDevResource', &__cuGreenCtxGetDevResource, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDevSmResourceSplitByCount * _F_cuGetProcAddress_v2('cuDevSmResourceSplitByCount', &__cuDevSmResourceSplitByCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuDevResourceGenerateDesc * _F_cuGetProcAddress_v2('cuDevResourceGenerateDesc', &__cuDevResourceGenerateDesc, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDevSmResourceSplitByCount"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevSmResourceSplitByCount), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1567, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1569 * _F_cuGetProcAddress_v2('cuDevSmResourceSplitByCount', &__cuDevSmResourceSplitByCount, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuDevResourceGenerateDesc * _F_cuGetProcAddress_v2('cuDevResourceGenerateDesc', &__cuDevResourceGenerateDesc, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGreenCtxRecordEvent * _F_cuGetProcAddress_v2('cuGreenCtxRecordEvent', &__cuGreenCtxRecordEvent, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuDevResourceGenerateDesc"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevResourceGenerateDesc), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1569, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1571 * _F_cuGetProcAddress_v2('cuDevResourceGenerateDesc', &__cuDevResourceGenerateDesc, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGreenCtxRecordEvent * _F_cuGetProcAddress_v2('cuGreenCtxRecordEvent', &__cuGreenCtxRecordEvent, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGreenCtxWaitEvent * _F_cuGetProcAddress_v2('cuGreenCtxWaitEvent', &__cuGreenCtxWaitEvent, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGreenCtxRecordEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxRecordEvent), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1571, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1573 * _F_cuGetProcAddress_v2('cuGreenCtxRecordEvent', &__cuGreenCtxRecordEvent, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGreenCtxWaitEvent * _F_cuGetProcAddress_v2('cuGreenCtxWaitEvent', &__cuGreenCtxWaitEvent, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuStreamGetGreenCtx * _F_cuGetProcAddress_v2('cuStreamGetGreenCtx', &__cuStreamGetGreenCtx, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGreenCtxWaitEvent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxWaitEvent), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1573, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1575 * _F_cuGetProcAddress_v2('cuGreenCtxWaitEvent', &__cuGreenCtxWaitEvent, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuStreamGetGreenCtx * _F_cuGetProcAddress_v2('cuStreamGetGreenCtx', &__cuStreamGetGreenCtx, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGreenCtxStreamCreate * _F_cuGetProcAddress_v2('cuGreenCtxStreamCreate', &__cuGreenCtxStreamCreate, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuStreamGetGreenCtx"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetGreenCtx), 0x2F08, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1575, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1577 * _F_cuGetProcAddress_v2('cuStreamGetGreenCtx', &__cuStreamGetGreenCtx, 12040, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGreenCtxStreamCreate * _F_cuGetProcAddress_v2('cuGreenCtxStreamCreate', &__cuGreenCtxStreamCreate, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLogsRegisterCallback * _F_cuGetProcAddress_v2('cuLogsRegisterCallback', &__cuLogsRegisterCallback, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGreenCtxStreamCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxStreamCreate), 0x2F12, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1577, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1579 * _F_cuGetProcAddress_v2('cuGreenCtxStreamCreate', &__cuGreenCtxStreamCreate, 12050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLogsRegisterCallback * _F_cuGetProcAddress_v2('cuLogsRegisterCallback', &__cuLogsRegisterCallback, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLogsUnregisterCallback * _F_cuGetProcAddress_v2('cuLogsUnregisterCallback', &__cuLogsUnregisterCallback, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLogsRegisterCallback"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsRegisterCallback), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1579, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1581 * _F_cuGetProcAddress_v2('cuLogsRegisterCallback', &__cuLogsRegisterCallback, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLogsUnregisterCallback * _F_cuGetProcAddress_v2('cuLogsUnregisterCallback', &__cuLogsUnregisterCallback, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLogsCurrent * _F_cuGetProcAddress_v2('cuLogsCurrent', &__cuLogsCurrent, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLogsUnregisterCallback"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsUnregisterCallback), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1581, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1583 * _F_cuGetProcAddress_v2('cuLogsUnregisterCallback', &__cuLogsUnregisterCallback, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLogsCurrent * _F_cuGetProcAddress_v2('cuLogsCurrent', &__cuLogsCurrent, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLogsDumpToFile * _F_cuGetProcAddress_v2('cuLogsDumpToFile', &__cuLogsDumpToFile, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLogsCurrent"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsCurrent), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1583, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1585 * _F_cuGetProcAddress_v2('cuLogsCurrent', &__cuLogsCurrent, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLogsDumpToFile * _F_cuGetProcAddress_v2('cuLogsDumpToFile', &__cuLogsDumpToFile, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuLogsDumpToMemory * _F_cuGetProcAddress_v2('cuLogsDumpToMemory', &__cuLogsDumpToMemory, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLogsDumpToFile"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToFile), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1585, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1587 * _F_cuGetProcAddress_v2('cuLogsDumpToFile', &__cuLogsDumpToFile, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuLogsDumpToMemory * _F_cuGetProcAddress_v2('cuLogsDumpToMemory', &__cuLogsDumpToMemory, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetRestoreThreadId * _F_cuGetProcAddress_v2('cuCheckpointProcessGetRestoreThreadId', &__cuCheckpointProcessGetRestoreThreadId, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuLogsDumpToMemory"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToMemory), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1587, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1589 * _F_cuGetProcAddress_v2('cuLogsDumpToMemory', &__cuLogsDumpToMemory, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCheckpointProcessGetRestoreThreadId * _F_cuGetProcAddress_v2('cuCheckpointProcessGetRestoreThreadId', &__cuCheckpointProcessGetRestoreThreadId, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetState * _F_cuGetProcAddress_v2('cuCheckpointProcessGetState', &__cuCheckpointProcessGetState, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCheckpointProcessGetRestoreThreadId"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetRestoreThreadId), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1589, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1591 * _F_cuGetProcAddress_v2('cuCheckpointProcessGetRestoreThreadId', &__cuCheckpointProcessGetRestoreThreadId, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCheckpointProcessGetState * _F_cuGetProcAddress_v2('cuCheckpointProcessGetState', &__cuCheckpointProcessGetState, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCheckpointProcessLock * _F_cuGetProcAddress_v2('cuCheckpointProcessLock', &__cuCheckpointProcessLock, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCheckpointProcessGetState"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetState), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1591, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1593 * _F_cuGetProcAddress_v2('cuCheckpointProcessGetState', &__cuCheckpointProcessGetState, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCheckpointProcessLock * _F_cuGetProcAddress_v2('cuCheckpointProcessLock', &__cuCheckpointProcessLock, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCheckpointProcessCheckpoint * _F_cuGetProcAddress_v2('cuCheckpointProcessCheckpoint', &__cuCheckpointProcessCheckpoint, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCheckpointProcessLock"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessLock), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1593, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1595 * _F_cuGetProcAddress_v2('cuCheckpointProcessLock', &__cuCheckpointProcessLock, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCheckpointProcessCheckpoint * _F_cuGetProcAddress_v2('cuCheckpointProcessCheckpoint', &__cuCheckpointProcessCheckpoint, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCheckpointProcessRestore * _F_cuGetProcAddress_v2('cuCheckpointProcessRestore', &__cuCheckpointProcessRestore, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCheckpointProcessCheckpoint"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessCheckpoint), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1595, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1597 * _F_cuGetProcAddress_v2('cuCheckpointProcessCheckpoint', &__cuCheckpointProcessCheckpoint, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCheckpointProcessRestore * _F_cuGetProcAddress_v2('cuCheckpointProcessRestore', &__cuCheckpointProcessRestore, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuCheckpointProcessUnlock * _F_cuGetProcAddress_v2('cuCheckpointProcessUnlock', &__cuCheckpointProcessUnlock, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCheckpointProcessRestore"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessRestore), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1597, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1599 * _F_cuGetProcAddress_v2('cuCheckpointProcessRestore', &__cuCheckpointProcessRestore, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuCheckpointProcessUnlock * _F_cuGetProcAddress_v2('cuCheckpointProcessUnlock', &__cuCheckpointProcessUnlock, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuProfilerStart * _F_cuGetProcAddress_v2('cuProfilerStart', &__cuProfilerStart, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuCheckpointProcessUnlock"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessUnlock), 0x2F30, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1599, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1601 * _F_cuGetProcAddress_v2('cuCheckpointProcessUnlock', &__cuCheckpointProcessUnlock, 12080, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuProfilerStart * _F_cuGetProcAddress_v2('cuProfilerStart', &__cuProfilerStart, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuProfilerStop * _F_cuGetProcAddress_v2('cuProfilerStop', &__cuProfilerStop, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuProfilerStart"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStart), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1601, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1603 * _F_cuGetProcAddress_v2('cuProfilerStart', &__cuProfilerStart, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuProfilerStop * _F_cuGetProcAddress_v2('cuProfilerStop', &__cuProfilerStop, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsEGLRegisterImage * _F_cuGetProcAddress_v2('cuGraphicsEGLRegisterImage', &__cuGraphicsEGLRegisterImage, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuProfilerStop"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStop), 0xFA0, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1603, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1605 * _F_cuGetProcAddress_v2('cuProfilerStop', &__cuProfilerStop, 4000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsEGLRegisterImage * _F_cuGetProcAddress_v2('cuGraphicsEGLRegisterImage', &__cuGraphicsEGLRegisterImage, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnect * _F_cuGetProcAddress_v2('cuEGLStreamConsumerConnect', &__cuEGLStreamConsumerConnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsEGLRegisterImage"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsEGLRegisterImage), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1605, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1607 * _F_cuGetProcAddress_v2('cuGraphicsEGLRegisterImage', &__cuGraphicsEGLRegisterImage, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamConsumerConnect * _F_cuGetProcAddress_v2('cuEGLStreamConsumerConnect', &__cuEGLStreamConsumerConnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnectWithFlags * _F_cuGetProcAddress_v2('cuEGLStreamConsumerConnectWithFlags', &__cuEGLStreamConsumerConnectWithFlags, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamConsumerConnect"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnect), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1607, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1609 * _F_cuGetProcAddress_v2('cuEGLStreamConsumerConnect', &__cuEGLStreamConsumerConnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamConsumerConnectWithFlags * _F_cuGetProcAddress_v2('cuEGLStreamConsumerConnectWithFlags', &__cuEGLStreamConsumerConnectWithFlags, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerDisconnect * _F_cuGetProcAddress_v2('cuEGLStreamConsumerDisconnect', &__cuEGLStreamConsumerDisconnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamConsumerConnectWithFlags"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnectWithFlags), 0x1F40, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1609, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1611 * _F_cuGetProcAddress_v2('cuEGLStreamConsumerConnectWithFlags', &__cuEGLStreamConsumerConnectWithFlags, 8000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamConsumerDisconnect * _F_cuGetProcAddress_v2('cuEGLStreamConsumerDisconnect', &__cuEGLStreamConsumerDisconnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerAcquireFrame * _F_cuGetProcAddress_v2('cuEGLStreamConsumerAcquireFrame', &__cuEGLStreamConsumerAcquireFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamConsumerDisconnect"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerDisconnect), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1611, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1613 * _F_cuGetProcAddress_v2('cuEGLStreamConsumerDisconnect', &__cuEGLStreamConsumerDisconnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamConsumerAcquireFrame * _F_cuGetProcAddress_v2('cuEGLStreamConsumerAcquireFrame', &__cuEGLStreamConsumerAcquireFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerReleaseFrame * _F_cuGetProcAddress_v2('cuEGLStreamConsumerReleaseFrame', &__cuEGLStreamConsumerReleaseFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamConsumerAcquireFrame"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerAcquireFrame), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1613, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1615 * _F_cuGetProcAddress_v2('cuEGLStreamConsumerAcquireFrame', &__cuEGLStreamConsumerAcquireFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamConsumerReleaseFrame * _F_cuGetProcAddress_v2('cuEGLStreamConsumerReleaseFrame', &__cuEGLStreamConsumerReleaseFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamProducerConnect * _F_cuGetProcAddress_v2('cuEGLStreamProducerConnect', &__cuEGLStreamProducerConnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamConsumerReleaseFrame"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerReleaseFrame), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1615, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1617 * _F_cuGetProcAddress_v2('cuEGLStreamConsumerReleaseFrame', &__cuEGLStreamConsumerReleaseFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamProducerConnect * _F_cuGetProcAddress_v2('cuEGLStreamProducerConnect', &__cuEGLStreamProducerConnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamProducerDisconnect * _F_cuGetProcAddress_v2('cuEGLStreamProducerDisconnect', &__cuEGLStreamProducerDisconnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamProducerConnect"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerConnect), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1617, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1619 * _F_cuGetProcAddress_v2('cuEGLStreamProducerConnect', &__cuEGLStreamProducerConnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamProducerDisconnect * _F_cuGetProcAddress_v2('cuEGLStreamProducerDisconnect', &__cuEGLStreamProducerDisconnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamProducerPresentFrame * _F_cuGetProcAddress_v2('cuEGLStreamProducerPresentFrame', &__cuEGLStreamProducerPresentFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamProducerDisconnect"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerDisconnect), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1619, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1621 * _F_cuGetProcAddress_v2('cuEGLStreamProducerDisconnect', &__cuEGLStreamProducerDisconnect, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamProducerPresentFrame * _F_cuGetProcAddress_v2('cuEGLStreamProducerPresentFrame', &__cuEGLStreamProducerPresentFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEGLStreamProducerReturnFrame * _F_cuGetProcAddress_v2('cuEGLStreamProducerReturnFrame', &__cuEGLStreamProducerReturnFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamProducerPresentFrame"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerPresentFrame), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1621, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1623 * _F_cuGetProcAddress_v2('cuEGLStreamProducerPresentFrame', &__cuEGLStreamProducerPresentFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEGLStreamProducerReturnFrame * _F_cuGetProcAddress_v2('cuEGLStreamProducerReturnFrame', &__cuEGLStreamProducerReturnFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedEglFrame * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedEglFrame', &__cuGraphicsResourceGetMappedEglFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEGLStreamProducerReturnFrame"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerReturnFrame), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1623, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1625 * _F_cuGetProcAddress_v2('cuEGLStreamProducerReturnFrame', &__cuEGLStreamProducerReturnFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsResourceGetMappedEglFrame * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedEglFrame', &__cuGraphicsResourceGetMappedEglFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuEventCreateFromEGLSync * _F_cuGetProcAddress_v2('cuEventCreateFromEGLSync', &__cuEventCreateFromEGLSync, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsResourceGetMappedEglFrame"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedEglFrame), 0x1B58, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1625, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1627 * _F_cuGetProcAddress_v2('cuGraphicsResourceGetMappedEglFrame', &__cuGraphicsResourceGetMappedEglFrame, 7000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuEventCreateFromEGLSync * _F_cuGetProcAddress_v2('cuEventCreateFromEGLSync', &__cuEventCreateFromEGLSync, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterBuffer * _F_cuGetProcAddress_v2('cuGraphicsGLRegisterBuffer', &__cuGraphicsGLRegisterBuffer, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuEventCreateFromEGLSync"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreateFromEGLSync), 0x2328, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1627, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1629 * _F_cuGetProcAddress_v2('cuEventCreateFromEGLSync', &__cuEventCreateFromEGLSync, 9000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsGLRegisterBuffer * _F_cuGetProcAddress_v2('cuGraphicsGLRegisterBuffer', &__cuGraphicsGLRegisterBuffer, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterImage * _F_cuGetProcAddress_v2('cuGraphicsGLRegisterImage', &__cuGraphicsGLRegisterImage, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsGLRegisterBuffer"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterBuffer), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1629, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1631 * _F_cuGetProcAddress_v2('cuGraphicsGLRegisterBuffer', &__cuGraphicsGLRegisterBuffer, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsGLRegisterImage * _F_cuGetProcAddress_v2('cuGraphicsGLRegisterImage', &__cuGraphicsGLRegisterImage, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGLGetDevices_v2 * _F_cuGetProcAddress_v2('cuGLGetDevices', &__cuGLGetDevices_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsGLRegisterImage"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterImage), 0xBB8, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1631, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1633 * _F_cuGetProcAddress_v2('cuGraphicsGLRegisterImage', &__cuGraphicsGLRegisterImage, 3000, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGLGetDevices_v2 * _F_cuGetProcAddress_v2('cuGLGetDevices', &__cuGLGetDevices_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuVDPAUGetDevice * _F_cuGetProcAddress_v2('cuVDPAUGetDevice', &__cuVDPAUGetDevice, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGLGetDevices"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGLGetDevices_v2), 0x17A2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1633, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1635 * _F_cuGetProcAddress_v2('cuGLGetDevices', &__cuGLGetDevices_v2, 6050, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuVDPAUGetDevice * _F_cuGetProcAddress_v2('cuVDPAUGetDevice', &__cuVDPAUGetDevice, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuVDPAUCtxCreate_v2 * _F_cuGetProcAddress_v2('cuVDPAUCtxCreate', &__cuVDPAUCtxCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuVDPAUGetDevice"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUGetDevice), 0xBC2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1635, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1637 * _F_cuGetProcAddress_v2('cuVDPAUGetDevice', &__cuVDPAUGetDevice, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuVDPAUCtxCreate_v2 * _F_cuGetProcAddress_v2('cuVDPAUCtxCreate', &__cuVDPAUCtxCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterVideoSurface * _F_cuGetProcAddress_v2('cuGraphicsVDPAURegisterVideoSurface', &__cuGraphicsVDPAURegisterVideoSurface, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuVDPAUCtxCreate"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUCtxCreate_v2), 0xBCC, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1637, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1639 * _F_cuGetProcAddress_v2('cuVDPAUCtxCreate', &__cuVDPAUCtxCreate_v2, 3020, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsVDPAURegisterVideoSurface * _F_cuGetProcAddress_v2('cuGraphicsVDPAURegisterVideoSurface', &__cuGraphicsVDPAURegisterVideoSurface, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterOutputSurface * _F_cuGetProcAddress_v2('cuGraphicsVDPAURegisterOutputSurface', &__cuGraphicsVDPAURegisterOutputSurface, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsVDPAURegisterVideoSurface"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterVideoSurface), 0xBC2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1639, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1641 * _F_cuGetProcAddress_v2('cuGraphicsVDPAURegisterVideoSurface', &__cuGraphicsVDPAURegisterVideoSurface, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * global __cuGraphicsVDPAURegisterOutputSurface * _F_cuGetProcAddress_v2('cuGraphicsVDPAURegisterOutputSurface', &__cuGraphicsVDPAURegisterOutputSurface, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) # <<<<<<<<<<<<<< * __cuPythonInit = True * return 0 */ __pyx_t_14 = __pyx_v__F_cuGetProcAddress_v2(((char const *)"cuGraphicsVDPAURegisterOutputSurface"), (&__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterOutputSurface), 0xBC2, CU_GET_PROC_ADDRESS_DEFAULT, NULL); if (unlikely(__pyx_t_14 == ((CUresult)CUDA_ERROR_NOT_FOUND) && PyErr_Occurred())) __PYX_ERR(0, 1641, __pyx_L10_error) /* "cuda/bindings/_bindings/cydriver.pyx":1642 * global __cuGraphicsVDPAURegisterOutputSurface * _F_cuGetProcAddress_v2('cuGraphicsVDPAURegisterOutputSurface', &__cuGraphicsVDPAURegisterOutputSurface, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * __cuPythonInit = True # <<<<<<<<<<<<<< * return 0 * */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPythonInit = 1; /* "cuda/bindings/_bindings/cydriver.pyx":1643 * _F_cuGetProcAddress_v2('cuGraphicsVDPAURegisterOutputSurface', &__cuGraphicsVDPAURegisterOutputSurface, 3010, CU_GET_PROC_ADDRESS_DEFAULT, NULL) * __cuPythonInit = True * return 0 # <<<<<<<<<<<<<< * * # Load using dlsym */ __pyx_r = 0; goto __pyx_L14_try_return; /* "cuda/bindings/_bindings/cydriver.pyx":517 * * # Load using cuGetProcAddress if available * if __cuGetProcAddress_v2 != NULL: # <<<<<<<<<<<<<< * _F_cuGetProcAddress_v2 = <__cuGetProcAddress_v2_T>__cuGetProcAddress_v2 * if usePTDS: */ } /* "cuda/bindings/_bindings/cydriver.pyx":1646 * * # Load using dlsym * if usePTDS: # <<<<<<<<<<<<<< * # Get all PTDS version of functions * pass */ if (__pyx_v_usePTDS) { /* "cuda/bindings/_bindings/cydriver.pyx":1650 * pass * global __cuMemcpy * __cuMemcpy = dlfcn.dlsym(handle, 'cuMemcpy_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyPeer * __cuMemcpyPeer = dlfcn.dlsym(handle, 'cuMemcpyPeer_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1652 * __cuMemcpy = dlfcn.dlsym(handle, 'cuMemcpy_ptds') * global __cuMemcpyPeer * __cuMemcpyPeer = dlfcn.dlsym(handle, 'cuMemcpyPeer_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyHtoD_v2 * __cuMemcpyHtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoD_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyPeer_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1654 * __cuMemcpyPeer = dlfcn.dlsym(handle, 'cuMemcpyPeer_ptds') * global __cuMemcpyHtoD_v2 * __cuMemcpyHtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoD_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyDtoH_v2 * __cuMemcpyDtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoH_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoD_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1656 * __cuMemcpyHtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoD_v2_ptds') * global __cuMemcpyDtoH_v2 * __cuMemcpyDtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoH_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyDtoD_v2 * __cuMemcpyDtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoD_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoH_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1658 * __cuMemcpyDtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoH_v2_ptds') * global __cuMemcpyDtoD_v2 * __cuMemcpyDtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoD_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyDtoA_v2 * __cuMemcpyDtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoA_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoD_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1660 * __cuMemcpyDtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoD_v2_ptds') * global __cuMemcpyDtoA_v2 * __cuMemcpyDtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoA_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyAtoD_v2 * __cuMemcpyAtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoD_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoA_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1662 * __cuMemcpyDtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoA_v2_ptds') * global __cuMemcpyAtoD_v2 * __cuMemcpyAtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoD_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyHtoA_v2 * __cuMemcpyHtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoA_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoD_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1664 * __cuMemcpyAtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoD_v2_ptds') * global __cuMemcpyHtoA_v2 * __cuMemcpyHtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoA_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyAtoH_v2 * __cuMemcpyAtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoH_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoA_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1666 * __cuMemcpyHtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoA_v2_ptds') * global __cuMemcpyAtoH_v2 * __cuMemcpyAtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoH_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyAtoA_v2 * __cuMemcpyAtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoA_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoH_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1668 * __cuMemcpyAtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoH_v2_ptds') * global __cuMemcpyAtoA_v2 * __cuMemcpyAtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoA_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpy2D_v2 * __cuMemcpy2D_v2 = dlfcn.dlsym(handle, 'cuMemcpy2D_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoA_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1670 * __cuMemcpyAtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoA_v2_ptds') * global __cuMemcpy2D_v2 * __cuMemcpy2D_v2 = dlfcn.dlsym(handle, 'cuMemcpy2D_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpy2DUnaligned_v2 * __cuMemcpy2DUnaligned_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DUnaligned_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy2D_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1672 * __cuMemcpy2D_v2 = dlfcn.dlsym(handle, 'cuMemcpy2D_v2_ptds') * global __cuMemcpy2DUnaligned_v2 * __cuMemcpy2DUnaligned_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DUnaligned_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpy3D_v2 * __cuMemcpy3D_v2 = dlfcn.dlsym(handle, 'cuMemcpy3D_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy2DUnaligned_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1674 * __cuMemcpy2DUnaligned_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DUnaligned_v2_ptds') * global __cuMemcpy3D_v2 * __cuMemcpy3D_v2 = dlfcn.dlsym(handle, 'cuMemcpy3D_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemcpy3DPeer * __cuMemcpy3DPeer = dlfcn.dlsym(handle, 'cuMemcpy3DPeer_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3D_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1676 * __cuMemcpy3D_v2 = dlfcn.dlsym(handle, 'cuMemcpy3D_v2_ptds') * global __cuMemcpy3DPeer * __cuMemcpy3DPeer = dlfcn.dlsym(handle, 'cuMemcpy3DPeer_ptds') # <<<<<<<<<<<<<< * global __cuMemcpyAsync * __cuMemcpyAsync = dlfcn.dlsym(handle, 'cuMemcpyAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DPeer_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1678 * __cuMemcpy3DPeer = dlfcn.dlsym(handle, 'cuMemcpy3DPeer_ptds') * global __cuMemcpyAsync * __cuMemcpyAsync = dlfcn.dlsym(handle, 'cuMemcpyAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpyPeerAsync * __cuMemcpyPeerAsync = dlfcn.dlsym(handle, 'cuMemcpyPeerAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1680 * __cuMemcpyAsync = dlfcn.dlsym(handle, 'cuMemcpyAsync_ptsz') * global __cuMemcpyPeerAsync * __cuMemcpyPeerAsync = dlfcn.dlsym(handle, 'cuMemcpyPeerAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpyHtoDAsync_v2 * __cuMemcpyHtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoDAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyPeerAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1682 * __cuMemcpyPeerAsync = dlfcn.dlsym(handle, 'cuMemcpyPeerAsync_ptsz') * global __cuMemcpyHtoDAsync_v2 * __cuMemcpyHtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoDAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpyDtoHAsync_v2 * __cuMemcpyDtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoHAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoDAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1684 * __cuMemcpyHtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoDAsync_v2_ptsz') * global __cuMemcpyDtoHAsync_v2 * __cuMemcpyDtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoHAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpyDtoDAsync_v2 * __cuMemcpyDtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoDAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoHAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1686 * __cuMemcpyDtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoHAsync_v2_ptsz') * global __cuMemcpyDtoDAsync_v2 * __cuMemcpyDtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoDAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpyHtoAAsync_v2 * __cuMemcpyHtoAAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoAAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoDAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1688 * __cuMemcpyDtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoDAsync_v2_ptsz') * global __cuMemcpyHtoAAsync_v2 * __cuMemcpyHtoAAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoAAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpyAtoHAsync_v2 * __cuMemcpyAtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoHAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoAAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1690 * __cuMemcpyHtoAAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoAAsync_v2_ptsz') * global __cuMemcpyAtoHAsync_v2 * __cuMemcpyAtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoHAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpy2DAsync_v2 * __cuMemcpy2DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoHAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1692 * __cuMemcpyAtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoHAsync_v2_ptsz') * global __cuMemcpy2DAsync_v2 * __cuMemcpy2DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpy3DAsync_v2 * __cuMemcpy3DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy3DAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy2DAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1694 * __cuMemcpy2DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DAsync_v2_ptsz') * global __cuMemcpy3DAsync_v2 * __cuMemcpy3DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy3DAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpy3DPeerAsync * __cuMemcpy3DPeerAsync = dlfcn.dlsym(handle, 'cuMemcpy3DPeerAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1696 * __cuMemcpy3DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy3DAsync_v2_ptsz') * global __cuMemcpy3DPeerAsync * __cuMemcpy3DPeerAsync = dlfcn.dlsym(handle, 'cuMemcpy3DPeerAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpyBatchAsync * __cuMemcpyBatchAsync = dlfcn.dlsym(handle, 'cuMemcpyBatchAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DPeerAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1698 * __cuMemcpy3DPeerAsync = dlfcn.dlsym(handle, 'cuMemcpy3DPeerAsync_ptsz') * global __cuMemcpyBatchAsync * __cuMemcpyBatchAsync = dlfcn.dlsym(handle, 'cuMemcpyBatchAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemcpy3DBatchAsync * __cuMemcpy3DBatchAsync = dlfcn.dlsym(handle, 'cuMemcpy3DBatchAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyBatchAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1700 * __cuMemcpyBatchAsync = dlfcn.dlsym(handle, 'cuMemcpyBatchAsync_ptsz') * global __cuMemcpy3DBatchAsync * __cuMemcpy3DBatchAsync = dlfcn.dlsym(handle, 'cuMemcpy3DBatchAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemsetD8_v2 * __cuMemsetD8_v2 = dlfcn.dlsym(handle, 'cuMemsetD8_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DBatchAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1702 * __cuMemcpy3DBatchAsync = dlfcn.dlsym(handle, 'cuMemcpy3DBatchAsync_ptsz') * global __cuMemsetD8_v2 * __cuMemsetD8_v2 = dlfcn.dlsym(handle, 'cuMemsetD8_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemsetD16_v2 * __cuMemsetD16_v2 = dlfcn.dlsym(handle, 'cuMemsetD16_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD8_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1704 * __cuMemsetD8_v2 = dlfcn.dlsym(handle, 'cuMemsetD8_v2_ptds') * global __cuMemsetD16_v2 * __cuMemsetD16_v2 = dlfcn.dlsym(handle, 'cuMemsetD16_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemsetD32_v2 * __cuMemsetD32_v2 = dlfcn.dlsym(handle, 'cuMemsetD32_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD16_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1706 * __cuMemsetD16_v2 = dlfcn.dlsym(handle, 'cuMemsetD16_v2_ptds') * global __cuMemsetD32_v2 * __cuMemsetD32_v2 = dlfcn.dlsym(handle, 'cuMemsetD32_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemsetD2D8_v2 * __cuMemsetD2D8_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D8_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD32_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1708 * __cuMemsetD32_v2 = dlfcn.dlsym(handle, 'cuMemsetD32_v2_ptds') * global __cuMemsetD2D8_v2 * __cuMemsetD2D8_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D8_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemsetD2D16_v2 * __cuMemsetD2D16_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D16_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D8_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1710 * __cuMemsetD2D8_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D8_v2_ptds') * global __cuMemsetD2D16_v2 * __cuMemsetD2D16_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D16_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemsetD2D32_v2 * __cuMemsetD2D32_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D32_v2_ptds') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D16_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1712 * __cuMemsetD2D16_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D16_v2_ptds') * global __cuMemsetD2D32_v2 * __cuMemsetD2D32_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D32_v2_ptds') # <<<<<<<<<<<<<< * global __cuMemsetD8Async * __cuMemsetD8Async = dlfcn.dlsym(handle, 'cuMemsetD8Async_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D32_v2_ptds")); /* "cuda/bindings/_bindings/cydriver.pyx":1714 * __cuMemsetD2D32_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D32_v2_ptds') * global __cuMemsetD8Async * __cuMemsetD8Async = dlfcn.dlsym(handle, 'cuMemsetD8Async_ptsz') # <<<<<<<<<<<<<< * global __cuMemsetD16Async * __cuMemsetD16Async = dlfcn.dlsym(handle, 'cuMemsetD16Async_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD8Async_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1716 * __cuMemsetD8Async = dlfcn.dlsym(handle, 'cuMemsetD8Async_ptsz') * global __cuMemsetD16Async * __cuMemsetD16Async = dlfcn.dlsym(handle, 'cuMemsetD16Async_ptsz') # <<<<<<<<<<<<<< * global __cuMemsetD32Async * __cuMemsetD32Async = dlfcn.dlsym(handle, 'cuMemsetD32Async_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD16Async_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1718 * __cuMemsetD16Async = dlfcn.dlsym(handle, 'cuMemsetD16Async_ptsz') * global __cuMemsetD32Async * __cuMemsetD32Async = dlfcn.dlsym(handle, 'cuMemsetD32Async_ptsz') # <<<<<<<<<<<<<< * global __cuMemsetD2D8Async * __cuMemsetD2D8Async = dlfcn.dlsym(handle, 'cuMemsetD2D8Async_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD32Async_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1720 * __cuMemsetD32Async = dlfcn.dlsym(handle, 'cuMemsetD32Async_ptsz') * global __cuMemsetD2D8Async * __cuMemsetD2D8Async = dlfcn.dlsym(handle, 'cuMemsetD2D8Async_ptsz') # <<<<<<<<<<<<<< * global __cuMemsetD2D16Async * __cuMemsetD2D16Async = dlfcn.dlsym(handle, 'cuMemsetD2D16Async_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D8Async_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1722 * __cuMemsetD2D8Async = dlfcn.dlsym(handle, 'cuMemsetD2D8Async_ptsz') * global __cuMemsetD2D16Async * __cuMemsetD2D16Async = dlfcn.dlsym(handle, 'cuMemsetD2D16Async_ptsz') # <<<<<<<<<<<<<< * global __cuMemsetD2D32Async * __cuMemsetD2D32Async = dlfcn.dlsym(handle, 'cuMemsetD2D32Async_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D16Async_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1724 * __cuMemsetD2D16Async = dlfcn.dlsym(handle, 'cuMemsetD2D16Async_ptsz') * global __cuMemsetD2D32Async * __cuMemsetD2D32Async = dlfcn.dlsym(handle, 'cuMemsetD2D32Async_ptsz') # <<<<<<<<<<<<<< * global __cuMemBatchDecompressAsync * __cuMemBatchDecompressAsync = dlfcn.dlsym(handle, 'cuMemBatchDecompressAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D32Async_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1726 * __cuMemsetD2D32Async = dlfcn.dlsym(handle, 'cuMemsetD2D32Async_ptsz') * global __cuMemBatchDecompressAsync * __cuMemBatchDecompressAsync = dlfcn.dlsym(handle, 'cuMemBatchDecompressAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemMapArrayAsync * __cuMemMapArrayAsync = dlfcn.dlsym(handle, 'cuMemMapArrayAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemBatchDecompressAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1728 * __cuMemBatchDecompressAsync = dlfcn.dlsym(handle, 'cuMemBatchDecompressAsync_ptsz') * global __cuMemMapArrayAsync * __cuMemMapArrayAsync = dlfcn.dlsym(handle, 'cuMemMapArrayAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemFreeAsync * __cuMemFreeAsync = dlfcn.dlsym(handle, 'cuMemFreeAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemMapArrayAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1730 * __cuMemMapArrayAsync = dlfcn.dlsym(handle, 'cuMemMapArrayAsync_ptsz') * global __cuMemFreeAsync * __cuMemFreeAsync = dlfcn.dlsym(handle, 'cuMemFreeAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemAllocAsync * __cuMemAllocAsync = dlfcn.dlsym(handle, 'cuMemAllocAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemFreeAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1732 * __cuMemFreeAsync = dlfcn.dlsym(handle, 'cuMemFreeAsync_ptsz') * global __cuMemAllocAsync * __cuMemAllocAsync = dlfcn.dlsym(handle, 'cuMemAllocAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemAllocFromPoolAsync * __cuMemAllocFromPoolAsync = dlfcn.dlsym(handle, 'cuMemAllocFromPoolAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemAllocAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1734 * __cuMemAllocAsync = dlfcn.dlsym(handle, 'cuMemAllocAsync_ptsz') * global __cuMemAllocFromPoolAsync * __cuMemAllocFromPoolAsync = dlfcn.dlsym(handle, 'cuMemAllocFromPoolAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync * __cuMemPrefetchAsync = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemAllocFromPoolAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1736 * __cuMemAllocFromPoolAsync = dlfcn.dlsym(handle, 'cuMemAllocFromPoolAsync_ptsz') * global __cuMemPrefetchAsync * __cuMemPrefetchAsync = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_ptsz') # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync_v2 * __cuMemPrefetchAsync_v2 = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemPrefetchAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1738 * __cuMemPrefetchAsync = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_ptsz') * global __cuMemPrefetchAsync_v2 * __cuMemPrefetchAsync_v2 = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetPriority * __cuStreamGetPriority = dlfcn.dlsym(handle, 'cuStreamGetPriority_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemPrefetchAsync_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1740 * __cuMemPrefetchAsync_v2 = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_v2_ptsz') * global __cuStreamGetPriority * __cuStreamGetPriority = dlfcn.dlsym(handle, 'cuStreamGetPriority_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetDevice * __cuStreamGetDevice = dlfcn.dlsym(handle, 'cuStreamGetDevice_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetPriority_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1742 * __cuStreamGetPriority = dlfcn.dlsym(handle, 'cuStreamGetPriority_ptsz') * global __cuStreamGetDevice * __cuStreamGetDevice = dlfcn.dlsym(handle, 'cuStreamGetDevice_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetFlags * __cuStreamGetFlags = dlfcn.dlsym(handle, 'cuStreamGetFlags_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetDevice_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1744 * __cuStreamGetDevice = dlfcn.dlsym(handle, 'cuStreamGetDevice_ptsz') * global __cuStreamGetFlags * __cuStreamGetFlags = dlfcn.dlsym(handle, 'cuStreamGetFlags_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetId * __cuStreamGetId = dlfcn.dlsym(handle, 'cuStreamGetId_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetFlags_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1746 * __cuStreamGetFlags = dlfcn.dlsym(handle, 'cuStreamGetFlags_ptsz') * global __cuStreamGetId * __cuStreamGetId = dlfcn.dlsym(handle, 'cuStreamGetId_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetCtx * __cuStreamGetCtx = dlfcn.dlsym(handle, 'cuStreamGetCtx_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetId_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1748 * __cuStreamGetId = dlfcn.dlsym(handle, 'cuStreamGetId_ptsz') * global __cuStreamGetCtx * __cuStreamGetCtx = dlfcn.dlsym(handle, 'cuStreamGetCtx_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetCtx_v2 * __cuStreamGetCtx_v2 = dlfcn.dlsym(handle, 'cuStreamGetCtx_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCtx_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1750 * __cuStreamGetCtx = dlfcn.dlsym(handle, 'cuStreamGetCtx_ptsz') * global __cuStreamGetCtx_v2 * __cuStreamGetCtx_v2 = dlfcn.dlsym(handle, 'cuStreamGetCtx_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamWaitEvent * __cuStreamWaitEvent = dlfcn.dlsym(handle, 'cuStreamWaitEvent_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCtx_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1752 * __cuStreamGetCtx_v2 = dlfcn.dlsym(handle, 'cuStreamGetCtx_v2_ptsz') * global __cuStreamWaitEvent * __cuStreamWaitEvent = dlfcn.dlsym(handle, 'cuStreamWaitEvent_ptsz') # <<<<<<<<<<<<<< * global __cuStreamAddCallback * __cuStreamAddCallback = dlfcn.dlsym(handle, 'cuStreamAddCallback_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent = dlsym(__pyx_v_handle, ((char const *)"cuStreamWaitEvent_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1754 * __cuStreamWaitEvent = dlfcn.dlsym(handle, 'cuStreamWaitEvent_ptsz') * global __cuStreamAddCallback * __cuStreamAddCallback = dlfcn.dlsym(handle, 'cuStreamAddCallback_ptsz') # <<<<<<<<<<<<<< * global __cuStreamBeginCapture_v2 * __cuStreamBeginCapture_v2 = dlfcn.dlsym(handle, 'cuStreamBeginCapture_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback = dlsym(__pyx_v_handle, ((char const *)"cuStreamAddCallback_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1756 * __cuStreamAddCallback = dlfcn.dlsym(handle, 'cuStreamAddCallback_ptsz') * global __cuStreamBeginCapture_v2 * __cuStreamBeginCapture_v2 = dlfcn.dlsym(handle, 'cuStreamBeginCapture_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamBeginCaptureToGraph * __cuStreamBeginCaptureToGraph = dlfcn.dlsym(handle, 'cuStreamBeginCaptureToGraph_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamBeginCapture_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1758 * __cuStreamBeginCapture_v2 = dlfcn.dlsym(handle, 'cuStreamBeginCapture_v2_ptsz') * global __cuStreamBeginCaptureToGraph * __cuStreamBeginCaptureToGraph = dlfcn.dlsym(handle, 'cuStreamBeginCaptureToGraph_ptsz') # <<<<<<<<<<<<<< * global __cuStreamEndCapture * __cuStreamEndCapture = dlfcn.dlsym(handle, 'cuStreamEndCapture_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph = dlsym(__pyx_v_handle, ((char const *)"cuStreamBeginCaptureToGraph_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1760 * __cuStreamBeginCaptureToGraph = dlfcn.dlsym(handle, 'cuStreamBeginCaptureToGraph_ptsz') * global __cuStreamEndCapture * __cuStreamEndCapture = dlfcn.dlsym(handle, 'cuStreamEndCapture_ptsz') # <<<<<<<<<<<<<< * global __cuStreamIsCapturing * __cuStreamIsCapturing = dlfcn.dlsym(handle, 'cuStreamIsCapturing_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture = dlsym(__pyx_v_handle, ((char const *)"cuStreamEndCapture_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1762 * __cuStreamEndCapture = dlfcn.dlsym(handle, 'cuStreamEndCapture_ptsz') * global __cuStreamIsCapturing * __cuStreamIsCapturing = dlfcn.dlsym(handle, 'cuStreamIsCapturing_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v2 * __cuStreamGetCaptureInfo_v2 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing = dlsym(__pyx_v_handle, ((char const *)"cuStreamIsCapturing_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1764 * __cuStreamIsCapturing = dlfcn.dlsym(handle, 'cuStreamIsCapturing_ptsz') * global __cuStreamGetCaptureInfo_v2 * __cuStreamGetCaptureInfo_v2 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v3 * __cuStreamGetCaptureInfo_v3 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v3_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCaptureInfo_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1766 * __cuStreamGetCaptureInfo_v2 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v2_ptsz') * global __cuStreamGetCaptureInfo_v3 * __cuStreamGetCaptureInfo_v3 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v3_ptsz') # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies * __cuStreamUpdateCaptureDependencies = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3 = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCaptureInfo_v3_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1768 * __cuStreamGetCaptureInfo_v3 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v3_ptsz') * global __cuStreamUpdateCaptureDependencies * __cuStreamUpdateCaptureDependencies = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_ptsz') # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies_v2 * __cuStreamUpdateCaptureDependencies_v2 = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies = dlsym(__pyx_v_handle, ((char const *)"cuStreamUpdateCaptureDependencies_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1770 * __cuStreamUpdateCaptureDependencies = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_ptsz') * global __cuStreamUpdateCaptureDependencies_v2 * __cuStreamUpdateCaptureDependencies_v2 = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamAttachMemAsync * __cuStreamAttachMemAsync = dlfcn.dlsym(handle, 'cuStreamAttachMemAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamUpdateCaptureDependencies_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1772 * __cuStreamUpdateCaptureDependencies_v2 = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_v2_ptsz') * global __cuStreamAttachMemAsync * __cuStreamAttachMemAsync = dlfcn.dlsym(handle, 'cuStreamAttachMemAsync_ptsz') # <<<<<<<<<<<<<< * global __cuStreamQuery * __cuStreamQuery = dlfcn.dlsym(handle, 'cuStreamQuery_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync = dlsym(__pyx_v_handle, ((char const *)"cuStreamAttachMemAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1774 * __cuStreamAttachMemAsync = dlfcn.dlsym(handle, 'cuStreamAttachMemAsync_ptsz') * global __cuStreamQuery * __cuStreamQuery = dlfcn.dlsym(handle, 'cuStreamQuery_ptsz') # <<<<<<<<<<<<<< * global __cuStreamSynchronize * __cuStreamSynchronize = dlfcn.dlsym(handle, 'cuStreamSynchronize_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery = dlsym(__pyx_v_handle, ((char const *)"cuStreamQuery_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1776 * __cuStreamQuery = dlfcn.dlsym(handle, 'cuStreamQuery_ptsz') * global __cuStreamSynchronize * __cuStreamSynchronize = dlfcn.dlsym(handle, 'cuStreamSynchronize_ptsz') # <<<<<<<<<<<<<< * global __cuStreamCopyAttributes * __cuStreamCopyAttributes = dlfcn.dlsym(handle, 'cuStreamCopyAttributes_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize = dlsym(__pyx_v_handle, ((char const *)"cuStreamSynchronize_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1778 * __cuStreamSynchronize = dlfcn.dlsym(handle, 'cuStreamSynchronize_ptsz') * global __cuStreamCopyAttributes * __cuStreamCopyAttributes = dlfcn.dlsym(handle, 'cuStreamCopyAttributes_ptsz') # <<<<<<<<<<<<<< * global __cuStreamGetAttribute * __cuStreamGetAttribute = dlfcn.dlsym(handle, 'cuStreamGetAttribute_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes = dlsym(__pyx_v_handle, ((char const *)"cuStreamCopyAttributes_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1780 * __cuStreamCopyAttributes = dlfcn.dlsym(handle, 'cuStreamCopyAttributes_ptsz') * global __cuStreamGetAttribute * __cuStreamGetAttribute = dlfcn.dlsym(handle, 'cuStreamGetAttribute_ptsz') # <<<<<<<<<<<<<< * global __cuStreamSetAttribute * __cuStreamSetAttribute = dlfcn.dlsym(handle, 'cuStreamSetAttribute_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetAttribute_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1782 * __cuStreamGetAttribute = dlfcn.dlsym(handle, 'cuStreamGetAttribute_ptsz') * global __cuStreamSetAttribute * __cuStreamSetAttribute = dlfcn.dlsym(handle, 'cuStreamSetAttribute_ptsz') # <<<<<<<<<<<<<< * global __cuEventRecord * __cuEventRecord = dlfcn.dlsym(handle, 'cuEventRecord_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuStreamSetAttribute_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1784 * __cuStreamSetAttribute = dlfcn.dlsym(handle, 'cuStreamSetAttribute_ptsz') * global __cuEventRecord * __cuEventRecord = dlfcn.dlsym(handle, 'cuEventRecord_ptsz') # <<<<<<<<<<<<<< * global __cuEventRecordWithFlags * __cuEventRecordWithFlags = dlfcn.dlsym(handle, 'cuEventRecordWithFlags_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord = dlsym(__pyx_v_handle, ((char const *)"cuEventRecord_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1786 * __cuEventRecord = dlfcn.dlsym(handle, 'cuEventRecord_ptsz') * global __cuEventRecordWithFlags * __cuEventRecordWithFlags = dlfcn.dlsym(handle, 'cuEventRecordWithFlags_ptsz') # <<<<<<<<<<<<<< * global __cuSignalExternalSemaphoresAsync * __cuSignalExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuSignalExternalSemaphoresAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags = dlsym(__pyx_v_handle, ((char const *)"cuEventRecordWithFlags_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1788 * __cuEventRecordWithFlags = dlfcn.dlsym(handle, 'cuEventRecordWithFlags_ptsz') * global __cuSignalExternalSemaphoresAsync * __cuSignalExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuSignalExternalSemaphoresAsync_ptsz') # <<<<<<<<<<<<<< * global __cuWaitExternalSemaphoresAsync * __cuWaitExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuWaitExternalSemaphoresAsync_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync = dlsym(__pyx_v_handle, ((char const *)"cuSignalExternalSemaphoresAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1790 * __cuSignalExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuSignalExternalSemaphoresAsync_ptsz') * global __cuWaitExternalSemaphoresAsync * __cuWaitExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuWaitExternalSemaphoresAsync_ptsz') # <<<<<<<<<<<<<< * global __cuStreamWaitValue32_v2 * __cuStreamWaitValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue32_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync = dlsym(__pyx_v_handle, ((char const *)"cuWaitExternalSemaphoresAsync_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1792 * __cuWaitExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuWaitExternalSemaphoresAsync_ptsz') * global __cuStreamWaitValue32_v2 * __cuStreamWaitValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue32_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamWaitValue64_v2 * __cuStreamWaitValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue64_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWaitValue32_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1794 * __cuStreamWaitValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue32_v2_ptsz') * global __cuStreamWaitValue64_v2 * __cuStreamWaitValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue64_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamWriteValue32_v2 * __cuStreamWriteValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue32_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWaitValue64_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1796 * __cuStreamWaitValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue64_v2_ptsz') * global __cuStreamWriteValue32_v2 * __cuStreamWriteValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue32_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamWriteValue64_v2 * __cuStreamWriteValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue64_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWriteValue32_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1798 * __cuStreamWriteValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue32_v2_ptsz') * global __cuStreamWriteValue64_v2 * __cuStreamWriteValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue64_v2_ptsz') # <<<<<<<<<<<<<< * global __cuStreamBatchMemOp_v2 * __cuStreamBatchMemOp_v2 = dlfcn.dlsym(handle, 'cuStreamBatchMemOp_v2_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWriteValue64_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1800 * __cuStreamWriteValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue64_v2_ptsz') * global __cuStreamBatchMemOp_v2 * __cuStreamBatchMemOp_v2 = dlfcn.dlsym(handle, 'cuStreamBatchMemOp_v2_ptsz') # <<<<<<<<<<<<<< * global __cuLaunchKernel * __cuLaunchKernel = dlfcn.dlsym(handle, 'cuLaunchKernel_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamBatchMemOp_v2_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1802 * __cuStreamBatchMemOp_v2 = dlfcn.dlsym(handle, 'cuStreamBatchMemOp_v2_ptsz') * global __cuLaunchKernel * __cuLaunchKernel = dlfcn.dlsym(handle, 'cuLaunchKernel_ptsz') # <<<<<<<<<<<<<< * global __cuLaunchKernelEx * __cuLaunchKernelEx = dlfcn.dlsym(handle, 'cuLaunchKernelEx_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel = dlsym(__pyx_v_handle, ((char const *)"cuLaunchKernel_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1804 * __cuLaunchKernel = dlfcn.dlsym(handle, 'cuLaunchKernel_ptsz') * global __cuLaunchKernelEx * __cuLaunchKernelEx = dlfcn.dlsym(handle, 'cuLaunchKernelEx_ptsz') # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernel * __cuLaunchCooperativeKernel = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernel_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx = dlsym(__pyx_v_handle, ((char const *)"cuLaunchKernelEx_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1806 * __cuLaunchKernelEx = dlfcn.dlsym(handle, 'cuLaunchKernelEx_ptsz') * global __cuLaunchCooperativeKernel * __cuLaunchCooperativeKernel = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernel_ptsz') # <<<<<<<<<<<<<< * global __cuLaunchHostFunc * __cuLaunchHostFunc = dlfcn.dlsym(handle, 'cuLaunchHostFunc_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel = dlsym(__pyx_v_handle, ((char const *)"cuLaunchCooperativeKernel_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1808 * __cuLaunchCooperativeKernel = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernel_ptsz') * global __cuLaunchHostFunc * __cuLaunchHostFunc = dlfcn.dlsym(handle, 'cuLaunchHostFunc_ptsz') # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithParams * __cuGraphInstantiateWithParams = dlfcn.dlsym(handle, 'cuGraphInstantiateWithParams_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc = dlsym(__pyx_v_handle, ((char const *)"cuLaunchHostFunc_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1810 * __cuLaunchHostFunc = dlfcn.dlsym(handle, 'cuLaunchHostFunc_ptsz') * global __cuGraphInstantiateWithParams * __cuGraphInstantiateWithParams = dlfcn.dlsym(handle, 'cuGraphInstantiateWithParams_ptsz') # <<<<<<<<<<<<<< * global __cuGraphUpload * __cuGraphUpload = dlfcn.dlsym(handle, 'cuGraphUpload_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphInstantiateWithParams_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1812 * __cuGraphInstantiateWithParams = dlfcn.dlsym(handle, 'cuGraphInstantiateWithParams_ptsz') * global __cuGraphUpload * __cuGraphUpload = dlfcn.dlsym(handle, 'cuGraphUpload_ptsz') # <<<<<<<<<<<<<< * global __cuGraphLaunch * __cuGraphLaunch = dlfcn.dlsym(handle, 'cuGraphLaunch_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload = dlsym(__pyx_v_handle, ((char const *)"cuGraphUpload_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1814 * __cuGraphUpload = dlfcn.dlsym(handle, 'cuGraphUpload_ptsz') * global __cuGraphLaunch * __cuGraphLaunch = dlfcn.dlsym(handle, 'cuGraphLaunch_ptsz') # <<<<<<<<<<<<<< * global __cuGraphicsMapResources * __cuGraphicsMapResources = dlfcn.dlsym(handle, 'cuGraphicsMapResources_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch = dlsym(__pyx_v_handle, ((char const *)"cuGraphLaunch_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1816 * __cuGraphLaunch = dlfcn.dlsym(handle, 'cuGraphLaunch_ptsz') * global __cuGraphicsMapResources * __cuGraphicsMapResources = dlfcn.dlsym(handle, 'cuGraphicsMapResources_ptsz') # <<<<<<<<<<<<<< * global __cuGraphicsUnmapResources * __cuGraphicsUnmapResources = dlfcn.dlsym(handle, 'cuGraphicsUnmapResources_ptsz') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsMapResources_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1818 * __cuGraphicsMapResources = dlfcn.dlsym(handle, 'cuGraphicsMapResources_ptsz') * global __cuGraphicsUnmapResources * __cuGraphicsUnmapResources = dlfcn.dlsym(handle, 'cuGraphicsUnmapResources_ptsz') # <<<<<<<<<<<<<< * else: * # Else get the regular version */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsUnmapResources_ptsz")); /* "cuda/bindings/_bindings/cydriver.pyx":1646 * * # Load using dlsym * if usePTDS: # <<<<<<<<<<<<<< * # Get all PTDS version of functions * pass */ goto __pyx_L22; } /* "cuda/bindings/_bindings/cydriver.pyx":1821 * else: * # Else get the regular version * pass # <<<<<<<<<<<<<< * global __cuMemcpy * __cuMemcpy = dlfcn.dlsym(handle, 'cuMemcpy') */ /*else*/ { /* "cuda/bindings/_bindings/cydriver.pyx":1823 * pass * global __cuMemcpy * __cuMemcpy = dlfcn.dlsym(handle, 'cuMemcpy') # <<<<<<<<<<<<<< * global __cuMemcpyPeer * __cuMemcpyPeer = dlfcn.dlsym(handle, 'cuMemcpyPeer') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy")); /* "cuda/bindings/_bindings/cydriver.pyx":1825 * __cuMemcpy = dlfcn.dlsym(handle, 'cuMemcpy') * global __cuMemcpyPeer * __cuMemcpyPeer = dlfcn.dlsym(handle, 'cuMemcpyPeer') # <<<<<<<<<<<<<< * global __cuMemcpyHtoD_v2 * __cuMemcpyHtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoD_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyPeer")); /* "cuda/bindings/_bindings/cydriver.pyx":1827 * __cuMemcpyPeer = dlfcn.dlsym(handle, 'cuMemcpyPeer') * global __cuMemcpyHtoD_v2 * __cuMemcpyHtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoD_v2') # <<<<<<<<<<<<<< * global __cuMemcpyDtoH_v2 * __cuMemcpyDtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoH_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoD_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1829 * __cuMemcpyHtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoD_v2') * global __cuMemcpyDtoH_v2 * __cuMemcpyDtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoH_v2') # <<<<<<<<<<<<<< * global __cuMemcpyDtoD_v2 * __cuMemcpyDtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoD_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoH_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1831 * __cuMemcpyDtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoH_v2') * global __cuMemcpyDtoD_v2 * __cuMemcpyDtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoD_v2') # <<<<<<<<<<<<<< * global __cuMemcpyDtoA_v2 * __cuMemcpyDtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoA_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoD_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1833 * __cuMemcpyDtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoD_v2') * global __cuMemcpyDtoA_v2 * __cuMemcpyDtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoA_v2') # <<<<<<<<<<<<<< * global __cuMemcpyAtoD_v2 * __cuMemcpyAtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoD_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoA_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1835 * __cuMemcpyDtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoA_v2') * global __cuMemcpyAtoD_v2 * __cuMemcpyAtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoD_v2') # <<<<<<<<<<<<<< * global __cuMemcpyHtoA_v2 * __cuMemcpyHtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoA_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoD_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1837 * __cuMemcpyAtoD_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoD_v2') * global __cuMemcpyHtoA_v2 * __cuMemcpyHtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoA_v2') # <<<<<<<<<<<<<< * global __cuMemcpyAtoH_v2 * __cuMemcpyAtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoH_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoA_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1839 * __cuMemcpyHtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoA_v2') * global __cuMemcpyAtoH_v2 * __cuMemcpyAtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoH_v2') # <<<<<<<<<<<<<< * global __cuMemcpyAtoA_v2 * __cuMemcpyAtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoA_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoH_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1841 * __cuMemcpyAtoH_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoH_v2') * global __cuMemcpyAtoA_v2 * __cuMemcpyAtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoA_v2') # <<<<<<<<<<<<<< * global __cuMemcpy2D_v2 * __cuMemcpy2D_v2 = dlfcn.dlsym(handle, 'cuMemcpy2D_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoA_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1843 * __cuMemcpyAtoA_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoA_v2') * global __cuMemcpy2D_v2 * __cuMemcpy2D_v2 = dlfcn.dlsym(handle, 'cuMemcpy2D_v2') # <<<<<<<<<<<<<< * global __cuMemcpy2DUnaligned_v2 * __cuMemcpy2DUnaligned_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DUnaligned_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy2D_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1845 * __cuMemcpy2D_v2 = dlfcn.dlsym(handle, 'cuMemcpy2D_v2') * global __cuMemcpy2DUnaligned_v2 * __cuMemcpy2DUnaligned_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DUnaligned_v2') # <<<<<<<<<<<<<< * global __cuMemcpy3D_v2 * __cuMemcpy3D_v2 = dlfcn.dlsym(handle, 'cuMemcpy3D_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy2DUnaligned_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1847 * __cuMemcpy2DUnaligned_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DUnaligned_v2') * global __cuMemcpy3D_v2 * __cuMemcpy3D_v2 = dlfcn.dlsym(handle, 'cuMemcpy3D_v2') # <<<<<<<<<<<<<< * global __cuMemcpy3DPeer * __cuMemcpy3DPeer = dlfcn.dlsym(handle, 'cuMemcpy3DPeer') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3D_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1849 * __cuMemcpy3D_v2 = dlfcn.dlsym(handle, 'cuMemcpy3D_v2') * global __cuMemcpy3DPeer * __cuMemcpy3DPeer = dlfcn.dlsym(handle, 'cuMemcpy3DPeer') # <<<<<<<<<<<<<< * global __cuMemcpyAsync * __cuMemcpyAsync = dlfcn.dlsym(handle, 'cuMemcpyAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DPeer")); /* "cuda/bindings/_bindings/cydriver.pyx":1851 * __cuMemcpy3DPeer = dlfcn.dlsym(handle, 'cuMemcpy3DPeer') * global __cuMemcpyAsync * __cuMemcpyAsync = dlfcn.dlsym(handle, 'cuMemcpyAsync') # <<<<<<<<<<<<<< * global __cuMemcpyPeerAsync * __cuMemcpyPeerAsync = dlfcn.dlsym(handle, 'cuMemcpyPeerAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1853 * __cuMemcpyAsync = dlfcn.dlsym(handle, 'cuMemcpyAsync') * global __cuMemcpyPeerAsync * __cuMemcpyPeerAsync = dlfcn.dlsym(handle, 'cuMemcpyPeerAsync') # <<<<<<<<<<<<<< * global __cuMemcpyHtoDAsync_v2 * __cuMemcpyHtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoDAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyPeerAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1855 * __cuMemcpyPeerAsync = dlfcn.dlsym(handle, 'cuMemcpyPeerAsync') * global __cuMemcpyHtoDAsync_v2 * __cuMemcpyHtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoDAsync_v2') # <<<<<<<<<<<<<< * global __cuMemcpyDtoHAsync_v2 * __cuMemcpyDtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoHAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoDAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1857 * __cuMemcpyHtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoDAsync_v2') * global __cuMemcpyDtoHAsync_v2 * __cuMemcpyDtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoHAsync_v2') # <<<<<<<<<<<<<< * global __cuMemcpyDtoDAsync_v2 * __cuMemcpyDtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoDAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoHAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1859 * __cuMemcpyDtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoHAsync_v2') * global __cuMemcpyDtoDAsync_v2 * __cuMemcpyDtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoDAsync_v2') # <<<<<<<<<<<<<< * global __cuMemcpyHtoAAsync_v2 * __cuMemcpyHtoAAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoAAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyDtoDAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1861 * __cuMemcpyDtoDAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyDtoDAsync_v2') * global __cuMemcpyHtoAAsync_v2 * __cuMemcpyHtoAAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoAAsync_v2') # <<<<<<<<<<<<<< * global __cuMemcpyAtoHAsync_v2 * __cuMemcpyAtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoHAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyHtoAAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1863 * __cuMemcpyHtoAAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyHtoAAsync_v2') * global __cuMemcpyAtoHAsync_v2 * __cuMemcpyAtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoHAsync_v2') # <<<<<<<<<<<<<< * global __cuMemcpy2DAsync_v2 * __cuMemcpy2DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyAtoHAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1865 * __cuMemcpyAtoHAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpyAtoHAsync_v2') * global __cuMemcpy2DAsync_v2 * __cuMemcpy2DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DAsync_v2') # <<<<<<<<<<<<<< * global __cuMemcpy3DAsync_v2 * __cuMemcpy3DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy3DAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy2DAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1867 * __cuMemcpy2DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy2DAsync_v2') * global __cuMemcpy3DAsync_v2 * __cuMemcpy3DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy3DAsync_v2') # <<<<<<<<<<<<<< * global __cuMemcpy3DPeerAsync * __cuMemcpy3DPeerAsync = dlfcn.dlsym(handle, 'cuMemcpy3DPeerAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1869 * __cuMemcpy3DAsync_v2 = dlfcn.dlsym(handle, 'cuMemcpy3DAsync_v2') * global __cuMemcpy3DPeerAsync * __cuMemcpy3DPeerAsync = dlfcn.dlsym(handle, 'cuMemcpy3DPeerAsync') # <<<<<<<<<<<<<< * global __cuMemcpyBatchAsync * __cuMemcpyBatchAsync = dlfcn.dlsym(handle, 'cuMemcpyBatchAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DPeerAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1871 * __cuMemcpy3DPeerAsync = dlfcn.dlsym(handle, 'cuMemcpy3DPeerAsync') * global __cuMemcpyBatchAsync * __cuMemcpyBatchAsync = dlfcn.dlsym(handle, 'cuMemcpyBatchAsync') # <<<<<<<<<<<<<< * global __cuMemcpy3DBatchAsync * __cuMemcpy3DBatchAsync = dlfcn.dlsym(handle, 'cuMemcpy3DBatchAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpyBatchAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1873 * __cuMemcpyBatchAsync = dlfcn.dlsym(handle, 'cuMemcpyBatchAsync') * global __cuMemcpy3DBatchAsync * __cuMemcpy3DBatchAsync = dlfcn.dlsym(handle, 'cuMemcpy3DBatchAsync') # <<<<<<<<<<<<<< * global __cuMemsetD8_v2 * __cuMemsetD8_v2 = dlfcn.dlsym(handle, 'cuMemsetD8_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemcpy3DBatchAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1875 * __cuMemcpy3DBatchAsync = dlfcn.dlsym(handle, 'cuMemcpy3DBatchAsync') * global __cuMemsetD8_v2 * __cuMemsetD8_v2 = dlfcn.dlsym(handle, 'cuMemsetD8_v2') # <<<<<<<<<<<<<< * global __cuMemsetD16_v2 * __cuMemsetD16_v2 = dlfcn.dlsym(handle, 'cuMemsetD16_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD8_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1877 * __cuMemsetD8_v2 = dlfcn.dlsym(handle, 'cuMemsetD8_v2') * global __cuMemsetD16_v2 * __cuMemsetD16_v2 = dlfcn.dlsym(handle, 'cuMemsetD16_v2') # <<<<<<<<<<<<<< * global __cuMemsetD32_v2 * __cuMemsetD32_v2 = dlfcn.dlsym(handle, 'cuMemsetD32_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD16_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1879 * __cuMemsetD16_v2 = dlfcn.dlsym(handle, 'cuMemsetD16_v2') * global __cuMemsetD32_v2 * __cuMemsetD32_v2 = dlfcn.dlsym(handle, 'cuMemsetD32_v2') # <<<<<<<<<<<<<< * global __cuMemsetD2D8_v2 * __cuMemsetD2D8_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D8_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD32_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1881 * __cuMemsetD32_v2 = dlfcn.dlsym(handle, 'cuMemsetD32_v2') * global __cuMemsetD2D8_v2 * __cuMemsetD2D8_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D8_v2') # <<<<<<<<<<<<<< * global __cuMemsetD2D16_v2 * __cuMemsetD2D16_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D16_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D8_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1883 * __cuMemsetD2D8_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D8_v2') * global __cuMemsetD2D16_v2 * __cuMemsetD2D16_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D16_v2') # <<<<<<<<<<<<<< * global __cuMemsetD2D32_v2 * __cuMemsetD2D32_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D32_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D16_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1885 * __cuMemsetD2D16_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D16_v2') * global __cuMemsetD2D32_v2 * __cuMemsetD2D32_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D32_v2') # <<<<<<<<<<<<<< * global __cuMemsetD8Async * __cuMemsetD8Async = dlfcn.dlsym(handle, 'cuMemsetD8Async') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D32_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1887 * __cuMemsetD2D32_v2 = dlfcn.dlsym(handle, 'cuMemsetD2D32_v2') * global __cuMemsetD8Async * __cuMemsetD8Async = dlfcn.dlsym(handle, 'cuMemsetD8Async') # <<<<<<<<<<<<<< * global __cuMemsetD16Async * __cuMemsetD16Async = dlfcn.dlsym(handle, 'cuMemsetD16Async') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD8Async")); /* "cuda/bindings/_bindings/cydriver.pyx":1889 * __cuMemsetD8Async = dlfcn.dlsym(handle, 'cuMemsetD8Async') * global __cuMemsetD16Async * __cuMemsetD16Async = dlfcn.dlsym(handle, 'cuMemsetD16Async') # <<<<<<<<<<<<<< * global __cuMemsetD32Async * __cuMemsetD32Async = dlfcn.dlsym(handle, 'cuMemsetD32Async') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD16Async")); /* "cuda/bindings/_bindings/cydriver.pyx":1891 * __cuMemsetD16Async = dlfcn.dlsym(handle, 'cuMemsetD16Async') * global __cuMemsetD32Async * __cuMemsetD32Async = dlfcn.dlsym(handle, 'cuMemsetD32Async') # <<<<<<<<<<<<<< * global __cuMemsetD2D8Async * __cuMemsetD2D8Async = dlfcn.dlsym(handle, 'cuMemsetD2D8Async') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD32Async")); /* "cuda/bindings/_bindings/cydriver.pyx":1893 * __cuMemsetD32Async = dlfcn.dlsym(handle, 'cuMemsetD32Async') * global __cuMemsetD2D8Async * __cuMemsetD2D8Async = dlfcn.dlsym(handle, 'cuMemsetD2D8Async') # <<<<<<<<<<<<<< * global __cuMemsetD2D16Async * __cuMemsetD2D16Async = dlfcn.dlsym(handle, 'cuMemsetD2D16Async') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D8Async")); /* "cuda/bindings/_bindings/cydriver.pyx":1895 * __cuMemsetD2D8Async = dlfcn.dlsym(handle, 'cuMemsetD2D8Async') * global __cuMemsetD2D16Async * __cuMemsetD2D16Async = dlfcn.dlsym(handle, 'cuMemsetD2D16Async') # <<<<<<<<<<<<<< * global __cuMemsetD2D32Async * __cuMemsetD2D32Async = dlfcn.dlsym(handle, 'cuMemsetD2D32Async') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D16Async")); /* "cuda/bindings/_bindings/cydriver.pyx":1897 * __cuMemsetD2D16Async = dlfcn.dlsym(handle, 'cuMemsetD2D16Async') * global __cuMemsetD2D32Async * __cuMemsetD2D32Async = dlfcn.dlsym(handle, 'cuMemsetD2D32Async') # <<<<<<<<<<<<<< * global __cuMemBatchDecompressAsync * __cuMemBatchDecompressAsync = dlfcn.dlsym(handle, 'cuMemBatchDecompressAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async = dlsym(__pyx_v_handle, ((char const *)"cuMemsetD2D32Async")); /* "cuda/bindings/_bindings/cydriver.pyx":1899 * __cuMemsetD2D32Async = dlfcn.dlsym(handle, 'cuMemsetD2D32Async') * global __cuMemBatchDecompressAsync * __cuMemBatchDecompressAsync = dlfcn.dlsym(handle, 'cuMemBatchDecompressAsync') # <<<<<<<<<<<<<< * global __cuMemMapArrayAsync * __cuMemMapArrayAsync = dlfcn.dlsym(handle, 'cuMemMapArrayAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemBatchDecompressAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1901 * __cuMemBatchDecompressAsync = dlfcn.dlsym(handle, 'cuMemBatchDecompressAsync') * global __cuMemMapArrayAsync * __cuMemMapArrayAsync = dlfcn.dlsym(handle, 'cuMemMapArrayAsync') # <<<<<<<<<<<<<< * global __cuMemFreeAsync * __cuMemFreeAsync = dlfcn.dlsym(handle, 'cuMemFreeAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemMapArrayAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1903 * __cuMemMapArrayAsync = dlfcn.dlsym(handle, 'cuMemMapArrayAsync') * global __cuMemFreeAsync * __cuMemFreeAsync = dlfcn.dlsym(handle, 'cuMemFreeAsync') # <<<<<<<<<<<<<< * global __cuMemAllocAsync * __cuMemAllocAsync = dlfcn.dlsym(handle, 'cuMemAllocAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemFreeAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1905 * __cuMemFreeAsync = dlfcn.dlsym(handle, 'cuMemFreeAsync') * global __cuMemAllocAsync * __cuMemAllocAsync = dlfcn.dlsym(handle, 'cuMemAllocAsync') # <<<<<<<<<<<<<< * global __cuMemAllocFromPoolAsync * __cuMemAllocFromPoolAsync = dlfcn.dlsym(handle, 'cuMemAllocFromPoolAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemAllocAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1907 * __cuMemAllocAsync = dlfcn.dlsym(handle, 'cuMemAllocAsync') * global __cuMemAllocFromPoolAsync * __cuMemAllocFromPoolAsync = dlfcn.dlsym(handle, 'cuMemAllocFromPoolAsync') # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync * __cuMemPrefetchAsync = dlfcn.dlsym(handle, 'cuMemPrefetchAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemAllocFromPoolAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1909 * __cuMemAllocFromPoolAsync = dlfcn.dlsym(handle, 'cuMemAllocFromPoolAsync') * global __cuMemPrefetchAsync * __cuMemPrefetchAsync = dlfcn.dlsym(handle, 'cuMemPrefetchAsync') # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync_v2 * __cuMemPrefetchAsync_v2 = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync = dlsym(__pyx_v_handle, ((char const *)"cuMemPrefetchAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1911 * __cuMemPrefetchAsync = dlfcn.dlsym(handle, 'cuMemPrefetchAsync') * global __cuMemPrefetchAsync_v2 * __cuMemPrefetchAsync_v2 = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_v2') # <<<<<<<<<<<<<< * global __cuStreamGetPriority * __cuStreamGetPriority = dlfcn.dlsym(handle, 'cuStreamGetPriority') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemPrefetchAsync_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1913 * __cuMemPrefetchAsync_v2 = dlfcn.dlsym(handle, 'cuMemPrefetchAsync_v2') * global __cuStreamGetPriority * __cuStreamGetPriority = dlfcn.dlsym(handle, 'cuStreamGetPriority') # <<<<<<<<<<<<<< * global __cuStreamGetDevice * __cuStreamGetDevice = dlfcn.dlsym(handle, 'cuStreamGetDevice') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetPriority")); /* "cuda/bindings/_bindings/cydriver.pyx":1915 * __cuStreamGetPriority = dlfcn.dlsym(handle, 'cuStreamGetPriority') * global __cuStreamGetDevice * __cuStreamGetDevice = dlfcn.dlsym(handle, 'cuStreamGetDevice') # <<<<<<<<<<<<<< * global __cuStreamGetFlags * __cuStreamGetFlags = dlfcn.dlsym(handle, 'cuStreamGetFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetDevice")); /* "cuda/bindings/_bindings/cydriver.pyx":1917 * __cuStreamGetDevice = dlfcn.dlsym(handle, 'cuStreamGetDevice') * global __cuStreamGetFlags * __cuStreamGetFlags = dlfcn.dlsym(handle, 'cuStreamGetFlags') # <<<<<<<<<<<<<< * global __cuStreamGetId * __cuStreamGetId = dlfcn.dlsym(handle, 'cuStreamGetId') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":1919 * __cuStreamGetFlags = dlfcn.dlsym(handle, 'cuStreamGetFlags') * global __cuStreamGetId * __cuStreamGetId = dlfcn.dlsym(handle, 'cuStreamGetId') # <<<<<<<<<<<<<< * global __cuStreamGetCtx * __cuStreamGetCtx = dlfcn.dlsym(handle, 'cuStreamGetCtx') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetId")); /* "cuda/bindings/_bindings/cydriver.pyx":1921 * __cuStreamGetId = dlfcn.dlsym(handle, 'cuStreamGetId') * global __cuStreamGetCtx * __cuStreamGetCtx = dlfcn.dlsym(handle, 'cuStreamGetCtx') # <<<<<<<<<<<<<< * global __cuStreamGetCtx_v2 * __cuStreamGetCtx_v2 = dlfcn.dlsym(handle, 'cuStreamGetCtx_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCtx")); /* "cuda/bindings/_bindings/cydriver.pyx":1923 * __cuStreamGetCtx = dlfcn.dlsym(handle, 'cuStreamGetCtx') * global __cuStreamGetCtx_v2 * __cuStreamGetCtx_v2 = dlfcn.dlsym(handle, 'cuStreamGetCtx_v2') # <<<<<<<<<<<<<< * global __cuStreamWaitEvent * __cuStreamWaitEvent = dlfcn.dlsym(handle, 'cuStreamWaitEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCtx_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1925 * __cuStreamGetCtx_v2 = dlfcn.dlsym(handle, 'cuStreamGetCtx_v2') * global __cuStreamWaitEvent * __cuStreamWaitEvent = dlfcn.dlsym(handle, 'cuStreamWaitEvent') # <<<<<<<<<<<<<< * global __cuStreamAddCallback * __cuStreamAddCallback = dlfcn.dlsym(handle, 'cuStreamAddCallback') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent = dlsym(__pyx_v_handle, ((char const *)"cuStreamWaitEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":1927 * __cuStreamWaitEvent = dlfcn.dlsym(handle, 'cuStreamWaitEvent') * global __cuStreamAddCallback * __cuStreamAddCallback = dlfcn.dlsym(handle, 'cuStreamAddCallback') # <<<<<<<<<<<<<< * global __cuStreamBeginCapture_v2 * __cuStreamBeginCapture_v2 = dlfcn.dlsym(handle, 'cuStreamBeginCapture_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback = dlsym(__pyx_v_handle, ((char const *)"cuStreamAddCallback")); /* "cuda/bindings/_bindings/cydriver.pyx":1929 * __cuStreamAddCallback = dlfcn.dlsym(handle, 'cuStreamAddCallback') * global __cuStreamBeginCapture_v2 * __cuStreamBeginCapture_v2 = dlfcn.dlsym(handle, 'cuStreamBeginCapture_v2') # <<<<<<<<<<<<<< * global __cuStreamBeginCaptureToGraph * __cuStreamBeginCaptureToGraph = dlfcn.dlsym(handle, 'cuStreamBeginCaptureToGraph') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamBeginCapture_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1931 * __cuStreamBeginCapture_v2 = dlfcn.dlsym(handle, 'cuStreamBeginCapture_v2') * global __cuStreamBeginCaptureToGraph * __cuStreamBeginCaptureToGraph = dlfcn.dlsym(handle, 'cuStreamBeginCaptureToGraph') # <<<<<<<<<<<<<< * global __cuStreamEndCapture * __cuStreamEndCapture = dlfcn.dlsym(handle, 'cuStreamEndCapture') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph = dlsym(__pyx_v_handle, ((char const *)"cuStreamBeginCaptureToGraph")); /* "cuda/bindings/_bindings/cydriver.pyx":1933 * __cuStreamBeginCaptureToGraph = dlfcn.dlsym(handle, 'cuStreamBeginCaptureToGraph') * global __cuStreamEndCapture * __cuStreamEndCapture = dlfcn.dlsym(handle, 'cuStreamEndCapture') # <<<<<<<<<<<<<< * global __cuStreamIsCapturing * __cuStreamIsCapturing = dlfcn.dlsym(handle, 'cuStreamIsCapturing') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture = dlsym(__pyx_v_handle, ((char const *)"cuStreamEndCapture")); /* "cuda/bindings/_bindings/cydriver.pyx":1935 * __cuStreamEndCapture = dlfcn.dlsym(handle, 'cuStreamEndCapture') * global __cuStreamIsCapturing * __cuStreamIsCapturing = dlfcn.dlsym(handle, 'cuStreamIsCapturing') # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v2 * __cuStreamGetCaptureInfo_v2 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing = dlsym(__pyx_v_handle, ((char const *)"cuStreamIsCapturing")); /* "cuda/bindings/_bindings/cydriver.pyx":1937 * __cuStreamIsCapturing = dlfcn.dlsym(handle, 'cuStreamIsCapturing') * global __cuStreamGetCaptureInfo_v2 * __cuStreamGetCaptureInfo_v2 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v2') # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v3 * __cuStreamGetCaptureInfo_v3 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v3') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCaptureInfo_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1939 * __cuStreamGetCaptureInfo_v2 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v2') * global __cuStreamGetCaptureInfo_v3 * __cuStreamGetCaptureInfo_v3 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v3') # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies * __cuStreamUpdateCaptureDependencies = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3 = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetCaptureInfo_v3")); /* "cuda/bindings/_bindings/cydriver.pyx":1941 * __cuStreamGetCaptureInfo_v3 = dlfcn.dlsym(handle, 'cuStreamGetCaptureInfo_v3') * global __cuStreamUpdateCaptureDependencies * __cuStreamUpdateCaptureDependencies = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies') # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies_v2 * __cuStreamUpdateCaptureDependencies_v2 = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies = dlsym(__pyx_v_handle, ((char const *)"cuStreamUpdateCaptureDependencies")); /* "cuda/bindings/_bindings/cydriver.pyx":1943 * __cuStreamUpdateCaptureDependencies = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies') * global __cuStreamUpdateCaptureDependencies_v2 * __cuStreamUpdateCaptureDependencies_v2 = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_v2') # <<<<<<<<<<<<<< * global __cuStreamAttachMemAsync * __cuStreamAttachMemAsync = dlfcn.dlsym(handle, 'cuStreamAttachMemAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamUpdateCaptureDependencies_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1945 * __cuStreamUpdateCaptureDependencies_v2 = dlfcn.dlsym(handle, 'cuStreamUpdateCaptureDependencies_v2') * global __cuStreamAttachMemAsync * __cuStreamAttachMemAsync = dlfcn.dlsym(handle, 'cuStreamAttachMemAsync') # <<<<<<<<<<<<<< * global __cuStreamQuery * __cuStreamQuery = dlfcn.dlsym(handle, 'cuStreamQuery') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync = dlsym(__pyx_v_handle, ((char const *)"cuStreamAttachMemAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1947 * __cuStreamAttachMemAsync = dlfcn.dlsym(handle, 'cuStreamAttachMemAsync') * global __cuStreamQuery * __cuStreamQuery = dlfcn.dlsym(handle, 'cuStreamQuery') # <<<<<<<<<<<<<< * global __cuStreamSynchronize * __cuStreamSynchronize = dlfcn.dlsym(handle, 'cuStreamSynchronize') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery = dlsym(__pyx_v_handle, ((char const *)"cuStreamQuery")); /* "cuda/bindings/_bindings/cydriver.pyx":1949 * __cuStreamQuery = dlfcn.dlsym(handle, 'cuStreamQuery') * global __cuStreamSynchronize * __cuStreamSynchronize = dlfcn.dlsym(handle, 'cuStreamSynchronize') # <<<<<<<<<<<<<< * global __cuStreamCopyAttributes * __cuStreamCopyAttributes = dlfcn.dlsym(handle, 'cuStreamCopyAttributes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize = dlsym(__pyx_v_handle, ((char const *)"cuStreamSynchronize")); /* "cuda/bindings/_bindings/cydriver.pyx":1951 * __cuStreamSynchronize = dlfcn.dlsym(handle, 'cuStreamSynchronize') * global __cuStreamCopyAttributes * __cuStreamCopyAttributes = dlfcn.dlsym(handle, 'cuStreamCopyAttributes') # <<<<<<<<<<<<<< * global __cuStreamGetAttribute * __cuStreamGetAttribute = dlfcn.dlsym(handle, 'cuStreamGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes = dlsym(__pyx_v_handle, ((char const *)"cuStreamCopyAttributes")); /* "cuda/bindings/_bindings/cydriver.pyx":1953 * __cuStreamCopyAttributes = dlfcn.dlsym(handle, 'cuStreamCopyAttributes') * global __cuStreamGetAttribute * __cuStreamGetAttribute = dlfcn.dlsym(handle, 'cuStreamGetAttribute') # <<<<<<<<<<<<<< * global __cuStreamSetAttribute * __cuStreamSetAttribute = dlfcn.dlsym(handle, 'cuStreamSetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":1955 * __cuStreamGetAttribute = dlfcn.dlsym(handle, 'cuStreamGetAttribute') * global __cuStreamSetAttribute * __cuStreamSetAttribute = dlfcn.dlsym(handle, 'cuStreamSetAttribute') # <<<<<<<<<<<<<< * global __cuEventRecord * __cuEventRecord = dlfcn.dlsym(handle, 'cuEventRecord') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuStreamSetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":1957 * __cuStreamSetAttribute = dlfcn.dlsym(handle, 'cuStreamSetAttribute') * global __cuEventRecord * __cuEventRecord = dlfcn.dlsym(handle, 'cuEventRecord') # <<<<<<<<<<<<<< * global __cuEventRecordWithFlags * __cuEventRecordWithFlags = dlfcn.dlsym(handle, 'cuEventRecordWithFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord = dlsym(__pyx_v_handle, ((char const *)"cuEventRecord")); /* "cuda/bindings/_bindings/cydriver.pyx":1959 * __cuEventRecord = dlfcn.dlsym(handle, 'cuEventRecord') * global __cuEventRecordWithFlags * __cuEventRecordWithFlags = dlfcn.dlsym(handle, 'cuEventRecordWithFlags') # <<<<<<<<<<<<<< * global __cuSignalExternalSemaphoresAsync * __cuSignalExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuSignalExternalSemaphoresAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags = dlsym(__pyx_v_handle, ((char const *)"cuEventRecordWithFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":1961 * __cuEventRecordWithFlags = dlfcn.dlsym(handle, 'cuEventRecordWithFlags') * global __cuSignalExternalSemaphoresAsync * __cuSignalExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuSignalExternalSemaphoresAsync') # <<<<<<<<<<<<<< * global __cuWaitExternalSemaphoresAsync * __cuWaitExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuWaitExternalSemaphoresAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync = dlsym(__pyx_v_handle, ((char const *)"cuSignalExternalSemaphoresAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1963 * __cuSignalExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuSignalExternalSemaphoresAsync') * global __cuWaitExternalSemaphoresAsync * __cuWaitExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuWaitExternalSemaphoresAsync') # <<<<<<<<<<<<<< * global __cuStreamWaitValue32_v2 * __cuStreamWaitValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue32_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync = dlsym(__pyx_v_handle, ((char const *)"cuWaitExternalSemaphoresAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":1965 * __cuWaitExternalSemaphoresAsync = dlfcn.dlsym(handle, 'cuWaitExternalSemaphoresAsync') * global __cuStreamWaitValue32_v2 * __cuStreamWaitValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue32_v2') # <<<<<<<<<<<<<< * global __cuStreamWaitValue64_v2 * __cuStreamWaitValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue64_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWaitValue32_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1967 * __cuStreamWaitValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue32_v2') * global __cuStreamWaitValue64_v2 * __cuStreamWaitValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue64_v2') # <<<<<<<<<<<<<< * global __cuStreamWriteValue32_v2 * __cuStreamWriteValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue32_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWaitValue64_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1969 * __cuStreamWaitValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWaitValue64_v2') * global __cuStreamWriteValue32_v2 * __cuStreamWriteValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue32_v2') # <<<<<<<<<<<<<< * global __cuStreamWriteValue64_v2 * __cuStreamWriteValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue64_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWriteValue32_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1971 * __cuStreamWriteValue32_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue32_v2') * global __cuStreamWriteValue64_v2 * __cuStreamWriteValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue64_v2') # <<<<<<<<<<<<<< * global __cuStreamBatchMemOp_v2 * __cuStreamBatchMemOp_v2 = dlfcn.dlsym(handle, 'cuStreamBatchMemOp_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamWriteValue64_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1973 * __cuStreamWriteValue64_v2 = dlfcn.dlsym(handle, 'cuStreamWriteValue64_v2') * global __cuStreamBatchMemOp_v2 * __cuStreamBatchMemOp_v2 = dlfcn.dlsym(handle, 'cuStreamBatchMemOp_v2') # <<<<<<<<<<<<<< * global __cuLaunchKernel * __cuLaunchKernel = dlfcn.dlsym(handle, 'cuLaunchKernel') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamBatchMemOp_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":1975 * __cuStreamBatchMemOp_v2 = dlfcn.dlsym(handle, 'cuStreamBatchMemOp_v2') * global __cuLaunchKernel * __cuLaunchKernel = dlfcn.dlsym(handle, 'cuLaunchKernel') # <<<<<<<<<<<<<< * global __cuLaunchKernelEx * __cuLaunchKernelEx = dlfcn.dlsym(handle, 'cuLaunchKernelEx') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel = dlsym(__pyx_v_handle, ((char const *)"cuLaunchKernel")); /* "cuda/bindings/_bindings/cydriver.pyx":1977 * __cuLaunchKernel = dlfcn.dlsym(handle, 'cuLaunchKernel') * global __cuLaunchKernelEx * __cuLaunchKernelEx = dlfcn.dlsym(handle, 'cuLaunchKernelEx') # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernel * __cuLaunchCooperativeKernel = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernel') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx = dlsym(__pyx_v_handle, ((char const *)"cuLaunchKernelEx")); /* "cuda/bindings/_bindings/cydriver.pyx":1979 * __cuLaunchKernelEx = dlfcn.dlsym(handle, 'cuLaunchKernelEx') * global __cuLaunchCooperativeKernel * __cuLaunchCooperativeKernel = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernel') # <<<<<<<<<<<<<< * global __cuLaunchHostFunc * __cuLaunchHostFunc = dlfcn.dlsym(handle, 'cuLaunchHostFunc') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel = dlsym(__pyx_v_handle, ((char const *)"cuLaunchCooperativeKernel")); /* "cuda/bindings/_bindings/cydriver.pyx":1981 * __cuLaunchCooperativeKernel = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernel') * global __cuLaunchHostFunc * __cuLaunchHostFunc = dlfcn.dlsym(handle, 'cuLaunchHostFunc') # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithParams * __cuGraphInstantiateWithParams = dlfcn.dlsym(handle, 'cuGraphInstantiateWithParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc = dlsym(__pyx_v_handle, ((char const *)"cuLaunchHostFunc")); /* "cuda/bindings/_bindings/cydriver.pyx":1983 * __cuLaunchHostFunc = dlfcn.dlsym(handle, 'cuLaunchHostFunc') * global __cuGraphInstantiateWithParams * __cuGraphInstantiateWithParams = dlfcn.dlsym(handle, 'cuGraphInstantiateWithParams') # <<<<<<<<<<<<<< * global __cuGraphUpload * __cuGraphUpload = dlfcn.dlsym(handle, 'cuGraphUpload') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphInstantiateWithParams")); /* "cuda/bindings/_bindings/cydriver.pyx":1985 * __cuGraphInstantiateWithParams = dlfcn.dlsym(handle, 'cuGraphInstantiateWithParams') * global __cuGraphUpload * __cuGraphUpload = dlfcn.dlsym(handle, 'cuGraphUpload') # <<<<<<<<<<<<<< * global __cuGraphLaunch * __cuGraphLaunch = dlfcn.dlsym(handle, 'cuGraphLaunch') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload = dlsym(__pyx_v_handle, ((char const *)"cuGraphUpload")); /* "cuda/bindings/_bindings/cydriver.pyx":1987 * __cuGraphUpload = dlfcn.dlsym(handle, 'cuGraphUpload') * global __cuGraphLaunch * __cuGraphLaunch = dlfcn.dlsym(handle, 'cuGraphLaunch') # <<<<<<<<<<<<<< * global __cuGraphicsMapResources * __cuGraphicsMapResources = dlfcn.dlsym(handle, 'cuGraphicsMapResources') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch = dlsym(__pyx_v_handle, ((char const *)"cuGraphLaunch")); /* "cuda/bindings/_bindings/cydriver.pyx":1989 * __cuGraphLaunch = dlfcn.dlsym(handle, 'cuGraphLaunch') * global __cuGraphicsMapResources * __cuGraphicsMapResources = dlfcn.dlsym(handle, 'cuGraphicsMapResources') # <<<<<<<<<<<<<< * global __cuGraphicsUnmapResources * __cuGraphicsUnmapResources = dlfcn.dlsym(handle, 'cuGraphicsUnmapResources') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsMapResources")); /* "cuda/bindings/_bindings/cydriver.pyx":1991 * __cuGraphicsMapResources = dlfcn.dlsym(handle, 'cuGraphicsMapResources') * global __cuGraphicsUnmapResources * __cuGraphicsUnmapResources = dlfcn.dlsym(handle, 'cuGraphicsUnmapResources') # <<<<<<<<<<<<<< * # Get remaining functions * global __cuGetErrorString */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsUnmapResources")); } __pyx_L22:; /* "cuda/bindings/_bindings/cydriver.pyx":1994 * # Get remaining functions * global __cuGetErrorString * __cuGetErrorString = dlfcn.dlsym(handle, 'cuGetErrorString') # <<<<<<<<<<<<<< * global __cuGetErrorName * __cuGetErrorName = dlfcn.dlsym(handle, 'cuGetErrorName') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorString = dlsym(__pyx_v_handle, ((char const *)"cuGetErrorString")); /* "cuda/bindings/_bindings/cydriver.pyx":1996 * __cuGetErrorString = dlfcn.dlsym(handle, 'cuGetErrorString') * global __cuGetErrorName * __cuGetErrorName = dlfcn.dlsym(handle, 'cuGetErrorName') # <<<<<<<<<<<<<< * global __cuInit * __cuInit = dlfcn.dlsym(handle, 'cuInit') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorName = dlsym(__pyx_v_handle, ((char const *)"cuGetErrorName")); /* "cuda/bindings/_bindings/cydriver.pyx":1998 * __cuGetErrorName = dlfcn.dlsym(handle, 'cuGetErrorName') * global __cuInit * __cuInit = dlfcn.dlsym(handle, 'cuInit') # <<<<<<<<<<<<<< * global __cuDriverGetVersion * __cuDriverGetVersion = dlfcn.dlsym(handle, 'cuDriverGetVersion') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuInit = dlsym(__pyx_v_handle, ((char const *)"cuInit")); /* "cuda/bindings/_bindings/cydriver.pyx":2000 * __cuInit = dlfcn.dlsym(handle, 'cuInit') * global __cuDriverGetVersion * __cuDriverGetVersion = dlfcn.dlsym(handle, 'cuDriverGetVersion') # <<<<<<<<<<<<<< * global __cuDeviceGet * __cuDeviceGet = dlfcn.dlsym(handle, 'cuDeviceGet') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDriverGetVersion = dlsym(__pyx_v_handle, ((char const *)"cuDriverGetVersion")); /* "cuda/bindings/_bindings/cydriver.pyx":2002 * __cuDriverGetVersion = dlfcn.dlsym(handle, 'cuDriverGetVersion') * global __cuDeviceGet * __cuDeviceGet = dlfcn.dlsym(handle, 'cuDeviceGet') # <<<<<<<<<<<<<< * global __cuDeviceGetCount * __cuDeviceGetCount = dlfcn.dlsym(handle, 'cuDeviceGetCount') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGet = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGet")); /* "cuda/bindings/_bindings/cydriver.pyx":2004 * __cuDeviceGet = dlfcn.dlsym(handle, 'cuDeviceGet') * global __cuDeviceGetCount * __cuDeviceGetCount = dlfcn.dlsym(handle, 'cuDeviceGetCount') # <<<<<<<<<<<<<< * global __cuDeviceGetName * __cuDeviceGetName = dlfcn.dlsym(handle, 'cuDeviceGetName') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetCount = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetCount")); /* "cuda/bindings/_bindings/cydriver.pyx":2006 * __cuDeviceGetCount = dlfcn.dlsym(handle, 'cuDeviceGetCount') * global __cuDeviceGetName * __cuDeviceGetName = dlfcn.dlsym(handle, 'cuDeviceGetName') # <<<<<<<<<<<<<< * global __cuDeviceGetUuid * __cuDeviceGetUuid = dlfcn.dlsym(handle, 'cuDeviceGetUuid') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetName = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetName")); /* "cuda/bindings/_bindings/cydriver.pyx":2008 * __cuDeviceGetName = dlfcn.dlsym(handle, 'cuDeviceGetName') * global __cuDeviceGetUuid * __cuDeviceGetUuid = dlfcn.dlsym(handle, 'cuDeviceGetUuid') # <<<<<<<<<<<<<< * global __cuDeviceGetUuid_v2 * __cuDeviceGetUuid_v2 = dlfcn.dlsym(handle, 'cuDeviceGetUuid_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetUuid")); /* "cuda/bindings/_bindings/cydriver.pyx":2010 * __cuDeviceGetUuid = dlfcn.dlsym(handle, 'cuDeviceGetUuid') * global __cuDeviceGetUuid_v2 * __cuDeviceGetUuid_v2 = dlfcn.dlsym(handle, 'cuDeviceGetUuid_v2') # <<<<<<<<<<<<<< * global __cuDeviceGetLuid * __cuDeviceGetLuid = dlfcn.dlsym(handle, 'cuDeviceGetLuid') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid_v2 = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetUuid_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2012 * __cuDeviceGetUuid_v2 = dlfcn.dlsym(handle, 'cuDeviceGetUuid_v2') * global __cuDeviceGetLuid * __cuDeviceGetLuid = dlfcn.dlsym(handle, 'cuDeviceGetLuid') # <<<<<<<<<<<<<< * global __cuDeviceTotalMem_v2 * __cuDeviceTotalMem_v2 = dlfcn.dlsym(handle, 'cuDeviceTotalMem_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetLuid = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetLuid")); /* "cuda/bindings/_bindings/cydriver.pyx":2014 * __cuDeviceGetLuid = dlfcn.dlsym(handle, 'cuDeviceGetLuid') * global __cuDeviceTotalMem_v2 * __cuDeviceTotalMem_v2 = dlfcn.dlsym(handle, 'cuDeviceTotalMem_v2') # <<<<<<<<<<<<<< * global __cuDeviceGetTexture1DLinearMaxWidth * __cuDeviceGetTexture1DLinearMaxWidth = dlfcn.dlsym(handle, 'cuDeviceGetTexture1DLinearMaxWidth') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceTotalMem_v2 = dlsym(__pyx_v_handle, ((char const *)"cuDeviceTotalMem_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2016 * __cuDeviceTotalMem_v2 = dlfcn.dlsym(handle, 'cuDeviceTotalMem_v2') * global __cuDeviceGetTexture1DLinearMaxWidth * __cuDeviceGetTexture1DLinearMaxWidth = dlfcn.dlsym(handle, 'cuDeviceGetTexture1DLinearMaxWidth') # <<<<<<<<<<<<<< * global __cuDeviceGetAttribute * __cuDeviceGetAttribute = dlfcn.dlsym(handle, 'cuDeviceGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetTexture1DLinearMaxWidth = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetTexture1DLinearMaxWidth")); /* "cuda/bindings/_bindings/cydriver.pyx":2018 * __cuDeviceGetTexture1DLinearMaxWidth = dlfcn.dlsym(handle, 'cuDeviceGetTexture1DLinearMaxWidth') * global __cuDeviceGetAttribute * __cuDeviceGetAttribute = dlfcn.dlsym(handle, 'cuDeviceGetAttribute') # <<<<<<<<<<<<<< * global __cuDeviceGetNvSciSyncAttributes * __cuDeviceGetNvSciSyncAttributes = dlfcn.dlsym(handle, 'cuDeviceGetNvSciSyncAttributes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2020 * __cuDeviceGetAttribute = dlfcn.dlsym(handle, 'cuDeviceGetAttribute') * global __cuDeviceGetNvSciSyncAttributes * __cuDeviceGetNvSciSyncAttributes = dlfcn.dlsym(handle, 'cuDeviceGetNvSciSyncAttributes') # <<<<<<<<<<<<<< * global __cuDeviceSetMemPool * __cuDeviceSetMemPool = dlfcn.dlsym(handle, 'cuDeviceSetMemPool') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetNvSciSyncAttributes = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetNvSciSyncAttributes")); /* "cuda/bindings/_bindings/cydriver.pyx":2022 * __cuDeviceGetNvSciSyncAttributes = dlfcn.dlsym(handle, 'cuDeviceGetNvSciSyncAttributes') * global __cuDeviceSetMemPool * __cuDeviceSetMemPool = dlfcn.dlsym(handle, 'cuDeviceSetMemPool') # <<<<<<<<<<<<<< * global __cuDeviceGetMemPool * __cuDeviceGetMemPool = dlfcn.dlsym(handle, 'cuDeviceGetMemPool') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetMemPool = dlsym(__pyx_v_handle, ((char const *)"cuDeviceSetMemPool")); /* "cuda/bindings/_bindings/cydriver.pyx":2024 * __cuDeviceSetMemPool = dlfcn.dlsym(handle, 'cuDeviceSetMemPool') * global __cuDeviceGetMemPool * __cuDeviceGetMemPool = dlfcn.dlsym(handle, 'cuDeviceGetMemPool') # <<<<<<<<<<<<<< * global __cuDeviceGetDefaultMemPool * __cuDeviceGetDefaultMemPool = dlfcn.dlsym(handle, 'cuDeviceGetDefaultMemPool') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetMemPool = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetMemPool")); /* "cuda/bindings/_bindings/cydriver.pyx":2026 * __cuDeviceGetMemPool = dlfcn.dlsym(handle, 'cuDeviceGetMemPool') * global __cuDeviceGetDefaultMemPool * __cuDeviceGetDefaultMemPool = dlfcn.dlsym(handle, 'cuDeviceGetDefaultMemPool') # <<<<<<<<<<<<<< * global __cuDeviceGetExecAffinitySupport * __cuDeviceGetExecAffinitySupport = dlfcn.dlsym(handle, 'cuDeviceGetExecAffinitySupport') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDefaultMemPool = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetDefaultMemPool")); /* "cuda/bindings/_bindings/cydriver.pyx":2028 * __cuDeviceGetDefaultMemPool = dlfcn.dlsym(handle, 'cuDeviceGetDefaultMemPool') * global __cuDeviceGetExecAffinitySupport * __cuDeviceGetExecAffinitySupport = dlfcn.dlsym(handle, 'cuDeviceGetExecAffinitySupport') # <<<<<<<<<<<<<< * global __cuFlushGPUDirectRDMAWrites * __cuFlushGPUDirectRDMAWrites = dlfcn.dlsym(handle, 'cuFlushGPUDirectRDMAWrites') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetExecAffinitySupport = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetExecAffinitySupport")); /* "cuda/bindings/_bindings/cydriver.pyx":2030 * __cuDeviceGetExecAffinitySupport = dlfcn.dlsym(handle, 'cuDeviceGetExecAffinitySupport') * global __cuFlushGPUDirectRDMAWrites * __cuFlushGPUDirectRDMAWrites = dlfcn.dlsym(handle, 'cuFlushGPUDirectRDMAWrites') # <<<<<<<<<<<<<< * global __cuDeviceGetProperties * __cuDeviceGetProperties = dlfcn.dlsym(handle, 'cuDeviceGetProperties') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFlushGPUDirectRDMAWrites = dlsym(__pyx_v_handle, ((char const *)"cuFlushGPUDirectRDMAWrites")); /* "cuda/bindings/_bindings/cydriver.pyx":2032 * __cuFlushGPUDirectRDMAWrites = dlfcn.dlsym(handle, 'cuFlushGPUDirectRDMAWrites') * global __cuDeviceGetProperties * __cuDeviceGetProperties = dlfcn.dlsym(handle, 'cuDeviceGetProperties') # <<<<<<<<<<<<<< * global __cuDeviceComputeCapability * __cuDeviceComputeCapability = dlfcn.dlsym(handle, 'cuDeviceComputeCapability') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetProperties = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetProperties")); /* "cuda/bindings/_bindings/cydriver.pyx":2034 * __cuDeviceGetProperties = dlfcn.dlsym(handle, 'cuDeviceGetProperties') * global __cuDeviceComputeCapability * __cuDeviceComputeCapability = dlfcn.dlsym(handle, 'cuDeviceComputeCapability') # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRetain * __cuDevicePrimaryCtxRetain = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxRetain') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceComputeCapability = dlsym(__pyx_v_handle, ((char const *)"cuDeviceComputeCapability")); /* "cuda/bindings/_bindings/cydriver.pyx":2036 * __cuDeviceComputeCapability = dlfcn.dlsym(handle, 'cuDeviceComputeCapability') * global __cuDevicePrimaryCtxRetain * __cuDevicePrimaryCtxRetain = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxRetain') # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRelease_v2 * __cuDevicePrimaryCtxRelease_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxRelease_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRetain = dlsym(__pyx_v_handle, ((char const *)"cuDevicePrimaryCtxRetain")); /* "cuda/bindings/_bindings/cydriver.pyx":2038 * __cuDevicePrimaryCtxRetain = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxRetain') * global __cuDevicePrimaryCtxRelease_v2 * __cuDevicePrimaryCtxRelease_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxRelease_v2') # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxSetFlags_v2 * __cuDevicePrimaryCtxSetFlags_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxSetFlags_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRelease_v2 = dlsym(__pyx_v_handle, ((char const *)"cuDevicePrimaryCtxRelease_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2040 * __cuDevicePrimaryCtxRelease_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxRelease_v2') * global __cuDevicePrimaryCtxSetFlags_v2 * __cuDevicePrimaryCtxSetFlags_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxSetFlags_v2') # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxGetState * __cuDevicePrimaryCtxGetState = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxGetState') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxSetFlags_v2 = dlsym(__pyx_v_handle, ((char const *)"cuDevicePrimaryCtxSetFlags_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2042 * __cuDevicePrimaryCtxSetFlags_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxSetFlags_v2') * global __cuDevicePrimaryCtxGetState * __cuDevicePrimaryCtxGetState = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxGetState') # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxReset_v2 * __cuDevicePrimaryCtxReset_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxReset_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxGetState = dlsym(__pyx_v_handle, ((char const *)"cuDevicePrimaryCtxGetState")); /* "cuda/bindings/_bindings/cydriver.pyx":2044 * __cuDevicePrimaryCtxGetState = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxGetState') * global __cuDevicePrimaryCtxReset_v2 * __cuDevicePrimaryCtxReset_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxReset_v2') # <<<<<<<<<<<<<< * global __cuCtxCreate_v2 * __cuCtxCreate_v2 = dlfcn.dlsym(handle, 'cuCtxCreate_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxReset_v2 = dlsym(__pyx_v_handle, ((char const *)"cuDevicePrimaryCtxReset_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2046 * __cuDevicePrimaryCtxReset_v2 = dlfcn.dlsym(handle, 'cuDevicePrimaryCtxReset_v2') * global __cuCtxCreate_v2 * __cuCtxCreate_v2 = dlfcn.dlsym(handle, 'cuCtxCreate_v2') # <<<<<<<<<<<<<< * global __cuCtxCreate_v3 * __cuCtxCreate_v3 = dlfcn.dlsym(handle, 'cuCtxCreate_v3') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v2 = dlsym(__pyx_v_handle, ((char const *)"cuCtxCreate_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2048 * __cuCtxCreate_v2 = dlfcn.dlsym(handle, 'cuCtxCreate_v2') * global __cuCtxCreate_v3 * __cuCtxCreate_v3 = dlfcn.dlsym(handle, 'cuCtxCreate_v3') # <<<<<<<<<<<<<< * global __cuCtxCreate_v4 * __cuCtxCreate_v4 = dlfcn.dlsym(handle, 'cuCtxCreate_v4') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v3 = dlsym(__pyx_v_handle, ((char const *)"cuCtxCreate_v3")); /* "cuda/bindings/_bindings/cydriver.pyx":2050 * __cuCtxCreate_v3 = dlfcn.dlsym(handle, 'cuCtxCreate_v3') * global __cuCtxCreate_v4 * __cuCtxCreate_v4 = dlfcn.dlsym(handle, 'cuCtxCreate_v4') # <<<<<<<<<<<<<< * global __cuCtxDestroy_v2 * __cuCtxDestroy_v2 = dlfcn.dlsym(handle, 'cuCtxDestroy_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v4 = dlsym(__pyx_v_handle, ((char const *)"cuCtxCreate_v4")); /* "cuda/bindings/_bindings/cydriver.pyx":2052 * __cuCtxCreate_v4 = dlfcn.dlsym(handle, 'cuCtxCreate_v4') * global __cuCtxDestroy_v2 * __cuCtxDestroy_v2 = dlfcn.dlsym(handle, 'cuCtxDestroy_v2') # <<<<<<<<<<<<<< * global __cuCtxPushCurrent_v2 * __cuCtxPushCurrent_v2 = dlfcn.dlsym(handle, 'cuCtxPushCurrent_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDestroy_v2 = dlsym(__pyx_v_handle, ((char const *)"cuCtxDestroy_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2054 * __cuCtxDestroy_v2 = dlfcn.dlsym(handle, 'cuCtxDestroy_v2') * global __cuCtxPushCurrent_v2 * __cuCtxPushCurrent_v2 = dlfcn.dlsym(handle, 'cuCtxPushCurrent_v2') # <<<<<<<<<<<<<< * global __cuCtxPopCurrent_v2 * __cuCtxPopCurrent_v2 = dlfcn.dlsym(handle, 'cuCtxPopCurrent_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPushCurrent_v2 = dlsym(__pyx_v_handle, ((char const *)"cuCtxPushCurrent_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2056 * __cuCtxPushCurrent_v2 = dlfcn.dlsym(handle, 'cuCtxPushCurrent_v2') * global __cuCtxPopCurrent_v2 * __cuCtxPopCurrent_v2 = dlfcn.dlsym(handle, 'cuCtxPopCurrent_v2') # <<<<<<<<<<<<<< * global __cuCtxSetCurrent * __cuCtxSetCurrent = dlfcn.dlsym(handle, 'cuCtxSetCurrent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPopCurrent_v2 = dlsym(__pyx_v_handle, ((char const *)"cuCtxPopCurrent_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2058 * __cuCtxPopCurrent_v2 = dlfcn.dlsym(handle, 'cuCtxPopCurrent_v2') * global __cuCtxSetCurrent * __cuCtxSetCurrent = dlfcn.dlsym(handle, 'cuCtxSetCurrent') # <<<<<<<<<<<<<< * global __cuCtxGetCurrent * __cuCtxGetCurrent = dlfcn.dlsym(handle, 'cuCtxGetCurrent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCurrent = dlsym(__pyx_v_handle, ((char const *)"cuCtxSetCurrent")); /* "cuda/bindings/_bindings/cydriver.pyx":2060 * __cuCtxSetCurrent = dlfcn.dlsym(handle, 'cuCtxSetCurrent') * global __cuCtxGetCurrent * __cuCtxGetCurrent = dlfcn.dlsym(handle, 'cuCtxGetCurrent') # <<<<<<<<<<<<<< * global __cuCtxGetDevice * __cuCtxGetDevice = dlfcn.dlsym(handle, 'cuCtxGetDevice') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCurrent = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetCurrent")); /* "cuda/bindings/_bindings/cydriver.pyx":2062 * __cuCtxGetCurrent = dlfcn.dlsym(handle, 'cuCtxGetCurrent') * global __cuCtxGetDevice * __cuCtxGetDevice = dlfcn.dlsym(handle, 'cuCtxGetDevice') # <<<<<<<<<<<<<< * global __cuCtxGetFlags * __cuCtxGetFlags = dlfcn.dlsym(handle, 'cuCtxGetFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevice = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetDevice")); /* "cuda/bindings/_bindings/cydriver.pyx":2064 * __cuCtxGetDevice = dlfcn.dlsym(handle, 'cuCtxGetDevice') * global __cuCtxGetFlags * __cuCtxGetFlags = dlfcn.dlsym(handle, 'cuCtxGetFlags') # <<<<<<<<<<<<<< * global __cuCtxSetFlags * __cuCtxSetFlags = dlfcn.dlsym(handle, 'cuCtxSetFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetFlags = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2066 * __cuCtxGetFlags = dlfcn.dlsym(handle, 'cuCtxGetFlags') * global __cuCtxSetFlags * __cuCtxSetFlags = dlfcn.dlsym(handle, 'cuCtxSetFlags') # <<<<<<<<<<<<<< * global __cuCtxGetId * __cuCtxGetId = dlfcn.dlsym(handle, 'cuCtxGetId') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetFlags = dlsym(__pyx_v_handle, ((char const *)"cuCtxSetFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2068 * __cuCtxSetFlags = dlfcn.dlsym(handle, 'cuCtxSetFlags') * global __cuCtxGetId * __cuCtxGetId = dlfcn.dlsym(handle, 'cuCtxGetId') # <<<<<<<<<<<<<< * global __cuCtxSynchronize * __cuCtxSynchronize = dlfcn.dlsym(handle, 'cuCtxSynchronize') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetId = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetId")); /* "cuda/bindings/_bindings/cydriver.pyx":2070 * __cuCtxGetId = dlfcn.dlsym(handle, 'cuCtxGetId') * global __cuCtxSynchronize * __cuCtxSynchronize = dlfcn.dlsym(handle, 'cuCtxSynchronize') # <<<<<<<<<<<<<< * global __cuCtxSetLimit * __cuCtxSetLimit = dlfcn.dlsym(handle, 'cuCtxSetLimit') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSynchronize = dlsym(__pyx_v_handle, ((char const *)"cuCtxSynchronize")); /* "cuda/bindings/_bindings/cydriver.pyx":2072 * __cuCtxSynchronize = dlfcn.dlsym(handle, 'cuCtxSynchronize') * global __cuCtxSetLimit * __cuCtxSetLimit = dlfcn.dlsym(handle, 'cuCtxSetLimit') # <<<<<<<<<<<<<< * global __cuCtxGetLimit * __cuCtxGetLimit = dlfcn.dlsym(handle, 'cuCtxGetLimit') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetLimit = dlsym(__pyx_v_handle, ((char const *)"cuCtxSetLimit")); /* "cuda/bindings/_bindings/cydriver.pyx":2074 * __cuCtxSetLimit = dlfcn.dlsym(handle, 'cuCtxSetLimit') * global __cuCtxGetLimit * __cuCtxGetLimit = dlfcn.dlsym(handle, 'cuCtxGetLimit') # <<<<<<<<<<<<<< * global __cuCtxGetCacheConfig * __cuCtxGetCacheConfig = dlfcn.dlsym(handle, 'cuCtxGetCacheConfig') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetLimit = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetLimit")); /* "cuda/bindings/_bindings/cydriver.pyx":2076 * __cuCtxGetLimit = dlfcn.dlsym(handle, 'cuCtxGetLimit') * global __cuCtxGetCacheConfig * __cuCtxGetCacheConfig = dlfcn.dlsym(handle, 'cuCtxGetCacheConfig') # <<<<<<<<<<<<<< * global __cuCtxSetCacheConfig * __cuCtxSetCacheConfig = dlfcn.dlsym(handle, 'cuCtxSetCacheConfig') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCacheConfig = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetCacheConfig")); /* "cuda/bindings/_bindings/cydriver.pyx":2078 * __cuCtxGetCacheConfig = dlfcn.dlsym(handle, 'cuCtxGetCacheConfig') * global __cuCtxSetCacheConfig * __cuCtxSetCacheConfig = dlfcn.dlsym(handle, 'cuCtxSetCacheConfig') # <<<<<<<<<<<<<< * global __cuCtxGetApiVersion * __cuCtxGetApiVersion = dlfcn.dlsym(handle, 'cuCtxGetApiVersion') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCacheConfig = dlsym(__pyx_v_handle, ((char const *)"cuCtxSetCacheConfig")); /* "cuda/bindings/_bindings/cydriver.pyx":2080 * __cuCtxSetCacheConfig = dlfcn.dlsym(handle, 'cuCtxSetCacheConfig') * global __cuCtxGetApiVersion * __cuCtxGetApiVersion = dlfcn.dlsym(handle, 'cuCtxGetApiVersion') # <<<<<<<<<<<<<< * global __cuCtxGetStreamPriorityRange * __cuCtxGetStreamPriorityRange = dlfcn.dlsym(handle, 'cuCtxGetStreamPriorityRange') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetApiVersion = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetApiVersion")); /* "cuda/bindings/_bindings/cydriver.pyx":2082 * __cuCtxGetApiVersion = dlfcn.dlsym(handle, 'cuCtxGetApiVersion') * global __cuCtxGetStreamPriorityRange * __cuCtxGetStreamPriorityRange = dlfcn.dlsym(handle, 'cuCtxGetStreamPriorityRange') # <<<<<<<<<<<<<< * global __cuCtxResetPersistingL2Cache * __cuCtxResetPersistingL2Cache = dlfcn.dlsym(handle, 'cuCtxResetPersistingL2Cache') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetStreamPriorityRange = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetStreamPriorityRange")); /* "cuda/bindings/_bindings/cydriver.pyx":2084 * __cuCtxGetStreamPriorityRange = dlfcn.dlsym(handle, 'cuCtxGetStreamPriorityRange') * global __cuCtxResetPersistingL2Cache * __cuCtxResetPersistingL2Cache = dlfcn.dlsym(handle, 'cuCtxResetPersistingL2Cache') # <<<<<<<<<<<<<< * global __cuCtxGetExecAffinity * __cuCtxGetExecAffinity = dlfcn.dlsym(handle, 'cuCtxGetExecAffinity') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxResetPersistingL2Cache = dlsym(__pyx_v_handle, ((char const *)"cuCtxResetPersistingL2Cache")); /* "cuda/bindings/_bindings/cydriver.pyx":2086 * __cuCtxResetPersistingL2Cache = dlfcn.dlsym(handle, 'cuCtxResetPersistingL2Cache') * global __cuCtxGetExecAffinity * __cuCtxGetExecAffinity = dlfcn.dlsym(handle, 'cuCtxGetExecAffinity') # <<<<<<<<<<<<<< * global __cuCtxRecordEvent * __cuCtxRecordEvent = dlfcn.dlsym(handle, 'cuCtxRecordEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetExecAffinity = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetExecAffinity")); /* "cuda/bindings/_bindings/cydriver.pyx":2088 * __cuCtxGetExecAffinity = dlfcn.dlsym(handle, 'cuCtxGetExecAffinity') * global __cuCtxRecordEvent * __cuCtxRecordEvent = dlfcn.dlsym(handle, 'cuCtxRecordEvent') # <<<<<<<<<<<<<< * global __cuCtxWaitEvent * __cuCtxWaitEvent = dlfcn.dlsym(handle, 'cuCtxWaitEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxRecordEvent = dlsym(__pyx_v_handle, ((char const *)"cuCtxRecordEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2090 * __cuCtxRecordEvent = dlfcn.dlsym(handle, 'cuCtxRecordEvent') * global __cuCtxWaitEvent * __cuCtxWaitEvent = dlfcn.dlsym(handle, 'cuCtxWaitEvent') # <<<<<<<<<<<<<< * global __cuCtxAttach * __cuCtxAttach = dlfcn.dlsym(handle, 'cuCtxAttach') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxWaitEvent = dlsym(__pyx_v_handle, ((char const *)"cuCtxWaitEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2092 * __cuCtxWaitEvent = dlfcn.dlsym(handle, 'cuCtxWaitEvent') * global __cuCtxAttach * __cuCtxAttach = dlfcn.dlsym(handle, 'cuCtxAttach') # <<<<<<<<<<<<<< * global __cuCtxDetach * __cuCtxDetach = dlfcn.dlsym(handle, 'cuCtxDetach') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxAttach = dlsym(__pyx_v_handle, ((char const *)"cuCtxAttach")); /* "cuda/bindings/_bindings/cydriver.pyx":2094 * __cuCtxAttach = dlfcn.dlsym(handle, 'cuCtxAttach') * global __cuCtxDetach * __cuCtxDetach = dlfcn.dlsym(handle, 'cuCtxDetach') # <<<<<<<<<<<<<< * global __cuCtxGetSharedMemConfig * __cuCtxGetSharedMemConfig = dlfcn.dlsym(handle, 'cuCtxGetSharedMemConfig') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDetach = dlsym(__pyx_v_handle, ((char const *)"cuCtxDetach")); /* "cuda/bindings/_bindings/cydriver.pyx":2096 * __cuCtxDetach = dlfcn.dlsym(handle, 'cuCtxDetach') * global __cuCtxGetSharedMemConfig * __cuCtxGetSharedMemConfig = dlfcn.dlsym(handle, 'cuCtxGetSharedMemConfig') # <<<<<<<<<<<<<< * global __cuCtxSetSharedMemConfig * __cuCtxSetSharedMemConfig = dlfcn.dlsym(handle, 'cuCtxSetSharedMemConfig') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetSharedMemConfig = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetSharedMemConfig")); /* "cuda/bindings/_bindings/cydriver.pyx":2098 * __cuCtxGetSharedMemConfig = dlfcn.dlsym(handle, 'cuCtxGetSharedMemConfig') * global __cuCtxSetSharedMemConfig * __cuCtxSetSharedMemConfig = dlfcn.dlsym(handle, 'cuCtxSetSharedMemConfig') # <<<<<<<<<<<<<< * global __cuModuleLoad * __cuModuleLoad = dlfcn.dlsym(handle, 'cuModuleLoad') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetSharedMemConfig = dlsym(__pyx_v_handle, ((char const *)"cuCtxSetSharedMemConfig")); /* "cuda/bindings/_bindings/cydriver.pyx":2100 * __cuCtxSetSharedMemConfig = dlfcn.dlsym(handle, 'cuCtxSetSharedMemConfig') * global __cuModuleLoad * __cuModuleLoad = dlfcn.dlsym(handle, 'cuModuleLoad') # <<<<<<<<<<<<<< * global __cuModuleLoadData * __cuModuleLoadData = dlfcn.dlsym(handle, 'cuModuleLoadData') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoad = dlsym(__pyx_v_handle, ((char const *)"cuModuleLoad")); /* "cuda/bindings/_bindings/cydriver.pyx":2102 * __cuModuleLoad = dlfcn.dlsym(handle, 'cuModuleLoad') * global __cuModuleLoadData * __cuModuleLoadData = dlfcn.dlsym(handle, 'cuModuleLoadData') # <<<<<<<<<<<<<< * global __cuModuleLoadDataEx * __cuModuleLoadDataEx = dlfcn.dlsym(handle, 'cuModuleLoadDataEx') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadData = dlsym(__pyx_v_handle, ((char const *)"cuModuleLoadData")); /* "cuda/bindings/_bindings/cydriver.pyx":2104 * __cuModuleLoadData = dlfcn.dlsym(handle, 'cuModuleLoadData') * global __cuModuleLoadDataEx * __cuModuleLoadDataEx = dlfcn.dlsym(handle, 'cuModuleLoadDataEx') # <<<<<<<<<<<<<< * global __cuModuleLoadFatBinary * __cuModuleLoadFatBinary = dlfcn.dlsym(handle, 'cuModuleLoadFatBinary') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadDataEx = dlsym(__pyx_v_handle, ((char const *)"cuModuleLoadDataEx")); /* "cuda/bindings/_bindings/cydriver.pyx":2106 * __cuModuleLoadDataEx = dlfcn.dlsym(handle, 'cuModuleLoadDataEx') * global __cuModuleLoadFatBinary * __cuModuleLoadFatBinary = dlfcn.dlsym(handle, 'cuModuleLoadFatBinary') # <<<<<<<<<<<<<< * global __cuModuleUnload * __cuModuleUnload = dlfcn.dlsym(handle, 'cuModuleUnload') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadFatBinary = dlsym(__pyx_v_handle, ((char const *)"cuModuleLoadFatBinary")); /* "cuda/bindings/_bindings/cydriver.pyx":2108 * __cuModuleLoadFatBinary = dlfcn.dlsym(handle, 'cuModuleLoadFatBinary') * global __cuModuleUnload * __cuModuleUnload = dlfcn.dlsym(handle, 'cuModuleUnload') # <<<<<<<<<<<<<< * global __cuModuleGetLoadingMode * __cuModuleGetLoadingMode = dlfcn.dlsym(handle, 'cuModuleGetLoadingMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleUnload = dlsym(__pyx_v_handle, ((char const *)"cuModuleUnload")); /* "cuda/bindings/_bindings/cydriver.pyx":2110 * __cuModuleUnload = dlfcn.dlsym(handle, 'cuModuleUnload') * global __cuModuleGetLoadingMode * __cuModuleGetLoadingMode = dlfcn.dlsym(handle, 'cuModuleGetLoadingMode') # <<<<<<<<<<<<<< * global __cuModuleGetFunction * __cuModuleGetFunction = dlfcn.dlsym(handle, 'cuModuleGetFunction') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetLoadingMode = dlsym(__pyx_v_handle, ((char const *)"cuModuleGetLoadingMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2112 * __cuModuleGetLoadingMode = dlfcn.dlsym(handle, 'cuModuleGetLoadingMode') * global __cuModuleGetFunction * __cuModuleGetFunction = dlfcn.dlsym(handle, 'cuModuleGetFunction') # <<<<<<<<<<<<<< * global __cuModuleGetFunctionCount * __cuModuleGetFunctionCount = dlfcn.dlsym(handle, 'cuModuleGetFunctionCount') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunction = dlsym(__pyx_v_handle, ((char const *)"cuModuleGetFunction")); /* "cuda/bindings/_bindings/cydriver.pyx":2114 * __cuModuleGetFunction = dlfcn.dlsym(handle, 'cuModuleGetFunction') * global __cuModuleGetFunctionCount * __cuModuleGetFunctionCount = dlfcn.dlsym(handle, 'cuModuleGetFunctionCount') # <<<<<<<<<<<<<< * global __cuModuleEnumerateFunctions * __cuModuleEnumerateFunctions = dlfcn.dlsym(handle, 'cuModuleEnumerateFunctions') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunctionCount = dlsym(__pyx_v_handle, ((char const *)"cuModuleGetFunctionCount")); /* "cuda/bindings/_bindings/cydriver.pyx":2116 * __cuModuleGetFunctionCount = dlfcn.dlsym(handle, 'cuModuleGetFunctionCount') * global __cuModuleEnumerateFunctions * __cuModuleEnumerateFunctions = dlfcn.dlsym(handle, 'cuModuleEnumerateFunctions') # <<<<<<<<<<<<<< * global __cuModuleGetGlobal_v2 * __cuModuleGetGlobal_v2 = dlfcn.dlsym(handle, 'cuModuleGetGlobal_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleEnumerateFunctions = dlsym(__pyx_v_handle, ((char const *)"cuModuleEnumerateFunctions")); /* "cuda/bindings/_bindings/cydriver.pyx":2118 * __cuModuleEnumerateFunctions = dlfcn.dlsym(handle, 'cuModuleEnumerateFunctions') * global __cuModuleGetGlobal_v2 * __cuModuleGetGlobal_v2 = dlfcn.dlsym(handle, 'cuModuleGetGlobal_v2') # <<<<<<<<<<<<<< * global __cuLinkCreate_v2 * __cuLinkCreate_v2 = dlfcn.dlsym(handle, 'cuLinkCreate_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetGlobal_v2 = dlsym(__pyx_v_handle, ((char const *)"cuModuleGetGlobal_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2120 * __cuModuleGetGlobal_v2 = dlfcn.dlsym(handle, 'cuModuleGetGlobal_v2') * global __cuLinkCreate_v2 * __cuLinkCreate_v2 = dlfcn.dlsym(handle, 'cuLinkCreate_v2') # <<<<<<<<<<<<<< * global __cuLinkAddData_v2 * __cuLinkAddData_v2 = dlfcn.dlsym(handle, 'cuLinkAddData_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkCreate_v2 = dlsym(__pyx_v_handle, ((char const *)"cuLinkCreate_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2122 * __cuLinkCreate_v2 = dlfcn.dlsym(handle, 'cuLinkCreate_v2') * global __cuLinkAddData_v2 * __cuLinkAddData_v2 = dlfcn.dlsym(handle, 'cuLinkAddData_v2') # <<<<<<<<<<<<<< * global __cuLinkAddFile_v2 * __cuLinkAddFile_v2 = dlfcn.dlsym(handle, 'cuLinkAddFile_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddData_v2 = dlsym(__pyx_v_handle, ((char const *)"cuLinkAddData_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2124 * __cuLinkAddData_v2 = dlfcn.dlsym(handle, 'cuLinkAddData_v2') * global __cuLinkAddFile_v2 * __cuLinkAddFile_v2 = dlfcn.dlsym(handle, 'cuLinkAddFile_v2') # <<<<<<<<<<<<<< * global __cuLinkComplete * __cuLinkComplete = dlfcn.dlsym(handle, 'cuLinkComplete') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddFile_v2 = dlsym(__pyx_v_handle, ((char const *)"cuLinkAddFile_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2126 * __cuLinkAddFile_v2 = dlfcn.dlsym(handle, 'cuLinkAddFile_v2') * global __cuLinkComplete * __cuLinkComplete = dlfcn.dlsym(handle, 'cuLinkComplete') # <<<<<<<<<<<<<< * global __cuLinkDestroy * __cuLinkDestroy = dlfcn.dlsym(handle, 'cuLinkDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkComplete = dlsym(__pyx_v_handle, ((char const *)"cuLinkComplete")); /* "cuda/bindings/_bindings/cydriver.pyx":2128 * __cuLinkComplete = dlfcn.dlsym(handle, 'cuLinkComplete') * global __cuLinkDestroy * __cuLinkDestroy = dlfcn.dlsym(handle, 'cuLinkDestroy') # <<<<<<<<<<<<<< * global __cuModuleGetTexRef * __cuModuleGetTexRef = dlfcn.dlsym(handle, 'cuModuleGetTexRef') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkDestroy = dlsym(__pyx_v_handle, ((char const *)"cuLinkDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2130 * __cuLinkDestroy = dlfcn.dlsym(handle, 'cuLinkDestroy') * global __cuModuleGetTexRef * __cuModuleGetTexRef = dlfcn.dlsym(handle, 'cuModuleGetTexRef') # <<<<<<<<<<<<<< * global __cuModuleGetSurfRef * __cuModuleGetSurfRef = dlfcn.dlsym(handle, 'cuModuleGetSurfRef') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetTexRef = dlsym(__pyx_v_handle, ((char const *)"cuModuleGetTexRef")); /* "cuda/bindings/_bindings/cydriver.pyx":2132 * __cuModuleGetTexRef = dlfcn.dlsym(handle, 'cuModuleGetTexRef') * global __cuModuleGetSurfRef * __cuModuleGetSurfRef = dlfcn.dlsym(handle, 'cuModuleGetSurfRef') # <<<<<<<<<<<<<< * global __cuLibraryLoadData * __cuLibraryLoadData = dlfcn.dlsym(handle, 'cuLibraryLoadData') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetSurfRef = dlsym(__pyx_v_handle, ((char const *)"cuModuleGetSurfRef")); /* "cuda/bindings/_bindings/cydriver.pyx":2134 * __cuModuleGetSurfRef = dlfcn.dlsym(handle, 'cuModuleGetSurfRef') * global __cuLibraryLoadData * __cuLibraryLoadData = dlfcn.dlsym(handle, 'cuLibraryLoadData') # <<<<<<<<<<<<<< * global __cuLibraryLoadFromFile * __cuLibraryLoadFromFile = dlfcn.dlsym(handle, 'cuLibraryLoadFromFile') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadData = dlsym(__pyx_v_handle, ((char const *)"cuLibraryLoadData")); /* "cuda/bindings/_bindings/cydriver.pyx":2136 * __cuLibraryLoadData = dlfcn.dlsym(handle, 'cuLibraryLoadData') * global __cuLibraryLoadFromFile * __cuLibraryLoadFromFile = dlfcn.dlsym(handle, 'cuLibraryLoadFromFile') # <<<<<<<<<<<<<< * global __cuLibraryUnload * __cuLibraryUnload = dlfcn.dlsym(handle, 'cuLibraryUnload') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadFromFile = dlsym(__pyx_v_handle, ((char const *)"cuLibraryLoadFromFile")); /* "cuda/bindings/_bindings/cydriver.pyx":2138 * __cuLibraryLoadFromFile = dlfcn.dlsym(handle, 'cuLibraryLoadFromFile') * global __cuLibraryUnload * __cuLibraryUnload = dlfcn.dlsym(handle, 'cuLibraryUnload') # <<<<<<<<<<<<<< * global __cuLibraryGetKernel * __cuLibraryGetKernel = dlfcn.dlsym(handle, 'cuLibraryGetKernel') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryUnload = dlsym(__pyx_v_handle, ((char const *)"cuLibraryUnload")); /* "cuda/bindings/_bindings/cydriver.pyx":2140 * __cuLibraryUnload = dlfcn.dlsym(handle, 'cuLibraryUnload') * global __cuLibraryGetKernel * __cuLibraryGetKernel = dlfcn.dlsym(handle, 'cuLibraryGetKernel') # <<<<<<<<<<<<<< * global __cuLibraryGetKernelCount * __cuLibraryGetKernelCount = dlfcn.dlsym(handle, 'cuLibraryGetKernelCount') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernel = dlsym(__pyx_v_handle, ((char const *)"cuLibraryGetKernel")); /* "cuda/bindings/_bindings/cydriver.pyx":2142 * __cuLibraryGetKernel = dlfcn.dlsym(handle, 'cuLibraryGetKernel') * global __cuLibraryGetKernelCount * __cuLibraryGetKernelCount = dlfcn.dlsym(handle, 'cuLibraryGetKernelCount') # <<<<<<<<<<<<<< * global __cuLibraryEnumerateKernels * __cuLibraryEnumerateKernels = dlfcn.dlsym(handle, 'cuLibraryEnumerateKernels') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernelCount = dlsym(__pyx_v_handle, ((char const *)"cuLibraryGetKernelCount")); /* "cuda/bindings/_bindings/cydriver.pyx":2144 * __cuLibraryGetKernelCount = dlfcn.dlsym(handle, 'cuLibraryGetKernelCount') * global __cuLibraryEnumerateKernels * __cuLibraryEnumerateKernels = dlfcn.dlsym(handle, 'cuLibraryEnumerateKernels') # <<<<<<<<<<<<<< * global __cuLibraryGetModule * __cuLibraryGetModule = dlfcn.dlsym(handle, 'cuLibraryGetModule') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryEnumerateKernels = dlsym(__pyx_v_handle, ((char const *)"cuLibraryEnumerateKernels")); /* "cuda/bindings/_bindings/cydriver.pyx":2146 * __cuLibraryEnumerateKernels = dlfcn.dlsym(handle, 'cuLibraryEnumerateKernels') * global __cuLibraryGetModule * __cuLibraryGetModule = dlfcn.dlsym(handle, 'cuLibraryGetModule') # <<<<<<<<<<<<<< * global __cuKernelGetFunction * __cuKernelGetFunction = dlfcn.dlsym(handle, 'cuKernelGetFunction') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetModule = dlsym(__pyx_v_handle, ((char const *)"cuLibraryGetModule")); /* "cuda/bindings/_bindings/cydriver.pyx":2148 * __cuLibraryGetModule = dlfcn.dlsym(handle, 'cuLibraryGetModule') * global __cuKernelGetFunction * __cuKernelGetFunction = dlfcn.dlsym(handle, 'cuKernelGetFunction') # <<<<<<<<<<<<<< * global __cuKernelGetLibrary * __cuKernelGetLibrary = dlfcn.dlsym(handle, 'cuKernelGetLibrary') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetFunction = dlsym(__pyx_v_handle, ((char const *)"cuKernelGetFunction")); /* "cuda/bindings/_bindings/cydriver.pyx":2150 * __cuKernelGetFunction = dlfcn.dlsym(handle, 'cuKernelGetFunction') * global __cuKernelGetLibrary * __cuKernelGetLibrary = dlfcn.dlsym(handle, 'cuKernelGetLibrary') # <<<<<<<<<<<<<< * global __cuLibraryGetGlobal * __cuLibraryGetGlobal = dlfcn.dlsym(handle, 'cuLibraryGetGlobal') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetLibrary = dlsym(__pyx_v_handle, ((char const *)"cuKernelGetLibrary")); /* "cuda/bindings/_bindings/cydriver.pyx":2152 * __cuKernelGetLibrary = dlfcn.dlsym(handle, 'cuKernelGetLibrary') * global __cuLibraryGetGlobal * __cuLibraryGetGlobal = dlfcn.dlsym(handle, 'cuLibraryGetGlobal') # <<<<<<<<<<<<<< * global __cuLibraryGetManaged * __cuLibraryGetManaged = dlfcn.dlsym(handle, 'cuLibraryGetManaged') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetGlobal = dlsym(__pyx_v_handle, ((char const *)"cuLibraryGetGlobal")); /* "cuda/bindings/_bindings/cydriver.pyx":2154 * __cuLibraryGetGlobal = dlfcn.dlsym(handle, 'cuLibraryGetGlobal') * global __cuLibraryGetManaged * __cuLibraryGetManaged = dlfcn.dlsym(handle, 'cuLibraryGetManaged') # <<<<<<<<<<<<<< * global __cuLibraryGetUnifiedFunction * __cuLibraryGetUnifiedFunction = dlfcn.dlsym(handle, 'cuLibraryGetUnifiedFunction') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetManaged = dlsym(__pyx_v_handle, ((char const *)"cuLibraryGetManaged")); /* "cuda/bindings/_bindings/cydriver.pyx":2156 * __cuLibraryGetManaged = dlfcn.dlsym(handle, 'cuLibraryGetManaged') * global __cuLibraryGetUnifiedFunction * __cuLibraryGetUnifiedFunction = dlfcn.dlsym(handle, 'cuLibraryGetUnifiedFunction') # <<<<<<<<<<<<<< * global __cuKernelGetAttribute * __cuKernelGetAttribute = dlfcn.dlsym(handle, 'cuKernelGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetUnifiedFunction = dlsym(__pyx_v_handle, ((char const *)"cuLibraryGetUnifiedFunction")); /* "cuda/bindings/_bindings/cydriver.pyx":2158 * __cuLibraryGetUnifiedFunction = dlfcn.dlsym(handle, 'cuLibraryGetUnifiedFunction') * global __cuKernelGetAttribute * __cuKernelGetAttribute = dlfcn.dlsym(handle, 'cuKernelGetAttribute') # <<<<<<<<<<<<<< * global __cuKernelSetAttribute * __cuKernelSetAttribute = dlfcn.dlsym(handle, 'cuKernelSetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuKernelGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2160 * __cuKernelGetAttribute = dlfcn.dlsym(handle, 'cuKernelGetAttribute') * global __cuKernelSetAttribute * __cuKernelSetAttribute = dlfcn.dlsym(handle, 'cuKernelSetAttribute') # <<<<<<<<<<<<<< * global __cuKernelSetCacheConfig * __cuKernelSetCacheConfig = dlfcn.dlsym(handle, 'cuKernelSetCacheConfig') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuKernelSetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2162 * __cuKernelSetAttribute = dlfcn.dlsym(handle, 'cuKernelSetAttribute') * global __cuKernelSetCacheConfig * __cuKernelSetCacheConfig = dlfcn.dlsym(handle, 'cuKernelSetCacheConfig') # <<<<<<<<<<<<<< * global __cuKernelGetName * __cuKernelGetName = dlfcn.dlsym(handle, 'cuKernelGetName') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetCacheConfig = dlsym(__pyx_v_handle, ((char const *)"cuKernelSetCacheConfig")); /* "cuda/bindings/_bindings/cydriver.pyx":2164 * __cuKernelSetCacheConfig = dlfcn.dlsym(handle, 'cuKernelSetCacheConfig') * global __cuKernelGetName * __cuKernelGetName = dlfcn.dlsym(handle, 'cuKernelGetName') # <<<<<<<<<<<<<< * global __cuKernelGetParamInfo * __cuKernelGetParamInfo = dlfcn.dlsym(handle, 'cuKernelGetParamInfo') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetName = dlsym(__pyx_v_handle, ((char const *)"cuKernelGetName")); /* "cuda/bindings/_bindings/cydriver.pyx":2166 * __cuKernelGetName = dlfcn.dlsym(handle, 'cuKernelGetName') * global __cuKernelGetParamInfo * __cuKernelGetParamInfo = dlfcn.dlsym(handle, 'cuKernelGetParamInfo') # <<<<<<<<<<<<<< * global __cuMemGetInfo_v2 * __cuMemGetInfo_v2 = dlfcn.dlsym(handle, 'cuMemGetInfo_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetParamInfo = dlsym(__pyx_v_handle, ((char const *)"cuKernelGetParamInfo")); /* "cuda/bindings/_bindings/cydriver.pyx":2168 * __cuKernelGetParamInfo = dlfcn.dlsym(handle, 'cuKernelGetParamInfo') * global __cuMemGetInfo_v2 * __cuMemGetInfo_v2 = dlfcn.dlsym(handle, 'cuMemGetInfo_v2') # <<<<<<<<<<<<<< * global __cuMemAlloc_v2 * __cuMemAlloc_v2 = dlfcn.dlsym(handle, 'cuMemAlloc_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetInfo_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemGetInfo_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2170 * __cuMemGetInfo_v2 = dlfcn.dlsym(handle, 'cuMemGetInfo_v2') * global __cuMemAlloc_v2 * __cuMemAlloc_v2 = dlfcn.dlsym(handle, 'cuMemAlloc_v2') # <<<<<<<<<<<<<< * global __cuMemAllocPitch_v2 * __cuMemAllocPitch_v2 = dlfcn.dlsym(handle, 'cuMemAllocPitch_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAlloc_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemAlloc_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2172 * __cuMemAlloc_v2 = dlfcn.dlsym(handle, 'cuMemAlloc_v2') * global __cuMemAllocPitch_v2 * __cuMemAllocPitch_v2 = dlfcn.dlsym(handle, 'cuMemAllocPitch_v2') # <<<<<<<<<<<<<< * global __cuMemFree_v2 * __cuMemFree_v2 = dlfcn.dlsym(handle, 'cuMemFree_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocPitch_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemAllocPitch_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2174 * __cuMemAllocPitch_v2 = dlfcn.dlsym(handle, 'cuMemAllocPitch_v2') * global __cuMemFree_v2 * __cuMemFree_v2 = dlfcn.dlsym(handle, 'cuMemFree_v2') # <<<<<<<<<<<<<< * global __cuMemGetAddressRange_v2 * __cuMemGetAddressRange_v2 = dlfcn.dlsym(handle, 'cuMemGetAddressRange_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFree_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemFree_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2176 * __cuMemFree_v2 = dlfcn.dlsym(handle, 'cuMemFree_v2') * global __cuMemGetAddressRange_v2 * __cuMemGetAddressRange_v2 = dlfcn.dlsym(handle, 'cuMemGetAddressRange_v2') # <<<<<<<<<<<<<< * global __cuMemAllocHost_v2 * __cuMemAllocHost_v2 = dlfcn.dlsym(handle, 'cuMemAllocHost_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAddressRange_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemGetAddressRange_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2178 * __cuMemGetAddressRange_v2 = dlfcn.dlsym(handle, 'cuMemGetAddressRange_v2') * global __cuMemAllocHost_v2 * __cuMemAllocHost_v2 = dlfcn.dlsym(handle, 'cuMemAllocHost_v2') # <<<<<<<<<<<<<< * global __cuMemFreeHost * __cuMemFreeHost = dlfcn.dlsym(handle, 'cuMemFreeHost') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocHost_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemAllocHost_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2180 * __cuMemAllocHost_v2 = dlfcn.dlsym(handle, 'cuMemAllocHost_v2') * global __cuMemFreeHost * __cuMemFreeHost = dlfcn.dlsym(handle, 'cuMemFreeHost') # <<<<<<<<<<<<<< * global __cuMemHostAlloc * __cuMemHostAlloc = dlfcn.dlsym(handle, 'cuMemHostAlloc') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeHost = dlsym(__pyx_v_handle, ((char const *)"cuMemFreeHost")); /* "cuda/bindings/_bindings/cydriver.pyx":2182 * __cuMemFreeHost = dlfcn.dlsym(handle, 'cuMemFreeHost') * global __cuMemHostAlloc * __cuMemHostAlloc = dlfcn.dlsym(handle, 'cuMemHostAlloc') # <<<<<<<<<<<<<< * global __cuMemHostGetDevicePointer_v2 * __cuMemHostGetDevicePointer_v2 = dlfcn.dlsym(handle, 'cuMemHostGetDevicePointer_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostAlloc = dlsym(__pyx_v_handle, ((char const *)"cuMemHostAlloc")); /* "cuda/bindings/_bindings/cydriver.pyx":2184 * __cuMemHostAlloc = dlfcn.dlsym(handle, 'cuMemHostAlloc') * global __cuMemHostGetDevicePointer_v2 * __cuMemHostGetDevicePointer_v2 = dlfcn.dlsym(handle, 'cuMemHostGetDevicePointer_v2') # <<<<<<<<<<<<<< * global __cuMemHostGetFlags * __cuMemHostGetFlags = dlfcn.dlsym(handle, 'cuMemHostGetFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetDevicePointer_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemHostGetDevicePointer_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2186 * __cuMemHostGetDevicePointer_v2 = dlfcn.dlsym(handle, 'cuMemHostGetDevicePointer_v2') * global __cuMemHostGetFlags * __cuMemHostGetFlags = dlfcn.dlsym(handle, 'cuMemHostGetFlags') # <<<<<<<<<<<<<< * global __cuMemAllocManaged * __cuMemAllocManaged = dlfcn.dlsym(handle, 'cuMemAllocManaged') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetFlags = dlsym(__pyx_v_handle, ((char const *)"cuMemHostGetFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2188 * __cuMemHostGetFlags = dlfcn.dlsym(handle, 'cuMemHostGetFlags') * global __cuMemAllocManaged * __cuMemAllocManaged = dlfcn.dlsym(handle, 'cuMemAllocManaged') # <<<<<<<<<<<<<< * global __cuDeviceRegisterAsyncNotification * __cuDeviceRegisterAsyncNotification = dlfcn.dlsym(handle, 'cuDeviceRegisterAsyncNotification') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocManaged = dlsym(__pyx_v_handle, ((char const *)"cuMemAllocManaged")); /* "cuda/bindings/_bindings/cydriver.pyx":2190 * __cuMemAllocManaged = dlfcn.dlsym(handle, 'cuMemAllocManaged') * global __cuDeviceRegisterAsyncNotification * __cuDeviceRegisterAsyncNotification = dlfcn.dlsym(handle, 'cuDeviceRegisterAsyncNotification') # <<<<<<<<<<<<<< * global __cuDeviceUnregisterAsyncNotification * __cuDeviceUnregisterAsyncNotification = dlfcn.dlsym(handle, 'cuDeviceUnregisterAsyncNotification') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceRegisterAsyncNotification = dlsym(__pyx_v_handle, ((char const *)"cuDeviceRegisterAsyncNotification")); /* "cuda/bindings/_bindings/cydriver.pyx":2192 * __cuDeviceRegisterAsyncNotification = dlfcn.dlsym(handle, 'cuDeviceRegisterAsyncNotification') * global __cuDeviceUnregisterAsyncNotification * __cuDeviceUnregisterAsyncNotification = dlfcn.dlsym(handle, 'cuDeviceUnregisterAsyncNotification') # <<<<<<<<<<<<<< * global __cuDeviceGetByPCIBusId * __cuDeviceGetByPCIBusId = dlfcn.dlsym(handle, 'cuDeviceGetByPCIBusId') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceUnregisterAsyncNotification = dlsym(__pyx_v_handle, ((char const *)"cuDeviceUnregisterAsyncNotification")); /* "cuda/bindings/_bindings/cydriver.pyx":2194 * __cuDeviceUnregisterAsyncNotification = dlfcn.dlsym(handle, 'cuDeviceUnregisterAsyncNotification') * global __cuDeviceGetByPCIBusId * __cuDeviceGetByPCIBusId = dlfcn.dlsym(handle, 'cuDeviceGetByPCIBusId') # <<<<<<<<<<<<<< * global __cuDeviceGetPCIBusId * __cuDeviceGetPCIBusId = dlfcn.dlsym(handle, 'cuDeviceGetPCIBusId') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetByPCIBusId = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetByPCIBusId")); /* "cuda/bindings/_bindings/cydriver.pyx":2196 * __cuDeviceGetByPCIBusId = dlfcn.dlsym(handle, 'cuDeviceGetByPCIBusId') * global __cuDeviceGetPCIBusId * __cuDeviceGetPCIBusId = dlfcn.dlsym(handle, 'cuDeviceGetPCIBusId') # <<<<<<<<<<<<<< * global __cuIpcGetEventHandle * __cuIpcGetEventHandle = dlfcn.dlsym(handle, 'cuIpcGetEventHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetPCIBusId = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetPCIBusId")); /* "cuda/bindings/_bindings/cydriver.pyx":2198 * __cuDeviceGetPCIBusId = dlfcn.dlsym(handle, 'cuDeviceGetPCIBusId') * global __cuIpcGetEventHandle * __cuIpcGetEventHandle = dlfcn.dlsym(handle, 'cuIpcGetEventHandle') # <<<<<<<<<<<<<< * global __cuIpcOpenEventHandle * __cuIpcOpenEventHandle = dlfcn.dlsym(handle, 'cuIpcOpenEventHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetEventHandle = dlsym(__pyx_v_handle, ((char const *)"cuIpcGetEventHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2200 * __cuIpcGetEventHandle = dlfcn.dlsym(handle, 'cuIpcGetEventHandle') * global __cuIpcOpenEventHandle * __cuIpcOpenEventHandle = dlfcn.dlsym(handle, 'cuIpcOpenEventHandle') # <<<<<<<<<<<<<< * global __cuIpcGetMemHandle * __cuIpcGetMemHandle = dlfcn.dlsym(handle, 'cuIpcGetMemHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenEventHandle = dlsym(__pyx_v_handle, ((char const *)"cuIpcOpenEventHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2202 * __cuIpcOpenEventHandle = dlfcn.dlsym(handle, 'cuIpcOpenEventHandle') * global __cuIpcGetMemHandle * __cuIpcGetMemHandle = dlfcn.dlsym(handle, 'cuIpcGetMemHandle') # <<<<<<<<<<<<<< * global __cuIpcOpenMemHandle_v2 * __cuIpcOpenMemHandle_v2 = dlfcn.dlsym(handle, 'cuIpcOpenMemHandle_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetMemHandle = dlsym(__pyx_v_handle, ((char const *)"cuIpcGetMemHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2204 * __cuIpcGetMemHandle = dlfcn.dlsym(handle, 'cuIpcGetMemHandle') * global __cuIpcOpenMemHandle_v2 * __cuIpcOpenMemHandle_v2 = dlfcn.dlsym(handle, 'cuIpcOpenMemHandle_v2') # <<<<<<<<<<<<<< * global __cuIpcCloseMemHandle * __cuIpcCloseMemHandle = dlfcn.dlsym(handle, 'cuIpcCloseMemHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenMemHandle_v2 = dlsym(__pyx_v_handle, ((char const *)"cuIpcOpenMemHandle_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2206 * __cuIpcOpenMemHandle_v2 = dlfcn.dlsym(handle, 'cuIpcOpenMemHandle_v2') * global __cuIpcCloseMemHandle * __cuIpcCloseMemHandle = dlfcn.dlsym(handle, 'cuIpcCloseMemHandle') # <<<<<<<<<<<<<< * global __cuMemHostRegister_v2 * __cuMemHostRegister_v2 = dlfcn.dlsym(handle, 'cuMemHostRegister_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcCloseMemHandle = dlsym(__pyx_v_handle, ((char const *)"cuIpcCloseMemHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2208 * __cuIpcCloseMemHandle = dlfcn.dlsym(handle, 'cuIpcCloseMemHandle') * global __cuMemHostRegister_v2 * __cuMemHostRegister_v2 = dlfcn.dlsym(handle, 'cuMemHostRegister_v2') # <<<<<<<<<<<<<< * global __cuMemHostUnregister * __cuMemHostUnregister = dlfcn.dlsym(handle, 'cuMemHostUnregister') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostRegister_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemHostRegister_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2210 * __cuMemHostRegister_v2 = dlfcn.dlsym(handle, 'cuMemHostRegister_v2') * global __cuMemHostUnregister * __cuMemHostUnregister = dlfcn.dlsym(handle, 'cuMemHostUnregister') # <<<<<<<<<<<<<< * global __cuArrayCreate_v2 * __cuArrayCreate_v2 = dlfcn.dlsym(handle, 'cuArrayCreate_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostUnregister = dlsym(__pyx_v_handle, ((char const *)"cuMemHostUnregister")); /* "cuda/bindings/_bindings/cydriver.pyx":2212 * __cuMemHostUnregister = dlfcn.dlsym(handle, 'cuMemHostUnregister') * global __cuArrayCreate_v2 * __cuArrayCreate_v2 = dlfcn.dlsym(handle, 'cuArrayCreate_v2') # <<<<<<<<<<<<<< * global __cuArrayGetDescriptor_v2 * __cuArrayGetDescriptor_v2 = dlfcn.dlsym(handle, 'cuArrayGetDescriptor_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayCreate_v2 = dlsym(__pyx_v_handle, ((char const *)"cuArrayCreate_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2214 * __cuArrayCreate_v2 = dlfcn.dlsym(handle, 'cuArrayCreate_v2') * global __cuArrayGetDescriptor_v2 * __cuArrayGetDescriptor_v2 = dlfcn.dlsym(handle, 'cuArrayGetDescriptor_v2') # <<<<<<<<<<<<<< * global __cuArrayGetSparseProperties * __cuArrayGetSparseProperties = dlfcn.dlsym(handle, 'cuArrayGetSparseProperties') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetDescriptor_v2 = dlsym(__pyx_v_handle, ((char const *)"cuArrayGetDescriptor_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2216 * __cuArrayGetDescriptor_v2 = dlfcn.dlsym(handle, 'cuArrayGetDescriptor_v2') * global __cuArrayGetSparseProperties * __cuArrayGetSparseProperties = dlfcn.dlsym(handle, 'cuArrayGetSparseProperties') # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetSparseProperties * __cuMipmappedArrayGetSparseProperties = dlfcn.dlsym(handle, 'cuMipmappedArrayGetSparseProperties') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetSparseProperties = dlsym(__pyx_v_handle, ((char const *)"cuArrayGetSparseProperties")); /* "cuda/bindings/_bindings/cydriver.pyx":2218 * __cuArrayGetSparseProperties = dlfcn.dlsym(handle, 'cuArrayGetSparseProperties') * global __cuMipmappedArrayGetSparseProperties * __cuMipmappedArrayGetSparseProperties = dlfcn.dlsym(handle, 'cuMipmappedArrayGetSparseProperties') # <<<<<<<<<<<<<< * global __cuArrayGetMemoryRequirements * __cuArrayGetMemoryRequirements = dlfcn.dlsym(handle, 'cuArrayGetMemoryRequirements') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetSparseProperties = dlsym(__pyx_v_handle, ((char const *)"cuMipmappedArrayGetSparseProperties")); /* "cuda/bindings/_bindings/cydriver.pyx":2220 * __cuMipmappedArrayGetSparseProperties = dlfcn.dlsym(handle, 'cuMipmappedArrayGetSparseProperties') * global __cuArrayGetMemoryRequirements * __cuArrayGetMemoryRequirements = dlfcn.dlsym(handle, 'cuArrayGetMemoryRequirements') # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetMemoryRequirements * __cuMipmappedArrayGetMemoryRequirements = dlfcn.dlsym(handle, 'cuMipmappedArrayGetMemoryRequirements') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetMemoryRequirements = dlsym(__pyx_v_handle, ((char const *)"cuArrayGetMemoryRequirements")); /* "cuda/bindings/_bindings/cydriver.pyx":2222 * __cuArrayGetMemoryRequirements = dlfcn.dlsym(handle, 'cuArrayGetMemoryRequirements') * global __cuMipmappedArrayGetMemoryRequirements * __cuMipmappedArrayGetMemoryRequirements = dlfcn.dlsym(handle, 'cuMipmappedArrayGetMemoryRequirements') # <<<<<<<<<<<<<< * global __cuArrayGetPlane * __cuArrayGetPlane = dlfcn.dlsym(handle, 'cuArrayGetPlane') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetMemoryRequirements = dlsym(__pyx_v_handle, ((char const *)"cuMipmappedArrayGetMemoryRequirements")); /* "cuda/bindings/_bindings/cydriver.pyx":2224 * __cuMipmappedArrayGetMemoryRequirements = dlfcn.dlsym(handle, 'cuMipmappedArrayGetMemoryRequirements') * global __cuArrayGetPlane * __cuArrayGetPlane = dlfcn.dlsym(handle, 'cuArrayGetPlane') # <<<<<<<<<<<<<< * global __cuArrayDestroy * __cuArrayDestroy = dlfcn.dlsym(handle, 'cuArrayDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetPlane = dlsym(__pyx_v_handle, ((char const *)"cuArrayGetPlane")); /* "cuda/bindings/_bindings/cydriver.pyx":2226 * __cuArrayGetPlane = dlfcn.dlsym(handle, 'cuArrayGetPlane') * global __cuArrayDestroy * __cuArrayDestroy = dlfcn.dlsym(handle, 'cuArrayDestroy') # <<<<<<<<<<<<<< * global __cuArray3DCreate_v2 * __cuArray3DCreate_v2 = dlfcn.dlsym(handle, 'cuArray3DCreate_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayDestroy = dlsym(__pyx_v_handle, ((char const *)"cuArrayDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2228 * __cuArrayDestroy = dlfcn.dlsym(handle, 'cuArrayDestroy') * global __cuArray3DCreate_v2 * __cuArray3DCreate_v2 = dlfcn.dlsym(handle, 'cuArray3DCreate_v2') # <<<<<<<<<<<<<< * global __cuArray3DGetDescriptor_v2 * __cuArray3DGetDescriptor_v2 = dlfcn.dlsym(handle, 'cuArray3DGetDescriptor_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DCreate_v2 = dlsym(__pyx_v_handle, ((char const *)"cuArray3DCreate_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2230 * __cuArray3DCreate_v2 = dlfcn.dlsym(handle, 'cuArray3DCreate_v2') * global __cuArray3DGetDescriptor_v2 * __cuArray3DGetDescriptor_v2 = dlfcn.dlsym(handle, 'cuArray3DGetDescriptor_v2') # <<<<<<<<<<<<<< * global __cuMipmappedArrayCreate * __cuMipmappedArrayCreate = dlfcn.dlsym(handle, 'cuMipmappedArrayCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DGetDescriptor_v2 = dlsym(__pyx_v_handle, ((char const *)"cuArray3DGetDescriptor_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2232 * __cuArray3DGetDescriptor_v2 = dlfcn.dlsym(handle, 'cuArray3DGetDescriptor_v2') * global __cuMipmappedArrayCreate * __cuMipmappedArrayCreate = dlfcn.dlsym(handle, 'cuMipmappedArrayCreate') # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetLevel * __cuMipmappedArrayGetLevel = dlfcn.dlsym(handle, 'cuMipmappedArrayGetLevel') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayCreate = dlsym(__pyx_v_handle, ((char const *)"cuMipmappedArrayCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2234 * __cuMipmappedArrayCreate = dlfcn.dlsym(handle, 'cuMipmappedArrayCreate') * global __cuMipmappedArrayGetLevel * __cuMipmappedArrayGetLevel = dlfcn.dlsym(handle, 'cuMipmappedArrayGetLevel') # <<<<<<<<<<<<<< * global __cuMipmappedArrayDestroy * __cuMipmappedArrayDestroy = dlfcn.dlsym(handle, 'cuMipmappedArrayDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetLevel = dlsym(__pyx_v_handle, ((char const *)"cuMipmappedArrayGetLevel")); /* "cuda/bindings/_bindings/cydriver.pyx":2236 * __cuMipmappedArrayGetLevel = dlfcn.dlsym(handle, 'cuMipmappedArrayGetLevel') * global __cuMipmappedArrayDestroy * __cuMipmappedArrayDestroy = dlfcn.dlsym(handle, 'cuMipmappedArrayDestroy') # <<<<<<<<<<<<<< * global __cuMemGetHandleForAddressRange * __cuMemGetHandleForAddressRange = dlfcn.dlsym(handle, 'cuMemGetHandleForAddressRange') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayDestroy = dlsym(__pyx_v_handle, ((char const *)"cuMipmappedArrayDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2238 * __cuMipmappedArrayDestroy = dlfcn.dlsym(handle, 'cuMipmappedArrayDestroy') * global __cuMemGetHandleForAddressRange * __cuMemGetHandleForAddressRange = dlfcn.dlsym(handle, 'cuMemGetHandleForAddressRange') # <<<<<<<<<<<<<< * global __cuMemAddressReserve * __cuMemAddressReserve = dlfcn.dlsym(handle, 'cuMemAddressReserve') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetHandleForAddressRange = dlsym(__pyx_v_handle, ((char const *)"cuMemGetHandleForAddressRange")); /* "cuda/bindings/_bindings/cydriver.pyx":2240 * __cuMemGetHandleForAddressRange = dlfcn.dlsym(handle, 'cuMemGetHandleForAddressRange') * global __cuMemAddressReserve * __cuMemAddressReserve = dlfcn.dlsym(handle, 'cuMemAddressReserve') # <<<<<<<<<<<<<< * global __cuMemAddressFree * __cuMemAddressFree = dlfcn.dlsym(handle, 'cuMemAddressFree') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressReserve = dlsym(__pyx_v_handle, ((char const *)"cuMemAddressReserve")); /* "cuda/bindings/_bindings/cydriver.pyx":2242 * __cuMemAddressReserve = dlfcn.dlsym(handle, 'cuMemAddressReserve') * global __cuMemAddressFree * __cuMemAddressFree = dlfcn.dlsym(handle, 'cuMemAddressFree') # <<<<<<<<<<<<<< * global __cuMemCreate * __cuMemCreate = dlfcn.dlsym(handle, 'cuMemCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressFree = dlsym(__pyx_v_handle, ((char const *)"cuMemAddressFree")); /* "cuda/bindings/_bindings/cydriver.pyx":2244 * __cuMemAddressFree = dlfcn.dlsym(handle, 'cuMemAddressFree') * global __cuMemCreate * __cuMemCreate = dlfcn.dlsym(handle, 'cuMemCreate') # <<<<<<<<<<<<<< * global __cuMemRelease * __cuMemRelease = dlfcn.dlsym(handle, 'cuMemRelease') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemCreate = dlsym(__pyx_v_handle, ((char const *)"cuMemCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2246 * __cuMemCreate = dlfcn.dlsym(handle, 'cuMemCreate') * global __cuMemRelease * __cuMemRelease = dlfcn.dlsym(handle, 'cuMemRelease') # <<<<<<<<<<<<<< * global __cuMemMap * __cuMemMap = dlfcn.dlsym(handle, 'cuMemMap') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRelease = dlsym(__pyx_v_handle, ((char const *)"cuMemRelease")); /* "cuda/bindings/_bindings/cydriver.pyx":2248 * __cuMemRelease = dlfcn.dlsym(handle, 'cuMemRelease') * global __cuMemMap * __cuMemMap = dlfcn.dlsym(handle, 'cuMemMap') # <<<<<<<<<<<<<< * global __cuMemUnmap * __cuMemUnmap = dlfcn.dlsym(handle, 'cuMemUnmap') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMap = dlsym(__pyx_v_handle, ((char const *)"cuMemMap")); /* "cuda/bindings/_bindings/cydriver.pyx":2250 * __cuMemMap = dlfcn.dlsym(handle, 'cuMemMap') * global __cuMemUnmap * __cuMemUnmap = dlfcn.dlsym(handle, 'cuMemUnmap') # <<<<<<<<<<<<<< * global __cuMemSetAccess * __cuMemSetAccess = dlfcn.dlsym(handle, 'cuMemSetAccess') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemUnmap = dlsym(__pyx_v_handle, ((char const *)"cuMemUnmap")); /* "cuda/bindings/_bindings/cydriver.pyx":2252 * __cuMemUnmap = dlfcn.dlsym(handle, 'cuMemUnmap') * global __cuMemSetAccess * __cuMemSetAccess = dlfcn.dlsym(handle, 'cuMemSetAccess') # <<<<<<<<<<<<<< * global __cuMemGetAccess * __cuMemGetAccess = dlfcn.dlsym(handle, 'cuMemGetAccess') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemSetAccess = dlsym(__pyx_v_handle, ((char const *)"cuMemSetAccess")); /* "cuda/bindings/_bindings/cydriver.pyx":2254 * __cuMemSetAccess = dlfcn.dlsym(handle, 'cuMemSetAccess') * global __cuMemGetAccess * __cuMemGetAccess = dlfcn.dlsym(handle, 'cuMemGetAccess') # <<<<<<<<<<<<<< * global __cuMemExportToShareableHandle * __cuMemExportToShareableHandle = dlfcn.dlsym(handle, 'cuMemExportToShareableHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAccess = dlsym(__pyx_v_handle, ((char const *)"cuMemGetAccess")); /* "cuda/bindings/_bindings/cydriver.pyx":2256 * __cuMemGetAccess = dlfcn.dlsym(handle, 'cuMemGetAccess') * global __cuMemExportToShareableHandle * __cuMemExportToShareableHandle = dlfcn.dlsym(handle, 'cuMemExportToShareableHandle') # <<<<<<<<<<<<<< * global __cuMemImportFromShareableHandle * __cuMemImportFromShareableHandle = dlfcn.dlsym(handle, 'cuMemImportFromShareableHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemExportToShareableHandle = dlsym(__pyx_v_handle, ((char const *)"cuMemExportToShareableHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2258 * __cuMemExportToShareableHandle = dlfcn.dlsym(handle, 'cuMemExportToShareableHandle') * global __cuMemImportFromShareableHandle * __cuMemImportFromShareableHandle = dlfcn.dlsym(handle, 'cuMemImportFromShareableHandle') # <<<<<<<<<<<<<< * global __cuMemGetAllocationGranularity * __cuMemGetAllocationGranularity = dlfcn.dlsym(handle, 'cuMemGetAllocationGranularity') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemImportFromShareableHandle = dlsym(__pyx_v_handle, ((char const *)"cuMemImportFromShareableHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2260 * __cuMemImportFromShareableHandle = dlfcn.dlsym(handle, 'cuMemImportFromShareableHandle') * global __cuMemGetAllocationGranularity * __cuMemGetAllocationGranularity = dlfcn.dlsym(handle, 'cuMemGetAllocationGranularity') # <<<<<<<<<<<<<< * global __cuMemGetAllocationPropertiesFromHandle * __cuMemGetAllocationPropertiesFromHandle = dlfcn.dlsym(handle, 'cuMemGetAllocationPropertiesFromHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationGranularity = dlsym(__pyx_v_handle, ((char const *)"cuMemGetAllocationGranularity")); /* "cuda/bindings/_bindings/cydriver.pyx":2262 * __cuMemGetAllocationGranularity = dlfcn.dlsym(handle, 'cuMemGetAllocationGranularity') * global __cuMemGetAllocationPropertiesFromHandle * __cuMemGetAllocationPropertiesFromHandle = dlfcn.dlsym(handle, 'cuMemGetAllocationPropertiesFromHandle') # <<<<<<<<<<<<<< * global __cuMemRetainAllocationHandle * __cuMemRetainAllocationHandle = dlfcn.dlsym(handle, 'cuMemRetainAllocationHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationPropertiesFromHandle = dlsym(__pyx_v_handle, ((char const *)"cuMemGetAllocationPropertiesFromHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2264 * __cuMemGetAllocationPropertiesFromHandle = dlfcn.dlsym(handle, 'cuMemGetAllocationPropertiesFromHandle') * global __cuMemRetainAllocationHandle * __cuMemRetainAllocationHandle = dlfcn.dlsym(handle, 'cuMemRetainAllocationHandle') # <<<<<<<<<<<<<< * global __cuMemPoolTrimTo * __cuMemPoolTrimTo = dlfcn.dlsym(handle, 'cuMemPoolTrimTo') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRetainAllocationHandle = dlsym(__pyx_v_handle, ((char const *)"cuMemRetainAllocationHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2266 * __cuMemRetainAllocationHandle = dlfcn.dlsym(handle, 'cuMemRetainAllocationHandle') * global __cuMemPoolTrimTo * __cuMemPoolTrimTo = dlfcn.dlsym(handle, 'cuMemPoolTrimTo') # <<<<<<<<<<<<<< * global __cuMemPoolSetAttribute * __cuMemPoolSetAttribute = dlfcn.dlsym(handle, 'cuMemPoolSetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolTrimTo = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolTrimTo")); /* "cuda/bindings/_bindings/cydriver.pyx":2268 * __cuMemPoolTrimTo = dlfcn.dlsym(handle, 'cuMemPoolTrimTo') * global __cuMemPoolSetAttribute * __cuMemPoolSetAttribute = dlfcn.dlsym(handle, 'cuMemPoolSetAttribute') # <<<<<<<<<<<<<< * global __cuMemPoolGetAttribute * __cuMemPoolGetAttribute = dlfcn.dlsym(handle, 'cuMemPoolGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolSetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2270 * __cuMemPoolSetAttribute = dlfcn.dlsym(handle, 'cuMemPoolSetAttribute') * global __cuMemPoolGetAttribute * __cuMemPoolGetAttribute = dlfcn.dlsym(handle, 'cuMemPoolGetAttribute') # <<<<<<<<<<<<<< * global __cuMemPoolSetAccess * __cuMemPoolSetAccess = dlfcn.dlsym(handle, 'cuMemPoolSetAccess') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2272 * __cuMemPoolGetAttribute = dlfcn.dlsym(handle, 'cuMemPoolGetAttribute') * global __cuMemPoolSetAccess * __cuMemPoolSetAccess = dlfcn.dlsym(handle, 'cuMemPoolSetAccess') # <<<<<<<<<<<<<< * global __cuMemPoolGetAccess * __cuMemPoolGetAccess = dlfcn.dlsym(handle, 'cuMemPoolGetAccess') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAccess = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolSetAccess")); /* "cuda/bindings/_bindings/cydriver.pyx":2274 * __cuMemPoolSetAccess = dlfcn.dlsym(handle, 'cuMemPoolSetAccess') * global __cuMemPoolGetAccess * __cuMemPoolGetAccess = dlfcn.dlsym(handle, 'cuMemPoolGetAccess') # <<<<<<<<<<<<<< * global __cuMemPoolCreate * __cuMemPoolCreate = dlfcn.dlsym(handle, 'cuMemPoolCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAccess = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolGetAccess")); /* "cuda/bindings/_bindings/cydriver.pyx":2276 * __cuMemPoolGetAccess = dlfcn.dlsym(handle, 'cuMemPoolGetAccess') * global __cuMemPoolCreate * __cuMemPoolCreate = dlfcn.dlsym(handle, 'cuMemPoolCreate') # <<<<<<<<<<<<<< * global __cuMemPoolDestroy * __cuMemPoolDestroy = dlfcn.dlsym(handle, 'cuMemPoolDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolCreate = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2278 * __cuMemPoolCreate = dlfcn.dlsym(handle, 'cuMemPoolCreate') * global __cuMemPoolDestroy * __cuMemPoolDestroy = dlfcn.dlsym(handle, 'cuMemPoolDestroy') # <<<<<<<<<<<<<< * global __cuMemPoolExportToShareableHandle * __cuMemPoolExportToShareableHandle = dlfcn.dlsym(handle, 'cuMemPoolExportToShareableHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolDestroy = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2280 * __cuMemPoolDestroy = dlfcn.dlsym(handle, 'cuMemPoolDestroy') * global __cuMemPoolExportToShareableHandle * __cuMemPoolExportToShareableHandle = dlfcn.dlsym(handle, 'cuMemPoolExportToShareableHandle') # <<<<<<<<<<<<<< * global __cuMemPoolImportFromShareableHandle * __cuMemPoolImportFromShareableHandle = dlfcn.dlsym(handle, 'cuMemPoolImportFromShareableHandle') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportToShareableHandle = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolExportToShareableHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2282 * __cuMemPoolExportToShareableHandle = dlfcn.dlsym(handle, 'cuMemPoolExportToShareableHandle') * global __cuMemPoolImportFromShareableHandle * __cuMemPoolImportFromShareableHandle = dlfcn.dlsym(handle, 'cuMemPoolImportFromShareableHandle') # <<<<<<<<<<<<<< * global __cuMemPoolExportPointer * __cuMemPoolExportPointer = dlfcn.dlsym(handle, 'cuMemPoolExportPointer') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportFromShareableHandle = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolImportFromShareableHandle")); /* "cuda/bindings/_bindings/cydriver.pyx":2284 * __cuMemPoolImportFromShareableHandle = dlfcn.dlsym(handle, 'cuMemPoolImportFromShareableHandle') * global __cuMemPoolExportPointer * __cuMemPoolExportPointer = dlfcn.dlsym(handle, 'cuMemPoolExportPointer') # <<<<<<<<<<<<<< * global __cuMemPoolImportPointer * __cuMemPoolImportPointer = dlfcn.dlsym(handle, 'cuMemPoolImportPointer') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportPointer = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolExportPointer")); /* "cuda/bindings/_bindings/cydriver.pyx":2286 * __cuMemPoolExportPointer = dlfcn.dlsym(handle, 'cuMemPoolExportPointer') * global __cuMemPoolImportPointer * __cuMemPoolImportPointer = dlfcn.dlsym(handle, 'cuMemPoolImportPointer') # <<<<<<<<<<<<<< * global __cuMulticastCreate * __cuMulticastCreate = dlfcn.dlsym(handle, 'cuMulticastCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportPointer = dlsym(__pyx_v_handle, ((char const *)"cuMemPoolImportPointer")); /* "cuda/bindings/_bindings/cydriver.pyx":2288 * __cuMemPoolImportPointer = dlfcn.dlsym(handle, 'cuMemPoolImportPointer') * global __cuMulticastCreate * __cuMulticastCreate = dlfcn.dlsym(handle, 'cuMulticastCreate') # <<<<<<<<<<<<<< * global __cuMulticastAddDevice * __cuMulticastAddDevice = dlfcn.dlsym(handle, 'cuMulticastAddDevice') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastCreate = dlsym(__pyx_v_handle, ((char const *)"cuMulticastCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2290 * __cuMulticastCreate = dlfcn.dlsym(handle, 'cuMulticastCreate') * global __cuMulticastAddDevice * __cuMulticastAddDevice = dlfcn.dlsym(handle, 'cuMulticastAddDevice') # <<<<<<<<<<<<<< * global __cuMulticastBindMem * __cuMulticastBindMem = dlfcn.dlsym(handle, 'cuMulticastBindMem') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastAddDevice = dlsym(__pyx_v_handle, ((char const *)"cuMulticastAddDevice")); /* "cuda/bindings/_bindings/cydriver.pyx":2292 * __cuMulticastAddDevice = dlfcn.dlsym(handle, 'cuMulticastAddDevice') * global __cuMulticastBindMem * __cuMulticastBindMem = dlfcn.dlsym(handle, 'cuMulticastBindMem') # <<<<<<<<<<<<<< * global __cuMulticastBindAddr * __cuMulticastBindAddr = dlfcn.dlsym(handle, 'cuMulticastBindAddr') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindMem = dlsym(__pyx_v_handle, ((char const *)"cuMulticastBindMem")); /* "cuda/bindings/_bindings/cydriver.pyx":2294 * __cuMulticastBindMem = dlfcn.dlsym(handle, 'cuMulticastBindMem') * global __cuMulticastBindAddr * __cuMulticastBindAddr = dlfcn.dlsym(handle, 'cuMulticastBindAddr') # <<<<<<<<<<<<<< * global __cuMulticastUnbind * __cuMulticastUnbind = dlfcn.dlsym(handle, 'cuMulticastUnbind') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindAddr = dlsym(__pyx_v_handle, ((char const *)"cuMulticastBindAddr")); /* "cuda/bindings/_bindings/cydriver.pyx":2296 * __cuMulticastBindAddr = dlfcn.dlsym(handle, 'cuMulticastBindAddr') * global __cuMulticastUnbind * __cuMulticastUnbind = dlfcn.dlsym(handle, 'cuMulticastUnbind') # <<<<<<<<<<<<<< * global __cuMulticastGetGranularity * __cuMulticastGetGranularity = dlfcn.dlsym(handle, 'cuMulticastGetGranularity') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastUnbind = dlsym(__pyx_v_handle, ((char const *)"cuMulticastUnbind")); /* "cuda/bindings/_bindings/cydriver.pyx":2298 * __cuMulticastUnbind = dlfcn.dlsym(handle, 'cuMulticastUnbind') * global __cuMulticastGetGranularity * __cuMulticastGetGranularity = dlfcn.dlsym(handle, 'cuMulticastGetGranularity') # <<<<<<<<<<<<<< * global __cuPointerGetAttribute * __cuPointerGetAttribute = dlfcn.dlsym(handle, 'cuPointerGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastGetGranularity = dlsym(__pyx_v_handle, ((char const *)"cuMulticastGetGranularity")); /* "cuda/bindings/_bindings/cydriver.pyx":2300 * __cuMulticastGetGranularity = dlfcn.dlsym(handle, 'cuMulticastGetGranularity') * global __cuPointerGetAttribute * __cuPointerGetAttribute = dlfcn.dlsym(handle, 'cuPointerGetAttribute') # <<<<<<<<<<<<<< * global __cuMemAdvise * __cuMemAdvise = dlfcn.dlsym(handle, 'cuMemAdvise') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuPointerGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2302 * __cuPointerGetAttribute = dlfcn.dlsym(handle, 'cuPointerGetAttribute') * global __cuMemAdvise * __cuMemAdvise = dlfcn.dlsym(handle, 'cuMemAdvise') # <<<<<<<<<<<<<< * global __cuMemAdvise_v2 * __cuMemAdvise_v2 = dlfcn.dlsym(handle, 'cuMemAdvise_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise = dlsym(__pyx_v_handle, ((char const *)"cuMemAdvise")); /* "cuda/bindings/_bindings/cydriver.pyx":2304 * __cuMemAdvise = dlfcn.dlsym(handle, 'cuMemAdvise') * global __cuMemAdvise_v2 * __cuMemAdvise_v2 = dlfcn.dlsym(handle, 'cuMemAdvise_v2') # <<<<<<<<<<<<<< * global __cuMemRangeGetAttribute * __cuMemRangeGetAttribute = dlfcn.dlsym(handle, 'cuMemRangeGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise_v2 = dlsym(__pyx_v_handle, ((char const *)"cuMemAdvise_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2306 * __cuMemAdvise_v2 = dlfcn.dlsym(handle, 'cuMemAdvise_v2') * global __cuMemRangeGetAttribute * __cuMemRangeGetAttribute = dlfcn.dlsym(handle, 'cuMemRangeGetAttribute') # <<<<<<<<<<<<<< * global __cuMemRangeGetAttributes * __cuMemRangeGetAttributes = dlfcn.dlsym(handle, 'cuMemRangeGetAttributes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuMemRangeGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2308 * __cuMemRangeGetAttribute = dlfcn.dlsym(handle, 'cuMemRangeGetAttribute') * global __cuMemRangeGetAttributes * __cuMemRangeGetAttributes = dlfcn.dlsym(handle, 'cuMemRangeGetAttributes') # <<<<<<<<<<<<<< * global __cuPointerSetAttribute * __cuPointerSetAttribute = dlfcn.dlsym(handle, 'cuPointerSetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttributes = dlsym(__pyx_v_handle, ((char const *)"cuMemRangeGetAttributes")); /* "cuda/bindings/_bindings/cydriver.pyx":2310 * __cuMemRangeGetAttributes = dlfcn.dlsym(handle, 'cuMemRangeGetAttributes') * global __cuPointerSetAttribute * __cuPointerSetAttribute = dlfcn.dlsym(handle, 'cuPointerSetAttribute') # <<<<<<<<<<<<<< * global __cuPointerGetAttributes * __cuPointerGetAttributes = dlfcn.dlsym(handle, 'cuPointerGetAttributes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuPointerSetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2312 * __cuPointerSetAttribute = dlfcn.dlsym(handle, 'cuPointerSetAttribute') * global __cuPointerGetAttributes * __cuPointerGetAttributes = dlfcn.dlsym(handle, 'cuPointerGetAttributes') # <<<<<<<<<<<<<< * global __cuStreamCreate * __cuStreamCreate = dlfcn.dlsym(handle, 'cuStreamCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttributes = dlsym(__pyx_v_handle, ((char const *)"cuPointerGetAttributes")); /* "cuda/bindings/_bindings/cydriver.pyx":2314 * __cuPointerGetAttributes = dlfcn.dlsym(handle, 'cuPointerGetAttributes') * global __cuStreamCreate * __cuStreamCreate = dlfcn.dlsym(handle, 'cuStreamCreate') # <<<<<<<<<<<<<< * global __cuStreamCreateWithPriority * __cuStreamCreateWithPriority = dlfcn.dlsym(handle, 'cuStreamCreateWithPriority') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreate = dlsym(__pyx_v_handle, ((char const *)"cuStreamCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2316 * __cuStreamCreate = dlfcn.dlsym(handle, 'cuStreamCreate') * global __cuStreamCreateWithPriority * __cuStreamCreateWithPriority = dlfcn.dlsym(handle, 'cuStreamCreateWithPriority') # <<<<<<<<<<<<<< * global __cuThreadExchangeStreamCaptureMode * __cuThreadExchangeStreamCaptureMode = dlfcn.dlsym(handle, 'cuThreadExchangeStreamCaptureMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreateWithPriority = dlsym(__pyx_v_handle, ((char const *)"cuStreamCreateWithPriority")); /* "cuda/bindings/_bindings/cydriver.pyx":2318 * __cuStreamCreateWithPriority = dlfcn.dlsym(handle, 'cuStreamCreateWithPriority') * global __cuThreadExchangeStreamCaptureMode * __cuThreadExchangeStreamCaptureMode = dlfcn.dlsym(handle, 'cuThreadExchangeStreamCaptureMode') # <<<<<<<<<<<<<< * global __cuStreamDestroy_v2 * __cuStreamDestroy_v2 = dlfcn.dlsym(handle, 'cuStreamDestroy_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuThreadExchangeStreamCaptureMode = dlsym(__pyx_v_handle, ((char const *)"cuThreadExchangeStreamCaptureMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2320 * __cuThreadExchangeStreamCaptureMode = dlfcn.dlsym(handle, 'cuThreadExchangeStreamCaptureMode') * global __cuStreamDestroy_v2 * __cuStreamDestroy_v2 = dlfcn.dlsym(handle, 'cuStreamDestroy_v2') # <<<<<<<<<<<<<< * global __cuEventCreate * __cuEventCreate = dlfcn.dlsym(handle, 'cuEventCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamDestroy_v2 = dlsym(__pyx_v_handle, ((char const *)"cuStreamDestroy_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2322 * __cuStreamDestroy_v2 = dlfcn.dlsym(handle, 'cuStreamDestroy_v2') * global __cuEventCreate * __cuEventCreate = dlfcn.dlsym(handle, 'cuEventCreate') # <<<<<<<<<<<<<< * global __cuEventQuery * __cuEventQuery = dlfcn.dlsym(handle, 'cuEventQuery') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreate = dlsym(__pyx_v_handle, ((char const *)"cuEventCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2324 * __cuEventCreate = dlfcn.dlsym(handle, 'cuEventCreate') * global __cuEventQuery * __cuEventQuery = dlfcn.dlsym(handle, 'cuEventQuery') # <<<<<<<<<<<<<< * global __cuEventSynchronize * __cuEventSynchronize = dlfcn.dlsym(handle, 'cuEventSynchronize') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventQuery = dlsym(__pyx_v_handle, ((char const *)"cuEventQuery")); /* "cuda/bindings/_bindings/cydriver.pyx":2326 * __cuEventQuery = dlfcn.dlsym(handle, 'cuEventQuery') * global __cuEventSynchronize * __cuEventSynchronize = dlfcn.dlsym(handle, 'cuEventSynchronize') # <<<<<<<<<<<<<< * global __cuEventDestroy_v2 * __cuEventDestroy_v2 = dlfcn.dlsym(handle, 'cuEventDestroy_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventSynchronize = dlsym(__pyx_v_handle, ((char const *)"cuEventSynchronize")); /* "cuda/bindings/_bindings/cydriver.pyx":2328 * __cuEventSynchronize = dlfcn.dlsym(handle, 'cuEventSynchronize') * global __cuEventDestroy_v2 * __cuEventDestroy_v2 = dlfcn.dlsym(handle, 'cuEventDestroy_v2') # <<<<<<<<<<<<<< * global __cuEventElapsedTime * __cuEventElapsedTime = dlfcn.dlsym(handle, 'cuEventElapsedTime') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventDestroy_v2 = dlsym(__pyx_v_handle, ((char const *)"cuEventDestroy_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2330 * __cuEventDestroy_v2 = dlfcn.dlsym(handle, 'cuEventDestroy_v2') * global __cuEventElapsedTime * __cuEventElapsedTime = dlfcn.dlsym(handle, 'cuEventElapsedTime') # <<<<<<<<<<<<<< * global __cuEventElapsedTime_v2 * __cuEventElapsedTime_v2 = dlfcn.dlsym(handle, 'cuEventElapsedTime_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime = dlsym(__pyx_v_handle, ((char const *)"cuEventElapsedTime")); /* "cuda/bindings/_bindings/cydriver.pyx":2332 * __cuEventElapsedTime = dlfcn.dlsym(handle, 'cuEventElapsedTime') * global __cuEventElapsedTime_v2 * __cuEventElapsedTime_v2 = dlfcn.dlsym(handle, 'cuEventElapsedTime_v2') # <<<<<<<<<<<<<< * global __cuImportExternalMemory * __cuImportExternalMemory = dlfcn.dlsym(handle, 'cuImportExternalMemory') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime_v2 = dlsym(__pyx_v_handle, ((char const *)"cuEventElapsedTime_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2334 * __cuEventElapsedTime_v2 = dlfcn.dlsym(handle, 'cuEventElapsedTime_v2') * global __cuImportExternalMemory * __cuImportExternalMemory = dlfcn.dlsym(handle, 'cuImportExternalMemory') # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedBuffer * __cuExternalMemoryGetMappedBuffer = dlfcn.dlsym(handle, 'cuExternalMemoryGetMappedBuffer') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalMemory = dlsym(__pyx_v_handle, ((char const *)"cuImportExternalMemory")); /* "cuda/bindings/_bindings/cydriver.pyx":2336 * __cuImportExternalMemory = dlfcn.dlsym(handle, 'cuImportExternalMemory') * global __cuExternalMemoryGetMappedBuffer * __cuExternalMemoryGetMappedBuffer = dlfcn.dlsym(handle, 'cuExternalMemoryGetMappedBuffer') # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedMipmappedArray * __cuExternalMemoryGetMappedMipmappedArray = dlfcn.dlsym(handle, 'cuExternalMemoryGetMappedMipmappedArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedBuffer = dlsym(__pyx_v_handle, ((char const *)"cuExternalMemoryGetMappedBuffer")); /* "cuda/bindings/_bindings/cydriver.pyx":2338 * __cuExternalMemoryGetMappedBuffer = dlfcn.dlsym(handle, 'cuExternalMemoryGetMappedBuffer') * global __cuExternalMemoryGetMappedMipmappedArray * __cuExternalMemoryGetMappedMipmappedArray = dlfcn.dlsym(handle, 'cuExternalMemoryGetMappedMipmappedArray') # <<<<<<<<<<<<<< * global __cuDestroyExternalMemory * __cuDestroyExternalMemory = dlfcn.dlsym(handle, 'cuDestroyExternalMemory') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedMipmappedArray = dlsym(__pyx_v_handle, ((char const *)"cuExternalMemoryGetMappedMipmappedArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2340 * __cuExternalMemoryGetMappedMipmappedArray = dlfcn.dlsym(handle, 'cuExternalMemoryGetMappedMipmappedArray') * global __cuDestroyExternalMemory * __cuDestroyExternalMemory = dlfcn.dlsym(handle, 'cuDestroyExternalMemory') # <<<<<<<<<<<<<< * global __cuImportExternalSemaphore * __cuImportExternalSemaphore = dlfcn.dlsym(handle, 'cuImportExternalSemaphore') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalMemory = dlsym(__pyx_v_handle, ((char const *)"cuDestroyExternalMemory")); /* "cuda/bindings/_bindings/cydriver.pyx":2342 * __cuDestroyExternalMemory = dlfcn.dlsym(handle, 'cuDestroyExternalMemory') * global __cuImportExternalSemaphore * __cuImportExternalSemaphore = dlfcn.dlsym(handle, 'cuImportExternalSemaphore') # <<<<<<<<<<<<<< * global __cuDestroyExternalSemaphore * __cuDestroyExternalSemaphore = dlfcn.dlsym(handle, 'cuDestroyExternalSemaphore') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalSemaphore = dlsym(__pyx_v_handle, ((char const *)"cuImportExternalSemaphore")); /* "cuda/bindings/_bindings/cydriver.pyx":2344 * __cuImportExternalSemaphore = dlfcn.dlsym(handle, 'cuImportExternalSemaphore') * global __cuDestroyExternalSemaphore * __cuDestroyExternalSemaphore = dlfcn.dlsym(handle, 'cuDestroyExternalSemaphore') # <<<<<<<<<<<<<< * global __cuFuncGetAttribute * __cuFuncGetAttribute = dlfcn.dlsym(handle, 'cuFuncGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalSemaphore = dlsym(__pyx_v_handle, ((char const *)"cuDestroyExternalSemaphore")); /* "cuda/bindings/_bindings/cydriver.pyx":2346 * __cuDestroyExternalSemaphore = dlfcn.dlsym(handle, 'cuDestroyExternalSemaphore') * global __cuFuncGetAttribute * __cuFuncGetAttribute = dlfcn.dlsym(handle, 'cuFuncGetAttribute') # <<<<<<<<<<<<<< * global __cuFuncSetAttribute * __cuFuncSetAttribute = dlfcn.dlsym(handle, 'cuFuncSetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuFuncGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2348 * __cuFuncGetAttribute = dlfcn.dlsym(handle, 'cuFuncGetAttribute') * global __cuFuncSetAttribute * __cuFuncSetAttribute = dlfcn.dlsym(handle, 'cuFuncSetAttribute') # <<<<<<<<<<<<<< * global __cuFuncSetCacheConfig * __cuFuncSetCacheConfig = dlfcn.dlsym(handle, 'cuFuncSetCacheConfig') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuFuncSetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2350 * __cuFuncSetAttribute = dlfcn.dlsym(handle, 'cuFuncSetAttribute') * global __cuFuncSetCacheConfig * __cuFuncSetCacheConfig = dlfcn.dlsym(handle, 'cuFuncSetCacheConfig') # <<<<<<<<<<<<<< * global __cuFuncGetModule * __cuFuncGetModule = dlfcn.dlsym(handle, 'cuFuncGetModule') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetCacheConfig = dlsym(__pyx_v_handle, ((char const *)"cuFuncSetCacheConfig")); /* "cuda/bindings/_bindings/cydriver.pyx":2352 * __cuFuncSetCacheConfig = dlfcn.dlsym(handle, 'cuFuncSetCacheConfig') * global __cuFuncGetModule * __cuFuncGetModule = dlfcn.dlsym(handle, 'cuFuncGetModule') # <<<<<<<<<<<<<< * global __cuFuncGetName * __cuFuncGetName = dlfcn.dlsym(handle, 'cuFuncGetName') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetModule = dlsym(__pyx_v_handle, ((char const *)"cuFuncGetModule")); /* "cuda/bindings/_bindings/cydriver.pyx":2354 * __cuFuncGetModule = dlfcn.dlsym(handle, 'cuFuncGetModule') * global __cuFuncGetName * __cuFuncGetName = dlfcn.dlsym(handle, 'cuFuncGetName') # <<<<<<<<<<<<<< * global __cuFuncGetParamInfo * __cuFuncGetParamInfo = dlfcn.dlsym(handle, 'cuFuncGetParamInfo') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetName = dlsym(__pyx_v_handle, ((char const *)"cuFuncGetName")); /* "cuda/bindings/_bindings/cydriver.pyx":2356 * __cuFuncGetName = dlfcn.dlsym(handle, 'cuFuncGetName') * global __cuFuncGetParamInfo * __cuFuncGetParamInfo = dlfcn.dlsym(handle, 'cuFuncGetParamInfo') # <<<<<<<<<<<<<< * global __cuFuncIsLoaded * __cuFuncIsLoaded = dlfcn.dlsym(handle, 'cuFuncIsLoaded') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetParamInfo = dlsym(__pyx_v_handle, ((char const *)"cuFuncGetParamInfo")); /* "cuda/bindings/_bindings/cydriver.pyx":2358 * __cuFuncGetParamInfo = dlfcn.dlsym(handle, 'cuFuncGetParamInfo') * global __cuFuncIsLoaded * __cuFuncIsLoaded = dlfcn.dlsym(handle, 'cuFuncIsLoaded') # <<<<<<<<<<<<<< * global __cuFuncLoad * __cuFuncLoad = dlfcn.dlsym(handle, 'cuFuncLoad') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncIsLoaded = dlsym(__pyx_v_handle, ((char const *)"cuFuncIsLoaded")); /* "cuda/bindings/_bindings/cydriver.pyx":2360 * __cuFuncIsLoaded = dlfcn.dlsym(handle, 'cuFuncIsLoaded') * global __cuFuncLoad * __cuFuncLoad = dlfcn.dlsym(handle, 'cuFuncLoad') # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernelMultiDevice * __cuLaunchCooperativeKernelMultiDevice = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernelMultiDevice') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncLoad = dlsym(__pyx_v_handle, ((char const *)"cuFuncLoad")); /* "cuda/bindings/_bindings/cydriver.pyx":2362 * __cuFuncLoad = dlfcn.dlsym(handle, 'cuFuncLoad') * global __cuLaunchCooperativeKernelMultiDevice * __cuLaunchCooperativeKernelMultiDevice = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernelMultiDevice') # <<<<<<<<<<<<<< * global __cuFuncSetBlockShape * __cuFuncSetBlockShape = dlfcn.dlsym(handle, 'cuFuncSetBlockShape') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernelMultiDevice = dlsym(__pyx_v_handle, ((char const *)"cuLaunchCooperativeKernelMultiDevice")); /* "cuda/bindings/_bindings/cydriver.pyx":2364 * __cuLaunchCooperativeKernelMultiDevice = dlfcn.dlsym(handle, 'cuLaunchCooperativeKernelMultiDevice') * global __cuFuncSetBlockShape * __cuFuncSetBlockShape = dlfcn.dlsym(handle, 'cuFuncSetBlockShape') # <<<<<<<<<<<<<< * global __cuFuncSetSharedSize * __cuFuncSetSharedSize = dlfcn.dlsym(handle, 'cuFuncSetSharedSize') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetBlockShape = dlsym(__pyx_v_handle, ((char const *)"cuFuncSetBlockShape")); /* "cuda/bindings/_bindings/cydriver.pyx":2366 * __cuFuncSetBlockShape = dlfcn.dlsym(handle, 'cuFuncSetBlockShape') * global __cuFuncSetSharedSize * __cuFuncSetSharedSize = dlfcn.dlsym(handle, 'cuFuncSetSharedSize') # <<<<<<<<<<<<<< * global __cuParamSetSize * __cuParamSetSize = dlfcn.dlsym(handle, 'cuParamSetSize') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedSize = dlsym(__pyx_v_handle, ((char const *)"cuFuncSetSharedSize")); /* "cuda/bindings/_bindings/cydriver.pyx":2368 * __cuFuncSetSharedSize = dlfcn.dlsym(handle, 'cuFuncSetSharedSize') * global __cuParamSetSize * __cuParamSetSize = dlfcn.dlsym(handle, 'cuParamSetSize') # <<<<<<<<<<<<<< * global __cuParamSeti * __cuParamSeti = dlfcn.dlsym(handle, 'cuParamSeti') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetSize = dlsym(__pyx_v_handle, ((char const *)"cuParamSetSize")); /* "cuda/bindings/_bindings/cydriver.pyx":2370 * __cuParamSetSize = dlfcn.dlsym(handle, 'cuParamSetSize') * global __cuParamSeti * __cuParamSeti = dlfcn.dlsym(handle, 'cuParamSeti') # <<<<<<<<<<<<<< * global __cuParamSetf * __cuParamSetf = dlfcn.dlsym(handle, 'cuParamSetf') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSeti = dlsym(__pyx_v_handle, ((char const *)"cuParamSeti")); /* "cuda/bindings/_bindings/cydriver.pyx":2372 * __cuParamSeti = dlfcn.dlsym(handle, 'cuParamSeti') * global __cuParamSetf * __cuParamSetf = dlfcn.dlsym(handle, 'cuParamSetf') # <<<<<<<<<<<<<< * global __cuParamSetv * __cuParamSetv = dlfcn.dlsym(handle, 'cuParamSetv') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetf = dlsym(__pyx_v_handle, ((char const *)"cuParamSetf")); /* "cuda/bindings/_bindings/cydriver.pyx":2374 * __cuParamSetf = dlfcn.dlsym(handle, 'cuParamSetf') * global __cuParamSetv * __cuParamSetv = dlfcn.dlsym(handle, 'cuParamSetv') # <<<<<<<<<<<<<< * global __cuLaunch * __cuLaunch = dlfcn.dlsym(handle, 'cuLaunch') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetv = dlsym(__pyx_v_handle, ((char const *)"cuParamSetv")); /* "cuda/bindings/_bindings/cydriver.pyx":2376 * __cuParamSetv = dlfcn.dlsym(handle, 'cuParamSetv') * global __cuLaunch * __cuLaunch = dlfcn.dlsym(handle, 'cuLaunch') # <<<<<<<<<<<<<< * global __cuLaunchGrid * __cuLaunchGrid = dlfcn.dlsym(handle, 'cuLaunchGrid') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunch = dlsym(__pyx_v_handle, ((char const *)"cuLaunch")); /* "cuda/bindings/_bindings/cydriver.pyx":2378 * __cuLaunch = dlfcn.dlsym(handle, 'cuLaunch') * global __cuLaunchGrid * __cuLaunchGrid = dlfcn.dlsym(handle, 'cuLaunchGrid') # <<<<<<<<<<<<<< * global __cuLaunchGridAsync * __cuLaunchGridAsync = dlfcn.dlsym(handle, 'cuLaunchGridAsync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGrid = dlsym(__pyx_v_handle, ((char const *)"cuLaunchGrid")); /* "cuda/bindings/_bindings/cydriver.pyx":2380 * __cuLaunchGrid = dlfcn.dlsym(handle, 'cuLaunchGrid') * global __cuLaunchGridAsync * __cuLaunchGridAsync = dlfcn.dlsym(handle, 'cuLaunchGridAsync') # <<<<<<<<<<<<<< * global __cuParamSetTexRef * __cuParamSetTexRef = dlfcn.dlsym(handle, 'cuParamSetTexRef') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGridAsync = dlsym(__pyx_v_handle, ((char const *)"cuLaunchGridAsync")); /* "cuda/bindings/_bindings/cydriver.pyx":2382 * __cuLaunchGridAsync = dlfcn.dlsym(handle, 'cuLaunchGridAsync') * global __cuParamSetTexRef * __cuParamSetTexRef = dlfcn.dlsym(handle, 'cuParamSetTexRef') # <<<<<<<<<<<<<< * global __cuFuncSetSharedMemConfig * __cuFuncSetSharedMemConfig = dlfcn.dlsym(handle, 'cuFuncSetSharedMemConfig') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetTexRef = dlsym(__pyx_v_handle, ((char const *)"cuParamSetTexRef")); /* "cuda/bindings/_bindings/cydriver.pyx":2384 * __cuParamSetTexRef = dlfcn.dlsym(handle, 'cuParamSetTexRef') * global __cuFuncSetSharedMemConfig * __cuFuncSetSharedMemConfig = dlfcn.dlsym(handle, 'cuFuncSetSharedMemConfig') # <<<<<<<<<<<<<< * global __cuGraphCreate * __cuGraphCreate = dlfcn.dlsym(handle, 'cuGraphCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedMemConfig = dlsym(__pyx_v_handle, ((char const *)"cuFuncSetSharedMemConfig")); /* "cuda/bindings/_bindings/cydriver.pyx":2386 * __cuFuncSetSharedMemConfig = dlfcn.dlsym(handle, 'cuFuncSetSharedMemConfig') * global __cuGraphCreate * __cuGraphCreate = dlfcn.dlsym(handle, 'cuGraphCreate') # <<<<<<<<<<<<<< * global __cuGraphAddKernelNode_v2 * __cuGraphAddKernelNode_v2 = dlfcn.dlsym(handle, 'cuGraphAddKernelNode_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphCreate = dlsym(__pyx_v_handle, ((char const *)"cuGraphCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2388 * __cuGraphCreate = dlfcn.dlsym(handle, 'cuGraphCreate') * global __cuGraphAddKernelNode_v2 * __cuGraphAddKernelNode_v2 = dlfcn.dlsym(handle, 'cuGraphAddKernelNode_v2') # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetParams_v2 * __cuGraphKernelNodeGetParams_v2 = dlfcn.dlsym(handle, 'cuGraphKernelNodeGetParams_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddKernelNode_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddKernelNode_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2390 * __cuGraphAddKernelNode_v2 = dlfcn.dlsym(handle, 'cuGraphAddKernelNode_v2') * global __cuGraphKernelNodeGetParams_v2 * __cuGraphKernelNodeGetParams_v2 = dlfcn.dlsym(handle, 'cuGraphKernelNodeGetParams_v2') # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetParams_v2 * __cuGraphKernelNodeSetParams_v2 = dlfcn.dlsym(handle, 'cuGraphKernelNodeSetParams_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetParams_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphKernelNodeGetParams_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2392 * __cuGraphKernelNodeGetParams_v2 = dlfcn.dlsym(handle, 'cuGraphKernelNodeGetParams_v2') * global __cuGraphKernelNodeSetParams_v2 * __cuGraphKernelNodeSetParams_v2 = dlfcn.dlsym(handle, 'cuGraphKernelNodeSetParams_v2') # <<<<<<<<<<<<<< * global __cuGraphAddMemcpyNode * __cuGraphAddMemcpyNode = dlfcn.dlsym(handle, 'cuGraphAddMemcpyNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetParams_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphKernelNodeSetParams_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2394 * __cuGraphKernelNodeSetParams_v2 = dlfcn.dlsym(handle, 'cuGraphKernelNodeSetParams_v2') * global __cuGraphAddMemcpyNode * __cuGraphAddMemcpyNode = dlfcn.dlsym(handle, 'cuGraphAddMemcpyNode') # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeGetParams * __cuGraphMemcpyNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemcpyNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemcpyNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddMemcpyNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2396 * __cuGraphAddMemcpyNode = dlfcn.dlsym(handle, 'cuGraphAddMemcpyNode') * global __cuGraphMemcpyNodeGetParams * __cuGraphMemcpyNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemcpyNodeGetParams') # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeSetParams * __cuGraphMemcpyNodeSetParams = dlfcn.dlsym(handle, 'cuGraphMemcpyNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphMemcpyNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2398 * __cuGraphMemcpyNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemcpyNodeGetParams') * global __cuGraphMemcpyNodeSetParams * __cuGraphMemcpyNodeSetParams = dlfcn.dlsym(handle, 'cuGraphMemcpyNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphAddMemsetNode * __cuGraphAddMemsetNode = dlfcn.dlsym(handle, 'cuGraphAddMemsetNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphMemcpyNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2400 * __cuGraphMemcpyNodeSetParams = dlfcn.dlsym(handle, 'cuGraphMemcpyNodeSetParams') * global __cuGraphAddMemsetNode * __cuGraphAddMemsetNode = dlfcn.dlsym(handle, 'cuGraphAddMemsetNode') # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeGetParams * __cuGraphMemsetNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemsetNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemsetNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddMemsetNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2402 * __cuGraphAddMemsetNode = dlfcn.dlsym(handle, 'cuGraphAddMemsetNode') * global __cuGraphMemsetNodeGetParams * __cuGraphMemsetNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemsetNodeGetParams') # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeSetParams * __cuGraphMemsetNodeSetParams = dlfcn.dlsym(handle, 'cuGraphMemsetNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphMemsetNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2404 * __cuGraphMemsetNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemsetNodeGetParams') * global __cuGraphMemsetNodeSetParams * __cuGraphMemsetNodeSetParams = dlfcn.dlsym(handle, 'cuGraphMemsetNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphAddHostNode * __cuGraphAddHostNode = dlfcn.dlsym(handle, 'cuGraphAddHostNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphMemsetNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2406 * __cuGraphMemsetNodeSetParams = dlfcn.dlsym(handle, 'cuGraphMemsetNodeSetParams') * global __cuGraphAddHostNode * __cuGraphAddHostNode = dlfcn.dlsym(handle, 'cuGraphAddHostNode') # <<<<<<<<<<<<<< * global __cuGraphHostNodeGetParams * __cuGraphHostNodeGetParams = dlfcn.dlsym(handle, 'cuGraphHostNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddHostNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddHostNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2408 * __cuGraphAddHostNode = dlfcn.dlsym(handle, 'cuGraphAddHostNode') * global __cuGraphHostNodeGetParams * __cuGraphHostNodeGetParams = dlfcn.dlsym(handle, 'cuGraphHostNodeGetParams') # <<<<<<<<<<<<<< * global __cuGraphHostNodeSetParams * __cuGraphHostNodeSetParams = dlfcn.dlsym(handle, 'cuGraphHostNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphHostNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2410 * __cuGraphHostNodeGetParams = dlfcn.dlsym(handle, 'cuGraphHostNodeGetParams') * global __cuGraphHostNodeSetParams * __cuGraphHostNodeSetParams = dlfcn.dlsym(handle, 'cuGraphHostNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphAddChildGraphNode * __cuGraphAddChildGraphNode = dlfcn.dlsym(handle, 'cuGraphAddChildGraphNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphHostNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2412 * __cuGraphHostNodeSetParams = dlfcn.dlsym(handle, 'cuGraphHostNodeSetParams') * global __cuGraphAddChildGraphNode * __cuGraphAddChildGraphNode = dlfcn.dlsym(handle, 'cuGraphAddChildGraphNode') # <<<<<<<<<<<<<< * global __cuGraphChildGraphNodeGetGraph * __cuGraphChildGraphNodeGetGraph = dlfcn.dlsym(handle, 'cuGraphChildGraphNodeGetGraph') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddChildGraphNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddChildGraphNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2414 * __cuGraphAddChildGraphNode = dlfcn.dlsym(handle, 'cuGraphAddChildGraphNode') * global __cuGraphChildGraphNodeGetGraph * __cuGraphChildGraphNodeGetGraph = dlfcn.dlsym(handle, 'cuGraphChildGraphNodeGetGraph') # <<<<<<<<<<<<<< * global __cuGraphAddEmptyNode * __cuGraphAddEmptyNode = dlfcn.dlsym(handle, 'cuGraphAddEmptyNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphChildGraphNodeGetGraph = dlsym(__pyx_v_handle, ((char const *)"cuGraphChildGraphNodeGetGraph")); /* "cuda/bindings/_bindings/cydriver.pyx":2416 * __cuGraphChildGraphNodeGetGraph = dlfcn.dlsym(handle, 'cuGraphChildGraphNodeGetGraph') * global __cuGraphAddEmptyNode * __cuGraphAddEmptyNode = dlfcn.dlsym(handle, 'cuGraphAddEmptyNode') # <<<<<<<<<<<<<< * global __cuGraphAddEventRecordNode * __cuGraphAddEventRecordNode = dlfcn.dlsym(handle, 'cuGraphAddEventRecordNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEmptyNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddEmptyNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2418 * __cuGraphAddEmptyNode = dlfcn.dlsym(handle, 'cuGraphAddEmptyNode') * global __cuGraphAddEventRecordNode * __cuGraphAddEventRecordNode = dlfcn.dlsym(handle, 'cuGraphAddEventRecordNode') # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeGetEvent * __cuGraphEventRecordNodeGetEvent = dlfcn.dlsym(handle, 'cuGraphEventRecordNodeGetEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventRecordNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddEventRecordNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2420 * __cuGraphAddEventRecordNode = dlfcn.dlsym(handle, 'cuGraphAddEventRecordNode') * global __cuGraphEventRecordNodeGetEvent * __cuGraphEventRecordNodeGetEvent = dlfcn.dlsym(handle, 'cuGraphEventRecordNodeGetEvent') # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeSetEvent * __cuGraphEventRecordNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphEventRecordNodeSetEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeGetEvent = dlsym(__pyx_v_handle, ((char const *)"cuGraphEventRecordNodeGetEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2422 * __cuGraphEventRecordNodeGetEvent = dlfcn.dlsym(handle, 'cuGraphEventRecordNodeGetEvent') * global __cuGraphEventRecordNodeSetEvent * __cuGraphEventRecordNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphEventRecordNodeSetEvent') # <<<<<<<<<<<<<< * global __cuGraphAddEventWaitNode * __cuGraphAddEventWaitNode = dlfcn.dlsym(handle, 'cuGraphAddEventWaitNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeSetEvent = dlsym(__pyx_v_handle, ((char const *)"cuGraphEventRecordNodeSetEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2424 * __cuGraphEventRecordNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphEventRecordNodeSetEvent') * global __cuGraphAddEventWaitNode * __cuGraphAddEventWaitNode = dlfcn.dlsym(handle, 'cuGraphAddEventWaitNode') # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeGetEvent * __cuGraphEventWaitNodeGetEvent = dlfcn.dlsym(handle, 'cuGraphEventWaitNodeGetEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventWaitNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddEventWaitNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2426 * __cuGraphAddEventWaitNode = dlfcn.dlsym(handle, 'cuGraphAddEventWaitNode') * global __cuGraphEventWaitNodeGetEvent * __cuGraphEventWaitNodeGetEvent = dlfcn.dlsym(handle, 'cuGraphEventWaitNodeGetEvent') # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeSetEvent * __cuGraphEventWaitNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphEventWaitNodeSetEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeGetEvent = dlsym(__pyx_v_handle, ((char const *)"cuGraphEventWaitNodeGetEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2428 * __cuGraphEventWaitNodeGetEvent = dlfcn.dlsym(handle, 'cuGraphEventWaitNodeGetEvent') * global __cuGraphEventWaitNodeSetEvent * __cuGraphEventWaitNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphEventWaitNodeSetEvent') # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresSignalNode * __cuGraphAddExternalSemaphoresSignalNode = dlfcn.dlsym(handle, 'cuGraphAddExternalSemaphoresSignalNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeSetEvent = dlsym(__pyx_v_handle, ((char const *)"cuGraphEventWaitNodeSetEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2430 * __cuGraphEventWaitNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphEventWaitNodeSetEvent') * global __cuGraphAddExternalSemaphoresSignalNode * __cuGraphAddExternalSemaphoresSignalNode = dlfcn.dlsym(handle, 'cuGraphAddExternalSemaphoresSignalNode') # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeGetParams * __cuGraphExternalSemaphoresSignalNodeGetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresSignalNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresSignalNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddExternalSemaphoresSignalNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2432 * __cuGraphAddExternalSemaphoresSignalNode = dlfcn.dlsym(handle, 'cuGraphAddExternalSemaphoresSignalNode') * global __cuGraphExternalSemaphoresSignalNodeGetParams * __cuGraphExternalSemaphoresSignalNodeGetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresSignalNodeGetParams') # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeSetParams * __cuGraphExternalSemaphoresSignalNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresSignalNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExternalSemaphoresSignalNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2434 * __cuGraphExternalSemaphoresSignalNodeGetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresSignalNodeGetParams') * global __cuGraphExternalSemaphoresSignalNodeSetParams * __cuGraphExternalSemaphoresSignalNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresSignalNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresWaitNode * __cuGraphAddExternalSemaphoresWaitNode = dlfcn.dlsym(handle, 'cuGraphAddExternalSemaphoresWaitNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExternalSemaphoresSignalNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2436 * __cuGraphExternalSemaphoresSignalNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresSignalNodeSetParams') * global __cuGraphAddExternalSemaphoresWaitNode * __cuGraphAddExternalSemaphoresWaitNode = dlfcn.dlsym(handle, 'cuGraphAddExternalSemaphoresWaitNode') # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeGetParams * __cuGraphExternalSemaphoresWaitNodeGetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresWaitNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresWaitNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddExternalSemaphoresWaitNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2438 * __cuGraphAddExternalSemaphoresWaitNode = dlfcn.dlsym(handle, 'cuGraphAddExternalSemaphoresWaitNode') * global __cuGraphExternalSemaphoresWaitNodeGetParams * __cuGraphExternalSemaphoresWaitNodeGetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresWaitNodeGetParams') # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeSetParams * __cuGraphExternalSemaphoresWaitNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresWaitNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExternalSemaphoresWaitNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2440 * __cuGraphExternalSemaphoresWaitNodeGetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresWaitNodeGetParams') * global __cuGraphExternalSemaphoresWaitNodeSetParams * __cuGraphExternalSemaphoresWaitNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresWaitNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphAddBatchMemOpNode * __cuGraphAddBatchMemOpNode = dlfcn.dlsym(handle, 'cuGraphAddBatchMemOpNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExternalSemaphoresWaitNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2442 * __cuGraphExternalSemaphoresWaitNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExternalSemaphoresWaitNodeSetParams') * global __cuGraphAddBatchMemOpNode * __cuGraphAddBatchMemOpNode = dlfcn.dlsym(handle, 'cuGraphAddBatchMemOpNode') # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeGetParams * __cuGraphBatchMemOpNodeGetParams = dlfcn.dlsym(handle, 'cuGraphBatchMemOpNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddBatchMemOpNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddBatchMemOpNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2444 * __cuGraphAddBatchMemOpNode = dlfcn.dlsym(handle, 'cuGraphAddBatchMemOpNode') * global __cuGraphBatchMemOpNodeGetParams * __cuGraphBatchMemOpNodeGetParams = dlfcn.dlsym(handle, 'cuGraphBatchMemOpNodeGetParams') # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeSetParams * __cuGraphBatchMemOpNodeSetParams = dlfcn.dlsym(handle, 'cuGraphBatchMemOpNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphBatchMemOpNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2446 * __cuGraphBatchMemOpNodeGetParams = dlfcn.dlsym(handle, 'cuGraphBatchMemOpNodeGetParams') * global __cuGraphBatchMemOpNodeSetParams * __cuGraphBatchMemOpNodeSetParams = dlfcn.dlsym(handle, 'cuGraphBatchMemOpNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphExecBatchMemOpNodeSetParams * __cuGraphExecBatchMemOpNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecBatchMemOpNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphBatchMemOpNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2448 * __cuGraphBatchMemOpNodeSetParams = dlfcn.dlsym(handle, 'cuGraphBatchMemOpNodeSetParams') * global __cuGraphExecBatchMemOpNodeSetParams * __cuGraphExecBatchMemOpNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecBatchMemOpNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphAddMemAllocNode * __cuGraphAddMemAllocNode = dlfcn.dlsym(handle, 'cuGraphAddMemAllocNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecBatchMemOpNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecBatchMemOpNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2450 * __cuGraphExecBatchMemOpNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecBatchMemOpNodeSetParams') * global __cuGraphAddMemAllocNode * __cuGraphAddMemAllocNode = dlfcn.dlsym(handle, 'cuGraphAddMemAllocNode') # <<<<<<<<<<<<<< * global __cuGraphMemAllocNodeGetParams * __cuGraphMemAllocNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemAllocNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemAllocNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddMemAllocNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2452 * __cuGraphAddMemAllocNode = dlfcn.dlsym(handle, 'cuGraphAddMemAllocNode') * global __cuGraphMemAllocNodeGetParams * __cuGraphMemAllocNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemAllocNodeGetParams') # <<<<<<<<<<<<<< * global __cuGraphAddMemFreeNode * __cuGraphAddMemFreeNode = dlfcn.dlsym(handle, 'cuGraphAddMemFreeNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemAllocNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphMemAllocNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2454 * __cuGraphMemAllocNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemAllocNodeGetParams') * global __cuGraphAddMemFreeNode * __cuGraphAddMemFreeNode = dlfcn.dlsym(handle, 'cuGraphAddMemFreeNode') # <<<<<<<<<<<<<< * global __cuGraphMemFreeNodeGetParams * __cuGraphMemFreeNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemFreeNodeGetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemFreeNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddMemFreeNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2456 * __cuGraphAddMemFreeNode = dlfcn.dlsym(handle, 'cuGraphAddMemFreeNode') * global __cuGraphMemFreeNodeGetParams * __cuGraphMemFreeNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemFreeNodeGetParams') # <<<<<<<<<<<<<< * global __cuDeviceGraphMemTrim * __cuDeviceGraphMemTrim = dlfcn.dlsym(handle, 'cuDeviceGraphMemTrim') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemFreeNodeGetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphMemFreeNodeGetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2458 * __cuGraphMemFreeNodeGetParams = dlfcn.dlsym(handle, 'cuGraphMemFreeNodeGetParams') * global __cuDeviceGraphMemTrim * __cuDeviceGraphMemTrim = dlfcn.dlsym(handle, 'cuDeviceGraphMemTrim') # <<<<<<<<<<<<<< * global __cuDeviceGetGraphMemAttribute * __cuDeviceGetGraphMemAttribute = dlfcn.dlsym(handle, 'cuDeviceGetGraphMemAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGraphMemTrim = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGraphMemTrim")); /* "cuda/bindings/_bindings/cydriver.pyx":2460 * __cuDeviceGraphMemTrim = dlfcn.dlsym(handle, 'cuDeviceGraphMemTrim') * global __cuDeviceGetGraphMemAttribute * __cuDeviceGetGraphMemAttribute = dlfcn.dlsym(handle, 'cuDeviceGetGraphMemAttribute') # <<<<<<<<<<<<<< * global __cuDeviceSetGraphMemAttribute * __cuDeviceSetGraphMemAttribute = dlfcn.dlsym(handle, 'cuDeviceSetGraphMemAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetGraphMemAttribute = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetGraphMemAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2462 * __cuDeviceGetGraphMemAttribute = dlfcn.dlsym(handle, 'cuDeviceGetGraphMemAttribute') * global __cuDeviceSetGraphMemAttribute * __cuDeviceSetGraphMemAttribute = dlfcn.dlsym(handle, 'cuDeviceSetGraphMemAttribute') # <<<<<<<<<<<<<< * global __cuGraphClone * __cuGraphClone = dlfcn.dlsym(handle, 'cuGraphClone') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetGraphMemAttribute = dlsym(__pyx_v_handle, ((char const *)"cuDeviceSetGraphMemAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2464 * __cuDeviceSetGraphMemAttribute = dlfcn.dlsym(handle, 'cuDeviceSetGraphMemAttribute') * global __cuGraphClone * __cuGraphClone = dlfcn.dlsym(handle, 'cuGraphClone') # <<<<<<<<<<<<<< * global __cuGraphNodeFindInClone * __cuGraphNodeFindInClone = dlfcn.dlsym(handle, 'cuGraphNodeFindInClone') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphClone = dlsym(__pyx_v_handle, ((char const *)"cuGraphClone")); /* "cuda/bindings/_bindings/cydriver.pyx":2466 * __cuGraphClone = dlfcn.dlsym(handle, 'cuGraphClone') * global __cuGraphNodeFindInClone * __cuGraphNodeFindInClone = dlfcn.dlsym(handle, 'cuGraphNodeFindInClone') # <<<<<<<<<<<<<< * global __cuGraphNodeGetType * __cuGraphNodeGetType = dlfcn.dlsym(handle, 'cuGraphNodeGetType') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeFindInClone = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeFindInClone")); /* "cuda/bindings/_bindings/cydriver.pyx":2468 * __cuGraphNodeFindInClone = dlfcn.dlsym(handle, 'cuGraphNodeFindInClone') * global __cuGraphNodeGetType * __cuGraphNodeGetType = dlfcn.dlsym(handle, 'cuGraphNodeGetType') # <<<<<<<<<<<<<< * global __cuGraphGetNodes * __cuGraphGetNodes = dlfcn.dlsym(handle, 'cuGraphGetNodes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetType = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeGetType")); /* "cuda/bindings/_bindings/cydriver.pyx":2470 * __cuGraphNodeGetType = dlfcn.dlsym(handle, 'cuGraphNodeGetType') * global __cuGraphGetNodes * __cuGraphGetNodes = dlfcn.dlsym(handle, 'cuGraphGetNodes') # <<<<<<<<<<<<<< * global __cuGraphGetRootNodes * __cuGraphGetRootNodes = dlfcn.dlsym(handle, 'cuGraphGetRootNodes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetNodes = dlsym(__pyx_v_handle, ((char const *)"cuGraphGetNodes")); /* "cuda/bindings/_bindings/cydriver.pyx":2472 * __cuGraphGetNodes = dlfcn.dlsym(handle, 'cuGraphGetNodes') * global __cuGraphGetRootNodes * __cuGraphGetRootNodes = dlfcn.dlsym(handle, 'cuGraphGetRootNodes') # <<<<<<<<<<<<<< * global __cuGraphGetEdges * __cuGraphGetEdges = dlfcn.dlsym(handle, 'cuGraphGetEdges') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetRootNodes = dlsym(__pyx_v_handle, ((char const *)"cuGraphGetRootNodes")); /* "cuda/bindings/_bindings/cydriver.pyx":2474 * __cuGraphGetRootNodes = dlfcn.dlsym(handle, 'cuGraphGetRootNodes') * global __cuGraphGetEdges * __cuGraphGetEdges = dlfcn.dlsym(handle, 'cuGraphGetEdges') # <<<<<<<<<<<<<< * global __cuGraphGetEdges_v2 * __cuGraphGetEdges_v2 = dlfcn.dlsym(handle, 'cuGraphGetEdges_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges = dlsym(__pyx_v_handle, ((char const *)"cuGraphGetEdges")); /* "cuda/bindings/_bindings/cydriver.pyx":2476 * __cuGraphGetEdges = dlfcn.dlsym(handle, 'cuGraphGetEdges') * global __cuGraphGetEdges_v2 * __cuGraphGetEdges_v2 = dlfcn.dlsym(handle, 'cuGraphGetEdges_v2') # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies * __cuGraphNodeGetDependencies = dlfcn.dlsym(handle, 'cuGraphNodeGetDependencies') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphGetEdges_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2478 * __cuGraphGetEdges_v2 = dlfcn.dlsym(handle, 'cuGraphGetEdges_v2') * global __cuGraphNodeGetDependencies * __cuGraphNodeGetDependencies = dlfcn.dlsym(handle, 'cuGraphNodeGetDependencies') # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies_v2 * __cuGraphNodeGetDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphNodeGetDependencies_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeGetDependencies")); /* "cuda/bindings/_bindings/cydriver.pyx":2480 * __cuGraphNodeGetDependencies = dlfcn.dlsym(handle, 'cuGraphNodeGetDependencies') * global __cuGraphNodeGetDependencies_v2 * __cuGraphNodeGetDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphNodeGetDependencies_v2') # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes * __cuGraphNodeGetDependentNodes = dlfcn.dlsym(handle, 'cuGraphNodeGetDependentNodes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeGetDependencies_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2482 * __cuGraphNodeGetDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphNodeGetDependencies_v2') * global __cuGraphNodeGetDependentNodes * __cuGraphNodeGetDependentNodes = dlfcn.dlsym(handle, 'cuGraphNodeGetDependentNodes') # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes_v2 * __cuGraphNodeGetDependentNodes_v2 = dlfcn.dlsym(handle, 'cuGraphNodeGetDependentNodes_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeGetDependentNodes")); /* "cuda/bindings/_bindings/cydriver.pyx":2484 * __cuGraphNodeGetDependentNodes = dlfcn.dlsym(handle, 'cuGraphNodeGetDependentNodes') * global __cuGraphNodeGetDependentNodes_v2 * __cuGraphNodeGetDependentNodes_v2 = dlfcn.dlsym(handle, 'cuGraphNodeGetDependentNodes_v2') # <<<<<<<<<<<<<< * global __cuGraphAddDependencies * __cuGraphAddDependencies = dlfcn.dlsym(handle, 'cuGraphAddDependencies') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeGetDependentNodes_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2486 * __cuGraphNodeGetDependentNodes_v2 = dlfcn.dlsym(handle, 'cuGraphNodeGetDependentNodes_v2') * global __cuGraphAddDependencies * __cuGraphAddDependencies = dlfcn.dlsym(handle, 'cuGraphAddDependencies') # <<<<<<<<<<<<<< * global __cuGraphAddDependencies_v2 * __cuGraphAddDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphAddDependencies_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddDependencies")); /* "cuda/bindings/_bindings/cydriver.pyx":2488 * __cuGraphAddDependencies = dlfcn.dlsym(handle, 'cuGraphAddDependencies') * global __cuGraphAddDependencies_v2 * __cuGraphAddDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphAddDependencies_v2') # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies * __cuGraphRemoveDependencies = dlfcn.dlsym(handle, 'cuGraphRemoveDependencies') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddDependencies_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2490 * __cuGraphAddDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphAddDependencies_v2') * global __cuGraphRemoveDependencies * __cuGraphRemoveDependencies = dlfcn.dlsym(handle, 'cuGraphRemoveDependencies') # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies_v2 * __cuGraphRemoveDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphRemoveDependencies_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies = dlsym(__pyx_v_handle, ((char const *)"cuGraphRemoveDependencies")); /* "cuda/bindings/_bindings/cydriver.pyx":2492 * __cuGraphRemoveDependencies = dlfcn.dlsym(handle, 'cuGraphRemoveDependencies') * global __cuGraphRemoveDependencies_v2 * __cuGraphRemoveDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphRemoveDependencies_v2') # <<<<<<<<<<<<<< * global __cuGraphDestroyNode * __cuGraphDestroyNode = dlfcn.dlsym(handle, 'cuGraphDestroyNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphRemoveDependencies_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2494 * __cuGraphRemoveDependencies_v2 = dlfcn.dlsym(handle, 'cuGraphRemoveDependencies_v2') * global __cuGraphDestroyNode * __cuGraphDestroyNode = dlfcn.dlsym(handle, 'cuGraphDestroyNode') # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithFlags * __cuGraphInstantiateWithFlags = dlfcn.dlsym(handle, 'cuGraphInstantiateWithFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroyNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphDestroyNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2496 * __cuGraphDestroyNode = dlfcn.dlsym(handle, 'cuGraphDestroyNode') * global __cuGraphInstantiateWithFlags * __cuGraphInstantiateWithFlags = dlfcn.dlsym(handle, 'cuGraphInstantiateWithFlags') # <<<<<<<<<<<<<< * global __cuGraphExecGetFlags * __cuGraphExecGetFlags = dlfcn.dlsym(handle, 'cuGraphExecGetFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithFlags = dlsym(__pyx_v_handle, ((char const *)"cuGraphInstantiateWithFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2498 * __cuGraphInstantiateWithFlags = dlfcn.dlsym(handle, 'cuGraphInstantiateWithFlags') * global __cuGraphExecGetFlags * __cuGraphExecGetFlags = dlfcn.dlsym(handle, 'cuGraphExecGetFlags') # <<<<<<<<<<<<<< * global __cuGraphExecKernelNodeSetParams_v2 * __cuGraphExecKernelNodeSetParams_v2 = dlfcn.dlsym(handle, 'cuGraphExecKernelNodeSetParams_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecGetFlags = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecGetFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2500 * __cuGraphExecGetFlags = dlfcn.dlsym(handle, 'cuGraphExecGetFlags') * global __cuGraphExecKernelNodeSetParams_v2 * __cuGraphExecKernelNodeSetParams_v2 = dlfcn.dlsym(handle, 'cuGraphExecKernelNodeSetParams_v2') # <<<<<<<<<<<<<< * global __cuGraphExecMemcpyNodeSetParams * __cuGraphExecMemcpyNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecMemcpyNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecKernelNodeSetParams_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecKernelNodeSetParams_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2502 * __cuGraphExecKernelNodeSetParams_v2 = dlfcn.dlsym(handle, 'cuGraphExecKernelNodeSetParams_v2') * global __cuGraphExecMemcpyNodeSetParams * __cuGraphExecMemcpyNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecMemcpyNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphExecMemsetNodeSetParams * __cuGraphExecMemsetNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecMemsetNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemcpyNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecMemcpyNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2504 * __cuGraphExecMemcpyNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecMemcpyNodeSetParams') * global __cuGraphExecMemsetNodeSetParams * __cuGraphExecMemsetNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecMemsetNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphExecHostNodeSetParams * __cuGraphExecHostNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecHostNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemsetNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecMemsetNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2506 * __cuGraphExecMemsetNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecMemsetNodeSetParams') * global __cuGraphExecHostNodeSetParams * __cuGraphExecHostNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecHostNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphExecChildGraphNodeSetParams * __cuGraphExecChildGraphNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecChildGraphNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecHostNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecHostNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2508 * __cuGraphExecHostNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecHostNodeSetParams') * global __cuGraphExecChildGraphNodeSetParams * __cuGraphExecChildGraphNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecChildGraphNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphExecEventRecordNodeSetEvent * __cuGraphExecEventRecordNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphExecEventRecordNodeSetEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecChildGraphNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecChildGraphNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2510 * __cuGraphExecChildGraphNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecChildGraphNodeSetParams') * global __cuGraphExecEventRecordNodeSetEvent * __cuGraphExecEventRecordNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphExecEventRecordNodeSetEvent') # <<<<<<<<<<<<<< * global __cuGraphExecEventWaitNodeSetEvent * __cuGraphExecEventWaitNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphExecEventWaitNodeSetEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventRecordNodeSetEvent = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecEventRecordNodeSetEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2512 * __cuGraphExecEventRecordNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphExecEventRecordNodeSetEvent') * global __cuGraphExecEventWaitNodeSetEvent * __cuGraphExecEventWaitNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphExecEventWaitNodeSetEvent') # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * __cuGraphExecExternalSemaphoresSignalNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecExternalSemaphoresSignalNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventWaitNodeSetEvent = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecEventWaitNodeSetEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2514 * __cuGraphExecEventWaitNodeSetEvent = dlfcn.dlsym(handle, 'cuGraphExecEventWaitNodeSetEvent') * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * __cuGraphExecExternalSemaphoresSignalNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecExternalSemaphoresSignalNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * __cuGraphExecExternalSemaphoresWaitNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecExternalSemaphoresWaitNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresSignalNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecExternalSemaphoresSignalNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2516 * __cuGraphExecExternalSemaphoresSignalNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecExternalSemaphoresSignalNodeSetParams') * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * __cuGraphExecExternalSemaphoresWaitNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecExternalSemaphoresWaitNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphNodeSetEnabled * __cuGraphNodeSetEnabled = dlfcn.dlsym(handle, 'cuGraphNodeSetEnabled') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresWaitNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecExternalSemaphoresWaitNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2518 * __cuGraphExecExternalSemaphoresWaitNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecExternalSemaphoresWaitNodeSetParams') * global __cuGraphNodeSetEnabled * __cuGraphNodeSetEnabled = dlfcn.dlsym(handle, 'cuGraphNodeSetEnabled') # <<<<<<<<<<<<<< * global __cuGraphNodeGetEnabled * __cuGraphNodeGetEnabled = dlfcn.dlsym(handle, 'cuGraphNodeGetEnabled') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetEnabled = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeSetEnabled")); /* "cuda/bindings/_bindings/cydriver.pyx":2520 * __cuGraphNodeSetEnabled = dlfcn.dlsym(handle, 'cuGraphNodeSetEnabled') * global __cuGraphNodeGetEnabled * __cuGraphNodeGetEnabled = dlfcn.dlsym(handle, 'cuGraphNodeGetEnabled') # <<<<<<<<<<<<<< * global __cuGraphExecDestroy * __cuGraphExecDestroy = dlfcn.dlsym(handle, 'cuGraphExecDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetEnabled = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeGetEnabled")); /* "cuda/bindings/_bindings/cydriver.pyx":2522 * __cuGraphNodeGetEnabled = dlfcn.dlsym(handle, 'cuGraphNodeGetEnabled') * global __cuGraphExecDestroy * __cuGraphExecDestroy = dlfcn.dlsym(handle, 'cuGraphExecDestroy') # <<<<<<<<<<<<<< * global __cuGraphDestroy * __cuGraphDestroy = dlfcn.dlsym(handle, 'cuGraphDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecDestroy = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2524 * __cuGraphExecDestroy = dlfcn.dlsym(handle, 'cuGraphExecDestroy') * global __cuGraphDestroy * __cuGraphDestroy = dlfcn.dlsym(handle, 'cuGraphDestroy') # <<<<<<<<<<<<<< * global __cuGraphExecUpdate_v2 * __cuGraphExecUpdate_v2 = dlfcn.dlsym(handle, 'cuGraphExecUpdate_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroy = dlsym(__pyx_v_handle, ((char const *)"cuGraphDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2526 * __cuGraphDestroy = dlfcn.dlsym(handle, 'cuGraphDestroy') * global __cuGraphExecUpdate_v2 * __cuGraphExecUpdate_v2 = dlfcn.dlsym(handle, 'cuGraphExecUpdate_v2') # <<<<<<<<<<<<<< * global __cuGraphKernelNodeCopyAttributes * __cuGraphKernelNodeCopyAttributes = dlfcn.dlsym(handle, 'cuGraphKernelNodeCopyAttributes') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecUpdate_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecUpdate_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2528 * __cuGraphExecUpdate_v2 = dlfcn.dlsym(handle, 'cuGraphExecUpdate_v2') * global __cuGraphKernelNodeCopyAttributes * __cuGraphKernelNodeCopyAttributes = dlfcn.dlsym(handle, 'cuGraphKernelNodeCopyAttributes') # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetAttribute * __cuGraphKernelNodeGetAttribute = dlfcn.dlsym(handle, 'cuGraphKernelNodeGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeCopyAttributes = dlsym(__pyx_v_handle, ((char const *)"cuGraphKernelNodeCopyAttributes")); /* "cuda/bindings/_bindings/cydriver.pyx":2530 * __cuGraphKernelNodeCopyAttributes = dlfcn.dlsym(handle, 'cuGraphKernelNodeCopyAttributes') * global __cuGraphKernelNodeGetAttribute * __cuGraphKernelNodeGetAttribute = dlfcn.dlsym(handle, 'cuGraphKernelNodeGetAttribute') # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetAttribute * __cuGraphKernelNodeSetAttribute = dlfcn.dlsym(handle, 'cuGraphKernelNodeSetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuGraphKernelNodeGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2532 * __cuGraphKernelNodeGetAttribute = dlfcn.dlsym(handle, 'cuGraphKernelNodeGetAttribute') * global __cuGraphKernelNodeSetAttribute * __cuGraphKernelNodeSetAttribute = dlfcn.dlsym(handle, 'cuGraphKernelNodeSetAttribute') # <<<<<<<<<<<<<< * global __cuGraphDebugDotPrint * __cuGraphDebugDotPrint = dlfcn.dlsym(handle, 'cuGraphDebugDotPrint') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuGraphKernelNodeSetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2534 * __cuGraphKernelNodeSetAttribute = dlfcn.dlsym(handle, 'cuGraphKernelNodeSetAttribute') * global __cuGraphDebugDotPrint * __cuGraphDebugDotPrint = dlfcn.dlsym(handle, 'cuGraphDebugDotPrint') # <<<<<<<<<<<<<< * global __cuUserObjectCreate * __cuUserObjectCreate = dlfcn.dlsym(handle, 'cuUserObjectCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDebugDotPrint = dlsym(__pyx_v_handle, ((char const *)"cuGraphDebugDotPrint")); /* "cuda/bindings/_bindings/cydriver.pyx":2536 * __cuGraphDebugDotPrint = dlfcn.dlsym(handle, 'cuGraphDebugDotPrint') * global __cuUserObjectCreate * __cuUserObjectCreate = dlfcn.dlsym(handle, 'cuUserObjectCreate') # <<<<<<<<<<<<<< * global __cuUserObjectRetain * __cuUserObjectRetain = dlfcn.dlsym(handle, 'cuUserObjectRetain') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectCreate = dlsym(__pyx_v_handle, ((char const *)"cuUserObjectCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2538 * __cuUserObjectCreate = dlfcn.dlsym(handle, 'cuUserObjectCreate') * global __cuUserObjectRetain * __cuUserObjectRetain = dlfcn.dlsym(handle, 'cuUserObjectRetain') # <<<<<<<<<<<<<< * global __cuUserObjectRelease * __cuUserObjectRelease = dlfcn.dlsym(handle, 'cuUserObjectRelease') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRetain = dlsym(__pyx_v_handle, ((char const *)"cuUserObjectRetain")); /* "cuda/bindings/_bindings/cydriver.pyx":2540 * __cuUserObjectRetain = dlfcn.dlsym(handle, 'cuUserObjectRetain') * global __cuUserObjectRelease * __cuUserObjectRelease = dlfcn.dlsym(handle, 'cuUserObjectRelease') # <<<<<<<<<<<<<< * global __cuGraphRetainUserObject * __cuGraphRetainUserObject = dlfcn.dlsym(handle, 'cuGraphRetainUserObject') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRelease = dlsym(__pyx_v_handle, ((char const *)"cuUserObjectRelease")); /* "cuda/bindings/_bindings/cydriver.pyx":2542 * __cuUserObjectRelease = dlfcn.dlsym(handle, 'cuUserObjectRelease') * global __cuGraphRetainUserObject * __cuGraphRetainUserObject = dlfcn.dlsym(handle, 'cuGraphRetainUserObject') # <<<<<<<<<<<<<< * global __cuGraphReleaseUserObject * __cuGraphReleaseUserObject = dlfcn.dlsym(handle, 'cuGraphReleaseUserObject') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRetainUserObject = dlsym(__pyx_v_handle, ((char const *)"cuGraphRetainUserObject")); /* "cuda/bindings/_bindings/cydriver.pyx":2544 * __cuGraphRetainUserObject = dlfcn.dlsym(handle, 'cuGraphRetainUserObject') * global __cuGraphReleaseUserObject * __cuGraphReleaseUserObject = dlfcn.dlsym(handle, 'cuGraphReleaseUserObject') # <<<<<<<<<<<<<< * global __cuGraphAddNode * __cuGraphAddNode = dlfcn.dlsym(handle, 'cuGraphAddNode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphReleaseUserObject = dlsym(__pyx_v_handle, ((char const *)"cuGraphReleaseUserObject")); /* "cuda/bindings/_bindings/cydriver.pyx":2546 * __cuGraphReleaseUserObject = dlfcn.dlsym(handle, 'cuGraphReleaseUserObject') * global __cuGraphAddNode * __cuGraphAddNode = dlfcn.dlsym(handle, 'cuGraphAddNode') # <<<<<<<<<<<<<< * global __cuGraphAddNode_v2 * __cuGraphAddNode_v2 = dlfcn.dlsym(handle, 'cuGraphAddNode_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddNode")); /* "cuda/bindings/_bindings/cydriver.pyx":2548 * __cuGraphAddNode = dlfcn.dlsym(handle, 'cuGraphAddNode') * global __cuGraphAddNode_v2 * __cuGraphAddNode_v2 = dlfcn.dlsym(handle, 'cuGraphAddNode_v2') # <<<<<<<<<<<<<< * global __cuGraphNodeSetParams * __cuGraphNodeSetParams = dlfcn.dlsym(handle, 'cuGraphNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphAddNode_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2550 * __cuGraphAddNode_v2 = dlfcn.dlsym(handle, 'cuGraphAddNode_v2') * global __cuGraphNodeSetParams * __cuGraphNodeSetParams = dlfcn.dlsym(handle, 'cuGraphNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphExecNodeSetParams * __cuGraphExecNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecNodeSetParams') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2552 * __cuGraphNodeSetParams = dlfcn.dlsym(handle, 'cuGraphNodeSetParams') * global __cuGraphExecNodeSetParams * __cuGraphExecNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecNodeSetParams') # <<<<<<<<<<<<<< * global __cuGraphConditionalHandleCreate * __cuGraphConditionalHandleCreate = dlfcn.dlsym(handle, 'cuGraphConditionalHandleCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecNodeSetParams = dlsym(__pyx_v_handle, ((char const *)"cuGraphExecNodeSetParams")); /* "cuda/bindings/_bindings/cydriver.pyx":2554 * __cuGraphExecNodeSetParams = dlfcn.dlsym(handle, 'cuGraphExecNodeSetParams') * global __cuGraphConditionalHandleCreate * __cuGraphConditionalHandleCreate = dlfcn.dlsym(handle, 'cuGraphConditionalHandleCreate') # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * __cuOccupancyMaxActiveBlocksPerMultiprocessor = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveBlocksPerMultiprocessor') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphConditionalHandleCreate = dlsym(__pyx_v_handle, ((char const *)"cuGraphConditionalHandleCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2556 * __cuGraphConditionalHandleCreate = dlfcn.dlsym(handle, 'cuGraphConditionalHandleCreate') * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * __cuOccupancyMaxActiveBlocksPerMultiprocessor = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveBlocksPerMultiprocessor') # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessor = dlsym(__pyx_v_handle, ((char const *)"cuOccupancyMaxActiveBlocksPerMultiprocessor")); /* "cuda/bindings/_bindings/cydriver.pyx":2558 * __cuOccupancyMaxActiveBlocksPerMultiprocessor = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveBlocksPerMultiprocessor') * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags') # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSize * __cuOccupancyMaxPotentialBlockSize = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialBlockSize') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = dlsym(__pyx_v_handle, ((char const *)"cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2560 * __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags') * global __cuOccupancyMaxPotentialBlockSize * __cuOccupancyMaxPotentialBlockSize = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialBlockSize') # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSizeWithFlags * __cuOccupancyMaxPotentialBlockSizeWithFlags = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialBlockSizeWithFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSize = dlsym(__pyx_v_handle, ((char const *)"cuOccupancyMaxPotentialBlockSize")); /* "cuda/bindings/_bindings/cydriver.pyx":2562 * __cuOccupancyMaxPotentialBlockSize = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialBlockSize') * global __cuOccupancyMaxPotentialBlockSizeWithFlags * __cuOccupancyMaxPotentialBlockSizeWithFlags = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialBlockSizeWithFlags') # <<<<<<<<<<<<<< * global __cuOccupancyAvailableDynamicSMemPerBlock * __cuOccupancyAvailableDynamicSMemPerBlock = dlfcn.dlsym(handle, 'cuOccupancyAvailableDynamicSMemPerBlock') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSizeWithFlags = dlsym(__pyx_v_handle, ((char const *)"cuOccupancyMaxPotentialBlockSizeWithFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2564 * __cuOccupancyMaxPotentialBlockSizeWithFlags = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialBlockSizeWithFlags') * global __cuOccupancyAvailableDynamicSMemPerBlock * __cuOccupancyAvailableDynamicSMemPerBlock = dlfcn.dlsym(handle, 'cuOccupancyAvailableDynamicSMemPerBlock') # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialClusterSize * __cuOccupancyMaxPotentialClusterSize = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialClusterSize') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyAvailableDynamicSMemPerBlock = dlsym(__pyx_v_handle, ((char const *)"cuOccupancyAvailableDynamicSMemPerBlock")); /* "cuda/bindings/_bindings/cydriver.pyx":2566 * __cuOccupancyAvailableDynamicSMemPerBlock = dlfcn.dlsym(handle, 'cuOccupancyAvailableDynamicSMemPerBlock') * global __cuOccupancyMaxPotentialClusterSize * __cuOccupancyMaxPotentialClusterSize = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialClusterSize') # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveClusters * __cuOccupancyMaxActiveClusters = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveClusters') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialClusterSize = dlsym(__pyx_v_handle, ((char const *)"cuOccupancyMaxPotentialClusterSize")); /* "cuda/bindings/_bindings/cydriver.pyx":2568 * __cuOccupancyMaxPotentialClusterSize = dlfcn.dlsym(handle, 'cuOccupancyMaxPotentialClusterSize') * global __cuOccupancyMaxActiveClusters * __cuOccupancyMaxActiveClusters = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveClusters') # <<<<<<<<<<<<<< * global __cuTexRefSetArray * __cuTexRefSetArray = dlfcn.dlsym(handle, 'cuTexRefSetArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveClusters = dlsym(__pyx_v_handle, ((char const *)"cuOccupancyMaxActiveClusters")); /* "cuda/bindings/_bindings/cydriver.pyx":2570 * __cuOccupancyMaxActiveClusters = dlfcn.dlsym(handle, 'cuOccupancyMaxActiveClusters') * global __cuTexRefSetArray * __cuTexRefSetArray = dlfcn.dlsym(handle, 'cuTexRefSetArray') # <<<<<<<<<<<<<< * global __cuTexRefSetMipmappedArray * __cuTexRefSetMipmappedArray = dlfcn.dlsym(handle, 'cuTexRefSetMipmappedArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetArray = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2572 * __cuTexRefSetArray = dlfcn.dlsym(handle, 'cuTexRefSetArray') * global __cuTexRefSetMipmappedArray * __cuTexRefSetMipmappedArray = dlfcn.dlsym(handle, 'cuTexRefSetMipmappedArray') # <<<<<<<<<<<<<< * global __cuTexRefSetAddress_v2 * __cuTexRefSetAddress_v2 = dlfcn.dlsym(handle, 'cuTexRefSetAddress_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmappedArray = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetMipmappedArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2574 * __cuTexRefSetMipmappedArray = dlfcn.dlsym(handle, 'cuTexRefSetMipmappedArray') * global __cuTexRefSetAddress_v2 * __cuTexRefSetAddress_v2 = dlfcn.dlsym(handle, 'cuTexRefSetAddress_v2') # <<<<<<<<<<<<<< * global __cuTexRefSetAddress2D_v3 * __cuTexRefSetAddress2D_v3 = dlfcn.dlsym(handle, 'cuTexRefSetAddress2D_v3') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress_v2 = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetAddress_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2576 * __cuTexRefSetAddress_v2 = dlfcn.dlsym(handle, 'cuTexRefSetAddress_v2') * global __cuTexRefSetAddress2D_v3 * __cuTexRefSetAddress2D_v3 = dlfcn.dlsym(handle, 'cuTexRefSetAddress2D_v3') # <<<<<<<<<<<<<< * global __cuTexRefSetFormat * __cuTexRefSetFormat = dlfcn.dlsym(handle, 'cuTexRefSetFormat') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress2D_v3 = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetAddress2D_v3")); /* "cuda/bindings/_bindings/cydriver.pyx":2578 * __cuTexRefSetAddress2D_v3 = dlfcn.dlsym(handle, 'cuTexRefSetAddress2D_v3') * global __cuTexRefSetFormat * __cuTexRefSetFormat = dlfcn.dlsym(handle, 'cuTexRefSetFormat') # <<<<<<<<<<<<<< * global __cuTexRefSetAddressMode * __cuTexRefSetAddressMode = dlfcn.dlsym(handle, 'cuTexRefSetAddressMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFormat = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetFormat")); /* "cuda/bindings/_bindings/cydriver.pyx":2580 * __cuTexRefSetFormat = dlfcn.dlsym(handle, 'cuTexRefSetFormat') * global __cuTexRefSetAddressMode * __cuTexRefSetAddressMode = dlfcn.dlsym(handle, 'cuTexRefSetAddressMode') # <<<<<<<<<<<<<< * global __cuTexRefSetFilterMode * __cuTexRefSetFilterMode = dlfcn.dlsym(handle, 'cuTexRefSetFilterMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddressMode = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetAddressMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2582 * __cuTexRefSetAddressMode = dlfcn.dlsym(handle, 'cuTexRefSetAddressMode') * global __cuTexRefSetFilterMode * __cuTexRefSetFilterMode = dlfcn.dlsym(handle, 'cuTexRefSetFilterMode') # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapFilterMode * __cuTexRefSetMipmapFilterMode = dlfcn.dlsym(handle, 'cuTexRefSetMipmapFilterMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFilterMode = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetFilterMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2584 * __cuTexRefSetFilterMode = dlfcn.dlsym(handle, 'cuTexRefSetFilterMode') * global __cuTexRefSetMipmapFilterMode * __cuTexRefSetMipmapFilterMode = dlfcn.dlsym(handle, 'cuTexRefSetMipmapFilterMode') # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelBias * __cuTexRefSetMipmapLevelBias = dlfcn.dlsym(handle, 'cuTexRefSetMipmapLevelBias') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapFilterMode = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetMipmapFilterMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2586 * __cuTexRefSetMipmapFilterMode = dlfcn.dlsym(handle, 'cuTexRefSetMipmapFilterMode') * global __cuTexRefSetMipmapLevelBias * __cuTexRefSetMipmapLevelBias = dlfcn.dlsym(handle, 'cuTexRefSetMipmapLevelBias') # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelClamp * __cuTexRefSetMipmapLevelClamp = dlfcn.dlsym(handle, 'cuTexRefSetMipmapLevelClamp') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelBias = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetMipmapLevelBias")); /* "cuda/bindings/_bindings/cydriver.pyx":2588 * __cuTexRefSetMipmapLevelBias = dlfcn.dlsym(handle, 'cuTexRefSetMipmapLevelBias') * global __cuTexRefSetMipmapLevelClamp * __cuTexRefSetMipmapLevelClamp = dlfcn.dlsym(handle, 'cuTexRefSetMipmapLevelClamp') # <<<<<<<<<<<<<< * global __cuTexRefSetMaxAnisotropy * __cuTexRefSetMaxAnisotropy = dlfcn.dlsym(handle, 'cuTexRefSetMaxAnisotropy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelClamp = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetMipmapLevelClamp")); /* "cuda/bindings/_bindings/cydriver.pyx":2590 * __cuTexRefSetMipmapLevelClamp = dlfcn.dlsym(handle, 'cuTexRefSetMipmapLevelClamp') * global __cuTexRefSetMaxAnisotropy * __cuTexRefSetMaxAnisotropy = dlfcn.dlsym(handle, 'cuTexRefSetMaxAnisotropy') # <<<<<<<<<<<<<< * global __cuTexRefSetBorderColor * __cuTexRefSetBorderColor = dlfcn.dlsym(handle, 'cuTexRefSetBorderColor') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMaxAnisotropy = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetMaxAnisotropy")); /* "cuda/bindings/_bindings/cydriver.pyx":2592 * __cuTexRefSetMaxAnisotropy = dlfcn.dlsym(handle, 'cuTexRefSetMaxAnisotropy') * global __cuTexRefSetBorderColor * __cuTexRefSetBorderColor = dlfcn.dlsym(handle, 'cuTexRefSetBorderColor') # <<<<<<<<<<<<<< * global __cuTexRefSetFlags * __cuTexRefSetFlags = dlfcn.dlsym(handle, 'cuTexRefSetFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetBorderColor = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetBorderColor")); /* "cuda/bindings/_bindings/cydriver.pyx":2594 * __cuTexRefSetBorderColor = dlfcn.dlsym(handle, 'cuTexRefSetBorderColor') * global __cuTexRefSetFlags * __cuTexRefSetFlags = dlfcn.dlsym(handle, 'cuTexRefSetFlags') # <<<<<<<<<<<<<< * global __cuTexRefGetAddress_v2 * __cuTexRefGetAddress_v2 = dlfcn.dlsym(handle, 'cuTexRefGetAddress_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFlags = dlsym(__pyx_v_handle, ((char const *)"cuTexRefSetFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2596 * __cuTexRefSetFlags = dlfcn.dlsym(handle, 'cuTexRefSetFlags') * global __cuTexRefGetAddress_v2 * __cuTexRefGetAddress_v2 = dlfcn.dlsym(handle, 'cuTexRefGetAddress_v2') # <<<<<<<<<<<<<< * global __cuTexRefGetArray * __cuTexRefGetArray = dlfcn.dlsym(handle, 'cuTexRefGetArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddress_v2 = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetAddress_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2598 * __cuTexRefGetAddress_v2 = dlfcn.dlsym(handle, 'cuTexRefGetAddress_v2') * global __cuTexRefGetArray * __cuTexRefGetArray = dlfcn.dlsym(handle, 'cuTexRefGetArray') # <<<<<<<<<<<<<< * global __cuTexRefGetMipmappedArray * __cuTexRefGetMipmappedArray = dlfcn.dlsym(handle, 'cuTexRefGetMipmappedArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetArray = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2600 * __cuTexRefGetArray = dlfcn.dlsym(handle, 'cuTexRefGetArray') * global __cuTexRefGetMipmappedArray * __cuTexRefGetMipmappedArray = dlfcn.dlsym(handle, 'cuTexRefGetMipmappedArray') # <<<<<<<<<<<<<< * global __cuTexRefGetAddressMode * __cuTexRefGetAddressMode = dlfcn.dlsym(handle, 'cuTexRefGetAddressMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmappedArray = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetMipmappedArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2602 * __cuTexRefGetMipmappedArray = dlfcn.dlsym(handle, 'cuTexRefGetMipmappedArray') * global __cuTexRefGetAddressMode * __cuTexRefGetAddressMode = dlfcn.dlsym(handle, 'cuTexRefGetAddressMode') # <<<<<<<<<<<<<< * global __cuTexRefGetFilterMode * __cuTexRefGetFilterMode = dlfcn.dlsym(handle, 'cuTexRefGetFilterMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddressMode = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetAddressMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2604 * __cuTexRefGetAddressMode = dlfcn.dlsym(handle, 'cuTexRefGetAddressMode') * global __cuTexRefGetFilterMode * __cuTexRefGetFilterMode = dlfcn.dlsym(handle, 'cuTexRefGetFilterMode') # <<<<<<<<<<<<<< * global __cuTexRefGetFormat * __cuTexRefGetFormat = dlfcn.dlsym(handle, 'cuTexRefGetFormat') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFilterMode = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetFilterMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2606 * __cuTexRefGetFilterMode = dlfcn.dlsym(handle, 'cuTexRefGetFilterMode') * global __cuTexRefGetFormat * __cuTexRefGetFormat = dlfcn.dlsym(handle, 'cuTexRefGetFormat') # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapFilterMode * __cuTexRefGetMipmapFilterMode = dlfcn.dlsym(handle, 'cuTexRefGetMipmapFilterMode') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFormat = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetFormat")); /* "cuda/bindings/_bindings/cydriver.pyx":2608 * __cuTexRefGetFormat = dlfcn.dlsym(handle, 'cuTexRefGetFormat') * global __cuTexRefGetMipmapFilterMode * __cuTexRefGetMipmapFilterMode = dlfcn.dlsym(handle, 'cuTexRefGetMipmapFilterMode') # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelBias * __cuTexRefGetMipmapLevelBias = dlfcn.dlsym(handle, 'cuTexRefGetMipmapLevelBias') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapFilterMode = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetMipmapFilterMode")); /* "cuda/bindings/_bindings/cydriver.pyx":2610 * __cuTexRefGetMipmapFilterMode = dlfcn.dlsym(handle, 'cuTexRefGetMipmapFilterMode') * global __cuTexRefGetMipmapLevelBias * __cuTexRefGetMipmapLevelBias = dlfcn.dlsym(handle, 'cuTexRefGetMipmapLevelBias') # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelClamp * __cuTexRefGetMipmapLevelClamp = dlfcn.dlsym(handle, 'cuTexRefGetMipmapLevelClamp') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelBias = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetMipmapLevelBias")); /* "cuda/bindings/_bindings/cydriver.pyx":2612 * __cuTexRefGetMipmapLevelBias = dlfcn.dlsym(handle, 'cuTexRefGetMipmapLevelBias') * global __cuTexRefGetMipmapLevelClamp * __cuTexRefGetMipmapLevelClamp = dlfcn.dlsym(handle, 'cuTexRefGetMipmapLevelClamp') # <<<<<<<<<<<<<< * global __cuTexRefGetMaxAnisotropy * __cuTexRefGetMaxAnisotropy = dlfcn.dlsym(handle, 'cuTexRefGetMaxAnisotropy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelClamp = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetMipmapLevelClamp")); /* "cuda/bindings/_bindings/cydriver.pyx":2614 * __cuTexRefGetMipmapLevelClamp = dlfcn.dlsym(handle, 'cuTexRefGetMipmapLevelClamp') * global __cuTexRefGetMaxAnisotropy * __cuTexRefGetMaxAnisotropy = dlfcn.dlsym(handle, 'cuTexRefGetMaxAnisotropy') # <<<<<<<<<<<<<< * global __cuTexRefGetBorderColor * __cuTexRefGetBorderColor = dlfcn.dlsym(handle, 'cuTexRefGetBorderColor') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMaxAnisotropy = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetMaxAnisotropy")); /* "cuda/bindings/_bindings/cydriver.pyx":2616 * __cuTexRefGetMaxAnisotropy = dlfcn.dlsym(handle, 'cuTexRefGetMaxAnisotropy') * global __cuTexRefGetBorderColor * __cuTexRefGetBorderColor = dlfcn.dlsym(handle, 'cuTexRefGetBorderColor') # <<<<<<<<<<<<<< * global __cuTexRefGetFlags * __cuTexRefGetFlags = dlfcn.dlsym(handle, 'cuTexRefGetFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetBorderColor = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetBorderColor")); /* "cuda/bindings/_bindings/cydriver.pyx":2618 * __cuTexRefGetBorderColor = dlfcn.dlsym(handle, 'cuTexRefGetBorderColor') * global __cuTexRefGetFlags * __cuTexRefGetFlags = dlfcn.dlsym(handle, 'cuTexRefGetFlags') # <<<<<<<<<<<<<< * global __cuTexRefCreate * __cuTexRefCreate = dlfcn.dlsym(handle, 'cuTexRefCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFlags = dlsym(__pyx_v_handle, ((char const *)"cuTexRefGetFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2620 * __cuTexRefGetFlags = dlfcn.dlsym(handle, 'cuTexRefGetFlags') * global __cuTexRefCreate * __cuTexRefCreate = dlfcn.dlsym(handle, 'cuTexRefCreate') # <<<<<<<<<<<<<< * global __cuTexRefDestroy * __cuTexRefDestroy = dlfcn.dlsym(handle, 'cuTexRefDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefCreate = dlsym(__pyx_v_handle, ((char const *)"cuTexRefCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2622 * __cuTexRefCreate = dlfcn.dlsym(handle, 'cuTexRefCreate') * global __cuTexRefDestroy * __cuTexRefDestroy = dlfcn.dlsym(handle, 'cuTexRefDestroy') # <<<<<<<<<<<<<< * global __cuSurfRefSetArray * __cuSurfRefSetArray = dlfcn.dlsym(handle, 'cuSurfRefSetArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefDestroy = dlsym(__pyx_v_handle, ((char const *)"cuTexRefDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2624 * __cuTexRefDestroy = dlfcn.dlsym(handle, 'cuTexRefDestroy') * global __cuSurfRefSetArray * __cuSurfRefSetArray = dlfcn.dlsym(handle, 'cuSurfRefSetArray') # <<<<<<<<<<<<<< * global __cuSurfRefGetArray * __cuSurfRefGetArray = dlfcn.dlsym(handle, 'cuSurfRefGetArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefSetArray = dlsym(__pyx_v_handle, ((char const *)"cuSurfRefSetArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2626 * __cuSurfRefSetArray = dlfcn.dlsym(handle, 'cuSurfRefSetArray') * global __cuSurfRefGetArray * __cuSurfRefGetArray = dlfcn.dlsym(handle, 'cuSurfRefGetArray') # <<<<<<<<<<<<<< * global __cuTexObjectCreate * __cuTexObjectCreate = dlfcn.dlsym(handle, 'cuTexObjectCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefGetArray = dlsym(__pyx_v_handle, ((char const *)"cuSurfRefGetArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2628 * __cuSurfRefGetArray = dlfcn.dlsym(handle, 'cuSurfRefGetArray') * global __cuTexObjectCreate * __cuTexObjectCreate = dlfcn.dlsym(handle, 'cuTexObjectCreate') # <<<<<<<<<<<<<< * global __cuTexObjectDestroy * __cuTexObjectDestroy = dlfcn.dlsym(handle, 'cuTexObjectDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectCreate = dlsym(__pyx_v_handle, ((char const *)"cuTexObjectCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2630 * __cuTexObjectCreate = dlfcn.dlsym(handle, 'cuTexObjectCreate') * global __cuTexObjectDestroy * __cuTexObjectDestroy = dlfcn.dlsym(handle, 'cuTexObjectDestroy') # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceDesc * __cuTexObjectGetResourceDesc = dlfcn.dlsym(handle, 'cuTexObjectGetResourceDesc') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectDestroy = dlsym(__pyx_v_handle, ((char const *)"cuTexObjectDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2632 * __cuTexObjectDestroy = dlfcn.dlsym(handle, 'cuTexObjectDestroy') * global __cuTexObjectGetResourceDesc * __cuTexObjectGetResourceDesc = dlfcn.dlsym(handle, 'cuTexObjectGetResourceDesc') # <<<<<<<<<<<<<< * global __cuTexObjectGetTextureDesc * __cuTexObjectGetTextureDesc = dlfcn.dlsym(handle, 'cuTexObjectGetTextureDesc') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceDesc = dlsym(__pyx_v_handle, ((char const *)"cuTexObjectGetResourceDesc")); /* "cuda/bindings/_bindings/cydriver.pyx":2634 * __cuTexObjectGetResourceDesc = dlfcn.dlsym(handle, 'cuTexObjectGetResourceDesc') * global __cuTexObjectGetTextureDesc * __cuTexObjectGetTextureDesc = dlfcn.dlsym(handle, 'cuTexObjectGetTextureDesc') # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceViewDesc * __cuTexObjectGetResourceViewDesc = dlfcn.dlsym(handle, 'cuTexObjectGetResourceViewDesc') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetTextureDesc = dlsym(__pyx_v_handle, ((char const *)"cuTexObjectGetTextureDesc")); /* "cuda/bindings/_bindings/cydriver.pyx":2636 * __cuTexObjectGetTextureDesc = dlfcn.dlsym(handle, 'cuTexObjectGetTextureDesc') * global __cuTexObjectGetResourceViewDesc * __cuTexObjectGetResourceViewDesc = dlfcn.dlsym(handle, 'cuTexObjectGetResourceViewDesc') # <<<<<<<<<<<<<< * global __cuSurfObjectCreate * __cuSurfObjectCreate = dlfcn.dlsym(handle, 'cuSurfObjectCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceViewDesc = dlsym(__pyx_v_handle, ((char const *)"cuTexObjectGetResourceViewDesc")); /* "cuda/bindings/_bindings/cydriver.pyx":2638 * __cuTexObjectGetResourceViewDesc = dlfcn.dlsym(handle, 'cuTexObjectGetResourceViewDesc') * global __cuSurfObjectCreate * __cuSurfObjectCreate = dlfcn.dlsym(handle, 'cuSurfObjectCreate') # <<<<<<<<<<<<<< * global __cuSurfObjectDestroy * __cuSurfObjectDestroy = dlfcn.dlsym(handle, 'cuSurfObjectDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectCreate = dlsym(__pyx_v_handle, ((char const *)"cuSurfObjectCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2640 * __cuSurfObjectCreate = dlfcn.dlsym(handle, 'cuSurfObjectCreate') * global __cuSurfObjectDestroy * __cuSurfObjectDestroy = dlfcn.dlsym(handle, 'cuSurfObjectDestroy') # <<<<<<<<<<<<<< * global __cuSurfObjectGetResourceDesc * __cuSurfObjectGetResourceDesc = dlfcn.dlsym(handle, 'cuSurfObjectGetResourceDesc') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectDestroy = dlsym(__pyx_v_handle, ((char const *)"cuSurfObjectDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2642 * __cuSurfObjectDestroy = dlfcn.dlsym(handle, 'cuSurfObjectDestroy') * global __cuSurfObjectGetResourceDesc * __cuSurfObjectGetResourceDesc = dlfcn.dlsym(handle, 'cuSurfObjectGetResourceDesc') # <<<<<<<<<<<<<< * global __cuTensorMapEncodeTiled * __cuTensorMapEncodeTiled = dlfcn.dlsym(handle, 'cuTensorMapEncodeTiled') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectGetResourceDesc = dlsym(__pyx_v_handle, ((char const *)"cuSurfObjectGetResourceDesc")); /* "cuda/bindings/_bindings/cydriver.pyx":2644 * __cuSurfObjectGetResourceDesc = dlfcn.dlsym(handle, 'cuSurfObjectGetResourceDesc') * global __cuTensorMapEncodeTiled * __cuTensorMapEncodeTiled = dlfcn.dlsym(handle, 'cuTensorMapEncodeTiled') # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2col * __cuTensorMapEncodeIm2col = dlfcn.dlsym(handle, 'cuTensorMapEncodeIm2col') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeTiled = dlsym(__pyx_v_handle, ((char const *)"cuTensorMapEncodeTiled")); /* "cuda/bindings/_bindings/cydriver.pyx":2646 * __cuTensorMapEncodeTiled = dlfcn.dlsym(handle, 'cuTensorMapEncodeTiled') * global __cuTensorMapEncodeIm2col * __cuTensorMapEncodeIm2col = dlfcn.dlsym(handle, 'cuTensorMapEncodeIm2col') # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2colWide * __cuTensorMapEncodeIm2colWide = dlfcn.dlsym(handle, 'cuTensorMapEncodeIm2colWide') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2col = dlsym(__pyx_v_handle, ((char const *)"cuTensorMapEncodeIm2col")); /* "cuda/bindings/_bindings/cydriver.pyx":2648 * __cuTensorMapEncodeIm2col = dlfcn.dlsym(handle, 'cuTensorMapEncodeIm2col') * global __cuTensorMapEncodeIm2colWide * __cuTensorMapEncodeIm2colWide = dlfcn.dlsym(handle, 'cuTensorMapEncodeIm2colWide') # <<<<<<<<<<<<<< * global __cuTensorMapReplaceAddress * __cuTensorMapReplaceAddress = dlfcn.dlsym(handle, 'cuTensorMapReplaceAddress') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2colWide = dlsym(__pyx_v_handle, ((char const *)"cuTensorMapEncodeIm2colWide")); /* "cuda/bindings/_bindings/cydriver.pyx":2650 * __cuTensorMapEncodeIm2colWide = dlfcn.dlsym(handle, 'cuTensorMapEncodeIm2colWide') * global __cuTensorMapReplaceAddress * __cuTensorMapReplaceAddress = dlfcn.dlsym(handle, 'cuTensorMapReplaceAddress') # <<<<<<<<<<<<<< * global __cuDeviceCanAccessPeer * __cuDeviceCanAccessPeer = dlfcn.dlsym(handle, 'cuDeviceCanAccessPeer') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapReplaceAddress = dlsym(__pyx_v_handle, ((char const *)"cuTensorMapReplaceAddress")); /* "cuda/bindings/_bindings/cydriver.pyx":2652 * __cuTensorMapReplaceAddress = dlfcn.dlsym(handle, 'cuTensorMapReplaceAddress') * global __cuDeviceCanAccessPeer * __cuDeviceCanAccessPeer = dlfcn.dlsym(handle, 'cuDeviceCanAccessPeer') # <<<<<<<<<<<<<< * global __cuCtxEnablePeerAccess * __cuCtxEnablePeerAccess = dlfcn.dlsym(handle, 'cuCtxEnablePeerAccess') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceCanAccessPeer = dlsym(__pyx_v_handle, ((char const *)"cuDeviceCanAccessPeer")); /* "cuda/bindings/_bindings/cydriver.pyx":2654 * __cuDeviceCanAccessPeer = dlfcn.dlsym(handle, 'cuDeviceCanAccessPeer') * global __cuCtxEnablePeerAccess * __cuCtxEnablePeerAccess = dlfcn.dlsym(handle, 'cuCtxEnablePeerAccess') # <<<<<<<<<<<<<< * global __cuCtxDisablePeerAccess * __cuCtxDisablePeerAccess = dlfcn.dlsym(handle, 'cuCtxDisablePeerAccess') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxEnablePeerAccess = dlsym(__pyx_v_handle, ((char const *)"cuCtxEnablePeerAccess")); /* "cuda/bindings/_bindings/cydriver.pyx":2656 * __cuCtxEnablePeerAccess = dlfcn.dlsym(handle, 'cuCtxEnablePeerAccess') * global __cuCtxDisablePeerAccess * __cuCtxDisablePeerAccess = dlfcn.dlsym(handle, 'cuCtxDisablePeerAccess') # <<<<<<<<<<<<<< * global __cuDeviceGetP2PAttribute * __cuDeviceGetP2PAttribute = dlfcn.dlsym(handle, 'cuDeviceGetP2PAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDisablePeerAccess = dlsym(__pyx_v_handle, ((char const *)"cuCtxDisablePeerAccess")); /* "cuda/bindings/_bindings/cydriver.pyx":2658 * __cuCtxDisablePeerAccess = dlfcn.dlsym(handle, 'cuCtxDisablePeerAccess') * global __cuDeviceGetP2PAttribute * __cuDeviceGetP2PAttribute = dlfcn.dlsym(handle, 'cuDeviceGetP2PAttribute') # <<<<<<<<<<<<<< * global __cuGraphicsUnregisterResource * __cuGraphicsUnregisterResource = dlfcn.dlsym(handle, 'cuGraphicsUnregisterResource') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetP2PAttribute = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetP2PAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2660 * __cuDeviceGetP2PAttribute = dlfcn.dlsym(handle, 'cuDeviceGetP2PAttribute') * global __cuGraphicsUnregisterResource * __cuGraphicsUnregisterResource = dlfcn.dlsym(handle, 'cuGraphicsUnregisterResource') # <<<<<<<<<<<<<< * global __cuGraphicsSubResourceGetMappedArray * __cuGraphicsSubResourceGetMappedArray = dlfcn.dlsym(handle, 'cuGraphicsSubResourceGetMappedArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnregisterResource = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsUnregisterResource")); /* "cuda/bindings/_bindings/cydriver.pyx":2662 * __cuGraphicsUnregisterResource = dlfcn.dlsym(handle, 'cuGraphicsUnregisterResource') * global __cuGraphicsSubResourceGetMappedArray * __cuGraphicsSubResourceGetMappedArray = dlfcn.dlsym(handle, 'cuGraphicsSubResourceGetMappedArray') # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedMipmappedArray * __cuGraphicsResourceGetMappedMipmappedArray = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedMipmappedArray') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsSubResourceGetMappedArray = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsSubResourceGetMappedArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2664 * __cuGraphicsSubResourceGetMappedArray = dlfcn.dlsym(handle, 'cuGraphicsSubResourceGetMappedArray') * global __cuGraphicsResourceGetMappedMipmappedArray * __cuGraphicsResourceGetMappedMipmappedArray = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedMipmappedArray') # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedPointer_v2 * __cuGraphicsResourceGetMappedPointer_v2 = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedPointer_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedMipmappedArray = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsResourceGetMappedMipmappedArray")); /* "cuda/bindings/_bindings/cydriver.pyx":2666 * __cuGraphicsResourceGetMappedMipmappedArray = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedMipmappedArray') * global __cuGraphicsResourceGetMappedPointer_v2 * __cuGraphicsResourceGetMappedPointer_v2 = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedPointer_v2') # <<<<<<<<<<<<<< * global __cuGraphicsResourceSetMapFlags_v2 * __cuGraphicsResourceSetMapFlags_v2 = dlfcn.dlsym(handle, 'cuGraphicsResourceSetMapFlags_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedPointer_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsResourceGetMappedPointer_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2668 * __cuGraphicsResourceGetMappedPointer_v2 = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedPointer_v2') * global __cuGraphicsResourceSetMapFlags_v2 * __cuGraphicsResourceSetMapFlags_v2 = dlfcn.dlsym(handle, 'cuGraphicsResourceSetMapFlags_v2') # <<<<<<<<<<<<<< * global __cuGetProcAddress_v2 * __cuGetProcAddress_v2 = dlfcn.dlsym(handle, 'cuGetProcAddress_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceSetMapFlags_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsResourceSetMapFlags_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2670 * __cuGraphicsResourceSetMapFlags_v2 = dlfcn.dlsym(handle, 'cuGraphicsResourceSetMapFlags_v2') * global __cuGetProcAddress_v2 * __cuGetProcAddress_v2 = dlfcn.dlsym(handle, 'cuGetProcAddress_v2') # <<<<<<<<<<<<<< * global __cuCoredumpGetAttribute * __cuCoredumpGetAttribute = dlfcn.dlsym(handle, 'cuCoredumpGetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGetProcAddress_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2672 * __cuGetProcAddress_v2 = dlfcn.dlsym(handle, 'cuGetProcAddress_v2') * global __cuCoredumpGetAttribute * __cuCoredumpGetAttribute = dlfcn.dlsym(handle, 'cuCoredumpGetAttribute') # <<<<<<<<<<<<<< * global __cuCoredumpGetAttributeGlobal * __cuCoredumpGetAttributeGlobal = dlfcn.dlsym(handle, 'cuCoredumpGetAttributeGlobal') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuCoredumpGetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2674 * __cuCoredumpGetAttribute = dlfcn.dlsym(handle, 'cuCoredumpGetAttribute') * global __cuCoredumpGetAttributeGlobal * __cuCoredumpGetAttributeGlobal = dlfcn.dlsym(handle, 'cuCoredumpGetAttributeGlobal') # <<<<<<<<<<<<<< * global __cuCoredumpSetAttribute * __cuCoredumpSetAttribute = dlfcn.dlsym(handle, 'cuCoredumpSetAttribute') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttributeGlobal = dlsym(__pyx_v_handle, ((char const *)"cuCoredumpGetAttributeGlobal")); /* "cuda/bindings/_bindings/cydriver.pyx":2676 * __cuCoredumpGetAttributeGlobal = dlfcn.dlsym(handle, 'cuCoredumpGetAttributeGlobal') * global __cuCoredumpSetAttribute * __cuCoredumpSetAttribute = dlfcn.dlsym(handle, 'cuCoredumpSetAttribute') # <<<<<<<<<<<<<< * global __cuCoredumpSetAttributeGlobal * __cuCoredumpSetAttributeGlobal = dlfcn.dlsym(handle, 'cuCoredumpSetAttributeGlobal') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttribute = dlsym(__pyx_v_handle, ((char const *)"cuCoredumpSetAttribute")); /* "cuda/bindings/_bindings/cydriver.pyx":2678 * __cuCoredumpSetAttribute = dlfcn.dlsym(handle, 'cuCoredumpSetAttribute') * global __cuCoredumpSetAttributeGlobal * __cuCoredumpSetAttributeGlobal = dlfcn.dlsym(handle, 'cuCoredumpSetAttributeGlobal') # <<<<<<<<<<<<<< * global __cuGetExportTable * __cuGetExportTable = dlfcn.dlsym(handle, 'cuGetExportTable') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttributeGlobal = dlsym(__pyx_v_handle, ((char const *)"cuCoredumpSetAttributeGlobal")); /* "cuda/bindings/_bindings/cydriver.pyx":2680 * __cuCoredumpSetAttributeGlobal = dlfcn.dlsym(handle, 'cuCoredumpSetAttributeGlobal') * global __cuGetExportTable * __cuGetExportTable = dlfcn.dlsym(handle, 'cuGetExportTable') # <<<<<<<<<<<<<< * global __cuGreenCtxCreate * __cuGreenCtxCreate = dlfcn.dlsym(handle, 'cuGreenCtxCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetExportTable = dlsym(__pyx_v_handle, ((char const *)"cuGetExportTable")); /* "cuda/bindings/_bindings/cydriver.pyx":2682 * __cuGetExportTable = dlfcn.dlsym(handle, 'cuGetExportTable') * global __cuGreenCtxCreate * __cuGreenCtxCreate = dlfcn.dlsym(handle, 'cuGreenCtxCreate') # <<<<<<<<<<<<<< * global __cuGreenCtxDestroy * __cuGreenCtxDestroy = dlfcn.dlsym(handle, 'cuGreenCtxDestroy') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxCreate = dlsym(__pyx_v_handle, ((char const *)"cuGreenCtxCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2684 * __cuGreenCtxCreate = dlfcn.dlsym(handle, 'cuGreenCtxCreate') * global __cuGreenCtxDestroy * __cuGreenCtxDestroy = dlfcn.dlsym(handle, 'cuGreenCtxDestroy') # <<<<<<<<<<<<<< * global __cuCtxFromGreenCtx * __cuCtxFromGreenCtx = dlfcn.dlsym(handle, 'cuCtxFromGreenCtx') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxDestroy = dlsym(__pyx_v_handle, ((char const *)"cuGreenCtxDestroy")); /* "cuda/bindings/_bindings/cydriver.pyx":2686 * __cuGreenCtxDestroy = dlfcn.dlsym(handle, 'cuGreenCtxDestroy') * global __cuCtxFromGreenCtx * __cuCtxFromGreenCtx = dlfcn.dlsym(handle, 'cuCtxFromGreenCtx') # <<<<<<<<<<<<<< * global __cuDeviceGetDevResource * __cuDeviceGetDevResource = dlfcn.dlsym(handle, 'cuDeviceGetDevResource') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxFromGreenCtx = dlsym(__pyx_v_handle, ((char const *)"cuCtxFromGreenCtx")); /* "cuda/bindings/_bindings/cydriver.pyx":2688 * __cuCtxFromGreenCtx = dlfcn.dlsym(handle, 'cuCtxFromGreenCtx') * global __cuDeviceGetDevResource * __cuDeviceGetDevResource = dlfcn.dlsym(handle, 'cuDeviceGetDevResource') # <<<<<<<<<<<<<< * global __cuCtxGetDevResource * __cuCtxGetDevResource = dlfcn.dlsym(handle, 'cuCtxGetDevResource') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDevResource = dlsym(__pyx_v_handle, ((char const *)"cuDeviceGetDevResource")); /* "cuda/bindings/_bindings/cydriver.pyx":2690 * __cuDeviceGetDevResource = dlfcn.dlsym(handle, 'cuDeviceGetDevResource') * global __cuCtxGetDevResource * __cuCtxGetDevResource = dlfcn.dlsym(handle, 'cuCtxGetDevResource') # <<<<<<<<<<<<<< * global __cuGreenCtxGetDevResource * __cuGreenCtxGetDevResource = dlfcn.dlsym(handle, 'cuGreenCtxGetDevResource') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevResource = dlsym(__pyx_v_handle, ((char const *)"cuCtxGetDevResource")); /* "cuda/bindings/_bindings/cydriver.pyx":2692 * __cuCtxGetDevResource = dlfcn.dlsym(handle, 'cuCtxGetDevResource') * global __cuGreenCtxGetDevResource * __cuGreenCtxGetDevResource = dlfcn.dlsym(handle, 'cuGreenCtxGetDevResource') # <<<<<<<<<<<<<< * global __cuDevSmResourceSplitByCount * __cuDevSmResourceSplitByCount = dlfcn.dlsym(handle, 'cuDevSmResourceSplitByCount') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxGetDevResource = dlsym(__pyx_v_handle, ((char const *)"cuGreenCtxGetDevResource")); /* "cuda/bindings/_bindings/cydriver.pyx":2694 * __cuGreenCtxGetDevResource = dlfcn.dlsym(handle, 'cuGreenCtxGetDevResource') * global __cuDevSmResourceSplitByCount * __cuDevSmResourceSplitByCount = dlfcn.dlsym(handle, 'cuDevSmResourceSplitByCount') # <<<<<<<<<<<<<< * global __cuDevResourceGenerateDesc * __cuDevResourceGenerateDesc = dlfcn.dlsym(handle, 'cuDevResourceGenerateDesc') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevSmResourceSplitByCount = dlsym(__pyx_v_handle, ((char const *)"cuDevSmResourceSplitByCount")); /* "cuda/bindings/_bindings/cydriver.pyx":2696 * __cuDevSmResourceSplitByCount = dlfcn.dlsym(handle, 'cuDevSmResourceSplitByCount') * global __cuDevResourceGenerateDesc * __cuDevResourceGenerateDesc = dlfcn.dlsym(handle, 'cuDevResourceGenerateDesc') # <<<<<<<<<<<<<< * global __cuGreenCtxRecordEvent * __cuGreenCtxRecordEvent = dlfcn.dlsym(handle, 'cuGreenCtxRecordEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevResourceGenerateDesc = dlsym(__pyx_v_handle, ((char const *)"cuDevResourceGenerateDesc")); /* "cuda/bindings/_bindings/cydriver.pyx":2698 * __cuDevResourceGenerateDesc = dlfcn.dlsym(handle, 'cuDevResourceGenerateDesc') * global __cuGreenCtxRecordEvent * __cuGreenCtxRecordEvent = dlfcn.dlsym(handle, 'cuGreenCtxRecordEvent') # <<<<<<<<<<<<<< * global __cuGreenCtxWaitEvent * __cuGreenCtxWaitEvent = dlfcn.dlsym(handle, 'cuGreenCtxWaitEvent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxRecordEvent = dlsym(__pyx_v_handle, ((char const *)"cuGreenCtxRecordEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2700 * __cuGreenCtxRecordEvent = dlfcn.dlsym(handle, 'cuGreenCtxRecordEvent') * global __cuGreenCtxWaitEvent * __cuGreenCtxWaitEvent = dlfcn.dlsym(handle, 'cuGreenCtxWaitEvent') # <<<<<<<<<<<<<< * global __cuStreamGetGreenCtx * __cuStreamGetGreenCtx = dlfcn.dlsym(handle, 'cuStreamGetGreenCtx') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxWaitEvent = dlsym(__pyx_v_handle, ((char const *)"cuGreenCtxWaitEvent")); /* "cuda/bindings/_bindings/cydriver.pyx":2702 * __cuGreenCtxWaitEvent = dlfcn.dlsym(handle, 'cuGreenCtxWaitEvent') * global __cuStreamGetGreenCtx * __cuStreamGetGreenCtx = dlfcn.dlsym(handle, 'cuStreamGetGreenCtx') # <<<<<<<<<<<<<< * global __cuGreenCtxStreamCreate * __cuGreenCtxStreamCreate = dlfcn.dlsym(handle, 'cuGreenCtxStreamCreate') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetGreenCtx = dlsym(__pyx_v_handle, ((char const *)"cuStreamGetGreenCtx")); /* "cuda/bindings/_bindings/cydriver.pyx":2704 * __cuStreamGetGreenCtx = dlfcn.dlsym(handle, 'cuStreamGetGreenCtx') * global __cuGreenCtxStreamCreate * __cuGreenCtxStreamCreate = dlfcn.dlsym(handle, 'cuGreenCtxStreamCreate') # <<<<<<<<<<<<<< * global __cuLogsRegisterCallback * __cuLogsRegisterCallback = dlfcn.dlsym(handle, 'cuLogsRegisterCallback') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxStreamCreate = dlsym(__pyx_v_handle, ((char const *)"cuGreenCtxStreamCreate")); /* "cuda/bindings/_bindings/cydriver.pyx":2706 * __cuGreenCtxStreamCreate = dlfcn.dlsym(handle, 'cuGreenCtxStreamCreate') * global __cuLogsRegisterCallback * __cuLogsRegisterCallback = dlfcn.dlsym(handle, 'cuLogsRegisterCallback') # <<<<<<<<<<<<<< * global __cuLogsUnregisterCallback * __cuLogsUnregisterCallback = dlfcn.dlsym(handle, 'cuLogsUnregisterCallback') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsRegisterCallback = dlsym(__pyx_v_handle, ((char const *)"cuLogsRegisterCallback")); /* "cuda/bindings/_bindings/cydriver.pyx":2708 * __cuLogsRegisterCallback = dlfcn.dlsym(handle, 'cuLogsRegisterCallback') * global __cuLogsUnregisterCallback * __cuLogsUnregisterCallback = dlfcn.dlsym(handle, 'cuLogsUnregisterCallback') # <<<<<<<<<<<<<< * global __cuLogsCurrent * __cuLogsCurrent = dlfcn.dlsym(handle, 'cuLogsCurrent') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsUnregisterCallback = dlsym(__pyx_v_handle, ((char const *)"cuLogsUnregisterCallback")); /* "cuda/bindings/_bindings/cydriver.pyx":2710 * __cuLogsUnregisterCallback = dlfcn.dlsym(handle, 'cuLogsUnregisterCallback') * global __cuLogsCurrent * __cuLogsCurrent = dlfcn.dlsym(handle, 'cuLogsCurrent') # <<<<<<<<<<<<<< * global __cuLogsDumpToFile * __cuLogsDumpToFile = dlfcn.dlsym(handle, 'cuLogsDumpToFile') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsCurrent = dlsym(__pyx_v_handle, ((char const *)"cuLogsCurrent")); /* "cuda/bindings/_bindings/cydriver.pyx":2712 * __cuLogsCurrent = dlfcn.dlsym(handle, 'cuLogsCurrent') * global __cuLogsDumpToFile * __cuLogsDumpToFile = dlfcn.dlsym(handle, 'cuLogsDumpToFile') # <<<<<<<<<<<<<< * global __cuLogsDumpToMemory * __cuLogsDumpToMemory = dlfcn.dlsym(handle, 'cuLogsDumpToMemory') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToFile = dlsym(__pyx_v_handle, ((char const *)"cuLogsDumpToFile")); /* "cuda/bindings/_bindings/cydriver.pyx":2714 * __cuLogsDumpToFile = dlfcn.dlsym(handle, 'cuLogsDumpToFile') * global __cuLogsDumpToMemory * __cuLogsDumpToMemory = dlfcn.dlsym(handle, 'cuLogsDumpToMemory') # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetRestoreThreadId * __cuCheckpointProcessGetRestoreThreadId = dlfcn.dlsym(handle, 'cuCheckpointProcessGetRestoreThreadId') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToMemory = dlsym(__pyx_v_handle, ((char const *)"cuLogsDumpToMemory")); /* "cuda/bindings/_bindings/cydriver.pyx":2716 * __cuLogsDumpToMemory = dlfcn.dlsym(handle, 'cuLogsDumpToMemory') * global __cuCheckpointProcessGetRestoreThreadId * __cuCheckpointProcessGetRestoreThreadId = dlfcn.dlsym(handle, 'cuCheckpointProcessGetRestoreThreadId') # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetState * __cuCheckpointProcessGetState = dlfcn.dlsym(handle, 'cuCheckpointProcessGetState') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetRestoreThreadId = dlsym(__pyx_v_handle, ((char const *)"cuCheckpointProcessGetRestoreThreadId")); /* "cuda/bindings/_bindings/cydriver.pyx":2718 * __cuCheckpointProcessGetRestoreThreadId = dlfcn.dlsym(handle, 'cuCheckpointProcessGetRestoreThreadId') * global __cuCheckpointProcessGetState * __cuCheckpointProcessGetState = dlfcn.dlsym(handle, 'cuCheckpointProcessGetState') # <<<<<<<<<<<<<< * global __cuCheckpointProcessLock * __cuCheckpointProcessLock = dlfcn.dlsym(handle, 'cuCheckpointProcessLock') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetState = dlsym(__pyx_v_handle, ((char const *)"cuCheckpointProcessGetState")); /* "cuda/bindings/_bindings/cydriver.pyx":2720 * __cuCheckpointProcessGetState = dlfcn.dlsym(handle, 'cuCheckpointProcessGetState') * global __cuCheckpointProcessLock * __cuCheckpointProcessLock = dlfcn.dlsym(handle, 'cuCheckpointProcessLock') # <<<<<<<<<<<<<< * global __cuCheckpointProcessCheckpoint * __cuCheckpointProcessCheckpoint = dlfcn.dlsym(handle, 'cuCheckpointProcessCheckpoint') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessLock = dlsym(__pyx_v_handle, ((char const *)"cuCheckpointProcessLock")); /* "cuda/bindings/_bindings/cydriver.pyx":2722 * __cuCheckpointProcessLock = dlfcn.dlsym(handle, 'cuCheckpointProcessLock') * global __cuCheckpointProcessCheckpoint * __cuCheckpointProcessCheckpoint = dlfcn.dlsym(handle, 'cuCheckpointProcessCheckpoint') # <<<<<<<<<<<<<< * global __cuCheckpointProcessRestore * __cuCheckpointProcessRestore = dlfcn.dlsym(handle, 'cuCheckpointProcessRestore') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessCheckpoint = dlsym(__pyx_v_handle, ((char const *)"cuCheckpointProcessCheckpoint")); /* "cuda/bindings/_bindings/cydriver.pyx":2724 * __cuCheckpointProcessCheckpoint = dlfcn.dlsym(handle, 'cuCheckpointProcessCheckpoint') * global __cuCheckpointProcessRestore * __cuCheckpointProcessRestore = dlfcn.dlsym(handle, 'cuCheckpointProcessRestore') # <<<<<<<<<<<<<< * global __cuCheckpointProcessUnlock * __cuCheckpointProcessUnlock = dlfcn.dlsym(handle, 'cuCheckpointProcessUnlock') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessRestore = dlsym(__pyx_v_handle, ((char const *)"cuCheckpointProcessRestore")); /* "cuda/bindings/_bindings/cydriver.pyx":2726 * __cuCheckpointProcessRestore = dlfcn.dlsym(handle, 'cuCheckpointProcessRestore') * global __cuCheckpointProcessUnlock * __cuCheckpointProcessUnlock = dlfcn.dlsym(handle, 'cuCheckpointProcessUnlock') # <<<<<<<<<<<<<< * global __cuProfilerStart * __cuProfilerStart = dlfcn.dlsym(handle, 'cuProfilerStart') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessUnlock = dlsym(__pyx_v_handle, ((char const *)"cuCheckpointProcessUnlock")); /* "cuda/bindings/_bindings/cydriver.pyx":2728 * __cuCheckpointProcessUnlock = dlfcn.dlsym(handle, 'cuCheckpointProcessUnlock') * global __cuProfilerStart * __cuProfilerStart = dlfcn.dlsym(handle, 'cuProfilerStart') # <<<<<<<<<<<<<< * global __cuProfilerStop * __cuProfilerStop = dlfcn.dlsym(handle, 'cuProfilerStop') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStart = dlsym(__pyx_v_handle, ((char const *)"cuProfilerStart")); /* "cuda/bindings/_bindings/cydriver.pyx":2730 * __cuProfilerStart = dlfcn.dlsym(handle, 'cuProfilerStart') * global __cuProfilerStop * __cuProfilerStop = dlfcn.dlsym(handle, 'cuProfilerStop') # <<<<<<<<<<<<<< * global __cuGraphicsEGLRegisterImage * __cuGraphicsEGLRegisterImage = dlfcn.dlsym(handle, 'cuGraphicsEGLRegisterImage') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStop = dlsym(__pyx_v_handle, ((char const *)"cuProfilerStop")); /* "cuda/bindings/_bindings/cydriver.pyx":2732 * __cuProfilerStop = dlfcn.dlsym(handle, 'cuProfilerStop') * global __cuGraphicsEGLRegisterImage * __cuGraphicsEGLRegisterImage = dlfcn.dlsym(handle, 'cuGraphicsEGLRegisterImage') # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnect * __cuEGLStreamConsumerConnect = dlfcn.dlsym(handle, 'cuEGLStreamConsumerConnect') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsEGLRegisterImage = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsEGLRegisterImage")); /* "cuda/bindings/_bindings/cydriver.pyx":2734 * __cuGraphicsEGLRegisterImage = dlfcn.dlsym(handle, 'cuGraphicsEGLRegisterImage') * global __cuEGLStreamConsumerConnect * __cuEGLStreamConsumerConnect = dlfcn.dlsym(handle, 'cuEGLStreamConsumerConnect') # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnectWithFlags * __cuEGLStreamConsumerConnectWithFlags = dlfcn.dlsym(handle, 'cuEGLStreamConsumerConnectWithFlags') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnect = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamConsumerConnect")); /* "cuda/bindings/_bindings/cydriver.pyx":2736 * __cuEGLStreamConsumerConnect = dlfcn.dlsym(handle, 'cuEGLStreamConsumerConnect') * global __cuEGLStreamConsumerConnectWithFlags * __cuEGLStreamConsumerConnectWithFlags = dlfcn.dlsym(handle, 'cuEGLStreamConsumerConnectWithFlags') # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerDisconnect * __cuEGLStreamConsumerDisconnect = dlfcn.dlsym(handle, 'cuEGLStreamConsumerDisconnect') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnectWithFlags = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamConsumerConnectWithFlags")); /* "cuda/bindings/_bindings/cydriver.pyx":2738 * __cuEGLStreamConsumerConnectWithFlags = dlfcn.dlsym(handle, 'cuEGLStreamConsumerConnectWithFlags') * global __cuEGLStreamConsumerDisconnect * __cuEGLStreamConsumerDisconnect = dlfcn.dlsym(handle, 'cuEGLStreamConsumerDisconnect') # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerAcquireFrame * __cuEGLStreamConsumerAcquireFrame = dlfcn.dlsym(handle, 'cuEGLStreamConsumerAcquireFrame') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerDisconnect = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamConsumerDisconnect")); /* "cuda/bindings/_bindings/cydriver.pyx":2740 * __cuEGLStreamConsumerDisconnect = dlfcn.dlsym(handle, 'cuEGLStreamConsumerDisconnect') * global __cuEGLStreamConsumerAcquireFrame * __cuEGLStreamConsumerAcquireFrame = dlfcn.dlsym(handle, 'cuEGLStreamConsumerAcquireFrame') # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerReleaseFrame * __cuEGLStreamConsumerReleaseFrame = dlfcn.dlsym(handle, 'cuEGLStreamConsumerReleaseFrame') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerAcquireFrame = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamConsumerAcquireFrame")); /* "cuda/bindings/_bindings/cydriver.pyx":2742 * __cuEGLStreamConsumerAcquireFrame = dlfcn.dlsym(handle, 'cuEGLStreamConsumerAcquireFrame') * global __cuEGLStreamConsumerReleaseFrame * __cuEGLStreamConsumerReleaseFrame = dlfcn.dlsym(handle, 'cuEGLStreamConsumerReleaseFrame') # <<<<<<<<<<<<<< * global __cuEGLStreamProducerConnect * __cuEGLStreamProducerConnect = dlfcn.dlsym(handle, 'cuEGLStreamProducerConnect') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerReleaseFrame = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamConsumerReleaseFrame")); /* "cuda/bindings/_bindings/cydriver.pyx":2744 * __cuEGLStreamConsumerReleaseFrame = dlfcn.dlsym(handle, 'cuEGLStreamConsumerReleaseFrame') * global __cuEGLStreamProducerConnect * __cuEGLStreamProducerConnect = dlfcn.dlsym(handle, 'cuEGLStreamProducerConnect') # <<<<<<<<<<<<<< * global __cuEGLStreamProducerDisconnect * __cuEGLStreamProducerDisconnect = dlfcn.dlsym(handle, 'cuEGLStreamProducerDisconnect') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerConnect = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamProducerConnect")); /* "cuda/bindings/_bindings/cydriver.pyx":2746 * __cuEGLStreamProducerConnect = dlfcn.dlsym(handle, 'cuEGLStreamProducerConnect') * global __cuEGLStreamProducerDisconnect * __cuEGLStreamProducerDisconnect = dlfcn.dlsym(handle, 'cuEGLStreamProducerDisconnect') # <<<<<<<<<<<<<< * global __cuEGLStreamProducerPresentFrame * __cuEGLStreamProducerPresentFrame = dlfcn.dlsym(handle, 'cuEGLStreamProducerPresentFrame') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerDisconnect = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamProducerDisconnect")); /* "cuda/bindings/_bindings/cydriver.pyx":2748 * __cuEGLStreamProducerDisconnect = dlfcn.dlsym(handle, 'cuEGLStreamProducerDisconnect') * global __cuEGLStreamProducerPresentFrame * __cuEGLStreamProducerPresentFrame = dlfcn.dlsym(handle, 'cuEGLStreamProducerPresentFrame') # <<<<<<<<<<<<<< * global __cuEGLStreamProducerReturnFrame * __cuEGLStreamProducerReturnFrame = dlfcn.dlsym(handle, 'cuEGLStreamProducerReturnFrame') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerPresentFrame = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamProducerPresentFrame")); /* "cuda/bindings/_bindings/cydriver.pyx":2750 * __cuEGLStreamProducerPresentFrame = dlfcn.dlsym(handle, 'cuEGLStreamProducerPresentFrame') * global __cuEGLStreamProducerReturnFrame * __cuEGLStreamProducerReturnFrame = dlfcn.dlsym(handle, 'cuEGLStreamProducerReturnFrame') # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedEglFrame * __cuGraphicsResourceGetMappedEglFrame = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedEglFrame') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerReturnFrame = dlsym(__pyx_v_handle, ((char const *)"cuEGLStreamProducerReturnFrame")); /* "cuda/bindings/_bindings/cydriver.pyx":2752 * __cuEGLStreamProducerReturnFrame = dlfcn.dlsym(handle, 'cuEGLStreamProducerReturnFrame') * global __cuGraphicsResourceGetMappedEglFrame * __cuGraphicsResourceGetMappedEglFrame = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedEglFrame') # <<<<<<<<<<<<<< * global __cuEventCreateFromEGLSync * __cuEventCreateFromEGLSync = dlfcn.dlsym(handle, 'cuEventCreateFromEGLSync') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedEglFrame = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsResourceGetMappedEglFrame")); /* "cuda/bindings/_bindings/cydriver.pyx":2754 * __cuGraphicsResourceGetMappedEglFrame = dlfcn.dlsym(handle, 'cuGraphicsResourceGetMappedEglFrame') * global __cuEventCreateFromEGLSync * __cuEventCreateFromEGLSync = dlfcn.dlsym(handle, 'cuEventCreateFromEGLSync') # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterBuffer * __cuGraphicsGLRegisterBuffer = dlfcn.dlsym(handle, 'cuGraphicsGLRegisterBuffer') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreateFromEGLSync = dlsym(__pyx_v_handle, ((char const *)"cuEventCreateFromEGLSync")); /* "cuda/bindings/_bindings/cydriver.pyx":2756 * __cuEventCreateFromEGLSync = dlfcn.dlsym(handle, 'cuEventCreateFromEGLSync') * global __cuGraphicsGLRegisterBuffer * __cuGraphicsGLRegisterBuffer = dlfcn.dlsym(handle, 'cuGraphicsGLRegisterBuffer') # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterImage * __cuGraphicsGLRegisterImage = dlfcn.dlsym(handle, 'cuGraphicsGLRegisterImage') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterBuffer = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsGLRegisterBuffer")); /* "cuda/bindings/_bindings/cydriver.pyx":2758 * __cuGraphicsGLRegisterBuffer = dlfcn.dlsym(handle, 'cuGraphicsGLRegisterBuffer') * global __cuGraphicsGLRegisterImage * __cuGraphicsGLRegisterImage = dlfcn.dlsym(handle, 'cuGraphicsGLRegisterImage') # <<<<<<<<<<<<<< * global __cuGLGetDevices_v2 * __cuGLGetDevices_v2 = dlfcn.dlsym(handle, 'cuGLGetDevices_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterImage = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsGLRegisterImage")); /* "cuda/bindings/_bindings/cydriver.pyx":2760 * __cuGraphicsGLRegisterImage = dlfcn.dlsym(handle, 'cuGraphicsGLRegisterImage') * global __cuGLGetDevices_v2 * __cuGLGetDevices_v2 = dlfcn.dlsym(handle, 'cuGLGetDevices_v2') # <<<<<<<<<<<<<< * global __cuVDPAUGetDevice * __cuVDPAUGetDevice = dlfcn.dlsym(handle, 'cuVDPAUGetDevice') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGLGetDevices_v2 = dlsym(__pyx_v_handle, ((char const *)"cuGLGetDevices_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2762 * __cuGLGetDevices_v2 = dlfcn.dlsym(handle, 'cuGLGetDevices_v2') * global __cuVDPAUGetDevice * __cuVDPAUGetDevice = dlfcn.dlsym(handle, 'cuVDPAUGetDevice') # <<<<<<<<<<<<<< * global __cuVDPAUCtxCreate_v2 * __cuVDPAUCtxCreate_v2 = dlfcn.dlsym(handle, 'cuVDPAUCtxCreate_v2') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUGetDevice = dlsym(__pyx_v_handle, ((char const *)"cuVDPAUGetDevice")); /* "cuda/bindings/_bindings/cydriver.pyx":2764 * __cuVDPAUGetDevice = dlfcn.dlsym(handle, 'cuVDPAUGetDevice') * global __cuVDPAUCtxCreate_v2 * __cuVDPAUCtxCreate_v2 = dlfcn.dlsym(handle, 'cuVDPAUCtxCreate_v2') # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterVideoSurface * __cuGraphicsVDPAURegisterVideoSurface = dlfcn.dlsym(handle, 'cuGraphicsVDPAURegisterVideoSurface') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUCtxCreate_v2 = dlsym(__pyx_v_handle, ((char const *)"cuVDPAUCtxCreate_v2")); /* "cuda/bindings/_bindings/cydriver.pyx":2766 * __cuVDPAUCtxCreate_v2 = dlfcn.dlsym(handle, 'cuVDPAUCtxCreate_v2') * global __cuGraphicsVDPAURegisterVideoSurface * __cuGraphicsVDPAURegisterVideoSurface = dlfcn.dlsym(handle, 'cuGraphicsVDPAURegisterVideoSurface') # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterOutputSurface * __cuGraphicsVDPAURegisterOutputSurface = dlfcn.dlsym(handle, 'cuGraphicsVDPAURegisterOutputSurface') */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterVideoSurface = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsVDPAURegisterVideoSurface")); /* "cuda/bindings/_bindings/cydriver.pyx":2768 * __cuGraphicsVDPAURegisterVideoSurface = dlfcn.dlsym(handle, 'cuGraphicsVDPAURegisterVideoSurface') * global __cuGraphicsVDPAURegisterOutputSurface * __cuGraphicsVDPAURegisterOutputSurface = dlfcn.dlsym(handle, 'cuGraphicsVDPAURegisterOutputSurface') # <<<<<<<<<<<<<< * __cuPythonInit = True * return 0 */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterOutputSurface = dlsym(__pyx_v_handle, ((char const *)"cuGraphicsVDPAURegisterOutputSurface")); /* "cuda/bindings/_bindings/cydriver.pyx":2769 * global __cuGraphicsVDPAURegisterOutputSurface * __cuGraphicsVDPAURegisterOutputSurface = dlfcn.dlsym(handle, 'cuGraphicsVDPAURegisterOutputSurface') * __cuPythonInit = True # <<<<<<<<<<<<<< * return 0 * */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPythonInit = 1; /* "cuda/bindings/_bindings/cydriver.pyx":2770 * __cuGraphicsVDPAURegisterOutputSurface = dlfcn.dlsym(handle, 'cuGraphicsVDPAURegisterOutputSurface') * __cuPythonInit = True * return 0 # <<<<<<<<<<<<<< * * # Create a very small function to check whether we are init'ed, so the C */ __pyx_r = 0; goto __pyx_L14_try_return; /* "cuda/bindings/_bindings/cydriver.pyx":498 * cdef char libPath[260] * * with gil, __symbol_lock: # <<<<<<<<<<<<<< * usePTDS = os.getenv('CUDA_PYTHON_CUDA_PER_THREAD_DEFAULT_STREAM', default=0) * */ } __pyx_L10_error:; __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; /*except:*/ { __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuPythonInit", __pyx_clineno, __pyx_lineno, __pyx_filename); if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_4, &__pyx_t_9) < 0) __PYX_ERR(0, 498, __pyx_L12_except_error) __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_9); __pyx_t_3 = PyTuple_Pack(3, __pyx_t_2, __pyx_t_4, __pyx_t_9); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 498, __pyx_L12_except_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_15 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 498, __pyx_L12_except_error) __Pyx_GOTREF(__pyx_t_15); __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_15); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; if (__pyx_t_10 < (0)) __PYX_ERR(0, 498, __pyx_L12_except_error) __pyx_t_11 = (!__pyx_t_10); if (unlikely(__pyx_t_11)) { __Pyx_GIVEREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_4); __Pyx_XGIVEREF(__pyx_t_9); __Pyx_ErrRestoreWithState(__pyx_t_2, __pyx_t_4, __pyx_t_9); __pyx_t_2 = 0; __pyx_t_4 = 0; __pyx_t_9 = 0; __PYX_ERR(0, 498, __pyx_L12_except_error) } __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; goto __pyx_L11_exception_handled; } __pyx_L12_except_error:; __Pyx_XGIVEREF(__pyx_t_6); __Pyx_XGIVEREF(__pyx_t_7); __Pyx_XGIVEREF(__pyx_t_8); __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8); goto __pyx_L4_error; __pyx_L14_try_return:; __Pyx_XGIVEREF(__pyx_t_6); __Pyx_XGIVEREF(__pyx_t_7); __Pyx_XGIVEREF(__pyx_t_8); __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8); goto __pyx_L7_return; __pyx_L11_exception_handled:; __Pyx_XGIVEREF(__pyx_t_6); __Pyx_XGIVEREF(__pyx_t_7); __Pyx_XGIVEREF(__pyx_t_8); __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8); } } /*finally:*/ { /*normal exit:*/{ if (__pyx_t_1) { __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_mstate_global->__pyx_tuple[0], NULL); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 498, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } goto __pyx_L9; } __pyx_L7_return: { __pyx_t_16 = __pyx_r; if (__pyx_t_1) { __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_mstate_global->__pyx_tuple[0], NULL); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 498, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __pyx_r = __pyx_t_16; goto __pyx_L3_return; } __pyx_L9:; } goto __pyx_L26; __pyx_L6_error:; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L4_error; __pyx_L26:; } } /*finally:*/ { /*normal exit:*/{ __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L5; } __pyx_L3_return: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L0; } __pyx_L4_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } __pyx_L5:; } } /* "cuda/bindings/_bindings/cydriver.pyx":492 * cdef __cuGetProcAddress_v2_T _F_cuGetProcAddress_v2 = NULL * * cdef int _cuPythonInit() except -1 nogil: # <<<<<<<<<<<<<< * global __cuPythonInit * */ /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_9); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuPythonInit", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_v_path); __Pyx_RefNannyFinishContext(); __Pyx_PyGILState_Release(__pyx_gilstate_save); return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2774 * # Create a very small function to check whether we are init'ed, so the C * # compiler can inline it. * cdef inline int cuPythonInit() except -1 nogil: # <<<<<<<<<<<<<< * if __cuPythonInit: * return 0 */ static CYTHON_INLINE int __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(void) { int __pyx_r; int __pyx_t_1; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; /* "cuda/bindings/_bindings/cydriver.pyx":2775 * # compiler can inline it. * cdef inline int cuPythonInit() except -1 nogil: * if __cuPythonInit: # <<<<<<<<<<<<<< * return 0 * return _cuPythonInit() */ if (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPythonInit) { /* "cuda/bindings/_bindings/cydriver.pyx":2776 * cdef inline int cuPythonInit() except -1 nogil: * if __cuPythonInit: * return 0 # <<<<<<<<<<<<<< * return _cuPythonInit() * */ __pyx_r = 0; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2775 * # compiler can inline it. * cdef inline int cuPythonInit() except -1 nogil: * if __cuPythonInit: # <<<<<<<<<<<<<< * return 0 * return _cuPythonInit() */ } /* "cuda/bindings/_bindings/cydriver.pyx":2777 * if __cuPythonInit: * return 0 * return _cuPythonInit() # <<<<<<<<<<<<<< * * cdef CUresult _cuGetErrorString(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2777, __pyx_L1_error) __pyx_r = __pyx_t_1; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2774 * # Create a very small function to check whether we are init'ed, so the C * # compiler can inline it. * cdef inline int cuPythonInit() except -1 nogil: # <<<<<<<<<<<<<< * if __cuPythonInit: * return 0 */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver.cuPythonInit", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2779 * return _cuPythonInit() * * cdef CUresult _cuGetErrorString(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetErrorString * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetErrorString(CUresult __pyx_v_error, char const **__pyx_v_pStr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGetErrorString", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2781 * cdef CUresult _cuGetErrorString(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGetErrorString * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGetErrorString == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2781, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2782 * global __cuGetErrorString * cuPythonInit() * if __cuGetErrorString == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetErrorString" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorString == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2783 * cuPythonInit() * if __cuGetErrorString == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetErrorString" not found') * err = ( __cuGetErrorString)(error, pStr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2784 * if __cuGetErrorString == NULL: * with gil: * raise RuntimeError('Function "cuGetErrorString" not found') # <<<<<<<<<<<<<< * err = ( __cuGetErrorString)(error, pStr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGetErrorString_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2784, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2784, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2783 * cuPythonInit() * if __cuGetErrorString == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetErrorString" not found') * err = ( __cuGetErrorString)(error, pStr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2782 * global __cuGetErrorString * cuPythonInit() * if __cuGetErrorString == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetErrorString" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2785 * with gil: * raise RuntimeError('Function "cuGetErrorString" not found') * err = ( __cuGetErrorString)(error, pStr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUresult, char const **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorString)(__pyx_v_error, __pyx_v_pStr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2785, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2786 * raise RuntimeError('Function "cuGetErrorString" not found') * err = ( __cuGetErrorString)(error, pStr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGetErrorName(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2779 * return _cuPythonInit() * * cdef CUresult _cuGetErrorString(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetErrorString * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGetErrorString", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2788 * return err * * cdef CUresult _cuGetErrorName(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetErrorName * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetErrorName(CUresult __pyx_v_error, char const **__pyx_v_pStr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGetErrorName", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2790 * cdef CUresult _cuGetErrorName(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGetErrorName * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGetErrorName == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2790, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2791 * global __cuGetErrorName * cuPythonInit() * if __cuGetErrorName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetErrorName" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorName == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2792 * cuPythonInit() * if __cuGetErrorName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetErrorName" not found') * err = ( __cuGetErrorName)(error, pStr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2793 * if __cuGetErrorName == NULL: * with gil: * raise RuntimeError('Function "cuGetErrorName" not found') # <<<<<<<<<<<<<< * err = ( __cuGetErrorName)(error, pStr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGetErrorName_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2793, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2793, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2792 * cuPythonInit() * if __cuGetErrorName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetErrorName" not found') * err = ( __cuGetErrorName)(error, pStr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2791 * global __cuGetErrorName * cuPythonInit() * if __cuGetErrorName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetErrorName" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2794 * with gil: * raise RuntimeError('Function "cuGetErrorName" not found') * err = ( __cuGetErrorName)(error, pStr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUresult, char const **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorName)(__pyx_v_error, __pyx_v_pStr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2794, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2795 * raise RuntimeError('Function "cuGetErrorName" not found') * err = ( __cuGetErrorName)(error, pStr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuInit(unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2788 * return err * * cdef CUresult _cuGetErrorName(CUresult error, const char** pStr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetErrorName * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGetErrorName", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2797 * return err * * cdef CUresult _cuInit(unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuInit * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuInit(unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuInit", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2799 * cdef CUresult _cuInit(unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuInit * cuPythonInit() # <<<<<<<<<<<<<< * if __cuInit == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2799, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2800 * global __cuInit * cuPythonInit() * if __cuInit == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuInit" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuInit == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2801 * cuPythonInit() * if __cuInit == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuInit" not found') * err = ( __cuInit)(Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2802 * if __cuInit == NULL: * with gil: * raise RuntimeError('Function "cuInit" not found') # <<<<<<<<<<<<<< * err = ( __cuInit)(Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuInit_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2802, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2802, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2801 * cuPythonInit() * if __cuInit == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuInit" not found') * err = ( __cuInit)(Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2800 * global __cuInit * cuPythonInit() * if __cuInit == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuInit" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2803 * with gil: * raise RuntimeError('Function "cuInit" not found') * err = ( __cuInit)(Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuInit)(__pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2803, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2804 * raise RuntimeError('Function "cuInit" not found') * err = ( __cuInit)(Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDriverGetVersion(int* driverVersion) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2797 * return err * * cdef CUresult _cuInit(unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuInit * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuInit", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2806 * return err * * cdef CUresult _cuDriverGetVersion(int* driverVersion) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDriverGetVersion * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDriverGetVersion(int *__pyx_v_driverVersion) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDriverGetVersion", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2808 * cdef CUresult _cuDriverGetVersion(int* driverVersion) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDriverGetVersion * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDriverGetVersion == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2808, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2809 * global __cuDriverGetVersion * cuPythonInit() * if __cuDriverGetVersion == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDriverGetVersion" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDriverGetVersion == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2810 * cuPythonInit() * if __cuDriverGetVersion == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDriverGetVersion" not found') * err = ( __cuDriverGetVersion)(driverVersion) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2811 * if __cuDriverGetVersion == NULL: * with gil: * raise RuntimeError('Function "cuDriverGetVersion" not found') # <<<<<<<<<<<<<< * err = ( __cuDriverGetVersion)(driverVersion) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDriverGetVersion_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2811, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2811, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2810 * cuPythonInit() * if __cuDriverGetVersion == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDriverGetVersion" not found') * err = ( __cuDriverGetVersion)(driverVersion) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2809 * global __cuDriverGetVersion * cuPythonInit() * if __cuDriverGetVersion == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDriverGetVersion" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2812 * with gil: * raise RuntimeError('Function "cuDriverGetVersion" not found') * err = ( __cuDriverGetVersion)(driverVersion) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDriverGetVersion)(__pyx_v_driverVersion); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2812, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2813 * raise RuntimeError('Function "cuDriverGetVersion" not found') * err = ( __cuDriverGetVersion)(driverVersion) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGet(CUdevice* device, int ordinal) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2806 * return err * * cdef CUresult _cuDriverGetVersion(int* driverVersion) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDriverGetVersion * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDriverGetVersion", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2815 * return err * * cdef CUresult _cuDeviceGet(CUdevice* device, int ordinal) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGet * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGet(CUdevice *__pyx_v_device, int __pyx_v_ordinal) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGet", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2817 * cdef CUresult _cuDeviceGet(CUdevice* device, int ordinal) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGet * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGet == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2817, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2818 * global __cuDeviceGet * cuPythonInit() * if __cuDeviceGet == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGet" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGet == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2819 * cuPythonInit() * if __cuDeviceGet == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGet" not found') * err = ( __cuDeviceGet)(device, ordinal) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2820 * if __cuDeviceGet == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGet" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGet)(device, ordinal) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGet_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2820, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2820, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2819 * cuPythonInit() * if __cuDeviceGet == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGet" not found') * err = ( __cuDeviceGet)(device, ordinal) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2818 * global __cuDeviceGet * cuPythonInit() * if __cuDeviceGet == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGet" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2821 * with gil: * raise RuntimeError('Function "cuDeviceGet" not found') * err = ( __cuDeviceGet)(device, ordinal) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice *, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGet)(__pyx_v_device, __pyx_v_ordinal); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2821, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2822 * raise RuntimeError('Function "cuDeviceGet" not found') * err = ( __cuDeviceGet)(device, ordinal) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetCount(int* count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2815 * return err * * cdef CUresult _cuDeviceGet(CUdevice* device, int ordinal) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGet * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGet", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2824 * return err * * cdef CUresult _cuDeviceGetCount(int* count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetCount * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetCount(int *__pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetCount", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2826 * cdef CUresult _cuDeviceGetCount(int* count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetCount * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetCount == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2826, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2827 * global __cuDeviceGetCount * cuPythonInit() * if __cuDeviceGetCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetCount" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetCount == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2828 * cuPythonInit() * if __cuDeviceGetCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetCount" not found') * err = ( __cuDeviceGetCount)(count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2829 * if __cuDeviceGetCount == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetCount" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetCount)(count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetCount_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2829, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2829, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2828 * cuPythonInit() * if __cuDeviceGetCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetCount" not found') * err = ( __cuDeviceGetCount)(count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2827 * global __cuDeviceGetCount * cuPythonInit() * if __cuDeviceGetCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetCount" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2830 * with gil: * raise RuntimeError('Function "cuDeviceGetCount" not found') * err = ( __cuDeviceGetCount)(count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetCount)(__pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2830, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2831 * raise RuntimeError('Function "cuDeviceGetCount" not found') * err = ( __cuDeviceGetCount)(count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetName(char* name, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2824 * return err * * cdef CUresult _cuDeviceGetCount(int* count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetCount * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetCount", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2833 * return err * * cdef CUresult _cuDeviceGetName(char* name, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetName * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetName(char *__pyx_v_name, int __pyx_v_length, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetName", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2835 * cdef CUresult _cuDeviceGetName(char* name, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetName * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetName == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2835, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2836 * global __cuDeviceGetName * cuPythonInit() * if __cuDeviceGetName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetName" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetName == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2837 * cuPythonInit() * if __cuDeviceGetName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetName" not found') * err = ( __cuDeviceGetName)(name, length, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2838 * if __cuDeviceGetName == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetName" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetName)(name, length, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetName_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2838, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2838, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2837 * cuPythonInit() * if __cuDeviceGetName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetName" not found') * err = ( __cuDeviceGetName)(name, length, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2836 * global __cuDeviceGetName * cuPythonInit() * if __cuDeviceGetName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetName" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2839 * with gil: * raise RuntimeError('Function "cuDeviceGetName" not found') * err = ( __cuDeviceGetName)(name, length, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(char *, int, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetName)(__pyx_v_name, __pyx_v_length, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2839, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2840 * raise RuntimeError('Function "cuDeviceGetName" not found') * err = ( __cuDeviceGetName)(name, length, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetUuid(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2833 * return err * * cdef CUresult _cuDeviceGetName(char* name, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetName * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetName", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2842 * return err * * cdef CUresult _cuDeviceGetUuid(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetUuid * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetUuid(CUuuid *__pyx_v_uuid, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetUuid", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2844 * cdef CUresult _cuDeviceGetUuid(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetUuid * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetUuid == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2844, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2845 * global __cuDeviceGetUuid * cuPythonInit() * if __cuDeviceGetUuid == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetUuid" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2846 * cuPythonInit() * if __cuDeviceGetUuid == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetUuid" not found') * err = ( __cuDeviceGetUuid)(uuid, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2847 * if __cuDeviceGetUuid == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetUuid" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetUuid)(uuid, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetUuid_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2847, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2847, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2846 * cuPythonInit() * if __cuDeviceGetUuid == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetUuid" not found') * err = ( __cuDeviceGetUuid)(uuid, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2845 * global __cuDeviceGetUuid * cuPythonInit() * if __cuDeviceGetUuid == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetUuid" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2848 * with gil: * raise RuntimeError('Function "cuDeviceGetUuid" not found') * err = ( __cuDeviceGetUuid)(uuid, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUuuid *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid)(__pyx_v_uuid, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2848, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2849 * raise RuntimeError('Function "cuDeviceGetUuid" not found') * err = ( __cuDeviceGetUuid)(uuid, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetUuid_v2(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2842 * return err * * cdef CUresult _cuDeviceGetUuid(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetUuid * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetUuid", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2851 * return err * * cdef CUresult _cuDeviceGetUuid_v2(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetUuid_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetUuid_v2(CUuuid *__pyx_v_uuid, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetUuid_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2853 * cdef CUresult _cuDeviceGetUuid_v2(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetUuid_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetUuid_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2853, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2854 * global __cuDeviceGetUuid_v2 * cuPythonInit() * if __cuDeviceGetUuid_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetUuid_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2855 * cuPythonInit() * if __cuDeviceGetUuid_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetUuid_v2" not found') * err = ( __cuDeviceGetUuid_v2)(uuid, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2856 * if __cuDeviceGetUuid_v2 == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetUuid_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetUuid_v2)(uuid, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetUuid_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2856, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2856, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2855 * cuPythonInit() * if __cuDeviceGetUuid_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetUuid_v2" not found') * err = ( __cuDeviceGetUuid_v2)(uuid, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2854 * global __cuDeviceGetUuid_v2 * cuPythonInit() * if __cuDeviceGetUuid_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetUuid_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2857 * with gil: * raise RuntimeError('Function "cuDeviceGetUuid_v2" not found') * err = ( __cuDeviceGetUuid_v2)(uuid, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUuuid *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid_v2)(__pyx_v_uuid, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2857, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2858 * raise RuntimeError('Function "cuDeviceGetUuid_v2" not found') * err = ( __cuDeviceGetUuid_v2)(uuid, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetLuid(char* luid, unsigned int* deviceNodeMask, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2851 * return err * * cdef CUresult _cuDeviceGetUuid_v2(CUuuid* uuid, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetUuid_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetUuid_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2860 * return err * * cdef CUresult _cuDeviceGetLuid(char* luid, unsigned int* deviceNodeMask, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetLuid * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetLuid(char *__pyx_v_luid, unsigned int *__pyx_v_deviceNodeMask, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetLuid", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2862 * cdef CUresult _cuDeviceGetLuid(char* luid, unsigned int* deviceNodeMask, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetLuid * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetLuid == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2862, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2863 * global __cuDeviceGetLuid * cuPythonInit() * if __cuDeviceGetLuid == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetLuid" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetLuid == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2864 * cuPythonInit() * if __cuDeviceGetLuid == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetLuid" not found') * err = ( __cuDeviceGetLuid)(luid, deviceNodeMask, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2865 * if __cuDeviceGetLuid == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetLuid" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetLuid)(luid, deviceNodeMask, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetLuid_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2865, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2865, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2864 * cuPythonInit() * if __cuDeviceGetLuid == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetLuid" not found') * err = ( __cuDeviceGetLuid)(luid, deviceNodeMask, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2863 * global __cuDeviceGetLuid * cuPythonInit() * if __cuDeviceGetLuid == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetLuid" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2866 * with gil: * raise RuntimeError('Function "cuDeviceGetLuid" not found') * err = ( __cuDeviceGetLuid)(luid, deviceNodeMask, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(char *, unsigned int *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetLuid)(__pyx_v_luid, __pyx_v_deviceNodeMask, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2866, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2867 * raise RuntimeError('Function "cuDeviceGetLuid" not found') * err = ( __cuDeviceGetLuid)(luid, deviceNodeMask, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceTotalMem_v2(size_t* numbytes, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2860 * return err * * cdef CUresult _cuDeviceGetLuid(char* luid, unsigned int* deviceNodeMask, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetLuid * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetLuid", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2869 * return err * * cdef CUresult _cuDeviceTotalMem_v2(size_t* numbytes, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceTotalMem_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceTotalMem_v2(size_t *__pyx_v_numbytes, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceTotalMem_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2871 * cdef CUresult _cuDeviceTotalMem_v2(size_t* numbytes, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceTotalMem_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceTotalMem_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2871, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2872 * global __cuDeviceTotalMem_v2 * cuPythonInit() * if __cuDeviceTotalMem_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceTotalMem_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceTotalMem_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2873 * cuPythonInit() * if __cuDeviceTotalMem_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceTotalMem_v2" not found') * err = ( __cuDeviceTotalMem_v2)(numbytes, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2874 * if __cuDeviceTotalMem_v2 == NULL: * with gil: * raise RuntimeError('Function "cuDeviceTotalMem_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceTotalMem_v2)(numbytes, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceTotalMem_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2874, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2874, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2873 * cuPythonInit() * if __cuDeviceTotalMem_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceTotalMem_v2" not found') * err = ( __cuDeviceTotalMem_v2)(numbytes, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2872 * global __cuDeviceTotalMem_v2 * cuPythonInit() * if __cuDeviceTotalMem_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceTotalMem_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2875 * with gil: * raise RuntimeError('Function "cuDeviceTotalMem_v2" not found') * err = ( __cuDeviceTotalMem_v2)(numbytes, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceTotalMem_v2)(__pyx_v_numbytes, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2875, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2876 * raise RuntimeError('Function "cuDeviceTotalMem_v2" not found') * err = ( __cuDeviceTotalMem_v2)(numbytes, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetTexture1DLinearMaxWidth(size_t* maxWidthInElements, CUarray_format pformat, unsigned numChannels, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2869 * return err * * cdef CUresult _cuDeviceTotalMem_v2(size_t* numbytes, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceTotalMem_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceTotalMem_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2878 * return err * * cdef CUresult _cuDeviceGetTexture1DLinearMaxWidth(size_t* maxWidthInElements, CUarray_format pformat, unsigned numChannels, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetTexture1DLinearMaxWidth * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetTexture1DLinearMaxWidth(size_t *__pyx_v_maxWidthInElements, CUarray_format __pyx_v_pformat, unsigned int __pyx_v_numChannels, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetTexture1DLinearMaxWidth", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2880 * cdef CUresult _cuDeviceGetTexture1DLinearMaxWidth(size_t* maxWidthInElements, CUarray_format pformat, unsigned numChannels, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetTexture1DLinearMaxWidth * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetTexture1DLinearMaxWidth == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2880, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2881 * global __cuDeviceGetTexture1DLinearMaxWidth * cuPythonInit() * if __cuDeviceGetTexture1DLinearMaxWidth == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetTexture1DLinearMaxWidth" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetTexture1DLinearMaxWidth == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2882 * cuPythonInit() * if __cuDeviceGetTexture1DLinearMaxWidth == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetTexture1DLinearMaxWidth" not found') * err = ( __cuDeviceGetTexture1DLinearMaxWidth)(maxWidthInElements, pformat, numChannels, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2883 * if __cuDeviceGetTexture1DLinearMaxWidth == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetTexture1DLinearMaxWidth" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetTexture1DLinearMaxWidth)(maxWidthInElements, pformat, numChannels, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetTexture1DLin}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2883, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2883, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2882 * cuPythonInit() * if __cuDeviceGetTexture1DLinearMaxWidth == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetTexture1DLinearMaxWidth" not found') * err = ( __cuDeviceGetTexture1DLinearMaxWidth)(maxWidthInElements, pformat, numChannels, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2881 * global __cuDeviceGetTexture1DLinearMaxWidth * cuPythonInit() * if __cuDeviceGetTexture1DLinearMaxWidth == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetTexture1DLinearMaxWidth" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2884 * with gil: * raise RuntimeError('Function "cuDeviceGetTexture1DLinearMaxWidth" not found') * err = ( __cuDeviceGetTexture1DLinearMaxWidth)(maxWidthInElements, pformat, numChannels, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, CUarray_format, unsigned int, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetTexture1DLinearMaxWidth)(__pyx_v_maxWidthInElements, __pyx_v_pformat, __pyx_v_numChannels, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2884, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2885 * raise RuntimeError('Function "cuDeviceGetTexture1DLinearMaxWidth" not found') * err = ( __cuDeviceGetTexture1DLinearMaxWidth)(maxWidthInElements, pformat, numChannels, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetAttribute(int* pi, CUdevice_attribute attrib, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2878 * return err * * cdef CUresult _cuDeviceGetTexture1DLinearMaxWidth(size_t* maxWidthInElements, CUarray_format pformat, unsigned numChannels, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetTexture1DLinearMaxWidth * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetTexture1DLinearMaxWidth", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2887 * return err * * cdef CUresult _cuDeviceGetAttribute(int* pi, CUdevice_attribute attrib, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetAttribute(int *__pyx_v_pi, CUdevice_attribute __pyx_v_attrib, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2889 * cdef CUresult _cuDeviceGetAttribute(int* pi, CUdevice_attribute attrib, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2889, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2890 * global __cuDeviceGetAttribute * cuPythonInit() * if __cuDeviceGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2891 * cuPythonInit() * if __cuDeviceGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetAttribute" not found') * err = ( __cuDeviceGetAttribute)(pi, attrib, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2892 * if __cuDeviceGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetAttribute)(pi, attrib, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetAttribute_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2892, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2892, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2891 * cuPythonInit() * if __cuDeviceGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetAttribute" not found') * err = ( __cuDeviceGetAttribute)(pi, attrib, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2890 * global __cuDeviceGetAttribute * cuPythonInit() * if __cuDeviceGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2893 * with gil: * raise RuntimeError('Function "cuDeviceGetAttribute" not found') * err = ( __cuDeviceGetAttribute)(pi, attrib, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUdevice_attribute, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetAttribute)(__pyx_v_pi, __pyx_v_attrib, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2893, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2894 * raise RuntimeError('Function "cuDeviceGetAttribute" not found') * err = ( __cuDeviceGetAttribute)(pi, attrib, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetNvSciSyncAttributes(void* nvSciSyncAttrList, CUdevice dev, int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2887 * return err * * cdef CUresult _cuDeviceGetAttribute(int* pi, CUdevice_attribute attrib, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2896 * return err * * cdef CUresult _cuDeviceGetNvSciSyncAttributes(void* nvSciSyncAttrList, CUdevice dev, int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetNvSciSyncAttributes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetNvSciSyncAttributes(void *__pyx_v_nvSciSyncAttrList, CUdevice __pyx_v_dev, int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetNvSciSyncAttributes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2898 * cdef CUresult _cuDeviceGetNvSciSyncAttributes(void* nvSciSyncAttrList, CUdevice dev, int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetNvSciSyncAttributes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetNvSciSyncAttributes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2898, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2899 * global __cuDeviceGetNvSciSyncAttributes * cuPythonInit() * if __cuDeviceGetNvSciSyncAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetNvSciSyncAttributes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetNvSciSyncAttributes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2900 * cuPythonInit() * if __cuDeviceGetNvSciSyncAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetNvSciSyncAttributes" not found') * err = ( __cuDeviceGetNvSciSyncAttributes)(nvSciSyncAttrList, dev, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2901 * if __cuDeviceGetNvSciSyncAttributes == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetNvSciSyncAttributes" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetNvSciSyncAttributes)(nvSciSyncAttrList, dev, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetNvSciSyncAtt}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2901, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2901, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2900 * cuPythonInit() * if __cuDeviceGetNvSciSyncAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetNvSciSyncAttributes" not found') * err = ( __cuDeviceGetNvSciSyncAttributes)(nvSciSyncAttrList, dev, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2899 * global __cuDeviceGetNvSciSyncAttributes * cuPythonInit() * if __cuDeviceGetNvSciSyncAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetNvSciSyncAttributes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2902 * with gil: * raise RuntimeError('Function "cuDeviceGetNvSciSyncAttributes" not found') * err = ( __cuDeviceGetNvSciSyncAttributes)(nvSciSyncAttrList, dev, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUdevice, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetNvSciSyncAttributes)(__pyx_v_nvSciSyncAttrList, __pyx_v_dev, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2902, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2903 * raise RuntimeError('Function "cuDeviceGetNvSciSyncAttributes" not found') * err = ( __cuDeviceGetNvSciSyncAttributes)(nvSciSyncAttrList, dev, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceSetMemPool(CUdevice dev, CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2896 * return err * * cdef CUresult _cuDeviceGetNvSciSyncAttributes(void* nvSciSyncAttrList, CUdevice dev, int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetNvSciSyncAttributes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetNvSciSyncAttributes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2905 * return err * * cdef CUresult _cuDeviceSetMemPool(CUdevice dev, CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceSetMemPool * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceSetMemPool(CUdevice __pyx_v_dev, CUmemoryPool __pyx_v_pool) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceSetMemPool", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2907 * cdef CUresult _cuDeviceSetMemPool(CUdevice dev, CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceSetMemPool * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceSetMemPool == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2907, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2908 * global __cuDeviceSetMemPool * cuPythonInit() * if __cuDeviceSetMemPool == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceSetMemPool" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetMemPool == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2909 * cuPythonInit() * if __cuDeviceSetMemPool == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceSetMemPool" not found') * err = ( __cuDeviceSetMemPool)(dev, pool) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2910 * if __cuDeviceSetMemPool == NULL: * with gil: * raise RuntimeError('Function "cuDeviceSetMemPool" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceSetMemPool)(dev, pool) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceSetMemPool_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2910, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2910, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2909 * cuPythonInit() * if __cuDeviceSetMemPool == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceSetMemPool" not found') * err = ( __cuDeviceSetMemPool)(dev, pool) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2908 * global __cuDeviceSetMemPool * cuPythonInit() * if __cuDeviceSetMemPool == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceSetMemPool" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2911 * with gil: * raise RuntimeError('Function "cuDeviceSetMemPool" not found') * err = ( __cuDeviceSetMemPool)(dev, pool) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, CUmemoryPool))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetMemPool)(__pyx_v_dev, __pyx_v_pool); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2911, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2912 * raise RuntimeError('Function "cuDeviceSetMemPool" not found') * err = ( __cuDeviceSetMemPool)(dev, pool) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetMemPool(CUmemoryPool* pool, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2905 * return err * * cdef CUresult _cuDeviceSetMemPool(CUdevice dev, CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceSetMemPool * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceSetMemPool", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2914 * return err * * cdef CUresult _cuDeviceGetMemPool(CUmemoryPool* pool, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetMemPool * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetMemPool(CUmemoryPool *__pyx_v_pool, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetMemPool", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2916 * cdef CUresult _cuDeviceGetMemPool(CUmemoryPool* pool, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetMemPool * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetMemPool == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2916, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2917 * global __cuDeviceGetMemPool * cuPythonInit() * if __cuDeviceGetMemPool == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetMemPool" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetMemPool == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2918 * cuPythonInit() * if __cuDeviceGetMemPool == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetMemPool" not found') * err = ( __cuDeviceGetMemPool)(pool, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2919 * if __cuDeviceGetMemPool == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetMemPool" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetMemPool)(pool, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetMemPool_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2919, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2919, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2918 * cuPythonInit() * if __cuDeviceGetMemPool == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetMemPool" not found') * err = ( __cuDeviceGetMemPool)(pool, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2917 * global __cuDeviceGetMemPool * cuPythonInit() * if __cuDeviceGetMemPool == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetMemPool" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2920 * with gil: * raise RuntimeError('Function "cuDeviceGetMemPool" not found') * err = ( __cuDeviceGetMemPool)(pool, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetMemPool)(__pyx_v_pool, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2920, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2921 * raise RuntimeError('Function "cuDeviceGetMemPool" not found') * err = ( __cuDeviceGetMemPool)(pool, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetDefaultMemPool(CUmemoryPool* pool_out, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2914 * return err * * cdef CUresult _cuDeviceGetMemPool(CUmemoryPool* pool, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetMemPool * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetMemPool", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2923 * return err * * cdef CUresult _cuDeviceGetDefaultMemPool(CUmemoryPool* pool_out, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetDefaultMemPool * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetDefaultMemPool(CUmemoryPool *__pyx_v_pool_out, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetDefaultMemPool", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2925 * cdef CUresult _cuDeviceGetDefaultMemPool(CUmemoryPool* pool_out, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetDefaultMemPool * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetDefaultMemPool == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2925, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2926 * global __cuDeviceGetDefaultMemPool * cuPythonInit() * if __cuDeviceGetDefaultMemPool == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetDefaultMemPool" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDefaultMemPool == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2927 * cuPythonInit() * if __cuDeviceGetDefaultMemPool == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetDefaultMemPool" not found') * err = ( __cuDeviceGetDefaultMemPool)(pool_out, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2928 * if __cuDeviceGetDefaultMemPool == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetDefaultMemPool" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetDefaultMemPool)(pool_out, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetDefaultMemPo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2928, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2928, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2927 * cuPythonInit() * if __cuDeviceGetDefaultMemPool == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetDefaultMemPool" not found') * err = ( __cuDeviceGetDefaultMemPool)(pool_out, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2926 * global __cuDeviceGetDefaultMemPool * cuPythonInit() * if __cuDeviceGetDefaultMemPool == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetDefaultMemPool" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2929 * with gil: * raise RuntimeError('Function "cuDeviceGetDefaultMemPool" not found') * err = ( __cuDeviceGetDefaultMemPool)(pool_out, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDefaultMemPool)(__pyx_v_pool_out, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2929, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2930 * raise RuntimeError('Function "cuDeviceGetDefaultMemPool" not found') * err = ( __cuDeviceGetDefaultMemPool)(pool_out, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetExecAffinitySupport(int* pi, CUexecAffinityType typename, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2923 * return err * * cdef CUresult _cuDeviceGetDefaultMemPool(CUmemoryPool* pool_out, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetDefaultMemPool * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetDefaultMemPool", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2932 * return err * * cdef CUresult _cuDeviceGetExecAffinitySupport(int* pi, CUexecAffinityType typename, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetExecAffinitySupport * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetExecAffinitySupport(int *__pyx_v_pi, CUexecAffinityType __pyx_v_typename, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetExecAffinitySupport", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2934 * cdef CUresult _cuDeviceGetExecAffinitySupport(int* pi, CUexecAffinityType typename, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetExecAffinitySupport * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetExecAffinitySupport == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2934, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2935 * global __cuDeviceGetExecAffinitySupport * cuPythonInit() * if __cuDeviceGetExecAffinitySupport == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetExecAffinitySupport" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetExecAffinitySupport == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2936 * cuPythonInit() * if __cuDeviceGetExecAffinitySupport == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetExecAffinitySupport" not found') * err = ( __cuDeviceGetExecAffinitySupport)(pi, typename, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2937 * if __cuDeviceGetExecAffinitySupport == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetExecAffinitySupport" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetExecAffinitySupport)(pi, typename, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetExecAffinity}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2937, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2937, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2936 * cuPythonInit() * if __cuDeviceGetExecAffinitySupport == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetExecAffinitySupport" not found') * err = ( __cuDeviceGetExecAffinitySupport)(pi, typename, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2935 * global __cuDeviceGetExecAffinitySupport * cuPythonInit() * if __cuDeviceGetExecAffinitySupport == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetExecAffinitySupport" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2938 * with gil: * raise RuntimeError('Function "cuDeviceGetExecAffinitySupport" not found') * err = ( __cuDeviceGetExecAffinitySupport)(pi, typename, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUexecAffinityType, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetExecAffinitySupport)(__pyx_v_pi, __pyx_v_typename, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2938, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2939 * raise RuntimeError('Function "cuDeviceGetExecAffinitySupport" not found') * err = ( __cuDeviceGetExecAffinitySupport)(pi, typename, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFlushGPUDirectRDMAWrites(CUflushGPUDirectRDMAWritesTarget target, CUflushGPUDirectRDMAWritesScope scope) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2932 * return err * * cdef CUresult _cuDeviceGetExecAffinitySupport(int* pi, CUexecAffinityType typename, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetExecAffinitySupport * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetExecAffinitySupport", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2941 * return err * * cdef CUresult _cuFlushGPUDirectRDMAWrites(CUflushGPUDirectRDMAWritesTarget target, CUflushGPUDirectRDMAWritesScope scope) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFlushGPUDirectRDMAWrites * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFlushGPUDirectRDMAWrites(CUflushGPUDirectRDMAWritesTarget __pyx_v_target, CUflushGPUDirectRDMAWritesScope __pyx_v_scope) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFlushGPUDirectRDMAWrites", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2943 * cdef CUresult _cuFlushGPUDirectRDMAWrites(CUflushGPUDirectRDMAWritesTarget target, CUflushGPUDirectRDMAWritesScope scope) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFlushGPUDirectRDMAWrites * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFlushGPUDirectRDMAWrites == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2943, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2944 * global __cuFlushGPUDirectRDMAWrites * cuPythonInit() * if __cuFlushGPUDirectRDMAWrites == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFlushGPUDirectRDMAWrites" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFlushGPUDirectRDMAWrites == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2945 * cuPythonInit() * if __cuFlushGPUDirectRDMAWrites == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFlushGPUDirectRDMAWrites" not found') * err = ( __cuFlushGPUDirectRDMAWrites)(target, scope) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2946 * if __cuFlushGPUDirectRDMAWrites == NULL: * with gil: * raise RuntimeError('Function "cuFlushGPUDirectRDMAWrites" not found') # <<<<<<<<<<<<<< * err = ( __cuFlushGPUDirectRDMAWrites)(target, scope) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFlushGPUDirectRDMAWri}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2946, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2946, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2945 * cuPythonInit() * if __cuFlushGPUDirectRDMAWrites == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFlushGPUDirectRDMAWrites" not found') * err = ( __cuFlushGPUDirectRDMAWrites)(target, scope) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2944 * global __cuFlushGPUDirectRDMAWrites * cuPythonInit() * if __cuFlushGPUDirectRDMAWrites == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFlushGPUDirectRDMAWrites" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2947 * with gil: * raise RuntimeError('Function "cuFlushGPUDirectRDMAWrites" not found') * err = ( __cuFlushGPUDirectRDMAWrites)(target, scope) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUflushGPUDirectRDMAWritesTarget, CUflushGPUDirectRDMAWritesScope))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFlushGPUDirectRDMAWrites)(__pyx_v_target, __pyx_v_scope); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2947, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2948 * raise RuntimeError('Function "cuFlushGPUDirectRDMAWrites" not found') * err = ( __cuFlushGPUDirectRDMAWrites)(target, scope) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetProperties(CUdevprop* prop, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2941 * return err * * cdef CUresult _cuFlushGPUDirectRDMAWrites(CUflushGPUDirectRDMAWritesTarget target, CUflushGPUDirectRDMAWritesScope scope) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFlushGPUDirectRDMAWrites * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFlushGPUDirectRDMAWrites", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2950 * return err * * cdef CUresult _cuDeviceGetProperties(CUdevprop* prop, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetProperties * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetProperties(CUdevprop *__pyx_v_prop, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetProperties", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2952 * cdef CUresult _cuDeviceGetProperties(CUdevprop* prop, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetProperties * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetProperties == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2952, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2953 * global __cuDeviceGetProperties * cuPythonInit() * if __cuDeviceGetProperties == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetProperties" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetProperties == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2954 * cuPythonInit() * if __cuDeviceGetProperties == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetProperties" not found') * err = ( __cuDeviceGetProperties)(prop, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2955 * if __cuDeviceGetProperties == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetProperties" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetProperties)(prop, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetProperties_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2955, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2955, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2954 * cuPythonInit() * if __cuDeviceGetProperties == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetProperties" not found') * err = ( __cuDeviceGetProperties)(prop, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2953 * global __cuDeviceGetProperties * cuPythonInit() * if __cuDeviceGetProperties == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetProperties" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2956 * with gil: * raise RuntimeError('Function "cuDeviceGetProperties" not found') * err = ( __cuDeviceGetProperties)(prop, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevprop *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetProperties)(__pyx_v_prop, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2956, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2957 * raise RuntimeError('Function "cuDeviceGetProperties" not found') * err = ( __cuDeviceGetProperties)(prop, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceComputeCapability(int* major, int* minor, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2950 * return err * * cdef CUresult _cuDeviceGetProperties(CUdevprop* prop, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetProperties * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetProperties", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2959 * return err * * cdef CUresult _cuDeviceComputeCapability(int* major, int* minor, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceComputeCapability * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceComputeCapability(int *__pyx_v_major, int *__pyx_v_minor, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceComputeCapability", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2961 * cdef CUresult _cuDeviceComputeCapability(int* major, int* minor, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceComputeCapability * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceComputeCapability == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2961, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2962 * global __cuDeviceComputeCapability * cuPythonInit() * if __cuDeviceComputeCapability == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceComputeCapability" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceComputeCapability == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2963 * cuPythonInit() * if __cuDeviceComputeCapability == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceComputeCapability" not found') * err = ( __cuDeviceComputeCapability)(major, minor, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2964 * if __cuDeviceComputeCapability == NULL: * with gil: * raise RuntimeError('Function "cuDeviceComputeCapability" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceComputeCapability)(major, minor, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceComputeCapabili}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2964, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2964, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2963 * cuPythonInit() * if __cuDeviceComputeCapability == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceComputeCapability" not found') * err = ( __cuDeviceComputeCapability)(major, minor, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2962 * global __cuDeviceComputeCapability * cuPythonInit() * if __cuDeviceComputeCapability == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceComputeCapability" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2965 * with gil: * raise RuntimeError('Function "cuDeviceComputeCapability" not found') * err = ( __cuDeviceComputeCapability)(major, minor, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, int *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceComputeCapability)(__pyx_v_major, __pyx_v_minor, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2965, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2966 * raise RuntimeError('Function "cuDeviceComputeCapability" not found') * err = ( __cuDeviceComputeCapability)(major, minor, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDevicePrimaryCtxRetain(CUcontext* pctx, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2959 * return err * * cdef CUresult _cuDeviceComputeCapability(int* major, int* minor, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceComputeCapability * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceComputeCapability", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2968 * return err * * cdef CUresult _cuDevicePrimaryCtxRetain(CUcontext* pctx, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRetain * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxRetain(CUcontext *__pyx_v_pctx, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDevicePrimaryCtxRetain", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2970 * cdef CUresult _cuDevicePrimaryCtxRetain(CUcontext* pctx, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDevicePrimaryCtxRetain * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDevicePrimaryCtxRetain == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2970, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2971 * global __cuDevicePrimaryCtxRetain * cuPythonInit() * if __cuDevicePrimaryCtxRetain == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRetain" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRetain == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2972 * cuPythonInit() * if __cuDevicePrimaryCtxRetain == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxRetain" not found') * err = ( __cuDevicePrimaryCtxRetain)(pctx, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2973 * if __cuDevicePrimaryCtxRetain == NULL: * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRetain" not found') # <<<<<<<<<<<<<< * err = ( __cuDevicePrimaryCtxRetain)(pctx, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDevicePrimaryCtxRetai}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2973, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2973, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2972 * cuPythonInit() * if __cuDevicePrimaryCtxRetain == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxRetain" not found') * err = ( __cuDevicePrimaryCtxRetain)(pctx, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2971 * global __cuDevicePrimaryCtxRetain * cuPythonInit() * if __cuDevicePrimaryCtxRetain == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRetain" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2974 * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRetain" not found') * err = ( __cuDevicePrimaryCtxRetain)(pctx, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRetain)(__pyx_v_pctx, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2974, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2975 * raise RuntimeError('Function "cuDevicePrimaryCtxRetain" not found') * err = ( __cuDevicePrimaryCtxRetain)(pctx, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDevicePrimaryCtxRelease_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2968 * return err * * cdef CUresult _cuDevicePrimaryCtxRetain(CUcontext* pctx, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRetain * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDevicePrimaryCtxRetain", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2977 * return err * * cdef CUresult _cuDevicePrimaryCtxRelease_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRelease_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxRelease_v2(CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDevicePrimaryCtxRelease_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2979 * cdef CUresult _cuDevicePrimaryCtxRelease_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDevicePrimaryCtxRelease_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDevicePrimaryCtxRelease_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2979, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2980 * global __cuDevicePrimaryCtxRelease_v2 * cuPythonInit() * if __cuDevicePrimaryCtxRelease_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRelease_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRelease_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2981 * cuPythonInit() * if __cuDevicePrimaryCtxRelease_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxRelease_v2" not found') * err = ( __cuDevicePrimaryCtxRelease_v2)(dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2982 * if __cuDevicePrimaryCtxRelease_v2 == NULL: * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRelease_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuDevicePrimaryCtxRelease_v2)(dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDevicePrimaryCtxRelea}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2982, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2982, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2981 * cuPythonInit() * if __cuDevicePrimaryCtxRelease_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxRelease_v2" not found') * err = ( __cuDevicePrimaryCtxRelease_v2)(dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2980 * global __cuDevicePrimaryCtxRelease_v2 * cuPythonInit() * if __cuDevicePrimaryCtxRelease_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRelease_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2983 * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxRelease_v2" not found') * err = ( __cuDevicePrimaryCtxRelease_v2)(dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRelease_v2)(__pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2983, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2984 * raise RuntimeError('Function "cuDevicePrimaryCtxRelease_v2" not found') * err = ( __cuDevicePrimaryCtxRelease_v2)(dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDevicePrimaryCtxSetFlags_v2(CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2977 * return err * * cdef CUresult _cuDevicePrimaryCtxRelease_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRelease_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDevicePrimaryCtxRelease_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2986 * return err * * cdef CUresult _cuDevicePrimaryCtxSetFlags_v2(CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxSetFlags_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxSetFlags_v2(CUdevice __pyx_v_dev, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDevicePrimaryCtxSetFlags_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2988 * cdef CUresult _cuDevicePrimaryCtxSetFlags_v2(CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDevicePrimaryCtxSetFlags_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDevicePrimaryCtxSetFlags_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2988, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2989 * global __cuDevicePrimaryCtxSetFlags_v2 * cuPythonInit() * if __cuDevicePrimaryCtxSetFlags_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxSetFlags_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxSetFlags_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2990 * cuPythonInit() * if __cuDevicePrimaryCtxSetFlags_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxSetFlags_v2" not found') * err = ( __cuDevicePrimaryCtxSetFlags_v2)(dev, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":2991 * if __cuDevicePrimaryCtxSetFlags_v2 == NULL: * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxSetFlags_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuDevicePrimaryCtxSetFlags_v2)(dev, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDevicePrimaryCtxSetFl}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2991, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 2991, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2990 * cuPythonInit() * if __cuDevicePrimaryCtxSetFlags_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxSetFlags_v2" not found') * err = ( __cuDevicePrimaryCtxSetFlags_v2)(dev, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2989 * global __cuDevicePrimaryCtxSetFlags_v2 * cuPythonInit() * if __cuDevicePrimaryCtxSetFlags_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxSetFlags_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":2992 * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxSetFlags_v2" not found') * err = ( __cuDevicePrimaryCtxSetFlags_v2)(dev, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxSetFlags_v2)(__pyx_v_dev, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 2992, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":2993 * raise RuntimeError('Function "cuDevicePrimaryCtxSetFlags_v2" not found') * err = ( __cuDevicePrimaryCtxSetFlags_v2)(dev, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDevicePrimaryCtxGetState(CUdevice dev, unsigned int* flags, int* active) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2986 * return err * * cdef CUresult _cuDevicePrimaryCtxSetFlags_v2(CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxSetFlags_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDevicePrimaryCtxSetFlags_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":2995 * return err * * cdef CUresult _cuDevicePrimaryCtxGetState(CUdevice dev, unsigned int* flags, int* active) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxGetState * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxGetState(CUdevice __pyx_v_dev, unsigned int *__pyx_v_flags, int *__pyx_v_active) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDevicePrimaryCtxGetState", 1); /* "cuda/bindings/_bindings/cydriver.pyx":2997 * cdef CUresult _cuDevicePrimaryCtxGetState(CUdevice dev, unsigned int* flags, int* active) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDevicePrimaryCtxGetState * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDevicePrimaryCtxGetState == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 2997, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":2998 * global __cuDevicePrimaryCtxGetState * cuPythonInit() * if __cuDevicePrimaryCtxGetState == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxGetState" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxGetState == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":2999 * cuPythonInit() * if __cuDevicePrimaryCtxGetState == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxGetState" not found') * err = ( __cuDevicePrimaryCtxGetState)(dev, flags, active) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3000 * if __cuDevicePrimaryCtxGetState == NULL: * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxGetState" not found') # <<<<<<<<<<<<<< * err = ( __cuDevicePrimaryCtxGetState)(dev, flags, active) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDevicePrimaryCtxGetSt}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3000, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3000, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":2999 * cuPythonInit() * if __cuDevicePrimaryCtxGetState == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxGetState" not found') * err = ( __cuDevicePrimaryCtxGetState)(dev, flags, active) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":2998 * global __cuDevicePrimaryCtxGetState * cuPythonInit() * if __cuDevicePrimaryCtxGetState == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxGetState" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3001 * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxGetState" not found') * err = ( __cuDevicePrimaryCtxGetState)(dev, flags, active) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, unsigned int *, int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxGetState)(__pyx_v_dev, __pyx_v_flags, __pyx_v_active); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3001, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3002 * raise RuntimeError('Function "cuDevicePrimaryCtxGetState" not found') * err = ( __cuDevicePrimaryCtxGetState)(dev, flags, active) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDevicePrimaryCtxReset_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":2995 * return err * * cdef CUresult _cuDevicePrimaryCtxGetState(CUdevice dev, unsigned int* flags, int* active) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxGetState * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDevicePrimaryCtxGetState", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3004 * return err * * cdef CUresult _cuDevicePrimaryCtxReset_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxReset_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxReset_v2(CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDevicePrimaryCtxReset_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3006 * cdef CUresult _cuDevicePrimaryCtxReset_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDevicePrimaryCtxReset_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDevicePrimaryCtxReset_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3006, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3007 * global __cuDevicePrimaryCtxReset_v2 * cuPythonInit() * if __cuDevicePrimaryCtxReset_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxReset_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxReset_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3008 * cuPythonInit() * if __cuDevicePrimaryCtxReset_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxReset_v2" not found') * err = ( __cuDevicePrimaryCtxReset_v2)(dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3009 * if __cuDevicePrimaryCtxReset_v2 == NULL: * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxReset_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuDevicePrimaryCtxReset_v2)(dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDevicePrimaryCtxReset}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3009, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3009, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3008 * cuPythonInit() * if __cuDevicePrimaryCtxReset_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevicePrimaryCtxReset_v2" not found') * err = ( __cuDevicePrimaryCtxReset_v2)(dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3007 * global __cuDevicePrimaryCtxReset_v2 * cuPythonInit() * if __cuDevicePrimaryCtxReset_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxReset_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3010 * with gil: * raise RuntimeError('Function "cuDevicePrimaryCtxReset_v2" not found') * err = ( __cuDevicePrimaryCtxReset_v2)(dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxReset_v2)(__pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3010, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3011 * raise RuntimeError('Function "cuDevicePrimaryCtxReset_v2" not found') * err = ( __cuDevicePrimaryCtxReset_v2)(dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxCreate_v2(CUcontext* pctx, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3004 * return err * * cdef CUresult _cuDevicePrimaryCtxReset_v2(CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxReset_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDevicePrimaryCtxReset_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3013 * return err * * cdef CUresult _cuCtxCreate_v2(CUcontext* pctx, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxCreate_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxCreate_v2(CUcontext *__pyx_v_pctx, unsigned int __pyx_v_flags, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxCreate_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3015 * cdef CUresult _cuCtxCreate_v2(CUcontext* pctx, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxCreate_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxCreate_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3015, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3016 * global __cuCtxCreate_v2 * cuPythonInit() * if __cuCtxCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxCreate_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3017 * cuPythonInit() * if __cuCtxCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxCreate_v2" not found') * err = ( __cuCtxCreate_v2)(pctx, flags, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3018 * if __cuCtxCreate_v2 == NULL: * with gil: * raise RuntimeError('Function "cuCtxCreate_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxCreate_v2)(pctx, flags, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxCreate_v2_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3018, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3018, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3017 * cuPythonInit() * if __cuCtxCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxCreate_v2" not found') * err = ( __cuCtxCreate_v2)(pctx, flags, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3016 * global __cuCtxCreate_v2 * cuPythonInit() * if __cuCtxCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxCreate_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3019 * with gil: * raise RuntimeError('Function "cuCtxCreate_v2" not found') * err = ( __cuCtxCreate_v2)(pctx, flags, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *, unsigned int, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v2)(__pyx_v_pctx, __pyx_v_flags, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3019, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3020 * raise RuntimeError('Function "cuCtxCreate_v2" not found') * err = ( __cuCtxCreate_v2)(pctx, flags, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxCreate_v3(CUcontext* pctx, CUexecAffinityParam* paramsArray, int numParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3013 * return err * * cdef CUresult _cuCtxCreate_v2(CUcontext* pctx, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxCreate_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxCreate_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3022 * return err * * cdef CUresult _cuCtxCreate_v3(CUcontext* pctx, CUexecAffinityParam* paramsArray, int numParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxCreate_v3 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxCreate_v3(CUcontext *__pyx_v_pctx, CUexecAffinityParam *__pyx_v_paramsArray, int __pyx_v_numParams, unsigned int __pyx_v_flags, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxCreate_v3", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3024 * cdef CUresult _cuCtxCreate_v3(CUcontext* pctx, CUexecAffinityParam* paramsArray, int numParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxCreate_v3 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxCreate_v3 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3024, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3025 * global __cuCtxCreate_v3 * cuPythonInit() * if __cuCtxCreate_v3 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxCreate_v3" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v3 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3026 * cuPythonInit() * if __cuCtxCreate_v3 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxCreate_v3" not found') * err = ( __cuCtxCreate_v3)(pctx, paramsArray, numParams, flags, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3027 * if __cuCtxCreate_v3 == NULL: * with gil: * raise RuntimeError('Function "cuCtxCreate_v3" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxCreate_v3)(pctx, paramsArray, numParams, flags, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxCreate_v3_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3027, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3027, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3026 * cuPythonInit() * if __cuCtxCreate_v3 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxCreate_v3" not found') * err = ( __cuCtxCreate_v3)(pctx, paramsArray, numParams, flags, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3025 * global __cuCtxCreate_v3 * cuPythonInit() * if __cuCtxCreate_v3 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxCreate_v3" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3028 * with gil: * raise RuntimeError('Function "cuCtxCreate_v3" not found') * err = ( __cuCtxCreate_v3)(pctx, paramsArray, numParams, flags, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *, CUexecAffinityParam *, int, unsigned int, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v3)(__pyx_v_pctx, __pyx_v_paramsArray, __pyx_v_numParams, __pyx_v_flags, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3028, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3029 * raise RuntimeError('Function "cuCtxCreate_v3" not found') * err = ( __cuCtxCreate_v3)(pctx, paramsArray, numParams, flags, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxCreate_v4(CUcontext* pctx, CUctxCreateParams* ctxCreateParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3022 * return err * * cdef CUresult _cuCtxCreate_v3(CUcontext* pctx, CUexecAffinityParam* paramsArray, int numParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxCreate_v3 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxCreate_v3", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3031 * return err * * cdef CUresult _cuCtxCreate_v4(CUcontext* pctx, CUctxCreateParams* ctxCreateParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxCreate_v4 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxCreate_v4(CUcontext *__pyx_v_pctx, CUctxCreateParams *__pyx_v_ctxCreateParams, unsigned int __pyx_v_flags, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxCreate_v4", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3033 * cdef CUresult _cuCtxCreate_v4(CUcontext* pctx, CUctxCreateParams* ctxCreateParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxCreate_v4 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxCreate_v4 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3033, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3034 * global __cuCtxCreate_v4 * cuPythonInit() * if __cuCtxCreate_v4 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxCreate_v4" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v4 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3035 * cuPythonInit() * if __cuCtxCreate_v4 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxCreate_v4" not found') * err = ( __cuCtxCreate_v4)(pctx, ctxCreateParams, flags, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3036 * if __cuCtxCreate_v4 == NULL: * with gil: * raise RuntimeError('Function "cuCtxCreate_v4" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxCreate_v4)(pctx, ctxCreateParams, flags, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxCreate_v4_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3036, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3036, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3035 * cuPythonInit() * if __cuCtxCreate_v4 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxCreate_v4" not found') * err = ( __cuCtxCreate_v4)(pctx, ctxCreateParams, flags, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3034 * global __cuCtxCreate_v4 * cuPythonInit() * if __cuCtxCreate_v4 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxCreate_v4" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3037 * with gil: * raise RuntimeError('Function "cuCtxCreate_v4" not found') * err = ( __cuCtxCreate_v4)(pctx, ctxCreateParams, flags, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *, CUctxCreateParams *, unsigned int, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v4)(__pyx_v_pctx, __pyx_v_ctxCreateParams, __pyx_v_flags, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3037, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3038 * raise RuntimeError('Function "cuCtxCreate_v4" not found') * err = ( __cuCtxCreate_v4)(pctx, ctxCreateParams, flags, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxDestroy_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3031 * return err * * cdef CUresult _cuCtxCreate_v4(CUcontext* pctx, CUctxCreateParams* ctxCreateParams, unsigned int flags, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxCreate_v4 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxCreate_v4", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3040 * return err * * cdef CUresult _cuCtxDestroy_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxDestroy_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxDestroy_v2(CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxDestroy_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3042 * cdef CUresult _cuCtxDestroy_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxDestroy_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxDestroy_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3042, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3043 * global __cuCtxDestroy_v2 * cuPythonInit() * if __cuCtxDestroy_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxDestroy_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDestroy_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3044 * cuPythonInit() * if __cuCtxDestroy_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxDestroy_v2" not found') * err = ( __cuCtxDestroy_v2)(ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3045 * if __cuCtxDestroy_v2 == NULL: * with gil: * raise RuntimeError('Function "cuCtxDestroy_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxDestroy_v2)(ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxDestroy_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3045, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3045, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3044 * cuPythonInit() * if __cuCtxDestroy_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxDestroy_v2" not found') * err = ( __cuCtxDestroy_v2)(ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3043 * global __cuCtxDestroy_v2 * cuPythonInit() * if __cuCtxDestroy_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxDestroy_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3046 * with gil: * raise RuntimeError('Function "cuCtxDestroy_v2" not found') * err = ( __cuCtxDestroy_v2)(ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDestroy_v2)(__pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3046, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3047 * raise RuntimeError('Function "cuCtxDestroy_v2" not found') * err = ( __cuCtxDestroy_v2)(ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxPushCurrent_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3040 * return err * * cdef CUresult _cuCtxDestroy_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxDestroy_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxDestroy_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3049 * return err * * cdef CUresult _cuCtxPushCurrent_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxPushCurrent_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxPushCurrent_v2(CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxPushCurrent_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3051 * cdef CUresult _cuCtxPushCurrent_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxPushCurrent_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxPushCurrent_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3051, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3052 * global __cuCtxPushCurrent_v2 * cuPythonInit() * if __cuCtxPushCurrent_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxPushCurrent_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPushCurrent_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3053 * cuPythonInit() * if __cuCtxPushCurrent_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxPushCurrent_v2" not found') * err = ( __cuCtxPushCurrent_v2)(ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3054 * if __cuCtxPushCurrent_v2 == NULL: * with gil: * raise RuntimeError('Function "cuCtxPushCurrent_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxPushCurrent_v2)(ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxPushCurrent_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3054, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3054, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3053 * cuPythonInit() * if __cuCtxPushCurrent_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxPushCurrent_v2" not found') * err = ( __cuCtxPushCurrent_v2)(ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3052 * global __cuCtxPushCurrent_v2 * cuPythonInit() * if __cuCtxPushCurrent_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxPushCurrent_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3055 * with gil: * raise RuntimeError('Function "cuCtxPushCurrent_v2" not found') * err = ( __cuCtxPushCurrent_v2)(ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPushCurrent_v2)(__pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3055, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3056 * raise RuntimeError('Function "cuCtxPushCurrent_v2" not found') * err = ( __cuCtxPushCurrent_v2)(ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxPopCurrent_v2(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3049 * return err * * cdef CUresult _cuCtxPushCurrent_v2(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxPushCurrent_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxPushCurrent_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3058 * return err * * cdef CUresult _cuCtxPopCurrent_v2(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxPopCurrent_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxPopCurrent_v2(CUcontext *__pyx_v_pctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxPopCurrent_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3060 * cdef CUresult _cuCtxPopCurrent_v2(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxPopCurrent_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxPopCurrent_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3060, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3061 * global __cuCtxPopCurrent_v2 * cuPythonInit() * if __cuCtxPopCurrent_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxPopCurrent_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPopCurrent_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3062 * cuPythonInit() * if __cuCtxPopCurrent_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxPopCurrent_v2" not found') * err = ( __cuCtxPopCurrent_v2)(pctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3063 * if __cuCtxPopCurrent_v2 == NULL: * with gil: * raise RuntimeError('Function "cuCtxPopCurrent_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxPopCurrent_v2)(pctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxPopCurrent_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3063, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3063, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3062 * cuPythonInit() * if __cuCtxPopCurrent_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxPopCurrent_v2" not found') * err = ( __cuCtxPopCurrent_v2)(pctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3061 * global __cuCtxPopCurrent_v2 * cuPythonInit() * if __cuCtxPopCurrent_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxPopCurrent_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3064 * with gil: * raise RuntimeError('Function "cuCtxPopCurrent_v2" not found') * err = ( __cuCtxPopCurrent_v2)(pctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPopCurrent_v2)(__pyx_v_pctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3064, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3065 * raise RuntimeError('Function "cuCtxPopCurrent_v2" not found') * err = ( __cuCtxPopCurrent_v2)(pctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxSetCurrent(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3058 * return err * * cdef CUresult _cuCtxPopCurrent_v2(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxPopCurrent_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxPopCurrent_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3067 * return err * * cdef CUresult _cuCtxSetCurrent(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetCurrent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetCurrent(CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxSetCurrent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3069 * cdef CUresult _cuCtxSetCurrent(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxSetCurrent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxSetCurrent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3069, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3070 * global __cuCtxSetCurrent * cuPythonInit() * if __cuCtxSetCurrent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetCurrent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCurrent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3071 * cuPythonInit() * if __cuCtxSetCurrent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetCurrent" not found') * err = ( __cuCtxSetCurrent)(ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3072 * if __cuCtxSetCurrent == NULL: * with gil: * raise RuntimeError('Function "cuCtxSetCurrent" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxSetCurrent)(ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxSetCurrent_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3072, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3072, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3071 * cuPythonInit() * if __cuCtxSetCurrent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetCurrent" not found') * err = ( __cuCtxSetCurrent)(ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3070 * global __cuCtxSetCurrent * cuPythonInit() * if __cuCtxSetCurrent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetCurrent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3073 * with gil: * raise RuntimeError('Function "cuCtxSetCurrent" not found') * err = ( __cuCtxSetCurrent)(ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCurrent)(__pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3073, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3074 * raise RuntimeError('Function "cuCtxSetCurrent" not found') * err = ( __cuCtxSetCurrent)(ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetCurrent(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3067 * return err * * cdef CUresult _cuCtxSetCurrent(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetCurrent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxSetCurrent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3076 * return err * * cdef CUresult _cuCtxGetCurrent(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetCurrent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetCurrent(CUcontext *__pyx_v_pctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetCurrent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3078 * cdef CUresult _cuCtxGetCurrent(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetCurrent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetCurrent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3078, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3079 * global __cuCtxGetCurrent * cuPythonInit() * if __cuCtxGetCurrent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetCurrent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCurrent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3080 * cuPythonInit() * if __cuCtxGetCurrent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetCurrent" not found') * err = ( __cuCtxGetCurrent)(pctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3081 * if __cuCtxGetCurrent == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetCurrent" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetCurrent)(pctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetCurrent_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3081, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3081, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3080 * cuPythonInit() * if __cuCtxGetCurrent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetCurrent" not found') * err = ( __cuCtxGetCurrent)(pctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3079 * global __cuCtxGetCurrent * cuPythonInit() * if __cuCtxGetCurrent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetCurrent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3082 * with gil: * raise RuntimeError('Function "cuCtxGetCurrent" not found') * err = ( __cuCtxGetCurrent)(pctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCurrent)(__pyx_v_pctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3082, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3083 * raise RuntimeError('Function "cuCtxGetCurrent" not found') * err = ( __cuCtxGetCurrent)(pctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetDevice(CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3076 * return err * * cdef CUresult _cuCtxGetCurrent(CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetCurrent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetCurrent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3085 * return err * * cdef CUresult _cuCtxGetDevice(CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetDevice * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetDevice(CUdevice *__pyx_v_device) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetDevice", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3087 * cdef CUresult _cuCtxGetDevice(CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetDevice * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetDevice == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3087, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3088 * global __cuCtxGetDevice * cuPythonInit() * if __cuCtxGetDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetDevice" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevice == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3089 * cuPythonInit() * if __cuCtxGetDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetDevice" not found') * err = ( __cuCtxGetDevice)(device) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3090 * if __cuCtxGetDevice == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetDevice" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetDevice)(device) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetDevice_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3090, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3090, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3089 * cuPythonInit() * if __cuCtxGetDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetDevice" not found') * err = ( __cuCtxGetDevice)(device) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3088 * global __cuCtxGetDevice * cuPythonInit() * if __cuCtxGetDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetDevice" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3091 * with gil: * raise RuntimeError('Function "cuCtxGetDevice" not found') * err = ( __cuCtxGetDevice)(device) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevice)(__pyx_v_device); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3091, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3092 * raise RuntimeError('Function "cuCtxGetDevice" not found') * err = ( __cuCtxGetDevice)(device) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetFlags(unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3085 * return err * * cdef CUresult _cuCtxGetDevice(CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetDevice * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetDevice", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3094 * return err * * cdef CUresult _cuCtxGetFlags(unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetFlags(unsigned int *__pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3096 * cdef CUresult _cuCtxGetFlags(unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3096, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3097 * global __cuCtxGetFlags * cuPythonInit() * if __cuCtxGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3098 * cuPythonInit() * if __cuCtxGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetFlags" not found') * err = ( __cuCtxGetFlags)(flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3099 * if __cuCtxGetFlags == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetFlags)(flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetFlags_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3099, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3099, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3098 * cuPythonInit() * if __cuCtxGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetFlags" not found') * err = ( __cuCtxGetFlags)(flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3097 * global __cuCtxGetFlags * cuPythonInit() * if __cuCtxGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3100 * with gil: * raise RuntimeError('Function "cuCtxGetFlags" not found') * err = ( __cuCtxGetFlags)(flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetFlags)(__pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3100, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3101 * raise RuntimeError('Function "cuCtxGetFlags" not found') * err = ( __cuCtxGetFlags)(flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxSetFlags(unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3094 * return err * * cdef CUresult _cuCtxGetFlags(unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3103 * return err * * cdef CUresult _cuCtxSetFlags(unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetFlags(unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxSetFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3105 * cdef CUresult _cuCtxSetFlags(unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxSetFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxSetFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3105, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3106 * global __cuCtxSetFlags * cuPythonInit() * if __cuCtxSetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3107 * cuPythonInit() * if __cuCtxSetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetFlags" not found') * err = ( __cuCtxSetFlags)(flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3108 * if __cuCtxSetFlags == NULL: * with gil: * raise RuntimeError('Function "cuCtxSetFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxSetFlags)(flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxSetFlags_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3108, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3108, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3107 * cuPythonInit() * if __cuCtxSetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetFlags" not found') * err = ( __cuCtxSetFlags)(flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3106 * global __cuCtxSetFlags * cuPythonInit() * if __cuCtxSetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3109 * with gil: * raise RuntimeError('Function "cuCtxSetFlags" not found') * err = ( __cuCtxSetFlags)(flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetFlags)(__pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3109, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3110 * raise RuntimeError('Function "cuCtxSetFlags" not found') * err = ( __cuCtxSetFlags)(flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetId(CUcontext ctx, unsigned long long* ctxId) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3103 * return err * * cdef CUresult _cuCtxSetFlags(unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxSetFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3112 * return err * * cdef CUresult _cuCtxGetId(CUcontext ctx, unsigned long long* ctxId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetId * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetId(CUcontext __pyx_v_ctx, unsigned PY_LONG_LONG *__pyx_v_ctxId) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetId", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3114 * cdef CUresult _cuCtxGetId(CUcontext ctx, unsigned long long* ctxId) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetId * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetId == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3114, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3115 * global __cuCtxGetId * cuPythonInit() * if __cuCtxGetId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetId" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetId == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3116 * cuPythonInit() * if __cuCtxGetId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetId" not found') * err = ( __cuCtxGetId)(ctx, ctxId) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3117 * if __cuCtxGetId == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetId" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetId)(ctx, ctxId) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetId_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3117, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3117, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3116 * cuPythonInit() * if __cuCtxGetId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetId" not found') * err = ( __cuCtxGetId)(ctx, ctxId) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3115 * global __cuCtxGetId * cuPythonInit() * if __cuCtxGetId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetId" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3118 * with gil: * raise RuntimeError('Function "cuCtxGetId" not found') * err = ( __cuCtxGetId)(ctx, ctxId) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext, unsigned PY_LONG_LONG *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetId)(__pyx_v_ctx, __pyx_v_ctxId); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3118, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3119 * raise RuntimeError('Function "cuCtxGetId" not found') * err = ( __cuCtxGetId)(ctx, ctxId) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxSynchronize() except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3112 * return err * * cdef CUresult _cuCtxGetId(CUcontext ctx, unsigned long long* ctxId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetId * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetId", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3121 * return err * * cdef CUresult _cuCtxSynchronize() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSynchronize * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSynchronize(void) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxSynchronize", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3123 * cdef CUresult _cuCtxSynchronize() except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxSynchronize * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxSynchronize == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3123, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3124 * global __cuCtxSynchronize * cuPythonInit() * if __cuCtxSynchronize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSynchronize" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSynchronize == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3125 * cuPythonInit() * if __cuCtxSynchronize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSynchronize" not found') * err = ( __cuCtxSynchronize)() */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3126 * if __cuCtxSynchronize == NULL: * with gil: * raise RuntimeError('Function "cuCtxSynchronize" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxSynchronize)() * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxSynchronize_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3126, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3126, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3125 * cuPythonInit() * if __cuCtxSynchronize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSynchronize" not found') * err = ( __cuCtxSynchronize)() */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3124 * global __cuCtxSynchronize * cuPythonInit() * if __cuCtxSynchronize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSynchronize" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3127 * with gil: * raise RuntimeError('Function "cuCtxSynchronize" not found') * err = ( __cuCtxSynchronize)() # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSynchronize)(); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3127, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3128 * raise RuntimeError('Function "cuCtxSynchronize" not found') * err = ( __cuCtxSynchronize)() * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxSetLimit(CUlimit limit, size_t value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3121 * return err * * cdef CUresult _cuCtxSynchronize() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSynchronize * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxSynchronize", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3130 * return err * * cdef CUresult _cuCtxSetLimit(CUlimit limit, size_t value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetLimit * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetLimit(CUlimit __pyx_v_limit, size_t __pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxSetLimit", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3132 * cdef CUresult _cuCtxSetLimit(CUlimit limit, size_t value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxSetLimit * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxSetLimit == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3132, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3133 * global __cuCtxSetLimit * cuPythonInit() * if __cuCtxSetLimit == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetLimit" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetLimit == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3134 * cuPythonInit() * if __cuCtxSetLimit == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetLimit" not found') * err = ( __cuCtxSetLimit)(limit, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3135 * if __cuCtxSetLimit == NULL: * with gil: * raise RuntimeError('Function "cuCtxSetLimit" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxSetLimit)(limit, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxSetLimit_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3135, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3135, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3134 * cuPythonInit() * if __cuCtxSetLimit == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetLimit" not found') * err = ( __cuCtxSetLimit)(limit, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3133 * global __cuCtxSetLimit * cuPythonInit() * if __cuCtxSetLimit == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetLimit" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3136 * with gil: * raise RuntimeError('Function "cuCtxSetLimit" not found') * err = ( __cuCtxSetLimit)(limit, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlimit, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetLimit)(__pyx_v_limit, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3136, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3137 * raise RuntimeError('Function "cuCtxSetLimit" not found') * err = ( __cuCtxSetLimit)(limit, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetLimit(size_t* pvalue, CUlimit limit) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3130 * return err * * cdef CUresult _cuCtxSetLimit(CUlimit limit, size_t value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetLimit * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxSetLimit", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3139 * return err * * cdef CUresult _cuCtxGetLimit(size_t* pvalue, CUlimit limit) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetLimit * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetLimit(size_t *__pyx_v_pvalue, CUlimit __pyx_v_limit) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetLimit", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3141 * cdef CUresult _cuCtxGetLimit(size_t* pvalue, CUlimit limit) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetLimit * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetLimit == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3141, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3142 * global __cuCtxGetLimit * cuPythonInit() * if __cuCtxGetLimit == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetLimit" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetLimit == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3143 * cuPythonInit() * if __cuCtxGetLimit == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetLimit" not found') * err = ( __cuCtxGetLimit)(pvalue, limit) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3144 * if __cuCtxGetLimit == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetLimit" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetLimit)(pvalue, limit) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetLimit_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3144, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3144, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3143 * cuPythonInit() * if __cuCtxGetLimit == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetLimit" not found') * err = ( __cuCtxGetLimit)(pvalue, limit) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3142 * global __cuCtxGetLimit * cuPythonInit() * if __cuCtxGetLimit == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetLimit" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3145 * with gil: * raise RuntimeError('Function "cuCtxGetLimit" not found') * err = ( __cuCtxGetLimit)(pvalue, limit) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, CUlimit))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetLimit)(__pyx_v_pvalue, __pyx_v_limit); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3145, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3146 * raise RuntimeError('Function "cuCtxGetLimit" not found') * err = ( __cuCtxGetLimit)(pvalue, limit) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetCacheConfig(CUfunc_cache* pconfig) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3139 * return err * * cdef CUresult _cuCtxGetLimit(size_t* pvalue, CUlimit limit) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetLimit * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetLimit", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3148 * return err * * cdef CUresult _cuCtxGetCacheConfig(CUfunc_cache* pconfig) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetCacheConfig * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetCacheConfig(CUfunc_cache *__pyx_v_pconfig) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetCacheConfig", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3150 * cdef CUresult _cuCtxGetCacheConfig(CUfunc_cache* pconfig) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetCacheConfig * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetCacheConfig == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3150, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3151 * global __cuCtxGetCacheConfig * cuPythonInit() * if __cuCtxGetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetCacheConfig" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCacheConfig == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3152 * cuPythonInit() * if __cuCtxGetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetCacheConfig" not found') * err = ( __cuCtxGetCacheConfig)(pconfig) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3153 * if __cuCtxGetCacheConfig == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetCacheConfig" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetCacheConfig)(pconfig) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetCacheConfig_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3153, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3153, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3152 * cuPythonInit() * if __cuCtxGetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetCacheConfig" not found') * err = ( __cuCtxGetCacheConfig)(pconfig) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3151 * global __cuCtxGetCacheConfig * cuPythonInit() * if __cuCtxGetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetCacheConfig" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3154 * with gil: * raise RuntimeError('Function "cuCtxGetCacheConfig" not found') * err = ( __cuCtxGetCacheConfig)(pconfig) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunc_cache *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCacheConfig)(__pyx_v_pconfig); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3154, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3155 * raise RuntimeError('Function "cuCtxGetCacheConfig" not found') * err = ( __cuCtxGetCacheConfig)(pconfig) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxSetCacheConfig(CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3148 * return err * * cdef CUresult _cuCtxGetCacheConfig(CUfunc_cache* pconfig) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetCacheConfig * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetCacheConfig", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3157 * return err * * cdef CUresult _cuCtxSetCacheConfig(CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetCacheConfig * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetCacheConfig(CUfunc_cache __pyx_v_config) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxSetCacheConfig", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3159 * cdef CUresult _cuCtxSetCacheConfig(CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxSetCacheConfig * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxSetCacheConfig == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3159, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3160 * global __cuCtxSetCacheConfig * cuPythonInit() * if __cuCtxSetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetCacheConfig" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCacheConfig == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3161 * cuPythonInit() * if __cuCtxSetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetCacheConfig" not found') * err = ( __cuCtxSetCacheConfig)(config) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3162 * if __cuCtxSetCacheConfig == NULL: * with gil: * raise RuntimeError('Function "cuCtxSetCacheConfig" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxSetCacheConfig)(config) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxSetCacheConfig_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3162, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3162, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3161 * cuPythonInit() * if __cuCtxSetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetCacheConfig" not found') * err = ( __cuCtxSetCacheConfig)(config) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3160 * global __cuCtxSetCacheConfig * cuPythonInit() * if __cuCtxSetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetCacheConfig" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3163 * with gil: * raise RuntimeError('Function "cuCtxSetCacheConfig" not found') * err = ( __cuCtxSetCacheConfig)(config) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunc_cache))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCacheConfig)(__pyx_v_config); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3163, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3164 * raise RuntimeError('Function "cuCtxSetCacheConfig" not found') * err = ( __cuCtxSetCacheConfig)(config) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetApiVersion(CUcontext ctx, unsigned int* version) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3157 * return err * * cdef CUresult _cuCtxSetCacheConfig(CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetCacheConfig * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxSetCacheConfig", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3166 * return err * * cdef CUresult _cuCtxGetApiVersion(CUcontext ctx, unsigned int* version) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetApiVersion * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetApiVersion(CUcontext __pyx_v_ctx, unsigned int *__pyx_v_version) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetApiVersion", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3168 * cdef CUresult _cuCtxGetApiVersion(CUcontext ctx, unsigned int* version) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetApiVersion * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetApiVersion == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3168, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3169 * global __cuCtxGetApiVersion * cuPythonInit() * if __cuCtxGetApiVersion == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetApiVersion" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetApiVersion == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3170 * cuPythonInit() * if __cuCtxGetApiVersion == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetApiVersion" not found') * err = ( __cuCtxGetApiVersion)(ctx, version) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3171 * if __cuCtxGetApiVersion == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetApiVersion" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetApiVersion)(ctx, version) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetApiVersion_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3171, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3171, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3170 * cuPythonInit() * if __cuCtxGetApiVersion == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetApiVersion" not found') * err = ( __cuCtxGetApiVersion)(ctx, version) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3169 * global __cuCtxGetApiVersion * cuPythonInit() * if __cuCtxGetApiVersion == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetApiVersion" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3172 * with gil: * raise RuntimeError('Function "cuCtxGetApiVersion" not found') * err = ( __cuCtxGetApiVersion)(ctx, version) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext, unsigned int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetApiVersion)(__pyx_v_ctx, __pyx_v_version); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3172, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3173 * raise RuntimeError('Function "cuCtxGetApiVersion" not found') * err = ( __cuCtxGetApiVersion)(ctx, version) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetStreamPriorityRange(int* leastPriority, int* greatestPriority) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3166 * return err * * cdef CUresult _cuCtxGetApiVersion(CUcontext ctx, unsigned int* version) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetApiVersion * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetApiVersion", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3175 * return err * * cdef CUresult _cuCtxGetStreamPriorityRange(int* leastPriority, int* greatestPriority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetStreamPriorityRange * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetStreamPriorityRange(int *__pyx_v_leastPriority, int *__pyx_v_greatestPriority) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetStreamPriorityRange", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3177 * cdef CUresult _cuCtxGetStreamPriorityRange(int* leastPriority, int* greatestPriority) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetStreamPriorityRange * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetStreamPriorityRange == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3177, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3178 * global __cuCtxGetStreamPriorityRange * cuPythonInit() * if __cuCtxGetStreamPriorityRange == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetStreamPriorityRange" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetStreamPriorityRange == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3179 * cuPythonInit() * if __cuCtxGetStreamPriorityRange == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetStreamPriorityRange" not found') * err = ( __cuCtxGetStreamPriorityRange)(leastPriority, greatestPriority) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3180 * if __cuCtxGetStreamPriorityRange == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetStreamPriorityRange" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetStreamPriorityRange)(leastPriority, greatestPriority) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetStreamPriorityR}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3180, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3180, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3179 * cuPythonInit() * if __cuCtxGetStreamPriorityRange == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetStreamPriorityRange" not found') * err = ( __cuCtxGetStreamPriorityRange)(leastPriority, greatestPriority) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3178 * global __cuCtxGetStreamPriorityRange * cuPythonInit() * if __cuCtxGetStreamPriorityRange == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetStreamPriorityRange" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3181 * with gil: * raise RuntimeError('Function "cuCtxGetStreamPriorityRange" not found') * err = ( __cuCtxGetStreamPriorityRange)(leastPriority, greatestPriority) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetStreamPriorityRange)(__pyx_v_leastPriority, __pyx_v_greatestPriority); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3181, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3182 * raise RuntimeError('Function "cuCtxGetStreamPriorityRange" not found') * err = ( __cuCtxGetStreamPriorityRange)(leastPriority, greatestPriority) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxResetPersistingL2Cache() except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3175 * return err * * cdef CUresult _cuCtxGetStreamPriorityRange(int* leastPriority, int* greatestPriority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetStreamPriorityRange * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetStreamPriorityRange", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3184 * return err * * cdef CUresult _cuCtxResetPersistingL2Cache() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxResetPersistingL2Cache * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxResetPersistingL2Cache(void) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxResetPersistingL2Cache", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3186 * cdef CUresult _cuCtxResetPersistingL2Cache() except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxResetPersistingL2Cache * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxResetPersistingL2Cache == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3186, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3187 * global __cuCtxResetPersistingL2Cache * cuPythonInit() * if __cuCtxResetPersistingL2Cache == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxResetPersistingL2Cache" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxResetPersistingL2Cache == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3188 * cuPythonInit() * if __cuCtxResetPersistingL2Cache == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxResetPersistingL2Cache" not found') * err = ( __cuCtxResetPersistingL2Cache)() */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3189 * if __cuCtxResetPersistingL2Cache == NULL: * with gil: * raise RuntimeError('Function "cuCtxResetPersistingL2Cache" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxResetPersistingL2Cache)() * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxResetPersistingL2C}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3189, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3189, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3188 * cuPythonInit() * if __cuCtxResetPersistingL2Cache == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxResetPersistingL2Cache" not found') * err = ( __cuCtxResetPersistingL2Cache)() */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3187 * global __cuCtxResetPersistingL2Cache * cuPythonInit() * if __cuCtxResetPersistingL2Cache == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxResetPersistingL2Cache" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3190 * with gil: * raise RuntimeError('Function "cuCtxResetPersistingL2Cache" not found') * err = ( __cuCtxResetPersistingL2Cache)() # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxResetPersistingL2Cache)(); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3190, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3191 * raise RuntimeError('Function "cuCtxResetPersistingL2Cache" not found') * err = ( __cuCtxResetPersistingL2Cache)() * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetExecAffinity(CUexecAffinityParam* pExecAffinity, CUexecAffinityType typename) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3184 * return err * * cdef CUresult _cuCtxResetPersistingL2Cache() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxResetPersistingL2Cache * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxResetPersistingL2Cache", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3193 * return err * * cdef CUresult _cuCtxGetExecAffinity(CUexecAffinityParam* pExecAffinity, CUexecAffinityType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetExecAffinity * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetExecAffinity(CUexecAffinityParam *__pyx_v_pExecAffinity, CUexecAffinityType __pyx_v_typename) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetExecAffinity", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3195 * cdef CUresult _cuCtxGetExecAffinity(CUexecAffinityParam* pExecAffinity, CUexecAffinityType typename) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetExecAffinity * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetExecAffinity == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3195, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3196 * global __cuCtxGetExecAffinity * cuPythonInit() * if __cuCtxGetExecAffinity == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetExecAffinity" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetExecAffinity == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3197 * cuPythonInit() * if __cuCtxGetExecAffinity == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetExecAffinity" not found') * err = ( __cuCtxGetExecAffinity)(pExecAffinity, typename) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3198 * if __cuCtxGetExecAffinity == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetExecAffinity" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetExecAffinity)(pExecAffinity, typename) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetExecAffinity_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3198, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3198, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3197 * cuPythonInit() * if __cuCtxGetExecAffinity == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetExecAffinity" not found') * err = ( __cuCtxGetExecAffinity)(pExecAffinity, typename) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3196 * global __cuCtxGetExecAffinity * cuPythonInit() * if __cuCtxGetExecAffinity == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetExecAffinity" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3199 * with gil: * raise RuntimeError('Function "cuCtxGetExecAffinity" not found') * err = ( __cuCtxGetExecAffinity)(pExecAffinity, typename) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUexecAffinityParam *, CUexecAffinityType))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetExecAffinity)(__pyx_v_pExecAffinity, __pyx_v_typename); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3199, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3200 * raise RuntimeError('Function "cuCtxGetExecAffinity" not found') * err = ( __cuCtxGetExecAffinity)(pExecAffinity, typename) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxRecordEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3193 * return err * * cdef CUresult _cuCtxGetExecAffinity(CUexecAffinityParam* pExecAffinity, CUexecAffinityType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetExecAffinity * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetExecAffinity", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3202 * return err * * cdef CUresult _cuCtxRecordEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxRecordEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxRecordEvent(CUcontext __pyx_v_hCtx, CUevent __pyx_v_hEvent) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxRecordEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3204 * cdef CUresult _cuCtxRecordEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxRecordEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxRecordEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3204, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3205 * global __cuCtxRecordEvent * cuPythonInit() * if __cuCtxRecordEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxRecordEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxRecordEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3206 * cuPythonInit() * if __cuCtxRecordEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxRecordEvent" not found') * err = ( __cuCtxRecordEvent)(hCtx, hEvent) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3207 * if __cuCtxRecordEvent == NULL: * with gil: * raise RuntimeError('Function "cuCtxRecordEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxRecordEvent)(hCtx, hEvent) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxRecordEvent_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3207, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3207, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3206 * cuPythonInit() * if __cuCtxRecordEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxRecordEvent" not found') * err = ( __cuCtxRecordEvent)(hCtx, hEvent) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3205 * global __cuCtxRecordEvent * cuPythonInit() * if __cuCtxRecordEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxRecordEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3208 * with gil: * raise RuntimeError('Function "cuCtxRecordEvent" not found') * err = ( __cuCtxRecordEvent)(hCtx, hEvent) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxRecordEvent)(__pyx_v_hCtx, __pyx_v_hEvent); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3208, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3209 * raise RuntimeError('Function "cuCtxRecordEvent" not found') * err = ( __cuCtxRecordEvent)(hCtx, hEvent) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxWaitEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3202 * return err * * cdef CUresult _cuCtxRecordEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxRecordEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxRecordEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3211 * return err * * cdef CUresult _cuCtxWaitEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxWaitEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxWaitEvent(CUcontext __pyx_v_hCtx, CUevent __pyx_v_hEvent) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxWaitEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3213 * cdef CUresult _cuCtxWaitEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxWaitEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxWaitEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3213, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3214 * global __cuCtxWaitEvent * cuPythonInit() * if __cuCtxWaitEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxWaitEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxWaitEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3215 * cuPythonInit() * if __cuCtxWaitEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxWaitEvent" not found') * err = ( __cuCtxWaitEvent)(hCtx, hEvent) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3216 * if __cuCtxWaitEvent == NULL: * with gil: * raise RuntimeError('Function "cuCtxWaitEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxWaitEvent)(hCtx, hEvent) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxWaitEvent_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3216, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3216, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3215 * cuPythonInit() * if __cuCtxWaitEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxWaitEvent" not found') * err = ( __cuCtxWaitEvent)(hCtx, hEvent) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3214 * global __cuCtxWaitEvent * cuPythonInit() * if __cuCtxWaitEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxWaitEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3217 * with gil: * raise RuntimeError('Function "cuCtxWaitEvent" not found') * err = ( __cuCtxWaitEvent)(hCtx, hEvent) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxWaitEvent)(__pyx_v_hCtx, __pyx_v_hEvent); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3217, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3218 * raise RuntimeError('Function "cuCtxWaitEvent" not found') * err = ( __cuCtxWaitEvent)(hCtx, hEvent) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxAttach(CUcontext* pctx, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3211 * return err * * cdef CUresult _cuCtxWaitEvent(CUcontext hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxWaitEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxWaitEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3220 * return err * * cdef CUresult _cuCtxAttach(CUcontext* pctx, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxAttach * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxAttach(CUcontext *__pyx_v_pctx, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxAttach", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3222 * cdef CUresult _cuCtxAttach(CUcontext* pctx, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxAttach * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxAttach == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3222, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3223 * global __cuCtxAttach * cuPythonInit() * if __cuCtxAttach == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxAttach" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxAttach == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3224 * cuPythonInit() * if __cuCtxAttach == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxAttach" not found') * err = ( __cuCtxAttach)(pctx, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3225 * if __cuCtxAttach == NULL: * with gil: * raise RuntimeError('Function "cuCtxAttach" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxAttach)(pctx, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxAttach_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3225, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3225, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3224 * cuPythonInit() * if __cuCtxAttach == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxAttach" not found') * err = ( __cuCtxAttach)(pctx, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3223 * global __cuCtxAttach * cuPythonInit() * if __cuCtxAttach == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxAttach" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3226 * with gil: * raise RuntimeError('Function "cuCtxAttach" not found') * err = ( __cuCtxAttach)(pctx, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxAttach)(__pyx_v_pctx, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3226, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3227 * raise RuntimeError('Function "cuCtxAttach" not found') * err = ( __cuCtxAttach)(pctx, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxDetach(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3220 * return err * * cdef CUresult _cuCtxAttach(CUcontext* pctx, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxAttach * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxAttach", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3229 * return err * * cdef CUresult _cuCtxDetach(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxDetach * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxDetach(CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxDetach", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3231 * cdef CUresult _cuCtxDetach(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxDetach * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxDetach == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3231, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3232 * global __cuCtxDetach * cuPythonInit() * if __cuCtxDetach == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxDetach" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDetach == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3233 * cuPythonInit() * if __cuCtxDetach == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxDetach" not found') * err = ( __cuCtxDetach)(ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3234 * if __cuCtxDetach == NULL: * with gil: * raise RuntimeError('Function "cuCtxDetach" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxDetach)(ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxDetach_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3234, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3234, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3233 * cuPythonInit() * if __cuCtxDetach == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxDetach" not found') * err = ( __cuCtxDetach)(ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3232 * global __cuCtxDetach * cuPythonInit() * if __cuCtxDetach == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxDetach" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3235 * with gil: * raise RuntimeError('Function "cuCtxDetach" not found') * err = ( __cuCtxDetach)(ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDetach)(__pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3235, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3236 * raise RuntimeError('Function "cuCtxDetach" not found') * err = ( __cuCtxDetach)(ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetSharedMemConfig(CUsharedconfig* pConfig) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3229 * return err * * cdef CUresult _cuCtxDetach(CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxDetach * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxDetach", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3238 * return err * * cdef CUresult _cuCtxGetSharedMemConfig(CUsharedconfig* pConfig) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetSharedMemConfig * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetSharedMemConfig(CUsharedconfig *__pyx_v_pConfig) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetSharedMemConfig", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3240 * cdef CUresult _cuCtxGetSharedMemConfig(CUsharedconfig* pConfig) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetSharedMemConfig * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetSharedMemConfig == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3240, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3241 * global __cuCtxGetSharedMemConfig * cuPythonInit() * if __cuCtxGetSharedMemConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetSharedMemConfig" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetSharedMemConfig == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3242 * cuPythonInit() * if __cuCtxGetSharedMemConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetSharedMemConfig" not found') * err = ( __cuCtxGetSharedMemConfig)(pConfig) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3243 * if __cuCtxGetSharedMemConfig == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetSharedMemConfig" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetSharedMemConfig)(pConfig) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetSharedMemConfig}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3243, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3243, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3242 * cuPythonInit() * if __cuCtxGetSharedMemConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetSharedMemConfig" not found') * err = ( __cuCtxGetSharedMemConfig)(pConfig) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3241 * global __cuCtxGetSharedMemConfig * cuPythonInit() * if __cuCtxGetSharedMemConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetSharedMemConfig" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3244 * with gil: * raise RuntimeError('Function "cuCtxGetSharedMemConfig" not found') * err = ( __cuCtxGetSharedMemConfig)(pConfig) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUsharedconfig *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetSharedMemConfig)(__pyx_v_pConfig); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3244, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3245 * raise RuntimeError('Function "cuCtxGetSharedMemConfig" not found') * err = ( __cuCtxGetSharedMemConfig)(pConfig) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxSetSharedMemConfig(CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3238 * return err * * cdef CUresult _cuCtxGetSharedMemConfig(CUsharedconfig* pConfig) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetSharedMemConfig * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetSharedMemConfig", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3247 * return err * * cdef CUresult _cuCtxSetSharedMemConfig(CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetSharedMemConfig * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetSharedMemConfig(CUsharedconfig __pyx_v_config) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxSetSharedMemConfig", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3249 * cdef CUresult _cuCtxSetSharedMemConfig(CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxSetSharedMemConfig * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxSetSharedMemConfig == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3249, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3250 * global __cuCtxSetSharedMemConfig * cuPythonInit() * if __cuCtxSetSharedMemConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetSharedMemConfig" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetSharedMemConfig == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3251 * cuPythonInit() * if __cuCtxSetSharedMemConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetSharedMemConfig" not found') * err = ( __cuCtxSetSharedMemConfig)(config) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3252 * if __cuCtxSetSharedMemConfig == NULL: * with gil: * raise RuntimeError('Function "cuCtxSetSharedMemConfig" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxSetSharedMemConfig)(config) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxSetSharedMemConfig}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3252, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3252, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3251 * cuPythonInit() * if __cuCtxSetSharedMemConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxSetSharedMemConfig" not found') * err = ( __cuCtxSetSharedMemConfig)(config) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3250 * global __cuCtxSetSharedMemConfig * cuPythonInit() * if __cuCtxSetSharedMemConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxSetSharedMemConfig" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3253 * with gil: * raise RuntimeError('Function "cuCtxSetSharedMemConfig" not found') * err = ( __cuCtxSetSharedMemConfig)(config) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUsharedconfig))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetSharedMemConfig)(__pyx_v_config); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3253, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3254 * raise RuntimeError('Function "cuCtxSetSharedMemConfig" not found') * err = ( __cuCtxSetSharedMemConfig)(config) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleLoad(CUmodule* module, const char* fname) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3247 * return err * * cdef CUresult _cuCtxSetSharedMemConfig(CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxSetSharedMemConfig * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxSetSharedMemConfig", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3256 * return err * * cdef CUresult _cuModuleLoad(CUmodule* module, const char* fname) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoad * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoad(CUmodule *__pyx_v_module, char const *__pyx_v_fname) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleLoad", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3258 * cdef CUresult _cuModuleLoad(CUmodule* module, const char* fname) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleLoad * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleLoad == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3258, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3259 * global __cuModuleLoad * cuPythonInit() * if __cuModuleLoad == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoad" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoad == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3260 * cuPythonInit() * if __cuModuleLoad == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoad" not found') * err = ( __cuModuleLoad)(module, fname) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3261 * if __cuModuleLoad == NULL: * with gil: * raise RuntimeError('Function "cuModuleLoad" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleLoad)(module, fname) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleLoad_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3261, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3261, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3260 * cuPythonInit() * if __cuModuleLoad == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoad" not found') * err = ( __cuModuleLoad)(module, fname) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3259 * global __cuModuleLoad * cuPythonInit() * if __cuModuleLoad == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoad" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3262 * with gil: * raise RuntimeError('Function "cuModuleLoad" not found') * err = ( __cuModuleLoad)(module, fname) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmodule *, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoad)(__pyx_v_module, __pyx_v_fname); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3262, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3263 * raise RuntimeError('Function "cuModuleLoad" not found') * err = ( __cuModuleLoad)(module, fname) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleLoadData(CUmodule* module, const void* image) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3256 * return err * * cdef CUresult _cuModuleLoad(CUmodule* module, const char* fname) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoad * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleLoad", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3265 * return err * * cdef CUresult _cuModuleLoadData(CUmodule* module, const void* image) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoadData * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoadData(CUmodule *__pyx_v_module, void const *__pyx_v_image) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleLoadData", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3267 * cdef CUresult _cuModuleLoadData(CUmodule* module, const void* image) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleLoadData * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleLoadData == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3267, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3268 * global __cuModuleLoadData * cuPythonInit() * if __cuModuleLoadData == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoadData" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadData == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3269 * cuPythonInit() * if __cuModuleLoadData == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoadData" not found') * err = ( __cuModuleLoadData)(module, image) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3270 * if __cuModuleLoadData == NULL: * with gil: * raise RuntimeError('Function "cuModuleLoadData" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleLoadData)(module, image) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleLoadData_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3270, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3270, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3269 * cuPythonInit() * if __cuModuleLoadData == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoadData" not found') * err = ( __cuModuleLoadData)(module, image) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3268 * global __cuModuleLoadData * cuPythonInit() * if __cuModuleLoadData == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoadData" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3271 * with gil: * raise RuntimeError('Function "cuModuleLoadData" not found') * err = ( __cuModuleLoadData)(module, image) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmodule *, void const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadData)(__pyx_v_module, __pyx_v_image); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3271, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3272 * raise RuntimeError('Function "cuModuleLoadData" not found') * err = ( __cuModuleLoadData)(module, image) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleLoadDataEx(CUmodule* module, const void* image, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3265 * return err * * cdef CUresult _cuModuleLoadData(CUmodule* module, const void* image) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoadData * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleLoadData", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3274 * return err * * cdef CUresult _cuModuleLoadDataEx(CUmodule* module, const void* image, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoadDataEx * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoadDataEx(CUmodule *__pyx_v_module, void const *__pyx_v_image, unsigned int __pyx_v_numOptions, CUjit_option *__pyx_v_options, void **__pyx_v_optionValues) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleLoadDataEx", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3276 * cdef CUresult _cuModuleLoadDataEx(CUmodule* module, const void* image, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleLoadDataEx * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleLoadDataEx == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3276, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3277 * global __cuModuleLoadDataEx * cuPythonInit() * if __cuModuleLoadDataEx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoadDataEx" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadDataEx == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3278 * cuPythonInit() * if __cuModuleLoadDataEx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoadDataEx" not found') * err = ( __cuModuleLoadDataEx)(module, image, numOptions, options, optionValues) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3279 * if __cuModuleLoadDataEx == NULL: * with gil: * raise RuntimeError('Function "cuModuleLoadDataEx" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleLoadDataEx)(module, image, numOptions, options, optionValues) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleLoadDataEx_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3279, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3279, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3278 * cuPythonInit() * if __cuModuleLoadDataEx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoadDataEx" not found') * err = ( __cuModuleLoadDataEx)(module, image, numOptions, options, optionValues) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3277 * global __cuModuleLoadDataEx * cuPythonInit() * if __cuModuleLoadDataEx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoadDataEx" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3280 * with gil: * raise RuntimeError('Function "cuModuleLoadDataEx" not found') * err = ( __cuModuleLoadDataEx)(module, image, numOptions, options, optionValues) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmodule *, void const *, unsigned int, CUjit_option *, void **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadDataEx)(__pyx_v_module, __pyx_v_image, __pyx_v_numOptions, __pyx_v_options, __pyx_v_optionValues); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3280, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3281 * raise RuntimeError('Function "cuModuleLoadDataEx" not found') * err = ( __cuModuleLoadDataEx)(module, image, numOptions, options, optionValues) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleLoadFatBinary(CUmodule* module, const void* fatCubin) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3274 * return err * * cdef CUresult _cuModuleLoadDataEx(CUmodule* module, const void* image, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoadDataEx * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleLoadDataEx", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3283 * return err * * cdef CUresult _cuModuleLoadFatBinary(CUmodule* module, const void* fatCubin) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoadFatBinary * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoadFatBinary(CUmodule *__pyx_v_module, void const *__pyx_v_fatCubin) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleLoadFatBinary", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3285 * cdef CUresult _cuModuleLoadFatBinary(CUmodule* module, const void* fatCubin) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleLoadFatBinary * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleLoadFatBinary == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3285, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3286 * global __cuModuleLoadFatBinary * cuPythonInit() * if __cuModuleLoadFatBinary == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoadFatBinary" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadFatBinary == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3287 * cuPythonInit() * if __cuModuleLoadFatBinary == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoadFatBinary" not found') * err = ( __cuModuleLoadFatBinary)(module, fatCubin) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3288 * if __cuModuleLoadFatBinary == NULL: * with gil: * raise RuntimeError('Function "cuModuleLoadFatBinary" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleLoadFatBinary)(module, fatCubin) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleLoadFatBinary_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3288, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3288, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3287 * cuPythonInit() * if __cuModuleLoadFatBinary == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleLoadFatBinary" not found') * err = ( __cuModuleLoadFatBinary)(module, fatCubin) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3286 * global __cuModuleLoadFatBinary * cuPythonInit() * if __cuModuleLoadFatBinary == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleLoadFatBinary" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3289 * with gil: * raise RuntimeError('Function "cuModuleLoadFatBinary" not found') * err = ( __cuModuleLoadFatBinary)(module, fatCubin) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmodule *, void const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadFatBinary)(__pyx_v_module, __pyx_v_fatCubin); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3289, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3290 * raise RuntimeError('Function "cuModuleLoadFatBinary" not found') * err = ( __cuModuleLoadFatBinary)(module, fatCubin) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleUnload(CUmodule hmod) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3283 * return err * * cdef CUresult _cuModuleLoadFatBinary(CUmodule* module, const void* fatCubin) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleLoadFatBinary * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleLoadFatBinary", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3292 * return err * * cdef CUresult _cuModuleUnload(CUmodule hmod) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleUnload * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleUnload(CUmodule __pyx_v_hmod) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleUnload", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3294 * cdef CUresult _cuModuleUnload(CUmodule hmod) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleUnload * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleUnload == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3294, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3295 * global __cuModuleUnload * cuPythonInit() * if __cuModuleUnload == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleUnload" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleUnload == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3296 * cuPythonInit() * if __cuModuleUnload == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleUnload" not found') * err = ( __cuModuleUnload)(hmod) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3297 * if __cuModuleUnload == NULL: * with gil: * raise RuntimeError('Function "cuModuleUnload" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleUnload)(hmod) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleUnload_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3297, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3297, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3296 * cuPythonInit() * if __cuModuleUnload == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleUnload" not found') * err = ( __cuModuleUnload)(hmod) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3295 * global __cuModuleUnload * cuPythonInit() * if __cuModuleUnload == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleUnload" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3298 * with gil: * raise RuntimeError('Function "cuModuleUnload" not found') * err = ( __cuModuleUnload)(hmod) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmodule))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleUnload)(__pyx_v_hmod); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3298, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3299 * raise RuntimeError('Function "cuModuleUnload" not found') * err = ( __cuModuleUnload)(hmod) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleGetLoadingMode(CUmoduleLoadingMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3292 * return err * * cdef CUresult _cuModuleUnload(CUmodule hmod) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleUnload * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleUnload", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3301 * return err * * cdef CUresult _cuModuleGetLoadingMode(CUmoduleLoadingMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetLoadingMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetLoadingMode(CUmoduleLoadingMode *__pyx_v_mode) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleGetLoadingMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3303 * cdef CUresult _cuModuleGetLoadingMode(CUmoduleLoadingMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleGetLoadingMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleGetLoadingMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3303, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3304 * global __cuModuleGetLoadingMode * cuPythonInit() * if __cuModuleGetLoadingMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetLoadingMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetLoadingMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3305 * cuPythonInit() * if __cuModuleGetLoadingMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetLoadingMode" not found') * err = ( __cuModuleGetLoadingMode)(mode) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3306 * if __cuModuleGetLoadingMode == NULL: * with gil: * raise RuntimeError('Function "cuModuleGetLoadingMode" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleGetLoadingMode)(mode) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleGetLoadingMode}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3306, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3306, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3305 * cuPythonInit() * if __cuModuleGetLoadingMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetLoadingMode" not found') * err = ( __cuModuleGetLoadingMode)(mode) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3304 * global __cuModuleGetLoadingMode * cuPythonInit() * if __cuModuleGetLoadingMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetLoadingMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3307 * with gil: * raise RuntimeError('Function "cuModuleGetLoadingMode" not found') * err = ( __cuModuleGetLoadingMode)(mode) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmoduleLoadingMode *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetLoadingMode)(__pyx_v_mode); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3307, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3308 * raise RuntimeError('Function "cuModuleGetLoadingMode" not found') * err = ( __cuModuleGetLoadingMode)(mode) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleGetFunction(CUfunction* hfunc, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3301 * return err * * cdef CUresult _cuModuleGetLoadingMode(CUmoduleLoadingMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetLoadingMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleGetLoadingMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3310 * return err * * cdef CUresult _cuModuleGetFunction(CUfunction* hfunc, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetFunction * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetFunction(CUfunction *__pyx_v_hfunc, CUmodule __pyx_v_hmod, char const *__pyx_v_name) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleGetFunction", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3312 * cdef CUresult _cuModuleGetFunction(CUfunction* hfunc, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleGetFunction * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleGetFunction == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3312, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3313 * global __cuModuleGetFunction * cuPythonInit() * if __cuModuleGetFunction == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetFunction" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunction == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3314 * cuPythonInit() * if __cuModuleGetFunction == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetFunction" not found') * err = ( __cuModuleGetFunction)(hfunc, hmod, name) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3315 * if __cuModuleGetFunction == NULL: * with gil: * raise RuntimeError('Function "cuModuleGetFunction" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleGetFunction)(hfunc, hmod, name) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleGetFunction_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3315, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3315, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3314 * cuPythonInit() * if __cuModuleGetFunction == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetFunction" not found') * err = ( __cuModuleGetFunction)(hfunc, hmod, name) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3313 * global __cuModuleGetFunction * cuPythonInit() * if __cuModuleGetFunction == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetFunction" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3316 * with gil: * raise RuntimeError('Function "cuModuleGetFunction" not found') * err = ( __cuModuleGetFunction)(hfunc, hmod, name) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction *, CUmodule, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunction)(__pyx_v_hfunc, __pyx_v_hmod, __pyx_v_name); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3316, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3317 * raise RuntimeError('Function "cuModuleGetFunction" not found') * err = ( __cuModuleGetFunction)(hfunc, hmod, name) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleGetFunctionCount(unsigned int* count, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3310 * return err * * cdef CUresult _cuModuleGetFunction(CUfunction* hfunc, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetFunction * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleGetFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3319 * return err * * cdef CUresult _cuModuleGetFunctionCount(unsigned int* count, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetFunctionCount * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetFunctionCount(unsigned int *__pyx_v_count, CUmodule __pyx_v_mod) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleGetFunctionCount", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3321 * cdef CUresult _cuModuleGetFunctionCount(unsigned int* count, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleGetFunctionCount * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleGetFunctionCount == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3321, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3322 * global __cuModuleGetFunctionCount * cuPythonInit() * if __cuModuleGetFunctionCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetFunctionCount" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunctionCount == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3323 * cuPythonInit() * if __cuModuleGetFunctionCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetFunctionCount" not found') * err = ( __cuModuleGetFunctionCount)(count, mod) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3324 * if __cuModuleGetFunctionCount == NULL: * with gil: * raise RuntimeError('Function "cuModuleGetFunctionCount" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleGetFunctionCount)(count, mod) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleGetFunctionCoun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3324, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3324, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3323 * cuPythonInit() * if __cuModuleGetFunctionCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetFunctionCount" not found') * err = ( __cuModuleGetFunctionCount)(count, mod) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3322 * global __cuModuleGetFunctionCount * cuPythonInit() * if __cuModuleGetFunctionCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetFunctionCount" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3325 * with gil: * raise RuntimeError('Function "cuModuleGetFunctionCount" not found') * err = ( __cuModuleGetFunctionCount)(count, mod) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int *, CUmodule))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunctionCount)(__pyx_v_count, __pyx_v_mod); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3325, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3326 * raise RuntimeError('Function "cuModuleGetFunctionCount" not found') * err = ( __cuModuleGetFunctionCount)(count, mod) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleEnumerateFunctions(CUfunction* functions, unsigned int numFunctions, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3319 * return err * * cdef CUresult _cuModuleGetFunctionCount(unsigned int* count, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetFunctionCount * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleGetFunctionCount", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3328 * return err * * cdef CUresult _cuModuleEnumerateFunctions(CUfunction* functions, unsigned int numFunctions, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleEnumerateFunctions * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleEnumerateFunctions(CUfunction *__pyx_v_functions, unsigned int __pyx_v_numFunctions, CUmodule __pyx_v_mod) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleEnumerateFunctions", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3330 * cdef CUresult _cuModuleEnumerateFunctions(CUfunction* functions, unsigned int numFunctions, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleEnumerateFunctions * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleEnumerateFunctions == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3330, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3331 * global __cuModuleEnumerateFunctions * cuPythonInit() * if __cuModuleEnumerateFunctions == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleEnumerateFunctions" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleEnumerateFunctions == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3332 * cuPythonInit() * if __cuModuleEnumerateFunctions == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleEnumerateFunctions" not found') * err = ( __cuModuleEnumerateFunctions)(functions, numFunctions, mod) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3333 * if __cuModuleEnumerateFunctions == NULL: * with gil: * raise RuntimeError('Function "cuModuleEnumerateFunctions" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleEnumerateFunctions)(functions, numFunctions, mod) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleEnumerateFuncti}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3333, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3333, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3332 * cuPythonInit() * if __cuModuleEnumerateFunctions == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleEnumerateFunctions" not found') * err = ( __cuModuleEnumerateFunctions)(functions, numFunctions, mod) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3331 * global __cuModuleEnumerateFunctions * cuPythonInit() * if __cuModuleEnumerateFunctions == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleEnumerateFunctions" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3334 * with gil: * raise RuntimeError('Function "cuModuleEnumerateFunctions" not found') * err = ( __cuModuleEnumerateFunctions)(functions, numFunctions, mod) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction *, unsigned int, CUmodule))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleEnumerateFunctions)(__pyx_v_functions, __pyx_v_numFunctions, __pyx_v_mod); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3334, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3335 * raise RuntimeError('Function "cuModuleEnumerateFunctions" not found') * err = ( __cuModuleEnumerateFunctions)(functions, numFunctions, mod) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleGetGlobal_v2(CUdeviceptr* dptr, size_t* numbytes, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3328 * return err * * cdef CUresult _cuModuleEnumerateFunctions(CUfunction* functions, unsigned int numFunctions, CUmodule mod) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleEnumerateFunctions * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleEnumerateFunctions", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3337 * return err * * cdef CUresult _cuModuleGetGlobal_v2(CUdeviceptr* dptr, size_t* numbytes, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetGlobal_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetGlobal_v2(CUdeviceptr *__pyx_v_dptr, size_t *__pyx_v_numbytes, CUmodule __pyx_v_hmod, char const *__pyx_v_name) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleGetGlobal_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3339 * cdef CUresult _cuModuleGetGlobal_v2(CUdeviceptr* dptr, size_t* numbytes, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleGetGlobal_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleGetGlobal_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3339, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3340 * global __cuModuleGetGlobal_v2 * cuPythonInit() * if __cuModuleGetGlobal_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetGlobal_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetGlobal_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3341 * cuPythonInit() * if __cuModuleGetGlobal_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetGlobal_v2" not found') * err = ( __cuModuleGetGlobal_v2)(dptr, numbytes, hmod, name) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3342 * if __cuModuleGetGlobal_v2 == NULL: * with gil: * raise RuntimeError('Function "cuModuleGetGlobal_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleGetGlobal_v2)(dptr, numbytes, hmod, name) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleGetGlobal_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3342, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3342, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3341 * cuPythonInit() * if __cuModuleGetGlobal_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetGlobal_v2" not found') * err = ( __cuModuleGetGlobal_v2)(dptr, numbytes, hmod, name) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3340 * global __cuModuleGetGlobal_v2 * cuPythonInit() * if __cuModuleGetGlobal_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetGlobal_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3343 * with gil: * raise RuntimeError('Function "cuModuleGetGlobal_v2" not found') * err = ( __cuModuleGetGlobal_v2)(dptr, numbytes, hmod, name) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t *, CUmodule, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetGlobal_v2)(__pyx_v_dptr, __pyx_v_numbytes, __pyx_v_hmod, __pyx_v_name); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3343, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3344 * raise RuntimeError('Function "cuModuleGetGlobal_v2" not found') * err = ( __cuModuleGetGlobal_v2)(dptr, numbytes, hmod, name) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLinkCreate_v2(unsigned int numOptions, CUjit_option* options, void** optionValues, CUlinkState* stateOut) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3337 * return err * * cdef CUresult _cuModuleGetGlobal_v2(CUdeviceptr* dptr, size_t* numbytes, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetGlobal_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleGetGlobal_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3346 * return err * * cdef CUresult _cuLinkCreate_v2(unsigned int numOptions, CUjit_option* options, void** optionValues, CUlinkState* stateOut) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkCreate_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkCreate_v2(unsigned int __pyx_v_numOptions, CUjit_option *__pyx_v_options, void **__pyx_v_optionValues, CUlinkState *__pyx_v_stateOut) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLinkCreate_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3348 * cdef CUresult _cuLinkCreate_v2(unsigned int numOptions, CUjit_option* options, void** optionValues, CUlinkState* stateOut) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLinkCreate_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLinkCreate_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3348, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3349 * global __cuLinkCreate_v2 * cuPythonInit() * if __cuLinkCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkCreate_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkCreate_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3350 * cuPythonInit() * if __cuLinkCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkCreate_v2" not found') * err = ( __cuLinkCreate_v2)(numOptions, options, optionValues, stateOut) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3351 * if __cuLinkCreate_v2 == NULL: * with gil: * raise RuntimeError('Function "cuLinkCreate_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuLinkCreate_v2)(numOptions, options, optionValues, stateOut) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLinkCreate_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3351, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3351, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3350 * cuPythonInit() * if __cuLinkCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkCreate_v2" not found') * err = ( __cuLinkCreate_v2)(numOptions, options, optionValues, stateOut) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3349 * global __cuLinkCreate_v2 * cuPythonInit() * if __cuLinkCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkCreate_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3352 * with gil: * raise RuntimeError('Function "cuLinkCreate_v2" not found') * err = ( __cuLinkCreate_v2)(numOptions, options, optionValues, stateOut) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int, CUjit_option *, void **, CUlinkState *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkCreate_v2)(__pyx_v_numOptions, __pyx_v_options, __pyx_v_optionValues, __pyx_v_stateOut); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3352, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3353 * raise RuntimeError('Function "cuLinkCreate_v2" not found') * err = ( __cuLinkCreate_v2)(numOptions, options, optionValues, stateOut) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLinkAddData_v2(CUlinkState state, CUjitInputType typename, void* data, size_t size, const char* name, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3346 * return err * * cdef CUresult _cuLinkCreate_v2(unsigned int numOptions, CUjit_option* options, void** optionValues, CUlinkState* stateOut) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkCreate_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLinkCreate_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3355 * return err * * cdef CUresult _cuLinkAddData_v2(CUlinkState state, CUjitInputType typename, void* data, size_t size, const char* name, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkAddData_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkAddData_v2(CUlinkState __pyx_v_state, CUjitInputType __pyx_v_typename, void *__pyx_v_data, size_t __pyx_v_size, char const *__pyx_v_name, unsigned int __pyx_v_numOptions, CUjit_option *__pyx_v_options, void **__pyx_v_optionValues) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLinkAddData_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3357 * cdef CUresult _cuLinkAddData_v2(CUlinkState state, CUjitInputType typename, void* data, size_t size, const char* name, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLinkAddData_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLinkAddData_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3357, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3358 * global __cuLinkAddData_v2 * cuPythonInit() * if __cuLinkAddData_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkAddData_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddData_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3359 * cuPythonInit() * if __cuLinkAddData_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkAddData_v2" not found') * err = ( __cuLinkAddData_v2)(state, typename, data, size, name, numOptions, options, optionValues) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3360 * if __cuLinkAddData_v2 == NULL: * with gil: * raise RuntimeError('Function "cuLinkAddData_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuLinkAddData_v2)(state, typename, data, size, name, numOptions, options, optionValues) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLinkAddData_v2_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3360, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3360, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3359 * cuPythonInit() * if __cuLinkAddData_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkAddData_v2" not found') * err = ( __cuLinkAddData_v2)(state, typename, data, size, name, numOptions, options, optionValues) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3358 * global __cuLinkAddData_v2 * cuPythonInit() * if __cuLinkAddData_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkAddData_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3361 * with gil: * raise RuntimeError('Function "cuLinkAddData_v2" not found') * err = ( __cuLinkAddData_v2)(state, typename, data, size, name, numOptions, options, optionValues) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlinkState, CUjitInputType, void *, size_t, char const *, unsigned int, CUjit_option *, void **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddData_v2)(__pyx_v_state, __pyx_v_typename, __pyx_v_data, __pyx_v_size, __pyx_v_name, __pyx_v_numOptions, __pyx_v_options, __pyx_v_optionValues); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3361, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3362 * raise RuntimeError('Function "cuLinkAddData_v2" not found') * err = ( __cuLinkAddData_v2)(state, typename, data, size, name, numOptions, options, optionValues) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLinkAddFile_v2(CUlinkState state, CUjitInputType typename, const char* path, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3355 * return err * * cdef CUresult _cuLinkAddData_v2(CUlinkState state, CUjitInputType typename, void* data, size_t size, const char* name, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkAddData_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLinkAddData_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3364 * return err * * cdef CUresult _cuLinkAddFile_v2(CUlinkState state, CUjitInputType typename, const char* path, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkAddFile_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkAddFile_v2(CUlinkState __pyx_v_state, CUjitInputType __pyx_v_typename, char const *__pyx_v_path, unsigned int __pyx_v_numOptions, CUjit_option *__pyx_v_options, void **__pyx_v_optionValues) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLinkAddFile_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3366 * cdef CUresult _cuLinkAddFile_v2(CUlinkState state, CUjitInputType typename, const char* path, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLinkAddFile_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLinkAddFile_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3366, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3367 * global __cuLinkAddFile_v2 * cuPythonInit() * if __cuLinkAddFile_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkAddFile_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddFile_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3368 * cuPythonInit() * if __cuLinkAddFile_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkAddFile_v2" not found') * err = ( __cuLinkAddFile_v2)(state, typename, path, numOptions, options, optionValues) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3369 * if __cuLinkAddFile_v2 == NULL: * with gil: * raise RuntimeError('Function "cuLinkAddFile_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuLinkAddFile_v2)(state, typename, path, numOptions, options, optionValues) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLinkAddFile_v2_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3369, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3369, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3368 * cuPythonInit() * if __cuLinkAddFile_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkAddFile_v2" not found') * err = ( __cuLinkAddFile_v2)(state, typename, path, numOptions, options, optionValues) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3367 * global __cuLinkAddFile_v2 * cuPythonInit() * if __cuLinkAddFile_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkAddFile_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3370 * with gil: * raise RuntimeError('Function "cuLinkAddFile_v2" not found') * err = ( __cuLinkAddFile_v2)(state, typename, path, numOptions, options, optionValues) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlinkState, CUjitInputType, char const *, unsigned int, CUjit_option *, void **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddFile_v2)(__pyx_v_state, __pyx_v_typename, __pyx_v_path, __pyx_v_numOptions, __pyx_v_options, __pyx_v_optionValues); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3370, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3371 * raise RuntimeError('Function "cuLinkAddFile_v2" not found') * err = ( __cuLinkAddFile_v2)(state, typename, path, numOptions, options, optionValues) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLinkComplete(CUlinkState state, void** cubinOut, size_t* sizeOut) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3364 * return err * * cdef CUresult _cuLinkAddFile_v2(CUlinkState state, CUjitInputType typename, const char* path, unsigned int numOptions, CUjit_option* options, void** optionValues) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkAddFile_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLinkAddFile_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3373 * return err * * cdef CUresult _cuLinkComplete(CUlinkState state, void** cubinOut, size_t* sizeOut) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkComplete * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkComplete(CUlinkState __pyx_v_state, void **__pyx_v_cubinOut, size_t *__pyx_v_sizeOut) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLinkComplete", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3375 * cdef CUresult _cuLinkComplete(CUlinkState state, void** cubinOut, size_t* sizeOut) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLinkComplete * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLinkComplete == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3375, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3376 * global __cuLinkComplete * cuPythonInit() * if __cuLinkComplete == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkComplete" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkComplete == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3377 * cuPythonInit() * if __cuLinkComplete == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkComplete" not found') * err = ( __cuLinkComplete)(state, cubinOut, sizeOut) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3378 * if __cuLinkComplete == NULL: * with gil: * raise RuntimeError('Function "cuLinkComplete" not found') # <<<<<<<<<<<<<< * err = ( __cuLinkComplete)(state, cubinOut, sizeOut) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLinkComplete_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3378, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3378, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3377 * cuPythonInit() * if __cuLinkComplete == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkComplete" not found') * err = ( __cuLinkComplete)(state, cubinOut, sizeOut) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3376 * global __cuLinkComplete * cuPythonInit() * if __cuLinkComplete == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkComplete" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3379 * with gil: * raise RuntimeError('Function "cuLinkComplete" not found') * err = ( __cuLinkComplete)(state, cubinOut, sizeOut) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlinkState, void **, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkComplete)(__pyx_v_state, __pyx_v_cubinOut, __pyx_v_sizeOut); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3379, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3380 * raise RuntimeError('Function "cuLinkComplete" not found') * err = ( __cuLinkComplete)(state, cubinOut, sizeOut) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLinkDestroy(CUlinkState state) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3373 * return err * * cdef CUresult _cuLinkComplete(CUlinkState state, void** cubinOut, size_t* sizeOut) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkComplete * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLinkComplete", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3382 * return err * * cdef CUresult _cuLinkDestroy(CUlinkState state) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkDestroy(CUlinkState __pyx_v_state) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLinkDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3384 * cdef CUresult _cuLinkDestroy(CUlinkState state) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLinkDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLinkDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3384, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3385 * global __cuLinkDestroy * cuPythonInit() * if __cuLinkDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3386 * cuPythonInit() * if __cuLinkDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkDestroy" not found') * err = ( __cuLinkDestroy)(state) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3387 * if __cuLinkDestroy == NULL: * with gil: * raise RuntimeError('Function "cuLinkDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuLinkDestroy)(state) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLinkDestroy_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3387, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3387, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3386 * cuPythonInit() * if __cuLinkDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLinkDestroy" not found') * err = ( __cuLinkDestroy)(state) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3385 * global __cuLinkDestroy * cuPythonInit() * if __cuLinkDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLinkDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3388 * with gil: * raise RuntimeError('Function "cuLinkDestroy" not found') * err = ( __cuLinkDestroy)(state) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlinkState))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkDestroy)(__pyx_v_state); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3388, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3389 * raise RuntimeError('Function "cuLinkDestroy" not found') * err = ( __cuLinkDestroy)(state) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleGetTexRef(CUtexref* pTexRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3382 * return err * * cdef CUresult _cuLinkDestroy(CUlinkState state) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLinkDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLinkDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3391 * return err * * cdef CUresult _cuModuleGetTexRef(CUtexref* pTexRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetTexRef * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetTexRef(CUtexref *__pyx_v_pTexRef, CUmodule __pyx_v_hmod, char const *__pyx_v_name) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleGetTexRef", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3393 * cdef CUresult _cuModuleGetTexRef(CUtexref* pTexRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleGetTexRef * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleGetTexRef == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3393, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3394 * global __cuModuleGetTexRef * cuPythonInit() * if __cuModuleGetTexRef == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetTexRef" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetTexRef == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3395 * cuPythonInit() * if __cuModuleGetTexRef == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetTexRef" not found') * err = ( __cuModuleGetTexRef)(pTexRef, hmod, name) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3396 * if __cuModuleGetTexRef == NULL: * with gil: * raise RuntimeError('Function "cuModuleGetTexRef" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleGetTexRef)(pTexRef, hmod, name) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleGetTexRef_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3396, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3396, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3395 * cuPythonInit() * if __cuModuleGetTexRef == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetTexRef" not found') * err = ( __cuModuleGetTexRef)(pTexRef, hmod, name) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3394 * global __cuModuleGetTexRef * cuPythonInit() * if __cuModuleGetTexRef == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetTexRef" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3397 * with gil: * raise RuntimeError('Function "cuModuleGetTexRef" not found') * err = ( __cuModuleGetTexRef)(pTexRef, hmod, name) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref *, CUmodule, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetTexRef)(__pyx_v_pTexRef, __pyx_v_hmod, __pyx_v_name); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3397, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3398 * raise RuntimeError('Function "cuModuleGetTexRef" not found') * err = ( __cuModuleGetTexRef)(pTexRef, hmod, name) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuModuleGetSurfRef(CUsurfref* pSurfRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3391 * return err * * cdef CUresult _cuModuleGetTexRef(CUtexref* pTexRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetTexRef * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleGetTexRef", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3400 * return err * * cdef CUresult _cuModuleGetSurfRef(CUsurfref* pSurfRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetSurfRef * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetSurfRef(CUsurfref *__pyx_v_pSurfRef, CUmodule __pyx_v_hmod, char const *__pyx_v_name) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuModuleGetSurfRef", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3402 * cdef CUresult _cuModuleGetSurfRef(CUsurfref* pSurfRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuModuleGetSurfRef * cuPythonInit() # <<<<<<<<<<<<<< * if __cuModuleGetSurfRef == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3402, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3403 * global __cuModuleGetSurfRef * cuPythonInit() * if __cuModuleGetSurfRef == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetSurfRef" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetSurfRef == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3404 * cuPythonInit() * if __cuModuleGetSurfRef == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetSurfRef" not found') * err = ( __cuModuleGetSurfRef)(pSurfRef, hmod, name) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3405 * if __cuModuleGetSurfRef == NULL: * with gil: * raise RuntimeError('Function "cuModuleGetSurfRef" not found') # <<<<<<<<<<<<<< * err = ( __cuModuleGetSurfRef)(pSurfRef, hmod, name) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuModuleGetSurfRef_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3405, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3405, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3404 * cuPythonInit() * if __cuModuleGetSurfRef == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuModuleGetSurfRef" not found') * err = ( __cuModuleGetSurfRef)(pSurfRef, hmod, name) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3403 * global __cuModuleGetSurfRef * cuPythonInit() * if __cuModuleGetSurfRef == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuModuleGetSurfRef" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3406 * with gil: * raise RuntimeError('Function "cuModuleGetSurfRef" not found') * err = ( __cuModuleGetSurfRef)(pSurfRef, hmod, name) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUsurfref *, CUmodule, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetSurfRef)(__pyx_v_pSurfRef, __pyx_v_hmod, __pyx_v_name); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3406, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3407 * raise RuntimeError('Function "cuModuleGetSurfRef" not found') * err = ( __cuModuleGetSurfRef)(pSurfRef, hmod, name) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryLoadData(CUlibrary* library, const void* code, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3400 * return err * * cdef CUresult _cuModuleGetSurfRef(CUsurfref* pSurfRef, CUmodule hmod, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuModuleGetSurfRef * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuModuleGetSurfRef", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3409 * return err * * cdef CUresult _cuLibraryLoadData(CUlibrary* library, const void* code, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryLoadData * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryLoadData(CUlibrary *__pyx_v_library, void const *__pyx_v_code, CUjit_option *__pyx_v_jitOptions, void **__pyx_v_jitOptionsValues, unsigned int __pyx_v_numJitOptions, CUlibraryOption *__pyx_v_libraryOptions, void **__pyx_v_libraryOptionValues, unsigned int __pyx_v_numLibraryOptions) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryLoadData", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3411 * cdef CUresult _cuLibraryLoadData(CUlibrary* library, const void* code, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryLoadData * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryLoadData == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3411, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3412 * global __cuLibraryLoadData * cuPythonInit() * if __cuLibraryLoadData == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryLoadData" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadData == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3413 * cuPythonInit() * if __cuLibraryLoadData == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryLoadData" not found') * err = ( __cuLibraryLoadData)(library, code, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3414 * if __cuLibraryLoadData == NULL: * with gil: * raise RuntimeError('Function "cuLibraryLoadData" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryLoadData)(library, code, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryLoadData_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3414, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3414, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3413 * cuPythonInit() * if __cuLibraryLoadData == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryLoadData" not found') * err = ( __cuLibraryLoadData)(library, code, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3412 * global __cuLibraryLoadData * cuPythonInit() * if __cuLibraryLoadData == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryLoadData" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3415 * with gil: * raise RuntimeError('Function "cuLibraryLoadData" not found') * err = ( __cuLibraryLoadData)(library, code, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlibrary *, void const *, CUjit_option *, void **, unsigned int, CUlibraryOption *, void **, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadData)(__pyx_v_library, __pyx_v_code, __pyx_v_jitOptions, __pyx_v_jitOptionsValues, __pyx_v_numJitOptions, __pyx_v_libraryOptions, __pyx_v_libraryOptionValues, __pyx_v_numLibraryOptions); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3415, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3416 * raise RuntimeError('Function "cuLibraryLoadData" not found') * err = ( __cuLibraryLoadData)(library, code, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryLoadFromFile(CUlibrary* library, const char* fileName, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3409 * return err * * cdef CUresult _cuLibraryLoadData(CUlibrary* library, const void* code, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryLoadData * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryLoadData", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3418 * return err * * cdef CUresult _cuLibraryLoadFromFile(CUlibrary* library, const char* fileName, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryLoadFromFile * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryLoadFromFile(CUlibrary *__pyx_v_library, char const *__pyx_v_fileName, CUjit_option *__pyx_v_jitOptions, void **__pyx_v_jitOptionsValues, unsigned int __pyx_v_numJitOptions, CUlibraryOption *__pyx_v_libraryOptions, void **__pyx_v_libraryOptionValues, unsigned int __pyx_v_numLibraryOptions) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryLoadFromFile", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3420 * cdef CUresult _cuLibraryLoadFromFile(CUlibrary* library, const char* fileName, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryLoadFromFile * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryLoadFromFile == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3420, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3421 * global __cuLibraryLoadFromFile * cuPythonInit() * if __cuLibraryLoadFromFile == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryLoadFromFile" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadFromFile == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3422 * cuPythonInit() * if __cuLibraryLoadFromFile == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryLoadFromFile" not found') * err = ( __cuLibraryLoadFromFile)(library, fileName, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3423 * if __cuLibraryLoadFromFile == NULL: * with gil: * raise RuntimeError('Function "cuLibraryLoadFromFile" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryLoadFromFile)(library, fileName, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryLoadFromFile_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3423, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3423, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3422 * cuPythonInit() * if __cuLibraryLoadFromFile == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryLoadFromFile" not found') * err = ( __cuLibraryLoadFromFile)(library, fileName, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3421 * global __cuLibraryLoadFromFile * cuPythonInit() * if __cuLibraryLoadFromFile == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryLoadFromFile" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3424 * with gil: * raise RuntimeError('Function "cuLibraryLoadFromFile" not found') * err = ( __cuLibraryLoadFromFile)(library, fileName, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlibrary *, char const *, CUjit_option *, void **, unsigned int, CUlibraryOption *, void **, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadFromFile)(__pyx_v_library, __pyx_v_fileName, __pyx_v_jitOptions, __pyx_v_jitOptionsValues, __pyx_v_numJitOptions, __pyx_v_libraryOptions, __pyx_v_libraryOptionValues, __pyx_v_numLibraryOptions); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3424, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3425 * raise RuntimeError('Function "cuLibraryLoadFromFile" not found') * err = ( __cuLibraryLoadFromFile)(library, fileName, jitOptions, jitOptionsValues, numJitOptions, libraryOptions, libraryOptionValues, numLibraryOptions) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryUnload(CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3418 * return err * * cdef CUresult _cuLibraryLoadFromFile(CUlibrary* library, const char* fileName, CUjit_option* jitOptions, void** jitOptionsValues, unsigned int numJitOptions, CUlibraryOption* libraryOptions, void** libraryOptionValues, unsigned int numLibraryOptions) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryLoadFromFile * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryLoadFromFile", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3427 * return err * * cdef CUresult _cuLibraryUnload(CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryUnload * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryUnload(CUlibrary __pyx_v_library) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryUnload", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3429 * cdef CUresult _cuLibraryUnload(CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryUnload * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryUnload == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3429, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3430 * global __cuLibraryUnload * cuPythonInit() * if __cuLibraryUnload == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryUnload" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryUnload == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3431 * cuPythonInit() * if __cuLibraryUnload == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryUnload" not found') * err = ( __cuLibraryUnload)(library) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3432 * if __cuLibraryUnload == NULL: * with gil: * raise RuntimeError('Function "cuLibraryUnload" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryUnload)(library) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryUnload_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3432, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3432, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3431 * cuPythonInit() * if __cuLibraryUnload == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryUnload" not found') * err = ( __cuLibraryUnload)(library) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3430 * global __cuLibraryUnload * cuPythonInit() * if __cuLibraryUnload == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryUnload" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3433 * with gil: * raise RuntimeError('Function "cuLibraryUnload" not found') * err = ( __cuLibraryUnload)(library) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlibrary))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryUnload)(__pyx_v_library); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3433, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3434 * raise RuntimeError('Function "cuLibraryUnload" not found') * err = ( __cuLibraryUnload)(library) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryGetKernel(CUkernel* pKernel, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3427 * return err * * cdef CUresult _cuLibraryUnload(CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryUnload * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryUnload", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3436 * return err * * cdef CUresult _cuLibraryGetKernel(CUkernel* pKernel, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetKernel * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetKernel(CUkernel *__pyx_v_pKernel, CUlibrary __pyx_v_library, char const *__pyx_v_name) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryGetKernel", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3438 * cdef CUresult _cuLibraryGetKernel(CUkernel* pKernel, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryGetKernel * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryGetKernel == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3438, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3439 * global __cuLibraryGetKernel * cuPythonInit() * if __cuLibraryGetKernel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetKernel" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernel == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3440 * cuPythonInit() * if __cuLibraryGetKernel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetKernel" not found') * err = ( __cuLibraryGetKernel)(pKernel, library, name) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3441 * if __cuLibraryGetKernel == NULL: * with gil: * raise RuntimeError('Function "cuLibraryGetKernel" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryGetKernel)(pKernel, library, name) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryGetKernel_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3441, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3441, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3440 * cuPythonInit() * if __cuLibraryGetKernel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetKernel" not found') * err = ( __cuLibraryGetKernel)(pKernel, library, name) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3439 * global __cuLibraryGetKernel * cuPythonInit() * if __cuLibraryGetKernel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetKernel" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3442 * with gil: * raise RuntimeError('Function "cuLibraryGetKernel" not found') * err = ( __cuLibraryGetKernel)(pKernel, library, name) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUkernel *, CUlibrary, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernel)(__pyx_v_pKernel, __pyx_v_library, __pyx_v_name); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3442, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3443 * raise RuntimeError('Function "cuLibraryGetKernel" not found') * err = ( __cuLibraryGetKernel)(pKernel, library, name) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryGetKernelCount(unsigned int* count, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3436 * return err * * cdef CUresult _cuLibraryGetKernel(CUkernel* pKernel, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetKernel * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryGetKernel", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3445 * return err * * cdef CUresult _cuLibraryGetKernelCount(unsigned int* count, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetKernelCount * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetKernelCount(unsigned int *__pyx_v_count, CUlibrary __pyx_v_lib) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryGetKernelCount", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3447 * cdef CUresult _cuLibraryGetKernelCount(unsigned int* count, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryGetKernelCount * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryGetKernelCount == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3447, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3448 * global __cuLibraryGetKernelCount * cuPythonInit() * if __cuLibraryGetKernelCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetKernelCount" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernelCount == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3449 * cuPythonInit() * if __cuLibraryGetKernelCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetKernelCount" not found') * err = ( __cuLibraryGetKernelCount)(count, lib) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3450 * if __cuLibraryGetKernelCount == NULL: * with gil: * raise RuntimeError('Function "cuLibraryGetKernelCount" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryGetKernelCount)(count, lib) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryGetKernelCount}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3450, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3450, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3449 * cuPythonInit() * if __cuLibraryGetKernelCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetKernelCount" not found') * err = ( __cuLibraryGetKernelCount)(count, lib) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3448 * global __cuLibraryGetKernelCount * cuPythonInit() * if __cuLibraryGetKernelCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetKernelCount" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3451 * with gil: * raise RuntimeError('Function "cuLibraryGetKernelCount" not found') * err = ( __cuLibraryGetKernelCount)(count, lib) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int *, CUlibrary))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernelCount)(__pyx_v_count, __pyx_v_lib); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3451, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3452 * raise RuntimeError('Function "cuLibraryGetKernelCount" not found') * err = ( __cuLibraryGetKernelCount)(count, lib) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryEnumerateKernels(CUkernel* kernels, unsigned int numKernels, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3445 * return err * * cdef CUresult _cuLibraryGetKernelCount(unsigned int* count, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetKernelCount * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryGetKernelCount", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3454 * return err * * cdef CUresult _cuLibraryEnumerateKernels(CUkernel* kernels, unsigned int numKernels, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryEnumerateKernels * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryEnumerateKernels(CUkernel *__pyx_v_kernels, unsigned int __pyx_v_numKernels, CUlibrary __pyx_v_lib) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryEnumerateKernels", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3456 * cdef CUresult _cuLibraryEnumerateKernels(CUkernel* kernels, unsigned int numKernels, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryEnumerateKernels * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryEnumerateKernels == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3456, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3457 * global __cuLibraryEnumerateKernels * cuPythonInit() * if __cuLibraryEnumerateKernels == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryEnumerateKernels" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryEnumerateKernels == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3458 * cuPythonInit() * if __cuLibraryEnumerateKernels == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryEnumerateKernels" not found') * err = ( __cuLibraryEnumerateKernels)(kernels, numKernels, lib) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3459 * if __cuLibraryEnumerateKernels == NULL: * with gil: * raise RuntimeError('Function "cuLibraryEnumerateKernels" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryEnumerateKernels)(kernels, numKernels, lib) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryEnumerateKerne}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3459, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3459, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3458 * cuPythonInit() * if __cuLibraryEnumerateKernels == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryEnumerateKernels" not found') * err = ( __cuLibraryEnumerateKernels)(kernels, numKernels, lib) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3457 * global __cuLibraryEnumerateKernels * cuPythonInit() * if __cuLibraryEnumerateKernels == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryEnumerateKernels" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3460 * with gil: * raise RuntimeError('Function "cuLibraryEnumerateKernels" not found') * err = ( __cuLibraryEnumerateKernels)(kernels, numKernels, lib) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUkernel *, unsigned int, CUlibrary))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryEnumerateKernels)(__pyx_v_kernels, __pyx_v_numKernels, __pyx_v_lib); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3460, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3461 * raise RuntimeError('Function "cuLibraryEnumerateKernels" not found') * err = ( __cuLibraryEnumerateKernels)(kernels, numKernels, lib) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryGetModule(CUmodule* pMod, CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3454 * return err * * cdef CUresult _cuLibraryEnumerateKernels(CUkernel* kernels, unsigned int numKernels, CUlibrary lib) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryEnumerateKernels * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryEnumerateKernels", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3463 * return err * * cdef CUresult _cuLibraryGetModule(CUmodule* pMod, CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetModule * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetModule(CUmodule *__pyx_v_pMod, CUlibrary __pyx_v_library) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryGetModule", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3465 * cdef CUresult _cuLibraryGetModule(CUmodule* pMod, CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryGetModule * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryGetModule == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3465, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3466 * global __cuLibraryGetModule * cuPythonInit() * if __cuLibraryGetModule == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetModule" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetModule == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3467 * cuPythonInit() * if __cuLibraryGetModule == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetModule" not found') * err = ( __cuLibraryGetModule)(pMod, library) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3468 * if __cuLibraryGetModule == NULL: * with gil: * raise RuntimeError('Function "cuLibraryGetModule" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryGetModule)(pMod, library) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryGetModule_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3468, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3468, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3467 * cuPythonInit() * if __cuLibraryGetModule == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetModule" not found') * err = ( __cuLibraryGetModule)(pMod, library) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3466 * global __cuLibraryGetModule * cuPythonInit() * if __cuLibraryGetModule == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetModule" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3469 * with gil: * raise RuntimeError('Function "cuLibraryGetModule" not found') * err = ( __cuLibraryGetModule)(pMod, library) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmodule *, CUlibrary))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetModule)(__pyx_v_pMod, __pyx_v_library); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3469, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3470 * raise RuntimeError('Function "cuLibraryGetModule" not found') * err = ( __cuLibraryGetModule)(pMod, library) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuKernelGetFunction(CUfunction* pFunc, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3463 * return err * * cdef CUresult _cuLibraryGetModule(CUmodule* pMod, CUlibrary library) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetModule * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryGetModule", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3472 * return err * * cdef CUresult _cuKernelGetFunction(CUfunction* pFunc, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetFunction * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetFunction(CUfunction *__pyx_v_pFunc, CUkernel __pyx_v_kernel) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuKernelGetFunction", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3474 * cdef CUresult _cuKernelGetFunction(CUfunction* pFunc, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuKernelGetFunction * cuPythonInit() # <<<<<<<<<<<<<< * if __cuKernelGetFunction == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3474, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3475 * global __cuKernelGetFunction * cuPythonInit() * if __cuKernelGetFunction == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetFunction" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetFunction == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3476 * cuPythonInit() * if __cuKernelGetFunction == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetFunction" not found') * err = ( __cuKernelGetFunction)(pFunc, kernel) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3477 * if __cuKernelGetFunction == NULL: * with gil: * raise RuntimeError('Function "cuKernelGetFunction" not found') # <<<<<<<<<<<<<< * err = ( __cuKernelGetFunction)(pFunc, kernel) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuKernelGetFunction_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3477, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3477, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3476 * cuPythonInit() * if __cuKernelGetFunction == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetFunction" not found') * err = ( __cuKernelGetFunction)(pFunc, kernel) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3475 * global __cuKernelGetFunction * cuPythonInit() * if __cuKernelGetFunction == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetFunction" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3478 * with gil: * raise RuntimeError('Function "cuKernelGetFunction" not found') * err = ( __cuKernelGetFunction)(pFunc, kernel) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction *, CUkernel))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetFunction)(__pyx_v_pFunc, __pyx_v_kernel); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3478, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3479 * raise RuntimeError('Function "cuKernelGetFunction" not found') * err = ( __cuKernelGetFunction)(pFunc, kernel) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuKernelGetLibrary(CUlibrary* pLib, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3472 * return err * * cdef CUresult _cuKernelGetFunction(CUfunction* pFunc, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetFunction * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuKernelGetFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3481 * return err * * cdef CUresult _cuKernelGetLibrary(CUlibrary* pLib, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetLibrary * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetLibrary(CUlibrary *__pyx_v_pLib, CUkernel __pyx_v_kernel) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuKernelGetLibrary", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3483 * cdef CUresult _cuKernelGetLibrary(CUlibrary* pLib, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuKernelGetLibrary * cuPythonInit() # <<<<<<<<<<<<<< * if __cuKernelGetLibrary == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3483, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3484 * global __cuKernelGetLibrary * cuPythonInit() * if __cuKernelGetLibrary == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetLibrary" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetLibrary == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3485 * cuPythonInit() * if __cuKernelGetLibrary == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetLibrary" not found') * err = ( __cuKernelGetLibrary)(pLib, kernel) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3486 * if __cuKernelGetLibrary == NULL: * with gil: * raise RuntimeError('Function "cuKernelGetLibrary" not found') # <<<<<<<<<<<<<< * err = ( __cuKernelGetLibrary)(pLib, kernel) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuKernelGetLibrary_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3486, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3486, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3485 * cuPythonInit() * if __cuKernelGetLibrary == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetLibrary" not found') * err = ( __cuKernelGetLibrary)(pLib, kernel) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3484 * global __cuKernelGetLibrary * cuPythonInit() * if __cuKernelGetLibrary == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetLibrary" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3487 * with gil: * raise RuntimeError('Function "cuKernelGetLibrary" not found') * err = ( __cuKernelGetLibrary)(pLib, kernel) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlibrary *, CUkernel))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetLibrary)(__pyx_v_pLib, __pyx_v_kernel); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3487, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3488 * raise RuntimeError('Function "cuKernelGetLibrary" not found') * err = ( __cuKernelGetLibrary)(pLib, kernel) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryGetGlobal(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3481 * return err * * cdef CUresult _cuKernelGetLibrary(CUlibrary* pLib, CUkernel kernel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetLibrary * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuKernelGetLibrary", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3490 * return err * * cdef CUresult _cuLibraryGetGlobal(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetGlobal * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetGlobal(CUdeviceptr *__pyx_v_dptr, size_t *__pyx_v_numbytes, CUlibrary __pyx_v_library, char const *__pyx_v_name) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryGetGlobal", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3492 * cdef CUresult _cuLibraryGetGlobal(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryGetGlobal * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryGetGlobal == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3492, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3493 * global __cuLibraryGetGlobal * cuPythonInit() * if __cuLibraryGetGlobal == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetGlobal" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetGlobal == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3494 * cuPythonInit() * if __cuLibraryGetGlobal == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetGlobal" not found') * err = ( __cuLibraryGetGlobal)(dptr, numbytes, library, name) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3495 * if __cuLibraryGetGlobal == NULL: * with gil: * raise RuntimeError('Function "cuLibraryGetGlobal" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryGetGlobal)(dptr, numbytes, library, name) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryGetGlobal_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3495, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3495, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3494 * cuPythonInit() * if __cuLibraryGetGlobal == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetGlobal" not found') * err = ( __cuLibraryGetGlobal)(dptr, numbytes, library, name) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3493 * global __cuLibraryGetGlobal * cuPythonInit() * if __cuLibraryGetGlobal == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetGlobal" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3496 * with gil: * raise RuntimeError('Function "cuLibraryGetGlobal" not found') * err = ( __cuLibraryGetGlobal)(dptr, numbytes, library, name) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t *, CUlibrary, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetGlobal)(__pyx_v_dptr, __pyx_v_numbytes, __pyx_v_library, __pyx_v_name); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3496, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3497 * raise RuntimeError('Function "cuLibraryGetGlobal" not found') * err = ( __cuLibraryGetGlobal)(dptr, numbytes, library, name) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryGetManaged(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3490 * return err * * cdef CUresult _cuLibraryGetGlobal(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetGlobal * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryGetGlobal", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3499 * return err * * cdef CUresult _cuLibraryGetManaged(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetManaged * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetManaged(CUdeviceptr *__pyx_v_dptr, size_t *__pyx_v_numbytes, CUlibrary __pyx_v_library, char const *__pyx_v_name) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryGetManaged", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3501 * cdef CUresult _cuLibraryGetManaged(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryGetManaged * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryGetManaged == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3501, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3502 * global __cuLibraryGetManaged * cuPythonInit() * if __cuLibraryGetManaged == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetManaged" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetManaged == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3503 * cuPythonInit() * if __cuLibraryGetManaged == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetManaged" not found') * err = ( __cuLibraryGetManaged)(dptr, numbytes, library, name) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3504 * if __cuLibraryGetManaged == NULL: * with gil: * raise RuntimeError('Function "cuLibraryGetManaged" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryGetManaged)(dptr, numbytes, library, name) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryGetManaged_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3504, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3504, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3503 * cuPythonInit() * if __cuLibraryGetManaged == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetManaged" not found') * err = ( __cuLibraryGetManaged)(dptr, numbytes, library, name) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3502 * global __cuLibraryGetManaged * cuPythonInit() * if __cuLibraryGetManaged == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetManaged" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3505 * with gil: * raise RuntimeError('Function "cuLibraryGetManaged" not found') * err = ( __cuLibraryGetManaged)(dptr, numbytes, library, name) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t *, CUlibrary, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetManaged)(__pyx_v_dptr, __pyx_v_numbytes, __pyx_v_library, __pyx_v_name); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3505, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3506 * raise RuntimeError('Function "cuLibraryGetManaged" not found') * err = ( __cuLibraryGetManaged)(dptr, numbytes, library, name) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLibraryGetUnifiedFunction(void** fptr, CUlibrary library, const char* symbol) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3499 * return err * * cdef CUresult _cuLibraryGetManaged(CUdeviceptr* dptr, size_t* numbytes, CUlibrary library, const char* name) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetManaged * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryGetManaged", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3508 * return err * * cdef CUresult _cuLibraryGetUnifiedFunction(void** fptr, CUlibrary library, const char* symbol) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetUnifiedFunction * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetUnifiedFunction(void **__pyx_v_fptr, CUlibrary __pyx_v_library, char const *__pyx_v_symbol) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLibraryGetUnifiedFunction", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3510 * cdef CUresult _cuLibraryGetUnifiedFunction(void** fptr, CUlibrary library, const char* symbol) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLibraryGetUnifiedFunction * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLibraryGetUnifiedFunction == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3510, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3511 * global __cuLibraryGetUnifiedFunction * cuPythonInit() * if __cuLibraryGetUnifiedFunction == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetUnifiedFunction" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetUnifiedFunction == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3512 * cuPythonInit() * if __cuLibraryGetUnifiedFunction == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetUnifiedFunction" not found') * err = ( __cuLibraryGetUnifiedFunction)(fptr, library, symbol) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3513 * if __cuLibraryGetUnifiedFunction == NULL: * with gil: * raise RuntimeError('Function "cuLibraryGetUnifiedFunction" not found') # <<<<<<<<<<<<<< * err = ( __cuLibraryGetUnifiedFunction)(fptr, library, symbol) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLibraryGetUnifiedFunc}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3513, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3513, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3512 * cuPythonInit() * if __cuLibraryGetUnifiedFunction == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLibraryGetUnifiedFunction" not found') * err = ( __cuLibraryGetUnifiedFunction)(fptr, library, symbol) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3511 * global __cuLibraryGetUnifiedFunction * cuPythonInit() * if __cuLibraryGetUnifiedFunction == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLibraryGetUnifiedFunction" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3514 * with gil: * raise RuntimeError('Function "cuLibraryGetUnifiedFunction" not found') * err = ( __cuLibraryGetUnifiedFunction)(fptr, library, symbol) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void **, CUlibrary, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetUnifiedFunction)(__pyx_v_fptr, __pyx_v_library, __pyx_v_symbol); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3514, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3515 * raise RuntimeError('Function "cuLibraryGetUnifiedFunction" not found') * err = ( __cuLibraryGetUnifiedFunction)(fptr, library, symbol) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuKernelGetAttribute(int* pi, CUfunction_attribute attrib, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3508 * return err * * cdef CUresult _cuLibraryGetUnifiedFunction(void** fptr, CUlibrary library, const char* symbol) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLibraryGetUnifiedFunction * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLibraryGetUnifiedFunction", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3517 * return err * * cdef CUresult _cuKernelGetAttribute(int* pi, CUfunction_attribute attrib, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetAttribute(int *__pyx_v_pi, CUfunction_attribute __pyx_v_attrib, CUkernel __pyx_v_kernel, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuKernelGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3519 * cdef CUresult _cuKernelGetAttribute(int* pi, CUfunction_attribute attrib, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuKernelGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuKernelGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3519, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3520 * global __cuKernelGetAttribute * cuPythonInit() * if __cuKernelGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3521 * cuPythonInit() * if __cuKernelGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetAttribute" not found') * err = ( __cuKernelGetAttribute)(pi, attrib, kernel, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3522 * if __cuKernelGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuKernelGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuKernelGetAttribute)(pi, attrib, kernel, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuKernelGetAttribute_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3522, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3522, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3521 * cuPythonInit() * if __cuKernelGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetAttribute" not found') * err = ( __cuKernelGetAttribute)(pi, attrib, kernel, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3520 * global __cuKernelGetAttribute * cuPythonInit() * if __cuKernelGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3523 * with gil: * raise RuntimeError('Function "cuKernelGetAttribute" not found') * err = ( __cuKernelGetAttribute)(pi, attrib, kernel, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUfunction_attribute, CUkernel, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetAttribute)(__pyx_v_pi, __pyx_v_attrib, __pyx_v_kernel, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3523, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3524 * raise RuntimeError('Function "cuKernelGetAttribute" not found') * err = ( __cuKernelGetAttribute)(pi, attrib, kernel, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuKernelSetAttribute(CUfunction_attribute attrib, int val, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3517 * return err * * cdef CUresult _cuKernelGetAttribute(int* pi, CUfunction_attribute attrib, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuKernelGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3526 * return err * * cdef CUresult _cuKernelSetAttribute(CUfunction_attribute attrib, int val, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelSetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelSetAttribute(CUfunction_attribute __pyx_v_attrib, int __pyx_v_val, CUkernel __pyx_v_kernel, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuKernelSetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3528 * cdef CUresult _cuKernelSetAttribute(CUfunction_attribute attrib, int val, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuKernelSetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuKernelSetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3528, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3529 * global __cuKernelSetAttribute * cuPythonInit() * if __cuKernelSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelSetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3530 * cuPythonInit() * if __cuKernelSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelSetAttribute" not found') * err = ( __cuKernelSetAttribute)(attrib, val, kernel, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3531 * if __cuKernelSetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuKernelSetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuKernelSetAttribute)(attrib, val, kernel, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuKernelSetAttribute_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3531, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3531, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3530 * cuPythonInit() * if __cuKernelSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelSetAttribute" not found') * err = ( __cuKernelSetAttribute)(attrib, val, kernel, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3529 * global __cuKernelSetAttribute * cuPythonInit() * if __cuKernelSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelSetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3532 * with gil: * raise RuntimeError('Function "cuKernelSetAttribute" not found') * err = ( __cuKernelSetAttribute)(attrib, val, kernel, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction_attribute, int, CUkernel, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetAttribute)(__pyx_v_attrib, __pyx_v_val, __pyx_v_kernel, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3532, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3533 * raise RuntimeError('Function "cuKernelSetAttribute" not found') * err = ( __cuKernelSetAttribute)(attrib, val, kernel, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuKernelSetCacheConfig(CUkernel kernel, CUfunc_cache config, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3526 * return err * * cdef CUresult _cuKernelSetAttribute(CUfunction_attribute attrib, int val, CUkernel kernel, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelSetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuKernelSetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3535 * return err * * cdef CUresult _cuKernelSetCacheConfig(CUkernel kernel, CUfunc_cache config, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelSetCacheConfig * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelSetCacheConfig(CUkernel __pyx_v_kernel, CUfunc_cache __pyx_v_config, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuKernelSetCacheConfig", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3537 * cdef CUresult _cuKernelSetCacheConfig(CUkernel kernel, CUfunc_cache config, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuKernelSetCacheConfig * cuPythonInit() # <<<<<<<<<<<<<< * if __cuKernelSetCacheConfig == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3537, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3538 * global __cuKernelSetCacheConfig * cuPythonInit() * if __cuKernelSetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelSetCacheConfig" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetCacheConfig == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3539 * cuPythonInit() * if __cuKernelSetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelSetCacheConfig" not found') * err = ( __cuKernelSetCacheConfig)(kernel, config, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3540 * if __cuKernelSetCacheConfig == NULL: * with gil: * raise RuntimeError('Function "cuKernelSetCacheConfig" not found') # <<<<<<<<<<<<<< * err = ( __cuKernelSetCacheConfig)(kernel, config, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuKernelSetCacheConfig}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3540, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3540, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3539 * cuPythonInit() * if __cuKernelSetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelSetCacheConfig" not found') * err = ( __cuKernelSetCacheConfig)(kernel, config, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3538 * global __cuKernelSetCacheConfig * cuPythonInit() * if __cuKernelSetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelSetCacheConfig" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3541 * with gil: * raise RuntimeError('Function "cuKernelSetCacheConfig" not found') * err = ( __cuKernelSetCacheConfig)(kernel, config, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUkernel, CUfunc_cache, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetCacheConfig)(__pyx_v_kernel, __pyx_v_config, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3541, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3542 * raise RuntimeError('Function "cuKernelSetCacheConfig" not found') * err = ( __cuKernelSetCacheConfig)(kernel, config, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuKernelGetName(const char** name, CUkernel hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3535 * return err * * cdef CUresult _cuKernelSetCacheConfig(CUkernel kernel, CUfunc_cache config, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelSetCacheConfig * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuKernelSetCacheConfig", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3544 * return err * * cdef CUresult _cuKernelGetName(const char** name, CUkernel hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetName * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetName(char const **__pyx_v_name, CUkernel __pyx_v_hfunc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuKernelGetName", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3546 * cdef CUresult _cuKernelGetName(const char** name, CUkernel hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuKernelGetName * cuPythonInit() # <<<<<<<<<<<<<< * if __cuKernelGetName == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3546, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3547 * global __cuKernelGetName * cuPythonInit() * if __cuKernelGetName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetName" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetName == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3548 * cuPythonInit() * if __cuKernelGetName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetName" not found') * err = ( __cuKernelGetName)(name, hfunc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3549 * if __cuKernelGetName == NULL: * with gil: * raise RuntimeError('Function "cuKernelGetName" not found') # <<<<<<<<<<<<<< * err = ( __cuKernelGetName)(name, hfunc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuKernelGetName_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3549, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3549, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3548 * cuPythonInit() * if __cuKernelGetName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetName" not found') * err = ( __cuKernelGetName)(name, hfunc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3547 * global __cuKernelGetName * cuPythonInit() * if __cuKernelGetName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetName" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3550 * with gil: * raise RuntimeError('Function "cuKernelGetName" not found') * err = ( __cuKernelGetName)(name, hfunc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(char const **, CUkernel))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetName)(__pyx_v_name, __pyx_v_hfunc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3550, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3551 * raise RuntimeError('Function "cuKernelGetName" not found') * err = ( __cuKernelGetName)(name, hfunc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuKernelGetParamInfo(CUkernel kernel, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3544 * return err * * cdef CUresult _cuKernelGetName(const char** name, CUkernel hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetName * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuKernelGetName", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3553 * return err * * cdef CUresult _cuKernelGetParamInfo(CUkernel kernel, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetParamInfo * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetParamInfo(CUkernel __pyx_v_kernel, size_t __pyx_v_paramIndex, size_t *__pyx_v_paramOffset, size_t *__pyx_v_paramSize) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuKernelGetParamInfo", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3555 * cdef CUresult _cuKernelGetParamInfo(CUkernel kernel, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuKernelGetParamInfo * cuPythonInit() # <<<<<<<<<<<<<< * if __cuKernelGetParamInfo == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3555, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3556 * global __cuKernelGetParamInfo * cuPythonInit() * if __cuKernelGetParamInfo == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetParamInfo" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetParamInfo == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3557 * cuPythonInit() * if __cuKernelGetParamInfo == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetParamInfo" not found') * err = ( __cuKernelGetParamInfo)(kernel, paramIndex, paramOffset, paramSize) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3558 * if __cuKernelGetParamInfo == NULL: * with gil: * raise RuntimeError('Function "cuKernelGetParamInfo" not found') # <<<<<<<<<<<<<< * err = ( __cuKernelGetParamInfo)(kernel, paramIndex, paramOffset, paramSize) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuKernelGetParamInfo_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3558, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3558, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3557 * cuPythonInit() * if __cuKernelGetParamInfo == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuKernelGetParamInfo" not found') * err = ( __cuKernelGetParamInfo)(kernel, paramIndex, paramOffset, paramSize) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3556 * global __cuKernelGetParamInfo * cuPythonInit() * if __cuKernelGetParamInfo == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuKernelGetParamInfo" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3559 * with gil: * raise RuntimeError('Function "cuKernelGetParamInfo" not found') * err = ( __cuKernelGetParamInfo)(kernel, paramIndex, paramOffset, paramSize) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUkernel, size_t, size_t *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetParamInfo)(__pyx_v_kernel, __pyx_v_paramIndex, __pyx_v_paramOffset, __pyx_v_paramSize); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3559, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3560 * raise RuntimeError('Function "cuKernelGetParamInfo" not found') * err = ( __cuKernelGetParamInfo)(kernel, paramIndex, paramOffset, paramSize) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemGetInfo_v2(size_t* free, size_t* total) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3553 * return err * * cdef CUresult _cuKernelGetParamInfo(CUkernel kernel, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuKernelGetParamInfo * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuKernelGetParamInfo", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3562 * return err * * cdef CUresult _cuMemGetInfo_v2(size_t* free, size_t* total) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetInfo_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetInfo_v2(size_t *__pyx_v_free, size_t *__pyx_v_total) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemGetInfo_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3564 * cdef CUresult _cuMemGetInfo_v2(size_t* free, size_t* total) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemGetInfo_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemGetInfo_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3564, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3565 * global __cuMemGetInfo_v2 * cuPythonInit() * if __cuMemGetInfo_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetInfo_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetInfo_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3566 * cuPythonInit() * if __cuMemGetInfo_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetInfo_v2" not found') * err = ( __cuMemGetInfo_v2)(free, total) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3567 * if __cuMemGetInfo_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemGetInfo_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemGetInfo_v2)(free, total) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemGetInfo_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3567, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3567, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3566 * cuPythonInit() * if __cuMemGetInfo_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetInfo_v2" not found') * err = ( __cuMemGetInfo_v2)(free, total) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3565 * global __cuMemGetInfo_v2 * cuPythonInit() * if __cuMemGetInfo_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetInfo_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3568 * with gil: * raise RuntimeError('Function "cuMemGetInfo_v2" not found') * err = ( __cuMemGetInfo_v2)(free, total) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetInfo_v2)(__pyx_v_free, __pyx_v_total); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3568, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3569 * raise RuntimeError('Function "cuMemGetInfo_v2" not found') * err = ( __cuMemGetInfo_v2)(free, total) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAlloc_v2(CUdeviceptr* dptr, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3562 * return err * * cdef CUresult _cuMemGetInfo_v2(size_t* free, size_t* total) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetInfo_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemGetInfo_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3571 * return err * * cdef CUresult _cuMemAlloc_v2(CUdeviceptr* dptr, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAlloc_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAlloc_v2(CUdeviceptr *__pyx_v_dptr, size_t __pyx_v_bytesize) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAlloc_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3573 * cdef CUresult _cuMemAlloc_v2(CUdeviceptr* dptr, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAlloc_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAlloc_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3573, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3574 * global __cuMemAlloc_v2 * cuPythonInit() * if __cuMemAlloc_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAlloc_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAlloc_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3575 * cuPythonInit() * if __cuMemAlloc_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAlloc_v2" not found') * err = ( __cuMemAlloc_v2)(dptr, bytesize) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3576 * if __cuMemAlloc_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemAlloc_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAlloc_v2)(dptr, bytesize) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAlloc_v2_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3576, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3576, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3575 * cuPythonInit() * if __cuMemAlloc_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAlloc_v2" not found') * err = ( __cuMemAlloc_v2)(dptr, bytesize) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3574 * global __cuMemAlloc_v2 * cuPythonInit() * if __cuMemAlloc_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAlloc_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3577 * with gil: * raise RuntimeError('Function "cuMemAlloc_v2" not found') * err = ( __cuMemAlloc_v2)(dptr, bytesize) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAlloc_v2)(__pyx_v_dptr, __pyx_v_bytesize); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3577, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3578 * raise RuntimeError('Function "cuMemAlloc_v2" not found') * err = ( __cuMemAlloc_v2)(dptr, bytesize) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAllocPitch_v2(CUdeviceptr* dptr, size_t* pPitch, size_t WidthInBytes, size_t Height, unsigned int ElementSizeBytes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3571 * return err * * cdef CUresult _cuMemAlloc_v2(CUdeviceptr* dptr, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAlloc_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAlloc_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3580 * return err * * cdef CUresult _cuMemAllocPitch_v2(CUdeviceptr* dptr, size_t* pPitch, size_t WidthInBytes, size_t Height, unsigned int ElementSizeBytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocPitch_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocPitch_v2(CUdeviceptr *__pyx_v_dptr, size_t *__pyx_v_pPitch, size_t __pyx_v_WidthInBytes, size_t __pyx_v_Height, unsigned int __pyx_v_ElementSizeBytes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAllocPitch_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3582 * cdef CUresult _cuMemAllocPitch_v2(CUdeviceptr* dptr, size_t* pPitch, size_t WidthInBytes, size_t Height, unsigned int ElementSizeBytes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAllocPitch_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAllocPitch_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3582, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3583 * global __cuMemAllocPitch_v2 * cuPythonInit() * if __cuMemAllocPitch_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocPitch_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocPitch_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3584 * cuPythonInit() * if __cuMemAllocPitch_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocPitch_v2" not found') * err = ( __cuMemAllocPitch_v2)(dptr, pPitch, WidthInBytes, Height, ElementSizeBytes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3585 * if __cuMemAllocPitch_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemAllocPitch_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAllocPitch_v2)(dptr, pPitch, WidthInBytes, Height, ElementSizeBytes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAllocPitch_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3585, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3585, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3584 * cuPythonInit() * if __cuMemAllocPitch_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocPitch_v2" not found') * err = ( __cuMemAllocPitch_v2)(dptr, pPitch, WidthInBytes, Height, ElementSizeBytes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3583 * global __cuMemAllocPitch_v2 * cuPythonInit() * if __cuMemAllocPitch_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocPitch_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3586 * with gil: * raise RuntimeError('Function "cuMemAllocPitch_v2" not found') * err = ( __cuMemAllocPitch_v2)(dptr, pPitch, WidthInBytes, Height, ElementSizeBytes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t *, size_t, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocPitch_v2)(__pyx_v_dptr, __pyx_v_pPitch, __pyx_v_WidthInBytes, __pyx_v_Height, __pyx_v_ElementSizeBytes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3586, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3587 * raise RuntimeError('Function "cuMemAllocPitch_v2" not found') * err = ( __cuMemAllocPitch_v2)(dptr, pPitch, WidthInBytes, Height, ElementSizeBytes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemFree_v2(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3580 * return err * * cdef CUresult _cuMemAllocPitch_v2(CUdeviceptr* dptr, size_t* pPitch, size_t WidthInBytes, size_t Height, unsigned int ElementSizeBytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocPitch_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAllocPitch_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3589 * return err * * cdef CUresult _cuMemFree_v2(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemFree_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemFree_v2(CUdeviceptr __pyx_v_dptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemFree_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3591 * cdef CUresult _cuMemFree_v2(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemFree_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemFree_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3591, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3592 * global __cuMemFree_v2 * cuPythonInit() * if __cuMemFree_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemFree_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFree_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3593 * cuPythonInit() * if __cuMemFree_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemFree_v2" not found') * err = ( __cuMemFree_v2)(dptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3594 * if __cuMemFree_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemFree_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemFree_v2)(dptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemFree_v2_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3594, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3594, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3593 * cuPythonInit() * if __cuMemFree_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemFree_v2" not found') * err = ( __cuMemFree_v2)(dptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3592 * global __cuMemFree_v2 * cuPythonInit() * if __cuMemFree_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemFree_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3595 * with gil: * raise RuntimeError('Function "cuMemFree_v2" not found') * err = ( __cuMemFree_v2)(dptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFree_v2)(__pyx_v_dptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3595, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3596 * raise RuntimeError('Function "cuMemFree_v2" not found') * err = ( __cuMemFree_v2)(dptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemGetAddressRange_v2(CUdeviceptr* pbase, size_t* psize, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3589 * return err * * cdef CUresult _cuMemFree_v2(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemFree_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemFree_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3598 * return err * * cdef CUresult _cuMemGetAddressRange_v2(CUdeviceptr* pbase, size_t* psize, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAddressRange_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAddressRange_v2(CUdeviceptr *__pyx_v_pbase, size_t *__pyx_v_psize, CUdeviceptr __pyx_v_dptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemGetAddressRange_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3600 * cdef CUresult _cuMemGetAddressRange_v2(CUdeviceptr* pbase, size_t* psize, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemGetAddressRange_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemGetAddressRange_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3600, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3601 * global __cuMemGetAddressRange_v2 * cuPythonInit() * if __cuMemGetAddressRange_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAddressRange_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAddressRange_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3602 * cuPythonInit() * if __cuMemGetAddressRange_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAddressRange_v2" not found') * err = ( __cuMemGetAddressRange_v2)(pbase, psize, dptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3603 * if __cuMemGetAddressRange_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemGetAddressRange_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemGetAddressRange_v2)(pbase, psize, dptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemGetAddressRange_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3603, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3603, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3602 * cuPythonInit() * if __cuMemGetAddressRange_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAddressRange_v2" not found') * err = ( __cuMemGetAddressRange_v2)(pbase, psize, dptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3601 * global __cuMemGetAddressRange_v2 * cuPythonInit() * if __cuMemGetAddressRange_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAddressRange_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3604 * with gil: * raise RuntimeError('Function "cuMemGetAddressRange_v2" not found') * err = ( __cuMemGetAddressRange_v2)(pbase, psize, dptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t *, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAddressRange_v2)(__pyx_v_pbase, __pyx_v_psize, __pyx_v_dptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3604, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3605 * raise RuntimeError('Function "cuMemGetAddressRange_v2" not found') * err = ( __cuMemGetAddressRange_v2)(pbase, psize, dptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAllocHost_v2(void** pp, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3598 * return err * * cdef CUresult _cuMemGetAddressRange_v2(CUdeviceptr* pbase, size_t* psize, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAddressRange_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemGetAddressRange_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3607 * return err * * cdef CUresult _cuMemAllocHost_v2(void** pp, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocHost_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocHost_v2(void **__pyx_v_pp, size_t __pyx_v_bytesize) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAllocHost_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3609 * cdef CUresult _cuMemAllocHost_v2(void** pp, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAllocHost_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAllocHost_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3609, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3610 * global __cuMemAllocHost_v2 * cuPythonInit() * if __cuMemAllocHost_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocHost_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocHost_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3611 * cuPythonInit() * if __cuMemAllocHost_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocHost_v2" not found') * err = ( __cuMemAllocHost_v2)(pp, bytesize) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3612 * if __cuMemAllocHost_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemAllocHost_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAllocHost_v2)(pp, bytesize) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAllocHost_v2_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3612, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3612, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3611 * cuPythonInit() * if __cuMemAllocHost_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocHost_v2" not found') * err = ( __cuMemAllocHost_v2)(pp, bytesize) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3610 * global __cuMemAllocHost_v2 * cuPythonInit() * if __cuMemAllocHost_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocHost_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3613 * with gil: * raise RuntimeError('Function "cuMemAllocHost_v2" not found') * err = ( __cuMemAllocHost_v2)(pp, bytesize) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void **, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocHost_v2)(__pyx_v_pp, __pyx_v_bytesize); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3613, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3614 * raise RuntimeError('Function "cuMemAllocHost_v2" not found') * err = ( __cuMemAllocHost_v2)(pp, bytesize) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemFreeHost(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3607 * return err * * cdef CUresult _cuMemAllocHost_v2(void** pp, size_t bytesize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocHost_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAllocHost_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3616 * return err * * cdef CUresult _cuMemFreeHost(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemFreeHost * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemFreeHost(void *__pyx_v_p) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemFreeHost", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3618 * cdef CUresult _cuMemFreeHost(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemFreeHost * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemFreeHost == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3618, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3619 * global __cuMemFreeHost * cuPythonInit() * if __cuMemFreeHost == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemFreeHost" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeHost == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3620 * cuPythonInit() * if __cuMemFreeHost == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemFreeHost" not found') * err = ( __cuMemFreeHost)(p) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3621 * if __cuMemFreeHost == NULL: * with gil: * raise RuntimeError('Function "cuMemFreeHost" not found') # <<<<<<<<<<<<<< * err = ( __cuMemFreeHost)(p) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemFreeHost_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3621, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3621, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3620 * cuPythonInit() * if __cuMemFreeHost == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemFreeHost" not found') * err = ( __cuMemFreeHost)(p) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3619 * global __cuMemFreeHost * cuPythonInit() * if __cuMemFreeHost == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemFreeHost" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3622 * with gil: * raise RuntimeError('Function "cuMemFreeHost" not found') * err = ( __cuMemFreeHost)(p) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeHost)(__pyx_v_p); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3622, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3623 * raise RuntimeError('Function "cuMemFreeHost" not found') * err = ( __cuMemFreeHost)(p) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemHostAlloc(void** pp, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3616 * return err * * cdef CUresult _cuMemFreeHost(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemFreeHost * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemFreeHost", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3625 * return err * * cdef CUresult _cuMemHostAlloc(void** pp, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostAlloc * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostAlloc(void **__pyx_v_pp, size_t __pyx_v_bytesize, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemHostAlloc", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3627 * cdef CUresult _cuMemHostAlloc(void** pp, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemHostAlloc * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemHostAlloc == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3627, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3628 * global __cuMemHostAlloc * cuPythonInit() * if __cuMemHostAlloc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostAlloc" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostAlloc == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3629 * cuPythonInit() * if __cuMemHostAlloc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostAlloc" not found') * err = ( __cuMemHostAlloc)(pp, bytesize, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3630 * if __cuMemHostAlloc == NULL: * with gil: * raise RuntimeError('Function "cuMemHostAlloc" not found') # <<<<<<<<<<<<<< * err = ( __cuMemHostAlloc)(pp, bytesize, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemHostAlloc_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3630, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3630, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3629 * cuPythonInit() * if __cuMemHostAlloc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostAlloc" not found') * err = ( __cuMemHostAlloc)(pp, bytesize, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3628 * global __cuMemHostAlloc * cuPythonInit() * if __cuMemHostAlloc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostAlloc" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3631 * with gil: * raise RuntimeError('Function "cuMemHostAlloc" not found') * err = ( __cuMemHostAlloc)(pp, bytesize, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void **, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostAlloc)(__pyx_v_pp, __pyx_v_bytesize, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3631, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3632 * raise RuntimeError('Function "cuMemHostAlloc" not found') * err = ( __cuMemHostAlloc)(pp, bytesize, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemHostGetDevicePointer_v2(CUdeviceptr* pdptr, void* p, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3625 * return err * * cdef CUresult _cuMemHostAlloc(void** pp, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostAlloc * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemHostAlloc", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3634 * return err * * cdef CUresult _cuMemHostGetDevicePointer_v2(CUdeviceptr* pdptr, void* p, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostGetDevicePointer_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostGetDevicePointer_v2(CUdeviceptr *__pyx_v_pdptr, void *__pyx_v_p, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemHostGetDevicePointer_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3636 * cdef CUresult _cuMemHostGetDevicePointer_v2(CUdeviceptr* pdptr, void* p, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemHostGetDevicePointer_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemHostGetDevicePointer_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3636, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3637 * global __cuMemHostGetDevicePointer_v2 * cuPythonInit() * if __cuMemHostGetDevicePointer_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostGetDevicePointer_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetDevicePointer_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3638 * cuPythonInit() * if __cuMemHostGetDevicePointer_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostGetDevicePointer_v2" not found') * err = ( __cuMemHostGetDevicePointer_v2)(pdptr, p, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3639 * if __cuMemHostGetDevicePointer_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemHostGetDevicePointer_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemHostGetDevicePointer_v2)(pdptr, p, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemHostGetDevicePoint}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3639, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3639, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3638 * cuPythonInit() * if __cuMemHostGetDevicePointer_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostGetDevicePointer_v2" not found') * err = ( __cuMemHostGetDevicePointer_v2)(pdptr, p, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3637 * global __cuMemHostGetDevicePointer_v2 * cuPythonInit() * if __cuMemHostGetDevicePointer_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostGetDevicePointer_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3640 * with gil: * raise RuntimeError('Function "cuMemHostGetDevicePointer_v2" not found') * err = ( __cuMemHostGetDevicePointer_v2)(pdptr, p, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, void *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetDevicePointer_v2)(__pyx_v_pdptr, __pyx_v_p, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3640, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3641 * raise RuntimeError('Function "cuMemHostGetDevicePointer_v2" not found') * err = ( __cuMemHostGetDevicePointer_v2)(pdptr, p, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemHostGetFlags(unsigned int* pFlags, void* p) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3634 * return err * * cdef CUresult _cuMemHostGetDevicePointer_v2(CUdeviceptr* pdptr, void* p, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostGetDevicePointer_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemHostGetDevicePointer_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3643 * return err * * cdef CUresult _cuMemHostGetFlags(unsigned int* pFlags, void* p) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostGetFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostGetFlags(unsigned int *__pyx_v_pFlags, void *__pyx_v_p) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemHostGetFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3645 * cdef CUresult _cuMemHostGetFlags(unsigned int* pFlags, void* p) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemHostGetFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemHostGetFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3645, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3646 * global __cuMemHostGetFlags * cuPythonInit() * if __cuMemHostGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostGetFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3647 * cuPythonInit() * if __cuMemHostGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostGetFlags" not found') * err = ( __cuMemHostGetFlags)(pFlags, p) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3648 * if __cuMemHostGetFlags == NULL: * with gil: * raise RuntimeError('Function "cuMemHostGetFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuMemHostGetFlags)(pFlags, p) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemHostGetFlags_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3648, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3648, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3647 * cuPythonInit() * if __cuMemHostGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostGetFlags" not found') * err = ( __cuMemHostGetFlags)(pFlags, p) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3646 * global __cuMemHostGetFlags * cuPythonInit() * if __cuMemHostGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostGetFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3649 * with gil: * raise RuntimeError('Function "cuMemHostGetFlags" not found') * err = ( __cuMemHostGetFlags)(pFlags, p) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int *, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetFlags)(__pyx_v_pFlags, __pyx_v_p); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3649, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3650 * raise RuntimeError('Function "cuMemHostGetFlags" not found') * err = ( __cuMemHostGetFlags)(pFlags, p) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAllocManaged(CUdeviceptr* dptr, size_t bytesize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3643 * return err * * cdef CUresult _cuMemHostGetFlags(unsigned int* pFlags, void* p) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostGetFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemHostGetFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3652 * return err * * cdef CUresult _cuMemAllocManaged(CUdeviceptr* dptr, size_t bytesize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocManaged * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocManaged(CUdeviceptr *__pyx_v_dptr, size_t __pyx_v_bytesize, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAllocManaged", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3654 * cdef CUresult _cuMemAllocManaged(CUdeviceptr* dptr, size_t bytesize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAllocManaged * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAllocManaged == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3654, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3655 * global __cuMemAllocManaged * cuPythonInit() * if __cuMemAllocManaged == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocManaged" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocManaged == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3656 * cuPythonInit() * if __cuMemAllocManaged == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocManaged" not found') * err = ( __cuMemAllocManaged)(dptr, bytesize, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3657 * if __cuMemAllocManaged == NULL: * with gil: * raise RuntimeError('Function "cuMemAllocManaged" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAllocManaged)(dptr, bytesize, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAllocManaged_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3657, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3657, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3656 * cuPythonInit() * if __cuMemAllocManaged == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocManaged" not found') * err = ( __cuMemAllocManaged)(dptr, bytesize, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3655 * global __cuMemAllocManaged * cuPythonInit() * if __cuMemAllocManaged == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocManaged" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3658 * with gil: * raise RuntimeError('Function "cuMemAllocManaged" not found') * err = ( __cuMemAllocManaged)(dptr, bytesize, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocManaged)(__pyx_v_dptr, __pyx_v_bytesize, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3658, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3659 * raise RuntimeError('Function "cuMemAllocManaged" not found') * err = ( __cuMemAllocManaged)(dptr, bytesize, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceRegisterAsyncNotification(CUdevice device, CUasyncCallback callbackFunc, void* userData, CUasyncCallbackHandle* callback) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3652 * return err * * cdef CUresult _cuMemAllocManaged(CUdeviceptr* dptr, size_t bytesize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocManaged * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAllocManaged", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3661 * return err * * cdef CUresult _cuDeviceRegisterAsyncNotification(CUdevice device, CUasyncCallback callbackFunc, void* userData, CUasyncCallbackHandle* callback) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceRegisterAsyncNotification * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceRegisterAsyncNotification(CUdevice __pyx_v_device, CUasyncCallback __pyx_v_callbackFunc, void *__pyx_v_userData, CUasyncCallbackHandle *__pyx_v_callback) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceRegisterAsyncNotification", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3663 * cdef CUresult _cuDeviceRegisterAsyncNotification(CUdevice device, CUasyncCallback callbackFunc, void* userData, CUasyncCallbackHandle* callback) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceRegisterAsyncNotification * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceRegisterAsyncNotification == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3663, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3664 * global __cuDeviceRegisterAsyncNotification * cuPythonInit() * if __cuDeviceRegisterAsyncNotification == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceRegisterAsyncNotification" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceRegisterAsyncNotification == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3665 * cuPythonInit() * if __cuDeviceRegisterAsyncNotification == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceRegisterAsyncNotification" not found') * err = ( __cuDeviceRegisterAsyncNotification)(device, callbackFunc, userData, callback) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3666 * if __cuDeviceRegisterAsyncNotification == NULL: * with gil: * raise RuntimeError('Function "cuDeviceRegisterAsyncNotification" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceRegisterAsyncNotification)(device, callbackFunc, userData, callback) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceRegisterAsyncNo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3666, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3666, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3665 * cuPythonInit() * if __cuDeviceRegisterAsyncNotification == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceRegisterAsyncNotification" not found') * err = ( __cuDeviceRegisterAsyncNotification)(device, callbackFunc, userData, callback) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3664 * global __cuDeviceRegisterAsyncNotification * cuPythonInit() * if __cuDeviceRegisterAsyncNotification == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceRegisterAsyncNotification" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3667 * with gil: * raise RuntimeError('Function "cuDeviceRegisterAsyncNotification" not found') * err = ( __cuDeviceRegisterAsyncNotification)(device, callbackFunc, userData, callback) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, CUasyncCallback, void *, CUasyncCallbackHandle *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceRegisterAsyncNotification)(__pyx_v_device, __pyx_v_callbackFunc, __pyx_v_userData, __pyx_v_callback); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3667, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3668 * raise RuntimeError('Function "cuDeviceRegisterAsyncNotification" not found') * err = ( __cuDeviceRegisterAsyncNotification)(device, callbackFunc, userData, callback) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceUnregisterAsyncNotification(CUdevice device, CUasyncCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3661 * return err * * cdef CUresult _cuDeviceRegisterAsyncNotification(CUdevice device, CUasyncCallback callbackFunc, void* userData, CUasyncCallbackHandle* callback) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceRegisterAsyncNotification * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceRegisterAsyncNotification", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3670 * return err * * cdef CUresult _cuDeviceUnregisterAsyncNotification(CUdevice device, CUasyncCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceUnregisterAsyncNotification * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceUnregisterAsyncNotification(CUdevice __pyx_v_device, CUasyncCallbackHandle __pyx_v_callback) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceUnregisterAsyncNotification", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3672 * cdef CUresult _cuDeviceUnregisterAsyncNotification(CUdevice device, CUasyncCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceUnregisterAsyncNotification * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceUnregisterAsyncNotification == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3672, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3673 * global __cuDeviceUnregisterAsyncNotification * cuPythonInit() * if __cuDeviceUnregisterAsyncNotification == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceUnregisterAsyncNotification" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceUnregisterAsyncNotification == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3674 * cuPythonInit() * if __cuDeviceUnregisterAsyncNotification == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceUnregisterAsyncNotification" not found') * err = ( __cuDeviceUnregisterAsyncNotification)(device, callback) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3675 * if __cuDeviceUnregisterAsyncNotification == NULL: * with gil: * raise RuntimeError('Function "cuDeviceUnregisterAsyncNotification" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceUnregisterAsyncNotification)(device, callback) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceUnregisterAsync}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3675, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3675, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3674 * cuPythonInit() * if __cuDeviceUnregisterAsyncNotification == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceUnregisterAsyncNotification" not found') * err = ( __cuDeviceUnregisterAsyncNotification)(device, callback) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3673 * global __cuDeviceUnregisterAsyncNotification * cuPythonInit() * if __cuDeviceUnregisterAsyncNotification == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceUnregisterAsyncNotification" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3676 * with gil: * raise RuntimeError('Function "cuDeviceUnregisterAsyncNotification" not found') * err = ( __cuDeviceUnregisterAsyncNotification)(device, callback) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, CUasyncCallbackHandle))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceUnregisterAsyncNotification)(__pyx_v_device, __pyx_v_callback); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3676, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3677 * raise RuntimeError('Function "cuDeviceUnregisterAsyncNotification" not found') * err = ( __cuDeviceUnregisterAsyncNotification)(device, callback) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetByPCIBusId(CUdevice* dev, const char* pciBusId) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3670 * return err * * cdef CUresult _cuDeviceUnregisterAsyncNotification(CUdevice device, CUasyncCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceUnregisterAsyncNotification * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceUnregisterAsyncNotification", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3679 * return err * * cdef CUresult _cuDeviceGetByPCIBusId(CUdevice* dev, const char* pciBusId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetByPCIBusId * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetByPCIBusId(CUdevice *__pyx_v_dev, char const *__pyx_v_pciBusId) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetByPCIBusId", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3681 * cdef CUresult _cuDeviceGetByPCIBusId(CUdevice* dev, const char* pciBusId) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetByPCIBusId * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetByPCIBusId == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3681, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3682 * global __cuDeviceGetByPCIBusId * cuPythonInit() * if __cuDeviceGetByPCIBusId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetByPCIBusId" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetByPCIBusId == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3683 * cuPythonInit() * if __cuDeviceGetByPCIBusId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetByPCIBusId" not found') * err = ( __cuDeviceGetByPCIBusId)(dev, pciBusId) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3684 * if __cuDeviceGetByPCIBusId == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetByPCIBusId" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetByPCIBusId)(dev, pciBusId) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetByPCIBusId_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3684, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3684, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3683 * cuPythonInit() * if __cuDeviceGetByPCIBusId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetByPCIBusId" not found') * err = ( __cuDeviceGetByPCIBusId)(dev, pciBusId) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3682 * global __cuDeviceGetByPCIBusId * cuPythonInit() * if __cuDeviceGetByPCIBusId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetByPCIBusId" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3685 * with gil: * raise RuntimeError('Function "cuDeviceGetByPCIBusId" not found') * err = ( __cuDeviceGetByPCIBusId)(dev, pciBusId) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice *, char const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetByPCIBusId)(__pyx_v_dev, __pyx_v_pciBusId); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3685, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3686 * raise RuntimeError('Function "cuDeviceGetByPCIBusId" not found') * err = ( __cuDeviceGetByPCIBusId)(dev, pciBusId) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetPCIBusId(char* pciBusId, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3679 * return err * * cdef CUresult _cuDeviceGetByPCIBusId(CUdevice* dev, const char* pciBusId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetByPCIBusId * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetByPCIBusId", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3688 * return err * * cdef CUresult _cuDeviceGetPCIBusId(char* pciBusId, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetPCIBusId * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetPCIBusId(char *__pyx_v_pciBusId, int __pyx_v_length, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetPCIBusId", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3690 * cdef CUresult _cuDeviceGetPCIBusId(char* pciBusId, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetPCIBusId * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetPCIBusId == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3690, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3691 * global __cuDeviceGetPCIBusId * cuPythonInit() * if __cuDeviceGetPCIBusId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetPCIBusId" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetPCIBusId == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3692 * cuPythonInit() * if __cuDeviceGetPCIBusId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetPCIBusId" not found') * err = ( __cuDeviceGetPCIBusId)(pciBusId, length, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3693 * if __cuDeviceGetPCIBusId == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetPCIBusId" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetPCIBusId)(pciBusId, length, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetPCIBusId_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3693, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3693, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3692 * cuPythonInit() * if __cuDeviceGetPCIBusId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetPCIBusId" not found') * err = ( __cuDeviceGetPCIBusId)(pciBusId, length, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3691 * global __cuDeviceGetPCIBusId * cuPythonInit() * if __cuDeviceGetPCIBusId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetPCIBusId" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3694 * with gil: * raise RuntimeError('Function "cuDeviceGetPCIBusId" not found') * err = ( __cuDeviceGetPCIBusId)(pciBusId, length, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(char *, int, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetPCIBusId)(__pyx_v_pciBusId, __pyx_v_length, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3694, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3695 * raise RuntimeError('Function "cuDeviceGetPCIBusId" not found') * err = ( __cuDeviceGetPCIBusId)(pciBusId, length, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuIpcGetEventHandle(CUipcEventHandle* pHandle, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3688 * return err * * cdef CUresult _cuDeviceGetPCIBusId(char* pciBusId, int length, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetPCIBusId * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetPCIBusId", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3697 * return err * * cdef CUresult _cuIpcGetEventHandle(CUipcEventHandle* pHandle, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcGetEventHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcGetEventHandle(CUipcEventHandle *__pyx_v_pHandle, CUevent __pyx_v_event) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuIpcGetEventHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3699 * cdef CUresult _cuIpcGetEventHandle(CUipcEventHandle* pHandle, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuIpcGetEventHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuIpcGetEventHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3699, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3700 * global __cuIpcGetEventHandle * cuPythonInit() * if __cuIpcGetEventHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcGetEventHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetEventHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3701 * cuPythonInit() * if __cuIpcGetEventHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcGetEventHandle" not found') * err = ( __cuIpcGetEventHandle)(pHandle, event) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3702 * if __cuIpcGetEventHandle == NULL: * with gil: * raise RuntimeError('Function "cuIpcGetEventHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuIpcGetEventHandle)(pHandle, event) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuIpcGetEventHandle_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3702, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3702, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3701 * cuPythonInit() * if __cuIpcGetEventHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcGetEventHandle" not found') * err = ( __cuIpcGetEventHandle)(pHandle, event) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3700 * global __cuIpcGetEventHandle * cuPythonInit() * if __cuIpcGetEventHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcGetEventHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3703 * with gil: * raise RuntimeError('Function "cuIpcGetEventHandle" not found') * err = ( __cuIpcGetEventHandle)(pHandle, event) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUipcEventHandle *, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetEventHandle)(__pyx_v_pHandle, __pyx_v_event); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3703, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3704 * raise RuntimeError('Function "cuIpcGetEventHandle" not found') * err = ( __cuIpcGetEventHandle)(pHandle, event) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuIpcOpenEventHandle(CUevent* phEvent, CUipcEventHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3697 * return err * * cdef CUresult _cuIpcGetEventHandle(CUipcEventHandle* pHandle, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcGetEventHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuIpcGetEventHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3706 * return err * * cdef CUresult _cuIpcOpenEventHandle(CUevent* phEvent, CUipcEventHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcOpenEventHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcOpenEventHandle(CUevent *__pyx_v_phEvent, CUipcEventHandle __pyx_v_handle) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuIpcOpenEventHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3708 * cdef CUresult _cuIpcOpenEventHandle(CUevent* phEvent, CUipcEventHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuIpcOpenEventHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuIpcOpenEventHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3708, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3709 * global __cuIpcOpenEventHandle * cuPythonInit() * if __cuIpcOpenEventHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcOpenEventHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenEventHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3710 * cuPythonInit() * if __cuIpcOpenEventHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcOpenEventHandle" not found') * err = ( __cuIpcOpenEventHandle)(phEvent, handle) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3711 * if __cuIpcOpenEventHandle == NULL: * with gil: * raise RuntimeError('Function "cuIpcOpenEventHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuIpcOpenEventHandle)(phEvent, handle) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuIpcOpenEventHandle_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3711, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3711, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3710 * cuPythonInit() * if __cuIpcOpenEventHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcOpenEventHandle" not found') * err = ( __cuIpcOpenEventHandle)(phEvent, handle) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3709 * global __cuIpcOpenEventHandle * cuPythonInit() * if __cuIpcOpenEventHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcOpenEventHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3712 * with gil: * raise RuntimeError('Function "cuIpcOpenEventHandle" not found') * err = ( __cuIpcOpenEventHandle)(phEvent, handle) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent *, CUipcEventHandle))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenEventHandle)(__pyx_v_phEvent, __pyx_v_handle); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3712, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3713 * raise RuntimeError('Function "cuIpcOpenEventHandle" not found') * err = ( __cuIpcOpenEventHandle)(phEvent, handle) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuIpcGetMemHandle(CUipcMemHandle* pHandle, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3706 * return err * * cdef CUresult _cuIpcOpenEventHandle(CUevent* phEvent, CUipcEventHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcOpenEventHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuIpcOpenEventHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3715 * return err * * cdef CUresult _cuIpcGetMemHandle(CUipcMemHandle* pHandle, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcGetMemHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcGetMemHandle(CUipcMemHandle *__pyx_v_pHandle, CUdeviceptr __pyx_v_dptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuIpcGetMemHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3717 * cdef CUresult _cuIpcGetMemHandle(CUipcMemHandle* pHandle, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuIpcGetMemHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuIpcGetMemHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3717, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3718 * global __cuIpcGetMemHandle * cuPythonInit() * if __cuIpcGetMemHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcGetMemHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetMemHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3719 * cuPythonInit() * if __cuIpcGetMemHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcGetMemHandle" not found') * err = ( __cuIpcGetMemHandle)(pHandle, dptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3720 * if __cuIpcGetMemHandle == NULL: * with gil: * raise RuntimeError('Function "cuIpcGetMemHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuIpcGetMemHandle)(pHandle, dptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuIpcGetMemHandle_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3720, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3720, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3719 * cuPythonInit() * if __cuIpcGetMemHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcGetMemHandle" not found') * err = ( __cuIpcGetMemHandle)(pHandle, dptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3718 * global __cuIpcGetMemHandle * cuPythonInit() * if __cuIpcGetMemHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcGetMemHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3721 * with gil: * raise RuntimeError('Function "cuIpcGetMemHandle" not found') * err = ( __cuIpcGetMemHandle)(pHandle, dptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUipcMemHandle *, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetMemHandle)(__pyx_v_pHandle, __pyx_v_dptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3721, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3722 * raise RuntimeError('Function "cuIpcGetMemHandle" not found') * err = ( __cuIpcGetMemHandle)(pHandle, dptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuIpcOpenMemHandle_v2(CUdeviceptr* pdptr, CUipcMemHandle handle, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3715 * return err * * cdef CUresult _cuIpcGetMemHandle(CUipcMemHandle* pHandle, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcGetMemHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuIpcGetMemHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3724 * return err * * cdef CUresult _cuIpcOpenMemHandle_v2(CUdeviceptr* pdptr, CUipcMemHandle handle, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcOpenMemHandle_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcOpenMemHandle_v2(CUdeviceptr *__pyx_v_pdptr, CUipcMemHandle __pyx_v_handle, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuIpcOpenMemHandle_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3726 * cdef CUresult _cuIpcOpenMemHandle_v2(CUdeviceptr* pdptr, CUipcMemHandle handle, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuIpcOpenMemHandle_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuIpcOpenMemHandle_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3726, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3727 * global __cuIpcOpenMemHandle_v2 * cuPythonInit() * if __cuIpcOpenMemHandle_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcOpenMemHandle_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenMemHandle_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3728 * cuPythonInit() * if __cuIpcOpenMemHandle_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcOpenMemHandle_v2" not found') * err = ( __cuIpcOpenMemHandle_v2)(pdptr, handle, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3729 * if __cuIpcOpenMemHandle_v2 == NULL: * with gil: * raise RuntimeError('Function "cuIpcOpenMemHandle_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuIpcOpenMemHandle_v2)(pdptr, handle, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuIpcOpenMemHandle_v2_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3729, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3729, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3728 * cuPythonInit() * if __cuIpcOpenMemHandle_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcOpenMemHandle_v2" not found') * err = ( __cuIpcOpenMemHandle_v2)(pdptr, handle, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3727 * global __cuIpcOpenMemHandle_v2 * cuPythonInit() * if __cuIpcOpenMemHandle_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcOpenMemHandle_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3730 * with gil: * raise RuntimeError('Function "cuIpcOpenMemHandle_v2" not found') * err = ( __cuIpcOpenMemHandle_v2)(pdptr, handle, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, CUipcMemHandle, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenMemHandle_v2)(__pyx_v_pdptr, __pyx_v_handle, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3730, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3731 * raise RuntimeError('Function "cuIpcOpenMemHandle_v2" not found') * err = ( __cuIpcOpenMemHandle_v2)(pdptr, handle, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuIpcCloseMemHandle(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3724 * return err * * cdef CUresult _cuIpcOpenMemHandle_v2(CUdeviceptr* pdptr, CUipcMemHandle handle, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcOpenMemHandle_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuIpcOpenMemHandle_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3733 * return err * * cdef CUresult _cuIpcCloseMemHandle(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcCloseMemHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcCloseMemHandle(CUdeviceptr __pyx_v_dptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuIpcCloseMemHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3735 * cdef CUresult _cuIpcCloseMemHandle(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuIpcCloseMemHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuIpcCloseMemHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3735, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3736 * global __cuIpcCloseMemHandle * cuPythonInit() * if __cuIpcCloseMemHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcCloseMemHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcCloseMemHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3737 * cuPythonInit() * if __cuIpcCloseMemHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcCloseMemHandle" not found') * err = ( __cuIpcCloseMemHandle)(dptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3738 * if __cuIpcCloseMemHandle == NULL: * with gil: * raise RuntimeError('Function "cuIpcCloseMemHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuIpcCloseMemHandle)(dptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuIpcCloseMemHandle_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3738, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3738, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3737 * cuPythonInit() * if __cuIpcCloseMemHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuIpcCloseMemHandle" not found') * err = ( __cuIpcCloseMemHandle)(dptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3736 * global __cuIpcCloseMemHandle * cuPythonInit() * if __cuIpcCloseMemHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuIpcCloseMemHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3739 * with gil: * raise RuntimeError('Function "cuIpcCloseMemHandle" not found') * err = ( __cuIpcCloseMemHandle)(dptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcCloseMemHandle)(__pyx_v_dptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3739, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3740 * raise RuntimeError('Function "cuIpcCloseMemHandle" not found') * err = ( __cuIpcCloseMemHandle)(dptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemHostRegister_v2(void* p, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3733 * return err * * cdef CUresult _cuIpcCloseMemHandle(CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuIpcCloseMemHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuIpcCloseMemHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3742 * return err * * cdef CUresult _cuMemHostRegister_v2(void* p, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostRegister_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostRegister_v2(void *__pyx_v_p, size_t __pyx_v_bytesize, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemHostRegister_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3744 * cdef CUresult _cuMemHostRegister_v2(void* p, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemHostRegister_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemHostRegister_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3744, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3745 * global __cuMemHostRegister_v2 * cuPythonInit() * if __cuMemHostRegister_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostRegister_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostRegister_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3746 * cuPythonInit() * if __cuMemHostRegister_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostRegister_v2" not found') * err = ( __cuMemHostRegister_v2)(p, bytesize, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3747 * if __cuMemHostRegister_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemHostRegister_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemHostRegister_v2)(p, bytesize, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemHostRegister_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3747, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3747, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3746 * cuPythonInit() * if __cuMemHostRegister_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostRegister_v2" not found') * err = ( __cuMemHostRegister_v2)(p, bytesize, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3745 * global __cuMemHostRegister_v2 * cuPythonInit() * if __cuMemHostRegister_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostRegister_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3748 * with gil: * raise RuntimeError('Function "cuMemHostRegister_v2" not found') * err = ( __cuMemHostRegister_v2)(p, bytesize, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostRegister_v2)(__pyx_v_p, __pyx_v_bytesize, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3748, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3749 * raise RuntimeError('Function "cuMemHostRegister_v2" not found') * err = ( __cuMemHostRegister_v2)(p, bytesize, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemHostUnregister(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3742 * return err * * cdef CUresult _cuMemHostRegister_v2(void* p, size_t bytesize, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostRegister_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemHostRegister_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3751 * return err * * cdef CUresult _cuMemHostUnregister(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostUnregister * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostUnregister(void *__pyx_v_p) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemHostUnregister", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3753 * cdef CUresult _cuMemHostUnregister(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemHostUnregister * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemHostUnregister == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3753, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3754 * global __cuMemHostUnregister * cuPythonInit() * if __cuMemHostUnregister == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostUnregister" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostUnregister == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3755 * cuPythonInit() * if __cuMemHostUnregister == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostUnregister" not found') * err = ( __cuMemHostUnregister)(p) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3756 * if __cuMemHostUnregister == NULL: * with gil: * raise RuntimeError('Function "cuMemHostUnregister" not found') # <<<<<<<<<<<<<< * err = ( __cuMemHostUnregister)(p) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemHostUnregister_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3756, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3756, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3755 * cuPythonInit() * if __cuMemHostUnregister == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemHostUnregister" not found') * err = ( __cuMemHostUnregister)(p) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3754 * global __cuMemHostUnregister * cuPythonInit() * if __cuMemHostUnregister == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemHostUnregister" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3757 * with gil: * raise RuntimeError('Function "cuMemHostUnregister" not found') * err = ( __cuMemHostUnregister)(p) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostUnregister)(__pyx_v_p); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3757, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3758 * raise RuntimeError('Function "cuMemHostUnregister" not found') * err = ( __cuMemHostUnregister)(p) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3751 * return err * * cdef CUresult _cuMemHostUnregister(void* p) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemHostUnregister * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemHostUnregister", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3760 * return err * * cdef CUresult _cuMemcpy(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy(CUdeviceptr __pyx_v_dst, CUdeviceptr __pyx_v_src, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3762 * cdef CUresult _cuMemcpy(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3762, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3763 * global __cuMemcpy * cuPythonInit() * if __cuMemcpy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3764 * cuPythonInit() * if __cuMemcpy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy" not found') * err = ( __cuMemcpy)(dst, src, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3765 * if __cuMemcpy == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy)(dst, src, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3765, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3765, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3764 * cuPythonInit() * if __cuMemcpy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy" not found') * err = ( __cuMemcpy)(dst, src, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3763 * global __cuMemcpy * cuPythonInit() * if __cuMemcpy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3766 * with gil: * raise RuntimeError('Function "cuMemcpy" not found') * err = ( __cuMemcpy)(dst, src, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy)(__pyx_v_dst, __pyx_v_src, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3766, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3767 * raise RuntimeError('Function "cuMemcpy" not found') * err = ( __cuMemcpy)(dst, src, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyPeer(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3760 * return err * * cdef CUresult _cuMemcpy(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3769 * return err * * cdef CUresult _cuMemcpyPeer(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyPeer * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyPeer(CUdeviceptr __pyx_v_dstDevice, CUcontext __pyx_v_dstContext, CUdeviceptr __pyx_v_srcDevice, CUcontext __pyx_v_srcContext, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyPeer", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3771 * cdef CUresult _cuMemcpyPeer(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyPeer * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyPeer == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3771, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3772 * global __cuMemcpyPeer * cuPythonInit() * if __cuMemcpyPeer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyPeer" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3773 * cuPythonInit() * if __cuMemcpyPeer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyPeer" not found') * err = ( __cuMemcpyPeer)(dstDevice, dstContext, srcDevice, srcContext, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3774 * if __cuMemcpyPeer == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyPeer" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyPeer)(dstDevice, dstContext, srcDevice, srcContext, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyPeer_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3774, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3774, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3773 * cuPythonInit() * if __cuMemcpyPeer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyPeer" not found') * err = ( __cuMemcpyPeer)(dstDevice, dstContext, srcDevice, srcContext, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3772 * global __cuMemcpyPeer * cuPythonInit() * if __cuMemcpyPeer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyPeer" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3775 * with gil: * raise RuntimeError('Function "cuMemcpyPeer" not found') * err = ( __cuMemcpyPeer)(dstDevice, dstContext, srcDevice, srcContext, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUcontext, CUdeviceptr, CUcontext, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer)(__pyx_v_dstDevice, __pyx_v_dstContext, __pyx_v_srcDevice, __pyx_v_srcContext, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3775, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3776 * raise RuntimeError('Function "cuMemcpyPeer" not found') * err = ( __cuMemcpyPeer)(dstDevice, dstContext, srcDevice, srcContext, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyHtoD_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3769 * return err * * cdef CUresult _cuMemcpyPeer(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyPeer * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyPeer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3778 * return err * * cdef CUresult _cuMemcpyHtoD_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoD_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoD_v2(CUdeviceptr __pyx_v_dstDevice, void const *__pyx_v_srcHost, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyHtoD_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3780 * cdef CUresult _cuMemcpyHtoD_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyHtoD_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyHtoD_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3780, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3781 * global __cuMemcpyHtoD_v2 * cuPythonInit() * if __cuMemcpyHtoD_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoD_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3782 * cuPythonInit() * if __cuMemcpyHtoD_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoD_v2" not found') * err = ( __cuMemcpyHtoD_v2)(dstDevice, srcHost, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3783 * if __cuMemcpyHtoD_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyHtoD_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyHtoD_v2)(dstDevice, srcHost, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyHtoD_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3783, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3783, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3782 * cuPythonInit() * if __cuMemcpyHtoD_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoD_v2" not found') * err = ( __cuMemcpyHtoD_v2)(dstDevice, srcHost, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3781 * global __cuMemcpyHtoD_v2 * cuPythonInit() * if __cuMemcpyHtoD_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoD_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3784 * with gil: * raise RuntimeError('Function "cuMemcpyHtoD_v2" not found') * err = ( __cuMemcpyHtoD_v2)(dstDevice, srcHost, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, void const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2)(__pyx_v_dstDevice, __pyx_v_srcHost, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3784, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3785 * raise RuntimeError('Function "cuMemcpyHtoD_v2" not found') * err = ( __cuMemcpyHtoD_v2)(dstDevice, srcHost, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyDtoH_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3778 * return err * * cdef CUresult _cuMemcpyHtoD_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoD_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyHtoD_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3787 * return err * * cdef CUresult _cuMemcpyDtoH_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoH_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoH_v2(void *__pyx_v_dstHost, CUdeviceptr __pyx_v_srcDevice, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyDtoH_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3789 * cdef CUresult _cuMemcpyDtoH_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyDtoH_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyDtoH_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3789, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3790 * global __cuMemcpyDtoH_v2 * cuPythonInit() * if __cuMemcpyDtoH_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoH_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3791 * cuPythonInit() * if __cuMemcpyDtoH_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoH_v2" not found') * err = ( __cuMemcpyDtoH_v2)(dstHost, srcDevice, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3792 * if __cuMemcpyDtoH_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyDtoH_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyDtoH_v2)(dstHost, srcDevice, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyDtoH_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3792, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3792, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3791 * cuPythonInit() * if __cuMemcpyDtoH_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoH_v2" not found') * err = ( __cuMemcpyDtoH_v2)(dstHost, srcDevice, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3790 * global __cuMemcpyDtoH_v2 * cuPythonInit() * if __cuMemcpyDtoH_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoH_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3793 * with gil: * raise RuntimeError('Function "cuMemcpyDtoH_v2" not found') * err = ( __cuMemcpyDtoH_v2)(dstHost, srcDevice, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2)(__pyx_v_dstHost, __pyx_v_srcDevice, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3793, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3794 * raise RuntimeError('Function "cuMemcpyDtoH_v2" not found') * err = ( __cuMemcpyDtoH_v2)(dstHost, srcDevice, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyDtoD_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3787 * return err * * cdef CUresult _cuMemcpyDtoH_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoH_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyDtoH_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3796 * return err * * cdef CUresult _cuMemcpyDtoD_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoD_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoD_v2(CUdeviceptr __pyx_v_dstDevice, CUdeviceptr __pyx_v_srcDevice, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyDtoD_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3798 * cdef CUresult _cuMemcpyDtoD_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyDtoD_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyDtoD_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3798, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3799 * global __cuMemcpyDtoD_v2 * cuPythonInit() * if __cuMemcpyDtoD_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoD_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3800 * cuPythonInit() * if __cuMemcpyDtoD_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoD_v2" not found') * err = ( __cuMemcpyDtoD_v2)(dstDevice, srcDevice, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3801 * if __cuMemcpyDtoD_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyDtoD_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyDtoD_v2)(dstDevice, srcDevice, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyDtoD_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3801, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3801, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3800 * cuPythonInit() * if __cuMemcpyDtoD_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoD_v2" not found') * err = ( __cuMemcpyDtoD_v2)(dstDevice, srcDevice, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3799 * global __cuMemcpyDtoD_v2 * cuPythonInit() * if __cuMemcpyDtoD_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoD_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3802 * with gil: * raise RuntimeError('Function "cuMemcpyDtoD_v2" not found') * err = ( __cuMemcpyDtoD_v2)(dstDevice, srcDevice, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2)(__pyx_v_dstDevice, __pyx_v_srcDevice, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3802, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3803 * raise RuntimeError('Function "cuMemcpyDtoD_v2" not found') * err = ( __cuMemcpyDtoD_v2)(dstDevice, srcDevice, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyDtoA_v2(CUarray dstArray, size_t dstOffset, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3796 * return err * * cdef CUresult _cuMemcpyDtoD_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoD_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyDtoD_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3805 * return err * * cdef CUresult _cuMemcpyDtoA_v2(CUarray dstArray, size_t dstOffset, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoA_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoA_v2(CUarray __pyx_v_dstArray, size_t __pyx_v_dstOffset, CUdeviceptr __pyx_v_srcDevice, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyDtoA_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3807 * cdef CUresult _cuMemcpyDtoA_v2(CUarray dstArray, size_t dstOffset, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyDtoA_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyDtoA_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3807, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3808 * global __cuMemcpyDtoA_v2 * cuPythonInit() * if __cuMemcpyDtoA_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoA_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3809 * cuPythonInit() * if __cuMemcpyDtoA_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoA_v2" not found') * err = ( __cuMemcpyDtoA_v2)(dstArray, dstOffset, srcDevice, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3810 * if __cuMemcpyDtoA_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyDtoA_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyDtoA_v2)(dstArray, dstOffset, srcDevice, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyDtoA_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3810, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3810, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3809 * cuPythonInit() * if __cuMemcpyDtoA_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoA_v2" not found') * err = ( __cuMemcpyDtoA_v2)(dstArray, dstOffset, srcDevice, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3808 * global __cuMemcpyDtoA_v2 * cuPythonInit() * if __cuMemcpyDtoA_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoA_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3811 * with gil: * raise RuntimeError('Function "cuMemcpyDtoA_v2" not found') * err = ( __cuMemcpyDtoA_v2)(dstArray, dstOffset, srcDevice, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray, size_t, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2)(__pyx_v_dstArray, __pyx_v_dstOffset, __pyx_v_srcDevice, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3811, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3812 * raise RuntimeError('Function "cuMemcpyDtoA_v2" not found') * err = ( __cuMemcpyDtoA_v2)(dstArray, dstOffset, srcDevice, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyAtoD_v2(CUdeviceptr dstDevice, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3805 * return err * * cdef CUresult _cuMemcpyDtoA_v2(CUarray dstArray, size_t dstOffset, CUdeviceptr srcDevice, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoA_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyDtoA_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3814 * return err * * cdef CUresult _cuMemcpyAtoD_v2(CUdeviceptr dstDevice, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoD_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoD_v2(CUdeviceptr __pyx_v_dstDevice, CUarray __pyx_v_srcArray, size_t __pyx_v_srcOffset, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyAtoD_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3816 * cdef CUresult _cuMemcpyAtoD_v2(CUdeviceptr dstDevice, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyAtoD_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyAtoD_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3816, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3817 * global __cuMemcpyAtoD_v2 * cuPythonInit() * if __cuMemcpyAtoD_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoD_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3818 * cuPythonInit() * if __cuMemcpyAtoD_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoD_v2" not found') * err = ( __cuMemcpyAtoD_v2)(dstDevice, srcArray, srcOffset, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3819 * if __cuMemcpyAtoD_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyAtoD_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyAtoD_v2)(dstDevice, srcArray, srcOffset, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyAtoD_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3819, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3819, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3818 * cuPythonInit() * if __cuMemcpyAtoD_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoD_v2" not found') * err = ( __cuMemcpyAtoD_v2)(dstDevice, srcArray, srcOffset, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3817 * global __cuMemcpyAtoD_v2 * cuPythonInit() * if __cuMemcpyAtoD_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoD_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3820 * with gil: * raise RuntimeError('Function "cuMemcpyAtoD_v2" not found') * err = ( __cuMemcpyAtoD_v2)(dstDevice, srcArray, srcOffset, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUarray, size_t, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2)(__pyx_v_dstDevice, __pyx_v_srcArray, __pyx_v_srcOffset, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3820, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3821 * raise RuntimeError('Function "cuMemcpyAtoD_v2" not found') * err = ( __cuMemcpyAtoD_v2)(dstDevice, srcArray, srcOffset, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyHtoA_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3814 * return err * * cdef CUresult _cuMemcpyAtoD_v2(CUdeviceptr dstDevice, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoD_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyAtoD_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3823 * return err * * cdef CUresult _cuMemcpyHtoA_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoA_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoA_v2(CUarray __pyx_v_dstArray, size_t __pyx_v_dstOffset, void const *__pyx_v_srcHost, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyHtoA_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3825 * cdef CUresult _cuMemcpyHtoA_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyHtoA_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyHtoA_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3825, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3826 * global __cuMemcpyHtoA_v2 * cuPythonInit() * if __cuMemcpyHtoA_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoA_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3827 * cuPythonInit() * if __cuMemcpyHtoA_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoA_v2" not found') * err = ( __cuMemcpyHtoA_v2)(dstArray, dstOffset, srcHost, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3828 * if __cuMemcpyHtoA_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyHtoA_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyHtoA_v2)(dstArray, dstOffset, srcHost, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyHtoA_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3828, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3828, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3827 * cuPythonInit() * if __cuMemcpyHtoA_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoA_v2" not found') * err = ( __cuMemcpyHtoA_v2)(dstArray, dstOffset, srcHost, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3826 * global __cuMemcpyHtoA_v2 * cuPythonInit() * if __cuMemcpyHtoA_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoA_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3829 * with gil: * raise RuntimeError('Function "cuMemcpyHtoA_v2" not found') * err = ( __cuMemcpyHtoA_v2)(dstArray, dstOffset, srcHost, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray, size_t, void const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2)(__pyx_v_dstArray, __pyx_v_dstOffset, __pyx_v_srcHost, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3829, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3830 * raise RuntimeError('Function "cuMemcpyHtoA_v2" not found') * err = ( __cuMemcpyHtoA_v2)(dstArray, dstOffset, srcHost, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyAtoH_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3823 * return err * * cdef CUresult _cuMemcpyHtoA_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoA_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyHtoA_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3832 * return err * * cdef CUresult _cuMemcpyAtoH_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoH_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoH_v2(void *__pyx_v_dstHost, CUarray __pyx_v_srcArray, size_t __pyx_v_srcOffset, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyAtoH_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3834 * cdef CUresult _cuMemcpyAtoH_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyAtoH_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyAtoH_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3834, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3835 * global __cuMemcpyAtoH_v2 * cuPythonInit() * if __cuMemcpyAtoH_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoH_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3836 * cuPythonInit() * if __cuMemcpyAtoH_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoH_v2" not found') * err = ( __cuMemcpyAtoH_v2)(dstHost, srcArray, srcOffset, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3837 * if __cuMemcpyAtoH_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyAtoH_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyAtoH_v2)(dstHost, srcArray, srcOffset, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyAtoH_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3837, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3837, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3836 * cuPythonInit() * if __cuMemcpyAtoH_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoH_v2" not found') * err = ( __cuMemcpyAtoH_v2)(dstHost, srcArray, srcOffset, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3835 * global __cuMemcpyAtoH_v2 * cuPythonInit() * if __cuMemcpyAtoH_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoH_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3838 * with gil: * raise RuntimeError('Function "cuMemcpyAtoH_v2" not found') * err = ( __cuMemcpyAtoH_v2)(dstHost, srcArray, srcOffset, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUarray, size_t, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2)(__pyx_v_dstHost, __pyx_v_srcArray, __pyx_v_srcOffset, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3838, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3839 * raise RuntimeError('Function "cuMemcpyAtoH_v2" not found') * err = ( __cuMemcpyAtoH_v2)(dstHost, srcArray, srcOffset, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyAtoA_v2(CUarray dstArray, size_t dstOffset, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3832 * return err * * cdef CUresult _cuMemcpyAtoH_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoH_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyAtoH_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3841 * return err * * cdef CUresult _cuMemcpyAtoA_v2(CUarray dstArray, size_t dstOffset, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoA_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoA_v2(CUarray __pyx_v_dstArray, size_t __pyx_v_dstOffset, CUarray __pyx_v_srcArray, size_t __pyx_v_srcOffset, size_t __pyx_v_ByteCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyAtoA_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3843 * cdef CUresult _cuMemcpyAtoA_v2(CUarray dstArray, size_t dstOffset, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyAtoA_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyAtoA_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3843, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3844 * global __cuMemcpyAtoA_v2 * cuPythonInit() * if __cuMemcpyAtoA_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoA_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3845 * cuPythonInit() * if __cuMemcpyAtoA_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoA_v2" not found') * err = ( __cuMemcpyAtoA_v2)(dstArray, dstOffset, srcArray, srcOffset, ByteCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3846 * if __cuMemcpyAtoA_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyAtoA_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyAtoA_v2)(dstArray, dstOffset, srcArray, srcOffset, ByteCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyAtoA_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3846, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3846, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3845 * cuPythonInit() * if __cuMemcpyAtoA_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoA_v2" not found') * err = ( __cuMemcpyAtoA_v2)(dstArray, dstOffset, srcArray, srcOffset, ByteCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3844 * global __cuMemcpyAtoA_v2 * cuPythonInit() * if __cuMemcpyAtoA_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoA_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3847 * with gil: * raise RuntimeError('Function "cuMemcpyAtoA_v2" not found') * err = ( __cuMemcpyAtoA_v2)(dstArray, dstOffset, srcArray, srcOffset, ByteCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray, size_t, CUarray, size_t, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2)(__pyx_v_dstArray, __pyx_v_dstOffset, __pyx_v_srcArray, __pyx_v_srcOffset, __pyx_v_ByteCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3847, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3848 * raise RuntimeError('Function "cuMemcpyAtoA_v2" not found') * err = ( __cuMemcpyAtoA_v2)(dstArray, dstOffset, srcArray, srcOffset, ByteCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy2D_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3841 * return err * * cdef CUresult _cuMemcpyAtoA_v2(CUarray dstArray, size_t dstOffset, CUarray srcArray, size_t srcOffset, size_t ByteCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoA_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyAtoA_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3850 * return err * * cdef CUresult _cuMemcpy2D_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy2D_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy2D_v2(CUDA_MEMCPY2D const *__pyx_v_pCopy) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy2D_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3852 * cdef CUresult _cuMemcpy2D_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy2D_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy2D_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3852, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3853 * global __cuMemcpy2D_v2 * cuPythonInit() * if __cuMemcpy2D_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy2D_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3854 * cuPythonInit() * if __cuMemcpy2D_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy2D_v2" not found') * err = ( __cuMemcpy2D_v2)(pCopy) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3855 * if __cuMemcpy2D_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy2D_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy2D_v2)(pCopy) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy2D_v2_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3855, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3855, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3854 * cuPythonInit() * if __cuMemcpy2D_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy2D_v2" not found') * err = ( __cuMemcpy2D_v2)(pCopy) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3853 * global __cuMemcpy2D_v2 * cuPythonInit() * if __cuMemcpy2D_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy2D_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3856 * with gil: * raise RuntimeError('Function "cuMemcpy2D_v2" not found') * err = ( __cuMemcpy2D_v2)(pCopy) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_MEMCPY2D const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2)(__pyx_v_pCopy); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3856, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3857 * raise RuntimeError('Function "cuMemcpy2D_v2" not found') * err = ( __cuMemcpy2D_v2)(pCopy) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy2DUnaligned_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3850 * return err * * cdef CUresult _cuMemcpy2D_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy2D_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy2D_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3859 * return err * * cdef CUresult _cuMemcpy2DUnaligned_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy2DUnaligned_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy2DUnaligned_v2(CUDA_MEMCPY2D const *__pyx_v_pCopy) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy2DUnaligned_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3861 * cdef CUresult _cuMemcpy2DUnaligned_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy2DUnaligned_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy2DUnaligned_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3861, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3862 * global __cuMemcpy2DUnaligned_v2 * cuPythonInit() * if __cuMemcpy2DUnaligned_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy2DUnaligned_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3863 * cuPythonInit() * if __cuMemcpy2DUnaligned_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy2DUnaligned_v2" not found') * err = ( __cuMemcpy2DUnaligned_v2)(pCopy) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3864 * if __cuMemcpy2DUnaligned_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy2DUnaligned_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy2DUnaligned_v2)(pCopy) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy2DUnaligned_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3864, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3864, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3863 * cuPythonInit() * if __cuMemcpy2DUnaligned_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy2DUnaligned_v2" not found') * err = ( __cuMemcpy2DUnaligned_v2)(pCopy) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3862 * global __cuMemcpy2DUnaligned_v2 * cuPythonInit() * if __cuMemcpy2DUnaligned_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy2DUnaligned_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3865 * with gil: * raise RuntimeError('Function "cuMemcpy2DUnaligned_v2" not found') * err = ( __cuMemcpy2DUnaligned_v2)(pCopy) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_MEMCPY2D const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2)(__pyx_v_pCopy); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3865, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3866 * raise RuntimeError('Function "cuMemcpy2DUnaligned_v2" not found') * err = ( __cuMemcpy2DUnaligned_v2)(pCopy) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy3D_v2(const CUDA_MEMCPY3D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3859 * return err * * cdef CUresult _cuMemcpy2DUnaligned_v2(const CUDA_MEMCPY2D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy2DUnaligned_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy2DUnaligned_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3868 * return err * * cdef CUresult _cuMemcpy3D_v2(const CUDA_MEMCPY3D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3D_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3D_v2(CUDA_MEMCPY3D const *__pyx_v_pCopy) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy3D_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3870 * cdef CUresult _cuMemcpy3D_v2(const CUDA_MEMCPY3D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy3D_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy3D_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3870, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3871 * global __cuMemcpy3D_v2 * cuPythonInit() * if __cuMemcpy3D_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3D_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3872 * cuPythonInit() * if __cuMemcpy3D_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3D_v2" not found') * err = ( __cuMemcpy3D_v2)(pCopy) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3873 * if __cuMemcpy3D_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy3D_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy3D_v2)(pCopy) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy3D_v2_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3873, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3873, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3872 * cuPythonInit() * if __cuMemcpy3D_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3D_v2" not found') * err = ( __cuMemcpy3D_v2)(pCopy) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3871 * global __cuMemcpy3D_v2 * cuPythonInit() * if __cuMemcpy3D_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3D_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3874 * with gil: * raise RuntimeError('Function "cuMemcpy3D_v2" not found') * err = ( __cuMemcpy3D_v2)(pCopy) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_MEMCPY3D const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2)(__pyx_v_pCopy); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3874, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3875 * raise RuntimeError('Function "cuMemcpy3D_v2" not found') * err = ( __cuMemcpy3D_v2)(pCopy) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy3DPeer(const CUDA_MEMCPY3D_PEER* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3868 * return err * * cdef CUresult _cuMemcpy3D_v2(const CUDA_MEMCPY3D* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3D_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy3D_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3877 * return err * * cdef CUresult _cuMemcpy3DPeer(const CUDA_MEMCPY3D_PEER* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DPeer * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DPeer(CUDA_MEMCPY3D_PEER const *__pyx_v_pCopy) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy3DPeer", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3879 * cdef CUresult _cuMemcpy3DPeer(const CUDA_MEMCPY3D_PEER* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy3DPeer * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy3DPeer == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3879, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3880 * global __cuMemcpy3DPeer * cuPythonInit() * if __cuMemcpy3DPeer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DPeer" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3881 * cuPythonInit() * if __cuMemcpy3DPeer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DPeer" not found') * err = ( __cuMemcpy3DPeer)(pCopy) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3882 * if __cuMemcpy3DPeer == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy3DPeer" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy3DPeer)(pCopy) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy3DPeer_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3882, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3882, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3881 * cuPythonInit() * if __cuMemcpy3DPeer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DPeer" not found') * err = ( __cuMemcpy3DPeer)(pCopy) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3880 * global __cuMemcpy3DPeer * cuPythonInit() * if __cuMemcpy3DPeer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DPeer" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3883 * with gil: * raise RuntimeError('Function "cuMemcpy3DPeer" not found') * err = ( __cuMemcpy3DPeer)(pCopy) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_MEMCPY3D_PEER const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer)(__pyx_v_pCopy); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3883, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3884 * raise RuntimeError('Function "cuMemcpy3DPeer" not found') * err = ( __cuMemcpy3DPeer)(pCopy) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyAsync(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3877 * return err * * cdef CUresult _cuMemcpy3DPeer(const CUDA_MEMCPY3D_PEER* pCopy) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DPeer * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy3DPeer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3886 * return err * * cdef CUresult _cuMemcpyAsync(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAsync(CUdeviceptr __pyx_v_dst, CUdeviceptr __pyx_v_src, size_t __pyx_v_ByteCount, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3888 * cdef CUresult _cuMemcpyAsync(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3888, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3889 * global __cuMemcpyAsync * cuPythonInit() * if __cuMemcpyAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3890 * cuPythonInit() * if __cuMemcpyAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAsync" not found') * err = ( __cuMemcpyAsync)(dst, src, ByteCount, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3891 * if __cuMemcpyAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyAsync)(dst, src, ByteCount, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyAsync_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3891, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3891, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3890 * cuPythonInit() * if __cuMemcpyAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAsync" not found') * err = ( __cuMemcpyAsync)(dst, src, ByteCount, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3889 * global __cuMemcpyAsync * cuPythonInit() * if __cuMemcpyAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3892 * with gil: * raise RuntimeError('Function "cuMemcpyAsync" not found') * err = ( __cuMemcpyAsync)(dst, src, ByteCount, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUdeviceptr, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync)(__pyx_v_dst, __pyx_v_src, __pyx_v_ByteCount, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3892, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3893 * raise RuntimeError('Function "cuMemcpyAsync" not found') * err = ( __cuMemcpyAsync)(dst, src, ByteCount, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyPeerAsync(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3886 * return err * * cdef CUresult _cuMemcpyAsync(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3895 * return err * * cdef CUresult _cuMemcpyPeerAsync(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyPeerAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyPeerAsync(CUdeviceptr __pyx_v_dstDevice, CUcontext __pyx_v_dstContext, CUdeviceptr __pyx_v_srcDevice, CUcontext __pyx_v_srcContext, size_t __pyx_v_ByteCount, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyPeerAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3897 * cdef CUresult _cuMemcpyPeerAsync(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyPeerAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyPeerAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3897, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3898 * global __cuMemcpyPeerAsync * cuPythonInit() * if __cuMemcpyPeerAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyPeerAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3899 * cuPythonInit() * if __cuMemcpyPeerAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyPeerAsync" not found') * err = ( __cuMemcpyPeerAsync)(dstDevice, dstContext, srcDevice, srcContext, ByteCount, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3900 * if __cuMemcpyPeerAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyPeerAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyPeerAsync)(dstDevice, dstContext, srcDevice, srcContext, ByteCount, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyPeerAsync_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3900, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3900, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3899 * cuPythonInit() * if __cuMemcpyPeerAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyPeerAsync" not found') * err = ( __cuMemcpyPeerAsync)(dstDevice, dstContext, srcDevice, srcContext, ByteCount, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3898 * global __cuMemcpyPeerAsync * cuPythonInit() * if __cuMemcpyPeerAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyPeerAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3901 * with gil: * raise RuntimeError('Function "cuMemcpyPeerAsync" not found') * err = ( __cuMemcpyPeerAsync)(dstDevice, dstContext, srcDevice, srcContext, ByteCount, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUcontext, CUdeviceptr, CUcontext, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync)(__pyx_v_dstDevice, __pyx_v_dstContext, __pyx_v_srcDevice, __pyx_v_srcContext, __pyx_v_ByteCount, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3901, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3902 * raise RuntimeError('Function "cuMemcpyPeerAsync" not found') * err = ( __cuMemcpyPeerAsync)(dstDevice, dstContext, srcDevice, srcContext, ByteCount, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyHtoDAsync_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3895 * return err * * cdef CUresult _cuMemcpyPeerAsync(CUdeviceptr dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyPeerAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyPeerAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3904 * return err * * cdef CUresult _cuMemcpyHtoDAsync_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoDAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoDAsync_v2(CUdeviceptr __pyx_v_dstDevice, void const *__pyx_v_srcHost, size_t __pyx_v_ByteCount, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyHtoDAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3906 * cdef CUresult _cuMemcpyHtoDAsync_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyHtoDAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyHtoDAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3906, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3907 * global __cuMemcpyHtoDAsync_v2 * cuPythonInit() * if __cuMemcpyHtoDAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoDAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3908 * cuPythonInit() * if __cuMemcpyHtoDAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoDAsync_v2" not found') * err = ( __cuMemcpyHtoDAsync_v2)(dstDevice, srcHost, ByteCount, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3909 * if __cuMemcpyHtoDAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyHtoDAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyHtoDAsync_v2)(dstDevice, srcHost, ByteCount, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyHtoDAsync_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3909, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3909, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3908 * cuPythonInit() * if __cuMemcpyHtoDAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoDAsync_v2" not found') * err = ( __cuMemcpyHtoDAsync_v2)(dstDevice, srcHost, ByteCount, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3907 * global __cuMemcpyHtoDAsync_v2 * cuPythonInit() * if __cuMemcpyHtoDAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoDAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3910 * with gil: * raise RuntimeError('Function "cuMemcpyHtoDAsync_v2" not found') * err = ( __cuMemcpyHtoDAsync_v2)(dstDevice, srcHost, ByteCount, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, void const *, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2)(__pyx_v_dstDevice, __pyx_v_srcHost, __pyx_v_ByteCount, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3910, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3911 * raise RuntimeError('Function "cuMemcpyHtoDAsync_v2" not found') * err = ( __cuMemcpyHtoDAsync_v2)(dstDevice, srcHost, ByteCount, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyDtoHAsync_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3904 * return err * * cdef CUresult _cuMemcpyHtoDAsync_v2(CUdeviceptr dstDevice, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoDAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyHtoDAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3913 * return err * * cdef CUresult _cuMemcpyDtoHAsync_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoHAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoHAsync_v2(void *__pyx_v_dstHost, CUdeviceptr __pyx_v_srcDevice, size_t __pyx_v_ByteCount, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyDtoHAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3915 * cdef CUresult _cuMemcpyDtoHAsync_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyDtoHAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyDtoHAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3915, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3916 * global __cuMemcpyDtoHAsync_v2 * cuPythonInit() * if __cuMemcpyDtoHAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoHAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3917 * cuPythonInit() * if __cuMemcpyDtoHAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoHAsync_v2" not found') * err = ( __cuMemcpyDtoHAsync_v2)(dstHost, srcDevice, ByteCount, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3918 * if __cuMemcpyDtoHAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyDtoHAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyDtoHAsync_v2)(dstHost, srcDevice, ByteCount, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyDtoHAsync_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3918, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3918, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3917 * cuPythonInit() * if __cuMemcpyDtoHAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoHAsync_v2" not found') * err = ( __cuMemcpyDtoHAsync_v2)(dstHost, srcDevice, ByteCount, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3916 * global __cuMemcpyDtoHAsync_v2 * cuPythonInit() * if __cuMemcpyDtoHAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoHAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3919 * with gil: * raise RuntimeError('Function "cuMemcpyDtoHAsync_v2" not found') * err = ( __cuMemcpyDtoHAsync_v2)(dstHost, srcDevice, ByteCount, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUdeviceptr, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2)(__pyx_v_dstHost, __pyx_v_srcDevice, __pyx_v_ByteCount, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3919, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3920 * raise RuntimeError('Function "cuMemcpyDtoHAsync_v2" not found') * err = ( __cuMemcpyDtoHAsync_v2)(dstHost, srcDevice, ByteCount, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyDtoDAsync_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3913 * return err * * cdef CUresult _cuMemcpyDtoHAsync_v2(void* dstHost, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoHAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyDtoHAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3922 * return err * * cdef CUresult _cuMemcpyDtoDAsync_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoDAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoDAsync_v2(CUdeviceptr __pyx_v_dstDevice, CUdeviceptr __pyx_v_srcDevice, size_t __pyx_v_ByteCount, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyDtoDAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3924 * cdef CUresult _cuMemcpyDtoDAsync_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyDtoDAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyDtoDAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3924, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3925 * global __cuMemcpyDtoDAsync_v2 * cuPythonInit() * if __cuMemcpyDtoDAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoDAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3926 * cuPythonInit() * if __cuMemcpyDtoDAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoDAsync_v2" not found') * err = ( __cuMemcpyDtoDAsync_v2)(dstDevice, srcDevice, ByteCount, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3927 * if __cuMemcpyDtoDAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyDtoDAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyDtoDAsync_v2)(dstDevice, srcDevice, ByteCount, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyDtoDAsync_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3927, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3927, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3926 * cuPythonInit() * if __cuMemcpyDtoDAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyDtoDAsync_v2" not found') * err = ( __cuMemcpyDtoDAsync_v2)(dstDevice, srcDevice, ByteCount, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3925 * global __cuMemcpyDtoDAsync_v2 * cuPythonInit() * if __cuMemcpyDtoDAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyDtoDAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3928 * with gil: * raise RuntimeError('Function "cuMemcpyDtoDAsync_v2" not found') * err = ( __cuMemcpyDtoDAsync_v2)(dstDevice, srcDevice, ByteCount, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUdeviceptr, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2)(__pyx_v_dstDevice, __pyx_v_srcDevice, __pyx_v_ByteCount, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3928, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3929 * raise RuntimeError('Function "cuMemcpyDtoDAsync_v2" not found') * err = ( __cuMemcpyDtoDAsync_v2)(dstDevice, srcDevice, ByteCount, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyHtoAAsync_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3922 * return err * * cdef CUresult _cuMemcpyDtoDAsync_v2(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyDtoDAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyDtoDAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3931 * return err * * cdef CUresult _cuMemcpyHtoAAsync_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoAAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoAAsync_v2(CUarray __pyx_v_dstArray, size_t __pyx_v_dstOffset, void const *__pyx_v_srcHost, size_t __pyx_v_ByteCount, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyHtoAAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3933 * cdef CUresult _cuMemcpyHtoAAsync_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyHtoAAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyHtoAAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3933, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3934 * global __cuMemcpyHtoAAsync_v2 * cuPythonInit() * if __cuMemcpyHtoAAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoAAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3935 * cuPythonInit() * if __cuMemcpyHtoAAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoAAsync_v2" not found') * err = ( __cuMemcpyHtoAAsync_v2)(dstArray, dstOffset, srcHost, ByteCount, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3936 * if __cuMemcpyHtoAAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyHtoAAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyHtoAAsync_v2)(dstArray, dstOffset, srcHost, ByteCount, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyHtoAAsync_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3936, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3936, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3935 * cuPythonInit() * if __cuMemcpyHtoAAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyHtoAAsync_v2" not found') * err = ( __cuMemcpyHtoAAsync_v2)(dstArray, dstOffset, srcHost, ByteCount, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3934 * global __cuMemcpyHtoAAsync_v2 * cuPythonInit() * if __cuMemcpyHtoAAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyHtoAAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3937 * with gil: * raise RuntimeError('Function "cuMemcpyHtoAAsync_v2" not found') * err = ( __cuMemcpyHtoAAsync_v2)(dstArray, dstOffset, srcHost, ByteCount, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray, size_t, void const *, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2)(__pyx_v_dstArray, __pyx_v_dstOffset, __pyx_v_srcHost, __pyx_v_ByteCount, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3937, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3938 * raise RuntimeError('Function "cuMemcpyHtoAAsync_v2" not found') * err = ( __cuMemcpyHtoAAsync_v2)(dstArray, dstOffset, srcHost, ByteCount, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyAtoHAsync_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3931 * return err * * cdef CUresult _cuMemcpyHtoAAsync_v2(CUarray dstArray, size_t dstOffset, const void* srcHost, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyHtoAAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyHtoAAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3940 * return err * * cdef CUresult _cuMemcpyAtoHAsync_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoHAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoHAsync_v2(void *__pyx_v_dstHost, CUarray __pyx_v_srcArray, size_t __pyx_v_srcOffset, size_t __pyx_v_ByteCount, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyAtoHAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3942 * cdef CUresult _cuMemcpyAtoHAsync_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyAtoHAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyAtoHAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3942, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3943 * global __cuMemcpyAtoHAsync_v2 * cuPythonInit() * if __cuMemcpyAtoHAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoHAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3944 * cuPythonInit() * if __cuMemcpyAtoHAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoHAsync_v2" not found') * err = ( __cuMemcpyAtoHAsync_v2)(dstHost, srcArray, srcOffset, ByteCount, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3945 * if __cuMemcpyAtoHAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyAtoHAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyAtoHAsync_v2)(dstHost, srcArray, srcOffset, ByteCount, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyAtoHAsync_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3945, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3945, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3944 * cuPythonInit() * if __cuMemcpyAtoHAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyAtoHAsync_v2" not found') * err = ( __cuMemcpyAtoHAsync_v2)(dstHost, srcArray, srcOffset, ByteCount, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3943 * global __cuMemcpyAtoHAsync_v2 * cuPythonInit() * if __cuMemcpyAtoHAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyAtoHAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3946 * with gil: * raise RuntimeError('Function "cuMemcpyAtoHAsync_v2" not found') * err = ( __cuMemcpyAtoHAsync_v2)(dstHost, srcArray, srcOffset, ByteCount, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUarray, size_t, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2)(__pyx_v_dstHost, __pyx_v_srcArray, __pyx_v_srcOffset, __pyx_v_ByteCount, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3946, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3947 * raise RuntimeError('Function "cuMemcpyAtoHAsync_v2" not found') * err = ( __cuMemcpyAtoHAsync_v2)(dstHost, srcArray, srcOffset, ByteCount, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy2DAsync_v2(const CUDA_MEMCPY2D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3940 * return err * * cdef CUresult _cuMemcpyAtoHAsync_v2(void* dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyAtoHAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyAtoHAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3949 * return err * * cdef CUresult _cuMemcpy2DAsync_v2(const CUDA_MEMCPY2D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy2DAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy2DAsync_v2(CUDA_MEMCPY2D const *__pyx_v_pCopy, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy2DAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3951 * cdef CUresult _cuMemcpy2DAsync_v2(const CUDA_MEMCPY2D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy2DAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy2DAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3951, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3952 * global __cuMemcpy2DAsync_v2 * cuPythonInit() * if __cuMemcpy2DAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy2DAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3953 * cuPythonInit() * if __cuMemcpy2DAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy2DAsync_v2" not found') * err = ( __cuMemcpy2DAsync_v2)(pCopy, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3954 * if __cuMemcpy2DAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy2DAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy2DAsync_v2)(pCopy, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy2DAsync_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3954, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3954, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3953 * cuPythonInit() * if __cuMemcpy2DAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy2DAsync_v2" not found') * err = ( __cuMemcpy2DAsync_v2)(pCopy, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3952 * global __cuMemcpy2DAsync_v2 * cuPythonInit() * if __cuMemcpy2DAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy2DAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3955 * with gil: * raise RuntimeError('Function "cuMemcpy2DAsync_v2" not found') * err = ( __cuMemcpy2DAsync_v2)(pCopy, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_MEMCPY2D const *, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2)(__pyx_v_pCopy, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3955, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3956 * raise RuntimeError('Function "cuMemcpy2DAsync_v2" not found') * err = ( __cuMemcpy2DAsync_v2)(pCopy, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy3DAsync_v2(const CUDA_MEMCPY3D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3949 * return err * * cdef CUresult _cuMemcpy2DAsync_v2(const CUDA_MEMCPY2D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy2DAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy2DAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3958 * return err * * cdef CUresult _cuMemcpy3DAsync_v2(const CUDA_MEMCPY3D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DAsync_v2(CUDA_MEMCPY3D const *__pyx_v_pCopy, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy3DAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3960 * cdef CUresult _cuMemcpy3DAsync_v2(const CUDA_MEMCPY3D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy3DAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy3DAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3960, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3961 * global __cuMemcpy3DAsync_v2 * cuPythonInit() * if __cuMemcpy3DAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3962 * cuPythonInit() * if __cuMemcpy3DAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DAsync_v2" not found') * err = ( __cuMemcpy3DAsync_v2)(pCopy, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3963 * if __cuMemcpy3DAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy3DAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy3DAsync_v2)(pCopy, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy3DAsync_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3963, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3963, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3962 * cuPythonInit() * if __cuMemcpy3DAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DAsync_v2" not found') * err = ( __cuMemcpy3DAsync_v2)(pCopy, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3961 * global __cuMemcpy3DAsync_v2 * cuPythonInit() * if __cuMemcpy3DAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3964 * with gil: * raise RuntimeError('Function "cuMemcpy3DAsync_v2" not found') * err = ( __cuMemcpy3DAsync_v2)(pCopy, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_MEMCPY3D const *, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2)(__pyx_v_pCopy, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3964, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3965 * raise RuntimeError('Function "cuMemcpy3DAsync_v2" not found') * err = ( __cuMemcpy3DAsync_v2)(pCopy, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy3DPeerAsync(const CUDA_MEMCPY3D_PEER* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3958 * return err * * cdef CUresult _cuMemcpy3DAsync_v2(const CUDA_MEMCPY3D* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy3DAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3967 * return err * * cdef CUresult _cuMemcpy3DPeerAsync(const CUDA_MEMCPY3D_PEER* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DPeerAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DPeerAsync(CUDA_MEMCPY3D_PEER const *__pyx_v_pCopy, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy3DPeerAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3969 * cdef CUresult _cuMemcpy3DPeerAsync(const CUDA_MEMCPY3D_PEER* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy3DPeerAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy3DPeerAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3969, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3970 * global __cuMemcpy3DPeerAsync * cuPythonInit() * if __cuMemcpy3DPeerAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DPeerAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3971 * cuPythonInit() * if __cuMemcpy3DPeerAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DPeerAsync" not found') * err = ( __cuMemcpy3DPeerAsync)(pCopy, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3972 * if __cuMemcpy3DPeerAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy3DPeerAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy3DPeerAsync)(pCopy, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy3DPeerAsync_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3972, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3972, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3971 * cuPythonInit() * if __cuMemcpy3DPeerAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DPeerAsync" not found') * err = ( __cuMemcpy3DPeerAsync)(pCopy, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3970 * global __cuMemcpy3DPeerAsync * cuPythonInit() * if __cuMemcpy3DPeerAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DPeerAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3973 * with gil: * raise RuntimeError('Function "cuMemcpy3DPeerAsync" not found') * err = ( __cuMemcpy3DPeerAsync)(pCopy, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_MEMCPY3D_PEER const *, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync)(__pyx_v_pCopy, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3973, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3974 * raise RuntimeError('Function "cuMemcpy3DPeerAsync" not found') * err = ( __cuMemcpy3DPeerAsync)(pCopy, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpyBatchAsync(CUdeviceptr* dsts, CUdeviceptr* srcs, size_t* sizes, size_t count, CUmemcpyAttributes* attrs, size_t* attrsIdxs, size_t numAttrs, size_t* failIdx, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3967 * return err * * cdef CUresult _cuMemcpy3DPeerAsync(const CUDA_MEMCPY3D_PEER* pCopy, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DPeerAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy3DPeerAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3976 * return err * * cdef CUresult _cuMemcpyBatchAsync(CUdeviceptr* dsts, CUdeviceptr* srcs, size_t* sizes, size_t count, CUmemcpyAttributes* attrs, size_t* attrsIdxs, size_t numAttrs, size_t* failIdx, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyBatchAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyBatchAsync(CUdeviceptr *__pyx_v_dsts, CUdeviceptr *__pyx_v_srcs, size_t *__pyx_v_sizes, size_t __pyx_v_count, CUmemcpyAttributes *__pyx_v_attrs, size_t *__pyx_v_attrsIdxs, size_t __pyx_v_numAttrs, size_t *__pyx_v_failIdx, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpyBatchAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3978 * cdef CUresult _cuMemcpyBatchAsync(CUdeviceptr* dsts, CUdeviceptr* srcs, size_t* sizes, size_t count, CUmemcpyAttributes* attrs, size_t* attrsIdxs, size_t numAttrs, size_t* failIdx, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpyBatchAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpyBatchAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3978, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3979 * global __cuMemcpyBatchAsync * cuPythonInit() * if __cuMemcpyBatchAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyBatchAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3980 * cuPythonInit() * if __cuMemcpyBatchAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyBatchAsync" not found') * err = ( __cuMemcpyBatchAsync)(dsts, srcs, sizes, count, attrs, attrsIdxs, numAttrs, failIdx, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3981 * if __cuMemcpyBatchAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemcpyBatchAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpyBatchAsync)(dsts, srcs, sizes, count, attrs, attrsIdxs, numAttrs, failIdx, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpyBatchAsync_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3981, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3981, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3980 * cuPythonInit() * if __cuMemcpyBatchAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpyBatchAsync" not found') * err = ( __cuMemcpyBatchAsync)(dsts, srcs, sizes, count, attrs, attrsIdxs, numAttrs, failIdx, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3979 * global __cuMemcpyBatchAsync * cuPythonInit() * if __cuMemcpyBatchAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpyBatchAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3982 * with gil: * raise RuntimeError('Function "cuMemcpyBatchAsync" not found') * err = ( __cuMemcpyBatchAsync)(dsts, srcs, sizes, count, attrs, attrsIdxs, numAttrs, failIdx, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, CUdeviceptr *, size_t *, size_t, CUmemcpyAttributes *, size_t *, size_t, size_t *, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync)(__pyx_v_dsts, __pyx_v_srcs, __pyx_v_sizes, __pyx_v_count, __pyx_v_attrs, __pyx_v_attrsIdxs, __pyx_v_numAttrs, __pyx_v_failIdx, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3982, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3983 * raise RuntimeError('Function "cuMemcpyBatchAsync" not found') * err = ( __cuMemcpyBatchAsync)(dsts, srcs, sizes, count, attrs, attrsIdxs, numAttrs, failIdx, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemcpy3DBatchAsync(size_t numOps, CUDA_MEMCPY3D_BATCH_OP* opList, size_t* failIdx, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3976 * return err * * cdef CUresult _cuMemcpyBatchAsync(CUdeviceptr* dsts, CUdeviceptr* srcs, size_t* sizes, size_t count, CUmemcpyAttributes* attrs, size_t* attrsIdxs, size_t numAttrs, size_t* failIdx, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpyBatchAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpyBatchAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3985 * return err * * cdef CUresult _cuMemcpy3DBatchAsync(size_t numOps, CUDA_MEMCPY3D_BATCH_OP* opList, size_t* failIdx, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DBatchAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DBatchAsync(size_t __pyx_v_numOps, CUDA_MEMCPY3D_BATCH_OP *__pyx_v_opList, size_t *__pyx_v_failIdx, unsigned PY_LONG_LONG __pyx_v_flags, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemcpy3DBatchAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3987 * cdef CUresult _cuMemcpy3DBatchAsync(size_t numOps, CUDA_MEMCPY3D_BATCH_OP* opList, size_t* failIdx, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemcpy3DBatchAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemcpy3DBatchAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3987, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3988 * global __cuMemcpy3DBatchAsync * cuPythonInit() * if __cuMemcpy3DBatchAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DBatchAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3989 * cuPythonInit() * if __cuMemcpy3DBatchAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DBatchAsync" not found') * err = ( __cuMemcpy3DBatchAsync)(numOps, opList, failIdx, flags, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3990 * if __cuMemcpy3DBatchAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemcpy3DBatchAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemcpy3DBatchAsync)(numOps, opList, failIdx, flags, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemcpy3DBatchAsync_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3990, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3990, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3989 * cuPythonInit() * if __cuMemcpy3DBatchAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemcpy3DBatchAsync" not found') * err = ( __cuMemcpy3DBatchAsync)(numOps, opList, failIdx, flags, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3988 * global __cuMemcpy3DBatchAsync * cuPythonInit() * if __cuMemcpy3DBatchAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemcpy3DBatchAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":3991 * with gil: * raise RuntimeError('Function "cuMemcpy3DBatchAsync" not found') * err = ( __cuMemcpy3DBatchAsync)(numOps, opList, failIdx, flags, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t, CUDA_MEMCPY3D_BATCH_OP *, size_t *, unsigned PY_LONG_LONG, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync)(__pyx_v_numOps, __pyx_v_opList, __pyx_v_failIdx, __pyx_v_flags, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 3991, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":3992 * raise RuntimeError('Function "cuMemcpy3DBatchAsync" not found') * err = ( __cuMemcpy3DBatchAsync)(numOps, opList, failIdx, flags, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD8_v2(CUdeviceptr dstDevice, unsigned char uc, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3985 * return err * * cdef CUresult _cuMemcpy3DBatchAsync(size_t numOps, CUDA_MEMCPY3D_BATCH_OP* opList, size_t* failIdx, unsigned long long flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemcpy3DBatchAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemcpy3DBatchAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":3994 * return err * * cdef CUresult _cuMemsetD8_v2(CUdeviceptr dstDevice, unsigned char uc, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD8_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD8_v2(CUdeviceptr __pyx_v_dstDevice, unsigned char __pyx_v_uc, size_t __pyx_v_N) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD8_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":3996 * cdef CUresult _cuMemsetD8_v2(CUdeviceptr dstDevice, unsigned char uc, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD8_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD8_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 3996, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":3997 * global __cuMemsetD8_v2 * cuPythonInit() * if __cuMemsetD8_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD8_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":3998 * cuPythonInit() * if __cuMemsetD8_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD8_v2" not found') * err = ( __cuMemsetD8_v2)(dstDevice, uc, N) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":3999 * if __cuMemsetD8_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD8_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD8_v2)(dstDevice, uc, N) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD8_v2_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3999, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 3999, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":3998 * cuPythonInit() * if __cuMemsetD8_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD8_v2" not found') * err = ( __cuMemsetD8_v2)(dstDevice, uc, N) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":3997 * global __cuMemsetD8_v2 * cuPythonInit() * if __cuMemsetD8_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD8_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4000 * with gil: * raise RuntimeError('Function "cuMemsetD8_v2" not found') * err = ( __cuMemsetD8_v2)(dstDevice, uc, N) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, unsigned char, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2)(__pyx_v_dstDevice, __pyx_v_uc, __pyx_v_N); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4000, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4001 * raise RuntimeError('Function "cuMemsetD8_v2" not found') * err = ( __cuMemsetD8_v2)(dstDevice, uc, N) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD16_v2(CUdeviceptr dstDevice, unsigned short us, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":3994 * return err * * cdef CUresult _cuMemsetD8_v2(CUdeviceptr dstDevice, unsigned char uc, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD8_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD8_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4003 * return err * * cdef CUresult _cuMemsetD16_v2(CUdeviceptr dstDevice, unsigned short us, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD16_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD16_v2(CUdeviceptr __pyx_v_dstDevice, unsigned short __pyx_v_us, size_t __pyx_v_N) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD16_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4005 * cdef CUresult _cuMemsetD16_v2(CUdeviceptr dstDevice, unsigned short us, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD16_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD16_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4005, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4006 * global __cuMemsetD16_v2 * cuPythonInit() * if __cuMemsetD16_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD16_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4007 * cuPythonInit() * if __cuMemsetD16_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD16_v2" not found') * err = ( __cuMemsetD16_v2)(dstDevice, us, N) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4008 * if __cuMemsetD16_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD16_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD16_v2)(dstDevice, us, N) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD16_v2_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4008, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4008, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4007 * cuPythonInit() * if __cuMemsetD16_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD16_v2" not found') * err = ( __cuMemsetD16_v2)(dstDevice, us, N) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4006 * global __cuMemsetD16_v2 * cuPythonInit() * if __cuMemsetD16_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD16_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4009 * with gil: * raise RuntimeError('Function "cuMemsetD16_v2" not found') * err = ( __cuMemsetD16_v2)(dstDevice, us, N) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, unsigned short, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2)(__pyx_v_dstDevice, __pyx_v_us, __pyx_v_N); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4009, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4010 * raise RuntimeError('Function "cuMemsetD16_v2" not found') * err = ( __cuMemsetD16_v2)(dstDevice, us, N) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD32_v2(CUdeviceptr dstDevice, unsigned int ui, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4003 * return err * * cdef CUresult _cuMemsetD16_v2(CUdeviceptr dstDevice, unsigned short us, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD16_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD16_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4012 * return err * * cdef CUresult _cuMemsetD32_v2(CUdeviceptr dstDevice, unsigned int ui, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD32_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD32_v2(CUdeviceptr __pyx_v_dstDevice, unsigned int __pyx_v_ui, size_t __pyx_v_N) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD32_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4014 * cdef CUresult _cuMemsetD32_v2(CUdeviceptr dstDevice, unsigned int ui, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD32_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD32_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4014, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4015 * global __cuMemsetD32_v2 * cuPythonInit() * if __cuMemsetD32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD32_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4016 * cuPythonInit() * if __cuMemsetD32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD32_v2" not found') * err = ( __cuMemsetD32_v2)(dstDevice, ui, N) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4017 * if __cuMemsetD32_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD32_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD32_v2)(dstDevice, ui, N) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD32_v2_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4017, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4017, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4016 * cuPythonInit() * if __cuMemsetD32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD32_v2" not found') * err = ( __cuMemsetD32_v2)(dstDevice, ui, N) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4015 * global __cuMemsetD32_v2 * cuPythonInit() * if __cuMemsetD32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD32_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4018 * with gil: * raise RuntimeError('Function "cuMemsetD32_v2" not found') * err = ( __cuMemsetD32_v2)(dstDevice, ui, N) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, unsigned int, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2)(__pyx_v_dstDevice, __pyx_v_ui, __pyx_v_N); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4018, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4019 * raise RuntimeError('Function "cuMemsetD32_v2" not found') * err = ( __cuMemsetD32_v2)(dstDevice, ui, N) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD2D8_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4012 * return err * * cdef CUresult _cuMemsetD32_v2(CUdeviceptr dstDevice, unsigned int ui, size_t N) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD32_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD32_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4021 * return err * * cdef CUresult _cuMemsetD2D8_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D8_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D8_v2(CUdeviceptr __pyx_v_dstDevice, size_t __pyx_v_dstPitch, unsigned char __pyx_v_uc, size_t __pyx_v_Width, size_t __pyx_v_Height) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD2D8_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4023 * cdef CUresult _cuMemsetD2D8_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD2D8_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD2D8_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4023, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4024 * global __cuMemsetD2D8_v2 * cuPythonInit() * if __cuMemsetD2D8_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D8_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4025 * cuPythonInit() * if __cuMemsetD2D8_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D8_v2" not found') * err = ( __cuMemsetD2D8_v2)(dstDevice, dstPitch, uc, Width, Height) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4026 * if __cuMemsetD2D8_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD2D8_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD2D8_v2)(dstDevice, dstPitch, uc, Width, Height) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD2D8_v2_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4026, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4026, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4025 * cuPythonInit() * if __cuMemsetD2D8_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D8_v2" not found') * err = ( __cuMemsetD2D8_v2)(dstDevice, dstPitch, uc, Width, Height) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4024 * global __cuMemsetD2D8_v2 * cuPythonInit() * if __cuMemsetD2D8_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D8_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4027 * with gil: * raise RuntimeError('Function "cuMemsetD2D8_v2" not found') * err = ( __cuMemsetD2D8_v2)(dstDevice, dstPitch, uc, Width, Height) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, unsigned char, size_t, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2)(__pyx_v_dstDevice, __pyx_v_dstPitch, __pyx_v_uc, __pyx_v_Width, __pyx_v_Height); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4027, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4028 * raise RuntimeError('Function "cuMemsetD2D8_v2" not found') * err = ( __cuMemsetD2D8_v2)(dstDevice, dstPitch, uc, Width, Height) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD2D16_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4021 * return err * * cdef CUresult _cuMemsetD2D8_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D8_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD2D8_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4030 * return err * * cdef CUresult _cuMemsetD2D16_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D16_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D16_v2(CUdeviceptr __pyx_v_dstDevice, size_t __pyx_v_dstPitch, unsigned short __pyx_v_us, size_t __pyx_v_Width, size_t __pyx_v_Height) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD2D16_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4032 * cdef CUresult _cuMemsetD2D16_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD2D16_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD2D16_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4032, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4033 * global __cuMemsetD2D16_v2 * cuPythonInit() * if __cuMemsetD2D16_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D16_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4034 * cuPythonInit() * if __cuMemsetD2D16_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D16_v2" not found') * err = ( __cuMemsetD2D16_v2)(dstDevice, dstPitch, us, Width, Height) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4035 * if __cuMemsetD2D16_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD2D16_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD2D16_v2)(dstDevice, dstPitch, us, Width, Height) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD2D16_v2_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4035, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4035, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4034 * cuPythonInit() * if __cuMemsetD2D16_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D16_v2" not found') * err = ( __cuMemsetD2D16_v2)(dstDevice, dstPitch, us, Width, Height) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4033 * global __cuMemsetD2D16_v2 * cuPythonInit() * if __cuMemsetD2D16_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D16_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4036 * with gil: * raise RuntimeError('Function "cuMemsetD2D16_v2" not found') * err = ( __cuMemsetD2D16_v2)(dstDevice, dstPitch, us, Width, Height) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, unsigned short, size_t, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2)(__pyx_v_dstDevice, __pyx_v_dstPitch, __pyx_v_us, __pyx_v_Width, __pyx_v_Height); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4036, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4037 * raise RuntimeError('Function "cuMemsetD2D16_v2" not found') * err = ( __cuMemsetD2D16_v2)(dstDevice, dstPitch, us, Width, Height) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD2D32_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4030 * return err * * cdef CUresult _cuMemsetD2D16_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D16_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD2D16_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4039 * return err * * cdef CUresult _cuMemsetD2D32_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D32_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D32_v2(CUdeviceptr __pyx_v_dstDevice, size_t __pyx_v_dstPitch, unsigned int __pyx_v_ui, size_t __pyx_v_Width, size_t __pyx_v_Height) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD2D32_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4041 * cdef CUresult _cuMemsetD2D32_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD2D32_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD2D32_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4041, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4042 * global __cuMemsetD2D32_v2 * cuPythonInit() * if __cuMemsetD2D32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D32_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4043 * cuPythonInit() * if __cuMemsetD2D32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D32_v2" not found') * err = ( __cuMemsetD2D32_v2)(dstDevice, dstPitch, ui, Width, Height) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4044 * if __cuMemsetD2D32_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD2D32_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD2D32_v2)(dstDevice, dstPitch, ui, Width, Height) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD2D32_v2_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4044, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4044, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4043 * cuPythonInit() * if __cuMemsetD2D32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D32_v2" not found') * err = ( __cuMemsetD2D32_v2)(dstDevice, dstPitch, ui, Width, Height) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4042 * global __cuMemsetD2D32_v2 * cuPythonInit() * if __cuMemsetD2D32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D32_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4045 * with gil: * raise RuntimeError('Function "cuMemsetD2D32_v2" not found') * err = ( __cuMemsetD2D32_v2)(dstDevice, dstPitch, ui, Width, Height) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, unsigned int, size_t, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2)(__pyx_v_dstDevice, __pyx_v_dstPitch, __pyx_v_ui, __pyx_v_Width, __pyx_v_Height); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4045, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4046 * raise RuntimeError('Function "cuMemsetD2D32_v2" not found') * err = ( __cuMemsetD2D32_v2)(dstDevice, dstPitch, ui, Width, Height) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD8Async(CUdeviceptr dstDevice, unsigned char uc, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4039 * return err * * cdef CUresult _cuMemsetD2D32_v2(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D32_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD2D32_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4048 * return err * * cdef CUresult _cuMemsetD8Async(CUdeviceptr dstDevice, unsigned char uc, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD8Async * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD8Async(CUdeviceptr __pyx_v_dstDevice, unsigned char __pyx_v_uc, size_t __pyx_v_N, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD8Async", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4050 * cdef CUresult _cuMemsetD8Async(CUdeviceptr dstDevice, unsigned char uc, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD8Async * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD8Async == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4050, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4051 * global __cuMemsetD8Async * cuPythonInit() * if __cuMemsetD8Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD8Async" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4052 * cuPythonInit() * if __cuMemsetD8Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD8Async" not found') * err = ( __cuMemsetD8Async)(dstDevice, uc, N, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4053 * if __cuMemsetD8Async == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD8Async" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD8Async)(dstDevice, uc, N, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD8Async_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4053, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4053, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4052 * cuPythonInit() * if __cuMemsetD8Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD8Async" not found') * err = ( __cuMemsetD8Async)(dstDevice, uc, N, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4051 * global __cuMemsetD8Async * cuPythonInit() * if __cuMemsetD8Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD8Async" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4054 * with gil: * raise RuntimeError('Function "cuMemsetD8Async" not found') * err = ( __cuMemsetD8Async)(dstDevice, uc, N, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, unsigned char, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async)(__pyx_v_dstDevice, __pyx_v_uc, __pyx_v_N, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4054, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4055 * raise RuntimeError('Function "cuMemsetD8Async" not found') * err = ( __cuMemsetD8Async)(dstDevice, uc, N, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD16Async(CUdeviceptr dstDevice, unsigned short us, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4048 * return err * * cdef CUresult _cuMemsetD8Async(CUdeviceptr dstDevice, unsigned char uc, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD8Async * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD8Async", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4057 * return err * * cdef CUresult _cuMemsetD16Async(CUdeviceptr dstDevice, unsigned short us, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD16Async * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD16Async(CUdeviceptr __pyx_v_dstDevice, unsigned short __pyx_v_us, size_t __pyx_v_N, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD16Async", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4059 * cdef CUresult _cuMemsetD16Async(CUdeviceptr dstDevice, unsigned short us, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD16Async * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD16Async == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4059, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4060 * global __cuMemsetD16Async * cuPythonInit() * if __cuMemsetD16Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD16Async" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4061 * cuPythonInit() * if __cuMemsetD16Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD16Async" not found') * err = ( __cuMemsetD16Async)(dstDevice, us, N, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4062 * if __cuMemsetD16Async == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD16Async" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD16Async)(dstDevice, us, N, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD16Async_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4062, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4062, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4061 * cuPythonInit() * if __cuMemsetD16Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD16Async" not found') * err = ( __cuMemsetD16Async)(dstDevice, us, N, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4060 * global __cuMemsetD16Async * cuPythonInit() * if __cuMemsetD16Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD16Async" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4063 * with gil: * raise RuntimeError('Function "cuMemsetD16Async" not found') * err = ( __cuMemsetD16Async)(dstDevice, us, N, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, unsigned short, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async)(__pyx_v_dstDevice, __pyx_v_us, __pyx_v_N, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4063, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4064 * raise RuntimeError('Function "cuMemsetD16Async" not found') * err = ( __cuMemsetD16Async)(dstDevice, us, N, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD32Async(CUdeviceptr dstDevice, unsigned int ui, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4057 * return err * * cdef CUresult _cuMemsetD16Async(CUdeviceptr dstDevice, unsigned short us, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD16Async * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD16Async", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4066 * return err * * cdef CUresult _cuMemsetD32Async(CUdeviceptr dstDevice, unsigned int ui, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD32Async * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD32Async(CUdeviceptr __pyx_v_dstDevice, unsigned int __pyx_v_ui, size_t __pyx_v_N, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD32Async", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4068 * cdef CUresult _cuMemsetD32Async(CUdeviceptr dstDevice, unsigned int ui, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD32Async * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD32Async == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4068, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4069 * global __cuMemsetD32Async * cuPythonInit() * if __cuMemsetD32Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD32Async" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4070 * cuPythonInit() * if __cuMemsetD32Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD32Async" not found') * err = ( __cuMemsetD32Async)(dstDevice, ui, N, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4071 * if __cuMemsetD32Async == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD32Async" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD32Async)(dstDevice, ui, N, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD32Async_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4071, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4071, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4070 * cuPythonInit() * if __cuMemsetD32Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD32Async" not found') * err = ( __cuMemsetD32Async)(dstDevice, ui, N, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4069 * global __cuMemsetD32Async * cuPythonInit() * if __cuMemsetD32Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD32Async" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4072 * with gil: * raise RuntimeError('Function "cuMemsetD32Async" not found') * err = ( __cuMemsetD32Async)(dstDevice, ui, N, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, unsigned int, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async)(__pyx_v_dstDevice, __pyx_v_ui, __pyx_v_N, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4072, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4073 * raise RuntimeError('Function "cuMemsetD32Async" not found') * err = ( __cuMemsetD32Async)(dstDevice, ui, N, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD2D8Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4066 * return err * * cdef CUresult _cuMemsetD32Async(CUdeviceptr dstDevice, unsigned int ui, size_t N, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD32Async * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD32Async", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4075 * return err * * cdef CUresult _cuMemsetD2D8Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D8Async * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D8Async(CUdeviceptr __pyx_v_dstDevice, size_t __pyx_v_dstPitch, unsigned char __pyx_v_uc, size_t __pyx_v_Width, size_t __pyx_v_Height, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD2D8Async", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4077 * cdef CUresult _cuMemsetD2D8Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD2D8Async * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD2D8Async == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4077, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4078 * global __cuMemsetD2D8Async * cuPythonInit() * if __cuMemsetD2D8Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D8Async" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4079 * cuPythonInit() * if __cuMemsetD2D8Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D8Async" not found') * err = ( __cuMemsetD2D8Async)(dstDevice, dstPitch, uc, Width, Height, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4080 * if __cuMemsetD2D8Async == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD2D8Async" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD2D8Async)(dstDevice, dstPitch, uc, Width, Height, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD2D8Async_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4080, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4080, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4079 * cuPythonInit() * if __cuMemsetD2D8Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D8Async" not found') * err = ( __cuMemsetD2D8Async)(dstDevice, dstPitch, uc, Width, Height, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4078 * global __cuMemsetD2D8Async * cuPythonInit() * if __cuMemsetD2D8Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D8Async" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4081 * with gil: * raise RuntimeError('Function "cuMemsetD2D8Async" not found') * err = ( __cuMemsetD2D8Async)(dstDevice, dstPitch, uc, Width, Height, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, unsigned char, size_t, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async)(__pyx_v_dstDevice, __pyx_v_dstPitch, __pyx_v_uc, __pyx_v_Width, __pyx_v_Height, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4081, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4082 * raise RuntimeError('Function "cuMemsetD2D8Async" not found') * err = ( __cuMemsetD2D8Async)(dstDevice, dstPitch, uc, Width, Height, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD2D16Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4075 * return err * * cdef CUresult _cuMemsetD2D8Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D8Async * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD2D8Async", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4084 * return err * * cdef CUresult _cuMemsetD2D16Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D16Async * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D16Async(CUdeviceptr __pyx_v_dstDevice, size_t __pyx_v_dstPitch, unsigned short __pyx_v_us, size_t __pyx_v_Width, size_t __pyx_v_Height, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD2D16Async", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4086 * cdef CUresult _cuMemsetD2D16Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD2D16Async * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD2D16Async == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4086, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4087 * global __cuMemsetD2D16Async * cuPythonInit() * if __cuMemsetD2D16Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D16Async" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4088 * cuPythonInit() * if __cuMemsetD2D16Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D16Async" not found') * err = ( __cuMemsetD2D16Async)(dstDevice, dstPitch, us, Width, Height, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4089 * if __cuMemsetD2D16Async == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD2D16Async" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD2D16Async)(dstDevice, dstPitch, us, Width, Height, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD2D16Async_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4089, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4089, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4088 * cuPythonInit() * if __cuMemsetD2D16Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D16Async" not found') * err = ( __cuMemsetD2D16Async)(dstDevice, dstPitch, us, Width, Height, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4087 * global __cuMemsetD2D16Async * cuPythonInit() * if __cuMemsetD2D16Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D16Async" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4090 * with gil: * raise RuntimeError('Function "cuMemsetD2D16Async" not found') * err = ( __cuMemsetD2D16Async)(dstDevice, dstPitch, us, Width, Height, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, unsigned short, size_t, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async)(__pyx_v_dstDevice, __pyx_v_dstPitch, __pyx_v_us, __pyx_v_Width, __pyx_v_Height, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4090, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4091 * raise RuntimeError('Function "cuMemsetD2D16Async" not found') * err = ( __cuMemsetD2D16Async)(dstDevice, dstPitch, us, Width, Height, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemsetD2D32Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4084 * return err * * cdef CUresult _cuMemsetD2D16Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D16Async * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD2D16Async", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4093 * return err * * cdef CUresult _cuMemsetD2D32Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D32Async * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D32Async(CUdeviceptr __pyx_v_dstDevice, size_t __pyx_v_dstPitch, unsigned int __pyx_v_ui, size_t __pyx_v_Width, size_t __pyx_v_Height, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemsetD2D32Async", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4095 * cdef CUresult _cuMemsetD2D32Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemsetD2D32Async * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemsetD2D32Async == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4095, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4096 * global __cuMemsetD2D32Async * cuPythonInit() * if __cuMemsetD2D32Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D32Async" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4097 * cuPythonInit() * if __cuMemsetD2D32Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D32Async" not found') * err = ( __cuMemsetD2D32Async)(dstDevice, dstPitch, ui, Width, Height, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4098 * if __cuMemsetD2D32Async == NULL: * with gil: * raise RuntimeError('Function "cuMemsetD2D32Async" not found') # <<<<<<<<<<<<<< * err = ( __cuMemsetD2D32Async)(dstDevice, dstPitch, ui, Width, Height, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemsetD2D32Async_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4098, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4098, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4097 * cuPythonInit() * if __cuMemsetD2D32Async == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemsetD2D32Async" not found') * err = ( __cuMemsetD2D32Async)(dstDevice, dstPitch, ui, Width, Height, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4096 * global __cuMemsetD2D32Async * cuPythonInit() * if __cuMemsetD2D32Async == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemsetD2D32Async" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4099 * with gil: * raise RuntimeError('Function "cuMemsetD2D32Async" not found') * err = ( __cuMemsetD2D32Async)(dstDevice, dstPitch, ui, Width, Height, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, unsigned int, size_t, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async)(__pyx_v_dstDevice, __pyx_v_dstPitch, __pyx_v_ui, __pyx_v_Width, __pyx_v_Height, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4099, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4100 * raise RuntimeError('Function "cuMemsetD2D32Async" not found') * err = ( __cuMemsetD2D32Async)(dstDevice, dstPitch, ui, Width, Height, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArrayCreate_v2(CUarray* pHandle, const CUDA_ARRAY_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4093 * return err * * cdef CUresult _cuMemsetD2D32Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemsetD2D32Async * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemsetD2D32Async", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4102 * return err * * cdef CUresult _cuArrayCreate_v2(CUarray* pHandle, const CUDA_ARRAY_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayCreate_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayCreate_v2(CUarray *__pyx_v_pHandle, CUDA_ARRAY_DESCRIPTOR const *__pyx_v_pAllocateArray) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArrayCreate_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4104 * cdef CUresult _cuArrayCreate_v2(CUarray* pHandle, const CUDA_ARRAY_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArrayCreate_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArrayCreate_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4104, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4105 * global __cuArrayCreate_v2 * cuPythonInit() * if __cuArrayCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayCreate_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayCreate_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4106 * cuPythonInit() * if __cuArrayCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayCreate_v2" not found') * err = ( __cuArrayCreate_v2)(pHandle, pAllocateArray) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4107 * if __cuArrayCreate_v2 == NULL: * with gil: * raise RuntimeError('Function "cuArrayCreate_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuArrayCreate_v2)(pHandle, pAllocateArray) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArrayCreate_v2_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4107, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4107, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4106 * cuPythonInit() * if __cuArrayCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayCreate_v2" not found') * err = ( __cuArrayCreate_v2)(pHandle, pAllocateArray) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4105 * global __cuArrayCreate_v2 * cuPythonInit() * if __cuArrayCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayCreate_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4108 * with gil: * raise RuntimeError('Function "cuArrayCreate_v2" not found') * err = ( __cuArrayCreate_v2)(pHandle, pAllocateArray) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray *, CUDA_ARRAY_DESCRIPTOR const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayCreate_v2)(__pyx_v_pHandle, __pyx_v_pAllocateArray); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4108, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4109 * raise RuntimeError('Function "cuArrayCreate_v2" not found') * err = ( __cuArrayCreate_v2)(pHandle, pAllocateArray) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArrayGetDescriptor_v2(CUDA_ARRAY_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4102 * return err * * cdef CUresult _cuArrayCreate_v2(CUarray* pHandle, const CUDA_ARRAY_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayCreate_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArrayCreate_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4111 * return err * * cdef CUresult _cuArrayGetDescriptor_v2(CUDA_ARRAY_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetDescriptor_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetDescriptor_v2(CUDA_ARRAY_DESCRIPTOR *__pyx_v_pArrayDescriptor, CUarray __pyx_v_hArray) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArrayGetDescriptor_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4113 * cdef CUresult _cuArrayGetDescriptor_v2(CUDA_ARRAY_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArrayGetDescriptor_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArrayGetDescriptor_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4113, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4114 * global __cuArrayGetDescriptor_v2 * cuPythonInit() * if __cuArrayGetDescriptor_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetDescriptor_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetDescriptor_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4115 * cuPythonInit() * if __cuArrayGetDescriptor_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetDescriptor_v2" not found') * err = ( __cuArrayGetDescriptor_v2)(pArrayDescriptor, hArray) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4116 * if __cuArrayGetDescriptor_v2 == NULL: * with gil: * raise RuntimeError('Function "cuArrayGetDescriptor_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuArrayGetDescriptor_v2)(pArrayDescriptor, hArray) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArrayGetDescriptor_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4116, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4116, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4115 * cuPythonInit() * if __cuArrayGetDescriptor_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetDescriptor_v2" not found') * err = ( __cuArrayGetDescriptor_v2)(pArrayDescriptor, hArray) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4114 * global __cuArrayGetDescriptor_v2 * cuPythonInit() * if __cuArrayGetDescriptor_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetDescriptor_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4117 * with gil: * raise RuntimeError('Function "cuArrayGetDescriptor_v2" not found') * err = ( __cuArrayGetDescriptor_v2)(pArrayDescriptor, hArray) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_ARRAY_DESCRIPTOR *, CUarray))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetDescriptor_v2)(__pyx_v_pArrayDescriptor, __pyx_v_hArray); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4117, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4118 * raise RuntimeError('Function "cuArrayGetDescriptor_v2" not found') * err = ( __cuArrayGetDescriptor_v2)(pArrayDescriptor, hArray) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUarray array) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4111 * return err * * cdef CUresult _cuArrayGetDescriptor_v2(CUDA_ARRAY_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetDescriptor_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArrayGetDescriptor_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4120 * return err * * cdef CUresult _cuArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUarray array) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetSparseProperties * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES *__pyx_v_sparseProperties, CUarray __pyx_v_array) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArrayGetSparseProperties", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4122 * cdef CUresult _cuArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUarray array) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArrayGetSparseProperties * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArrayGetSparseProperties == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4122, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4123 * global __cuArrayGetSparseProperties * cuPythonInit() * if __cuArrayGetSparseProperties == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetSparseProperties" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetSparseProperties == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4124 * cuPythonInit() * if __cuArrayGetSparseProperties == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetSparseProperties" not found') * err = ( __cuArrayGetSparseProperties)(sparseProperties, array) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4125 * if __cuArrayGetSparseProperties == NULL: * with gil: * raise RuntimeError('Function "cuArrayGetSparseProperties" not found') # <<<<<<<<<<<<<< * err = ( __cuArrayGetSparseProperties)(sparseProperties, array) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArrayGetSparsePropert}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4125, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4125, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4124 * cuPythonInit() * if __cuArrayGetSparseProperties == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetSparseProperties" not found') * err = ( __cuArrayGetSparseProperties)(sparseProperties, array) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4123 * global __cuArrayGetSparseProperties * cuPythonInit() * if __cuArrayGetSparseProperties == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetSparseProperties" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4126 * with gil: * raise RuntimeError('Function "cuArrayGetSparseProperties" not found') * err = ( __cuArrayGetSparseProperties)(sparseProperties, array) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_ARRAY_SPARSE_PROPERTIES *, CUarray))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetSparseProperties)(__pyx_v_sparseProperties, __pyx_v_array); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4126, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4127 * raise RuntimeError('Function "cuArrayGetSparseProperties" not found') * err = ( __cuArrayGetSparseProperties)(sparseProperties, array) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMipmappedArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUmipmappedArray mipmap) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4120 * return err * * cdef CUresult _cuArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUarray array) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetSparseProperties * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArrayGetSparseProperties", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4129 * return err * * cdef CUresult _cuMipmappedArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUmipmappedArray mipmap) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetSparseProperties * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES *__pyx_v_sparseProperties, CUmipmappedArray __pyx_v_mipmap) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMipmappedArrayGetSparseProperties", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4131 * cdef CUresult _cuMipmappedArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUmipmappedArray mipmap) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMipmappedArrayGetSparseProperties * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMipmappedArrayGetSparseProperties == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4131, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4132 * global __cuMipmappedArrayGetSparseProperties * cuPythonInit() * if __cuMipmappedArrayGetSparseProperties == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetSparseProperties" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetSparseProperties == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4133 * cuPythonInit() * if __cuMipmappedArrayGetSparseProperties == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayGetSparseProperties" not found') * err = ( __cuMipmappedArrayGetSparseProperties)(sparseProperties, mipmap) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4134 * if __cuMipmappedArrayGetSparseProperties == NULL: * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetSparseProperties" not found') # <<<<<<<<<<<<<< * err = ( __cuMipmappedArrayGetSparseProperties)(sparseProperties, mipmap) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMipmappedArrayGetSpar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4134, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4134, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4133 * cuPythonInit() * if __cuMipmappedArrayGetSparseProperties == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayGetSparseProperties" not found') * err = ( __cuMipmappedArrayGetSparseProperties)(sparseProperties, mipmap) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4132 * global __cuMipmappedArrayGetSparseProperties * cuPythonInit() * if __cuMipmappedArrayGetSparseProperties == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetSparseProperties" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4135 * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetSparseProperties" not found') * err = ( __cuMipmappedArrayGetSparseProperties)(sparseProperties, mipmap) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_ARRAY_SPARSE_PROPERTIES *, CUmipmappedArray))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetSparseProperties)(__pyx_v_sparseProperties, __pyx_v_mipmap); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4135, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4136 * raise RuntimeError('Function "cuMipmappedArrayGetSparseProperties" not found') * err = ( __cuMipmappedArrayGetSparseProperties)(sparseProperties, mipmap) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUarray array, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4129 * return err * * cdef CUresult _cuMipmappedArrayGetSparseProperties(CUDA_ARRAY_SPARSE_PROPERTIES* sparseProperties, CUmipmappedArray mipmap) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetSparseProperties * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMipmappedArrayGetSparseProperties", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4138 * return err * * cdef CUresult _cuArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUarray array, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetMemoryRequirements * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS *__pyx_v_memoryRequirements, CUarray __pyx_v_array, CUdevice __pyx_v_device) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArrayGetMemoryRequirements", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4140 * cdef CUresult _cuArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUarray array, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArrayGetMemoryRequirements * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArrayGetMemoryRequirements == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4140, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4141 * global __cuArrayGetMemoryRequirements * cuPythonInit() * if __cuArrayGetMemoryRequirements == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetMemoryRequirements" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetMemoryRequirements == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4142 * cuPythonInit() * if __cuArrayGetMemoryRequirements == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetMemoryRequirements" not found') * err = ( __cuArrayGetMemoryRequirements)(memoryRequirements, array, device) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4143 * if __cuArrayGetMemoryRequirements == NULL: * with gil: * raise RuntimeError('Function "cuArrayGetMemoryRequirements" not found') # <<<<<<<<<<<<<< * err = ( __cuArrayGetMemoryRequirements)(memoryRequirements, array, device) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArrayGetMemoryRequire}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4143, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4143, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4142 * cuPythonInit() * if __cuArrayGetMemoryRequirements == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetMemoryRequirements" not found') * err = ( __cuArrayGetMemoryRequirements)(memoryRequirements, array, device) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4141 * global __cuArrayGetMemoryRequirements * cuPythonInit() * if __cuArrayGetMemoryRequirements == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetMemoryRequirements" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4144 * with gil: * raise RuntimeError('Function "cuArrayGetMemoryRequirements" not found') * err = ( __cuArrayGetMemoryRequirements)(memoryRequirements, array, device) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_ARRAY_MEMORY_REQUIREMENTS *, CUarray, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetMemoryRequirements)(__pyx_v_memoryRequirements, __pyx_v_array, __pyx_v_device); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4144, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4145 * raise RuntimeError('Function "cuArrayGetMemoryRequirements" not found') * err = ( __cuArrayGetMemoryRequirements)(memoryRequirements, array, device) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMipmappedArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUmipmappedArray mipmap, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4138 * return err * * cdef CUresult _cuArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUarray array, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetMemoryRequirements * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArrayGetMemoryRequirements", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4147 * return err * * cdef CUresult _cuMipmappedArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUmipmappedArray mipmap, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetMemoryRequirements * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS *__pyx_v_memoryRequirements, CUmipmappedArray __pyx_v_mipmap, CUdevice __pyx_v_device) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMipmappedArrayGetMemoryRequirements", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4149 * cdef CUresult _cuMipmappedArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUmipmappedArray mipmap, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMipmappedArrayGetMemoryRequirements * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMipmappedArrayGetMemoryRequirements == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4149, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4150 * global __cuMipmappedArrayGetMemoryRequirements * cuPythonInit() * if __cuMipmappedArrayGetMemoryRequirements == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetMemoryRequirements" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetMemoryRequirements == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4151 * cuPythonInit() * if __cuMipmappedArrayGetMemoryRequirements == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayGetMemoryRequirements" not found') * err = ( __cuMipmappedArrayGetMemoryRequirements)(memoryRequirements, mipmap, device) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4152 * if __cuMipmappedArrayGetMemoryRequirements == NULL: * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetMemoryRequirements" not found') # <<<<<<<<<<<<<< * err = ( __cuMipmappedArrayGetMemoryRequirements)(memoryRequirements, mipmap, device) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMipmappedArrayGetMemo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4152, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4152, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4151 * cuPythonInit() * if __cuMipmappedArrayGetMemoryRequirements == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayGetMemoryRequirements" not found') * err = ( __cuMipmappedArrayGetMemoryRequirements)(memoryRequirements, mipmap, device) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4150 * global __cuMipmappedArrayGetMemoryRequirements * cuPythonInit() * if __cuMipmappedArrayGetMemoryRequirements == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetMemoryRequirements" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4153 * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetMemoryRequirements" not found') * err = ( __cuMipmappedArrayGetMemoryRequirements)(memoryRequirements, mipmap, device) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_ARRAY_MEMORY_REQUIREMENTS *, CUmipmappedArray, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetMemoryRequirements)(__pyx_v_memoryRequirements, __pyx_v_mipmap, __pyx_v_device); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4153, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4154 * raise RuntimeError('Function "cuMipmappedArrayGetMemoryRequirements" not found') * err = ( __cuMipmappedArrayGetMemoryRequirements)(memoryRequirements, mipmap, device) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArrayGetPlane(CUarray* pPlaneArray, CUarray hArray, unsigned int planeIdx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4147 * return err * * cdef CUresult _cuMipmappedArrayGetMemoryRequirements(CUDA_ARRAY_MEMORY_REQUIREMENTS* memoryRequirements, CUmipmappedArray mipmap, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetMemoryRequirements * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMipmappedArrayGetMemoryRequirements", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4156 * return err * * cdef CUresult _cuArrayGetPlane(CUarray* pPlaneArray, CUarray hArray, unsigned int planeIdx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetPlane * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetPlane(CUarray *__pyx_v_pPlaneArray, CUarray __pyx_v_hArray, unsigned int __pyx_v_planeIdx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArrayGetPlane", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4158 * cdef CUresult _cuArrayGetPlane(CUarray* pPlaneArray, CUarray hArray, unsigned int planeIdx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArrayGetPlane * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArrayGetPlane == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4158, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4159 * global __cuArrayGetPlane * cuPythonInit() * if __cuArrayGetPlane == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetPlane" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetPlane == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4160 * cuPythonInit() * if __cuArrayGetPlane == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetPlane" not found') * err = ( __cuArrayGetPlane)(pPlaneArray, hArray, planeIdx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4161 * if __cuArrayGetPlane == NULL: * with gil: * raise RuntimeError('Function "cuArrayGetPlane" not found') # <<<<<<<<<<<<<< * err = ( __cuArrayGetPlane)(pPlaneArray, hArray, planeIdx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArrayGetPlane_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4161, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4161, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4160 * cuPythonInit() * if __cuArrayGetPlane == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayGetPlane" not found') * err = ( __cuArrayGetPlane)(pPlaneArray, hArray, planeIdx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4159 * global __cuArrayGetPlane * cuPythonInit() * if __cuArrayGetPlane == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayGetPlane" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4162 * with gil: * raise RuntimeError('Function "cuArrayGetPlane" not found') * err = ( __cuArrayGetPlane)(pPlaneArray, hArray, planeIdx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray *, CUarray, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetPlane)(__pyx_v_pPlaneArray, __pyx_v_hArray, __pyx_v_planeIdx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4162, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4163 * raise RuntimeError('Function "cuArrayGetPlane" not found') * err = ( __cuArrayGetPlane)(pPlaneArray, hArray, planeIdx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArrayDestroy(CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4156 * return err * * cdef CUresult _cuArrayGetPlane(CUarray* pPlaneArray, CUarray hArray, unsigned int planeIdx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayGetPlane * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArrayGetPlane", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4165 * return err * * cdef CUresult _cuArrayDestroy(CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayDestroy(CUarray __pyx_v_hArray) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArrayDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4167 * cdef CUresult _cuArrayDestroy(CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArrayDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArrayDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4167, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4168 * global __cuArrayDestroy * cuPythonInit() * if __cuArrayDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4169 * cuPythonInit() * if __cuArrayDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayDestroy" not found') * err = ( __cuArrayDestroy)(hArray) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4170 * if __cuArrayDestroy == NULL: * with gil: * raise RuntimeError('Function "cuArrayDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuArrayDestroy)(hArray) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArrayDestroy_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4170, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4170, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4169 * cuPythonInit() * if __cuArrayDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArrayDestroy" not found') * err = ( __cuArrayDestroy)(hArray) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4168 * global __cuArrayDestroy * cuPythonInit() * if __cuArrayDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArrayDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4171 * with gil: * raise RuntimeError('Function "cuArrayDestroy" not found') * err = ( __cuArrayDestroy)(hArray) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayDestroy)(__pyx_v_hArray); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4171, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4172 * raise RuntimeError('Function "cuArrayDestroy" not found') * err = ( __cuArrayDestroy)(hArray) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArray3DCreate_v2(CUarray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4165 * return err * * cdef CUresult _cuArrayDestroy(CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArrayDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArrayDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4174 * return err * * cdef CUresult _cuArray3DCreate_v2(CUarray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArray3DCreate_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArray3DCreate_v2(CUarray *__pyx_v_pHandle, CUDA_ARRAY3D_DESCRIPTOR const *__pyx_v_pAllocateArray) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArray3DCreate_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4176 * cdef CUresult _cuArray3DCreate_v2(CUarray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArray3DCreate_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArray3DCreate_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4176, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4177 * global __cuArray3DCreate_v2 * cuPythonInit() * if __cuArray3DCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArray3DCreate_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DCreate_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4178 * cuPythonInit() * if __cuArray3DCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArray3DCreate_v2" not found') * err = ( __cuArray3DCreate_v2)(pHandle, pAllocateArray) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4179 * if __cuArray3DCreate_v2 == NULL: * with gil: * raise RuntimeError('Function "cuArray3DCreate_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuArray3DCreate_v2)(pHandle, pAllocateArray) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArray3DCreate_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4179, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4179, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4178 * cuPythonInit() * if __cuArray3DCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArray3DCreate_v2" not found') * err = ( __cuArray3DCreate_v2)(pHandle, pAllocateArray) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4177 * global __cuArray3DCreate_v2 * cuPythonInit() * if __cuArray3DCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArray3DCreate_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4180 * with gil: * raise RuntimeError('Function "cuArray3DCreate_v2" not found') * err = ( __cuArray3DCreate_v2)(pHandle, pAllocateArray) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray *, CUDA_ARRAY3D_DESCRIPTOR const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DCreate_v2)(__pyx_v_pHandle, __pyx_v_pAllocateArray); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4180, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4181 * raise RuntimeError('Function "cuArray3DCreate_v2" not found') * err = ( __cuArray3DCreate_v2)(pHandle, pAllocateArray) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuArray3DGetDescriptor_v2(CUDA_ARRAY3D_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4174 * return err * * cdef CUresult _cuArray3DCreate_v2(CUarray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pAllocateArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArray3DCreate_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArray3DCreate_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4183 * return err * * cdef CUresult _cuArray3DGetDescriptor_v2(CUDA_ARRAY3D_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArray3DGetDescriptor_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArray3DGetDescriptor_v2(CUDA_ARRAY3D_DESCRIPTOR *__pyx_v_pArrayDescriptor, CUarray __pyx_v_hArray) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuArray3DGetDescriptor_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4185 * cdef CUresult _cuArray3DGetDescriptor_v2(CUDA_ARRAY3D_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuArray3DGetDescriptor_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuArray3DGetDescriptor_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4185, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4186 * global __cuArray3DGetDescriptor_v2 * cuPythonInit() * if __cuArray3DGetDescriptor_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArray3DGetDescriptor_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DGetDescriptor_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4187 * cuPythonInit() * if __cuArray3DGetDescriptor_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArray3DGetDescriptor_v2" not found') * err = ( __cuArray3DGetDescriptor_v2)(pArrayDescriptor, hArray) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4188 * if __cuArray3DGetDescriptor_v2 == NULL: * with gil: * raise RuntimeError('Function "cuArray3DGetDescriptor_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuArray3DGetDescriptor_v2)(pArrayDescriptor, hArray) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuArray3DGetDescriptor}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4188, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4188, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4187 * cuPythonInit() * if __cuArray3DGetDescriptor_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuArray3DGetDescriptor_v2" not found') * err = ( __cuArray3DGetDescriptor_v2)(pArrayDescriptor, hArray) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4186 * global __cuArray3DGetDescriptor_v2 * cuPythonInit() * if __cuArray3DGetDescriptor_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuArray3DGetDescriptor_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4189 * with gil: * raise RuntimeError('Function "cuArray3DGetDescriptor_v2" not found') * err = ( __cuArray3DGetDescriptor_v2)(pArrayDescriptor, hArray) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_ARRAY3D_DESCRIPTOR *, CUarray))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DGetDescriptor_v2)(__pyx_v_pArrayDescriptor, __pyx_v_hArray); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4189, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4190 * raise RuntimeError('Function "cuArray3DGetDescriptor_v2" not found') * err = ( __cuArray3DGetDescriptor_v2)(pArrayDescriptor, hArray) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMipmappedArrayCreate(CUmipmappedArray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc, unsigned int numMipmapLevels) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4183 * return err * * cdef CUresult _cuArray3DGetDescriptor_v2(CUDA_ARRAY3D_DESCRIPTOR* pArrayDescriptor, CUarray hArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuArray3DGetDescriptor_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuArray3DGetDescriptor_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4192 * return err * * cdef CUresult _cuMipmappedArrayCreate(CUmipmappedArray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc, unsigned int numMipmapLevels) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayCreate(CUmipmappedArray *__pyx_v_pHandle, CUDA_ARRAY3D_DESCRIPTOR const *__pyx_v_pMipmappedArrayDesc, unsigned int __pyx_v_numMipmapLevels) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMipmappedArrayCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4194 * cdef CUresult _cuMipmappedArrayCreate(CUmipmappedArray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc, unsigned int numMipmapLevels) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMipmappedArrayCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMipmappedArrayCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4194, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4195 * global __cuMipmappedArrayCreate * cuPythonInit() * if __cuMipmappedArrayCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4196 * cuPythonInit() * if __cuMipmappedArrayCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayCreate" not found') * err = ( __cuMipmappedArrayCreate)(pHandle, pMipmappedArrayDesc, numMipmapLevels) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4197 * if __cuMipmappedArrayCreate == NULL: * with gil: * raise RuntimeError('Function "cuMipmappedArrayCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuMipmappedArrayCreate)(pHandle, pMipmappedArrayDesc, numMipmapLevels) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMipmappedArrayCreate}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4197, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4197, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4196 * cuPythonInit() * if __cuMipmappedArrayCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayCreate" not found') * err = ( __cuMipmappedArrayCreate)(pHandle, pMipmappedArrayDesc, numMipmapLevels) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4195 * global __cuMipmappedArrayCreate * cuPythonInit() * if __cuMipmappedArrayCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4198 * with gil: * raise RuntimeError('Function "cuMipmappedArrayCreate" not found') * err = ( __cuMipmappedArrayCreate)(pHandle, pMipmappedArrayDesc, numMipmapLevels) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmipmappedArray *, CUDA_ARRAY3D_DESCRIPTOR const *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayCreate)(__pyx_v_pHandle, __pyx_v_pMipmappedArrayDesc, __pyx_v_numMipmapLevels); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4198, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4199 * raise RuntimeError('Function "cuMipmappedArrayCreate" not found') * err = ( __cuMipmappedArrayCreate)(pHandle, pMipmappedArrayDesc, numMipmapLevels) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMipmappedArrayGetLevel(CUarray* pLevelArray, CUmipmappedArray hMipmappedArray, unsigned int level) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4192 * return err * * cdef CUresult _cuMipmappedArrayCreate(CUmipmappedArray* pHandle, const CUDA_ARRAY3D_DESCRIPTOR* pMipmappedArrayDesc, unsigned int numMipmapLevels) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMipmappedArrayCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4201 * return err * * cdef CUresult _cuMipmappedArrayGetLevel(CUarray* pLevelArray, CUmipmappedArray hMipmappedArray, unsigned int level) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetLevel * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayGetLevel(CUarray *__pyx_v_pLevelArray, CUmipmappedArray __pyx_v_hMipmappedArray, unsigned int __pyx_v_level) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMipmappedArrayGetLevel", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4203 * cdef CUresult _cuMipmappedArrayGetLevel(CUarray* pLevelArray, CUmipmappedArray hMipmappedArray, unsigned int level) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMipmappedArrayGetLevel * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMipmappedArrayGetLevel == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4203, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4204 * global __cuMipmappedArrayGetLevel * cuPythonInit() * if __cuMipmappedArrayGetLevel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetLevel" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetLevel == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4205 * cuPythonInit() * if __cuMipmappedArrayGetLevel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayGetLevel" not found') * err = ( __cuMipmappedArrayGetLevel)(pLevelArray, hMipmappedArray, level) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4206 * if __cuMipmappedArrayGetLevel == NULL: * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetLevel" not found') # <<<<<<<<<<<<<< * err = ( __cuMipmappedArrayGetLevel)(pLevelArray, hMipmappedArray, level) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMipmappedArrayGetLeve}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4206, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4206, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4205 * cuPythonInit() * if __cuMipmappedArrayGetLevel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayGetLevel" not found') * err = ( __cuMipmappedArrayGetLevel)(pLevelArray, hMipmappedArray, level) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4204 * global __cuMipmappedArrayGetLevel * cuPythonInit() * if __cuMipmappedArrayGetLevel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetLevel" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4207 * with gil: * raise RuntimeError('Function "cuMipmappedArrayGetLevel" not found') * err = ( __cuMipmappedArrayGetLevel)(pLevelArray, hMipmappedArray, level) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray *, CUmipmappedArray, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetLevel)(__pyx_v_pLevelArray, __pyx_v_hMipmappedArray, __pyx_v_level); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4207, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4208 * raise RuntimeError('Function "cuMipmappedArrayGetLevel" not found') * err = ( __cuMipmappedArrayGetLevel)(pLevelArray, hMipmappedArray, level) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMipmappedArrayDestroy(CUmipmappedArray hMipmappedArray) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4201 * return err * * cdef CUresult _cuMipmappedArrayGetLevel(CUarray* pLevelArray, CUmipmappedArray hMipmappedArray, unsigned int level) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetLevel * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMipmappedArrayGetLevel", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4210 * return err * * cdef CUresult _cuMipmappedArrayDestroy(CUmipmappedArray hMipmappedArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayDestroy(CUmipmappedArray __pyx_v_hMipmappedArray) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMipmappedArrayDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4212 * cdef CUresult _cuMipmappedArrayDestroy(CUmipmappedArray hMipmappedArray) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMipmappedArrayDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMipmappedArrayDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4212, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4213 * global __cuMipmappedArrayDestroy * cuPythonInit() * if __cuMipmappedArrayDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4214 * cuPythonInit() * if __cuMipmappedArrayDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayDestroy" not found') * err = ( __cuMipmappedArrayDestroy)(hMipmappedArray) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4215 * if __cuMipmappedArrayDestroy == NULL: * with gil: * raise RuntimeError('Function "cuMipmappedArrayDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuMipmappedArrayDestroy)(hMipmappedArray) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMipmappedArrayDestroy}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4215, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4215, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4214 * cuPythonInit() * if __cuMipmappedArrayDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMipmappedArrayDestroy" not found') * err = ( __cuMipmappedArrayDestroy)(hMipmappedArray) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4213 * global __cuMipmappedArrayDestroy * cuPythonInit() * if __cuMipmappedArrayDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMipmappedArrayDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4216 * with gil: * raise RuntimeError('Function "cuMipmappedArrayDestroy" not found') * err = ( __cuMipmappedArrayDestroy)(hMipmappedArray) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmipmappedArray))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayDestroy)(__pyx_v_hMipmappedArray); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4216, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4217 * raise RuntimeError('Function "cuMipmappedArrayDestroy" not found') * err = ( __cuMipmappedArrayDestroy)(hMipmappedArray) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemGetHandleForAddressRange(void* handle, CUdeviceptr dptr, size_t size, CUmemRangeHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4210 * return err * * cdef CUresult _cuMipmappedArrayDestroy(CUmipmappedArray hMipmappedArray) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMipmappedArrayDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMipmappedArrayDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4219 * return err * * cdef CUresult _cuMemGetHandleForAddressRange(void* handle, CUdeviceptr dptr, size_t size, CUmemRangeHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetHandleForAddressRange * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetHandleForAddressRange(void *__pyx_v_handle, CUdeviceptr __pyx_v_dptr, size_t __pyx_v_size, CUmemRangeHandleType __pyx_v_handleType, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemGetHandleForAddressRange", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4221 * cdef CUresult _cuMemGetHandleForAddressRange(void* handle, CUdeviceptr dptr, size_t size, CUmemRangeHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemGetHandleForAddressRange * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemGetHandleForAddressRange == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4221, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4222 * global __cuMemGetHandleForAddressRange * cuPythonInit() * if __cuMemGetHandleForAddressRange == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetHandleForAddressRange" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetHandleForAddressRange == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4223 * cuPythonInit() * if __cuMemGetHandleForAddressRange == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetHandleForAddressRange" not found') * err = ( __cuMemGetHandleForAddressRange)(handle, dptr, size, handleType, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4224 * if __cuMemGetHandleForAddressRange == NULL: * with gil: * raise RuntimeError('Function "cuMemGetHandleForAddressRange" not found') # <<<<<<<<<<<<<< * err = ( __cuMemGetHandleForAddressRange)(handle, dptr, size, handleType, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemGetHandleForAddres}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4224, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4224, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4223 * cuPythonInit() * if __cuMemGetHandleForAddressRange == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetHandleForAddressRange" not found') * err = ( __cuMemGetHandleForAddressRange)(handle, dptr, size, handleType, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4222 * global __cuMemGetHandleForAddressRange * cuPythonInit() * if __cuMemGetHandleForAddressRange == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetHandleForAddressRange" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4225 * with gil: * raise RuntimeError('Function "cuMemGetHandleForAddressRange" not found') * err = ( __cuMemGetHandleForAddressRange)(handle, dptr, size, handleType, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUdeviceptr, size_t, CUmemRangeHandleType, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetHandleForAddressRange)(__pyx_v_handle, __pyx_v_dptr, __pyx_v_size, __pyx_v_handleType, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4225, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4226 * raise RuntimeError('Function "cuMemGetHandleForAddressRange" not found') * err = ( __cuMemGetHandleForAddressRange)(handle, dptr, size, handleType, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemBatchDecompressAsync(CUmemDecompressParams* paramsArray, size_t count, unsigned int flags, size_t* errorIndex, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4219 * return err * * cdef CUresult _cuMemGetHandleForAddressRange(void* handle, CUdeviceptr dptr, size_t size, CUmemRangeHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetHandleForAddressRange * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemGetHandleForAddressRange", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4228 * return err * * cdef CUresult _cuMemBatchDecompressAsync(CUmemDecompressParams* paramsArray, size_t count, unsigned int flags, size_t* errorIndex, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemBatchDecompressAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemBatchDecompressAsync(CUmemDecompressParams *__pyx_v_paramsArray, size_t __pyx_v_count, unsigned int __pyx_v_flags, size_t *__pyx_v_errorIndex, CUstream __pyx_v_stream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemBatchDecompressAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4230 * cdef CUresult _cuMemBatchDecompressAsync(CUmemDecompressParams* paramsArray, size_t count, unsigned int flags, size_t* errorIndex, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemBatchDecompressAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemBatchDecompressAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4230, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4231 * global __cuMemBatchDecompressAsync * cuPythonInit() * if __cuMemBatchDecompressAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemBatchDecompressAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4232 * cuPythonInit() * if __cuMemBatchDecompressAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemBatchDecompressAsync" not found') * err = ( __cuMemBatchDecompressAsync)(paramsArray, count, flags, errorIndex, stream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4233 * if __cuMemBatchDecompressAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemBatchDecompressAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemBatchDecompressAsync)(paramsArray, count, flags, errorIndex, stream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemBatchDecompressAsy}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4233, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4233, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4232 * cuPythonInit() * if __cuMemBatchDecompressAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemBatchDecompressAsync" not found') * err = ( __cuMemBatchDecompressAsync)(paramsArray, count, flags, errorIndex, stream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4231 * global __cuMemBatchDecompressAsync * cuPythonInit() * if __cuMemBatchDecompressAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemBatchDecompressAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4234 * with gil: * raise RuntimeError('Function "cuMemBatchDecompressAsync" not found') * err = ( __cuMemBatchDecompressAsync)(paramsArray, count, flags, errorIndex, stream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemDecompressParams *, size_t, unsigned int, size_t *, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync)(__pyx_v_paramsArray, __pyx_v_count, __pyx_v_flags, __pyx_v_errorIndex, __pyx_v_stream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4234, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4235 * raise RuntimeError('Function "cuMemBatchDecompressAsync" not found') * err = ( __cuMemBatchDecompressAsync)(paramsArray, count, flags, errorIndex, stream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAddressReserve(CUdeviceptr* ptr, size_t size, size_t alignment, CUdeviceptr addr, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4228 * return err * * cdef CUresult _cuMemBatchDecompressAsync(CUmemDecompressParams* paramsArray, size_t count, unsigned int flags, size_t* errorIndex, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemBatchDecompressAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemBatchDecompressAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4237 * return err * * cdef CUresult _cuMemAddressReserve(CUdeviceptr* ptr, size_t size, size_t alignment, CUdeviceptr addr, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAddressReserve * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAddressReserve(CUdeviceptr *__pyx_v_ptr, size_t __pyx_v_size, size_t __pyx_v_alignment, CUdeviceptr __pyx_v_addr, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAddressReserve", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4239 * cdef CUresult _cuMemAddressReserve(CUdeviceptr* ptr, size_t size, size_t alignment, CUdeviceptr addr, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAddressReserve * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAddressReserve == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4239, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4240 * global __cuMemAddressReserve * cuPythonInit() * if __cuMemAddressReserve == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAddressReserve" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressReserve == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4241 * cuPythonInit() * if __cuMemAddressReserve == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAddressReserve" not found') * err = ( __cuMemAddressReserve)(ptr, size, alignment, addr, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4242 * if __cuMemAddressReserve == NULL: * with gil: * raise RuntimeError('Function "cuMemAddressReserve" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAddressReserve)(ptr, size, alignment, addr, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAddressReserve_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4242, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4242, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4241 * cuPythonInit() * if __cuMemAddressReserve == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAddressReserve" not found') * err = ( __cuMemAddressReserve)(ptr, size, alignment, addr, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4240 * global __cuMemAddressReserve * cuPythonInit() * if __cuMemAddressReserve == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAddressReserve" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4243 * with gil: * raise RuntimeError('Function "cuMemAddressReserve" not found') * err = ( __cuMemAddressReserve)(ptr, size, alignment, addr, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t, size_t, CUdeviceptr, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressReserve)(__pyx_v_ptr, __pyx_v_size, __pyx_v_alignment, __pyx_v_addr, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4243, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4244 * raise RuntimeError('Function "cuMemAddressReserve" not found') * err = ( __cuMemAddressReserve)(ptr, size, alignment, addr, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAddressFree(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4237 * return err * * cdef CUresult _cuMemAddressReserve(CUdeviceptr* ptr, size_t size, size_t alignment, CUdeviceptr addr, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAddressReserve * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAddressReserve", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4246 * return err * * cdef CUresult _cuMemAddressFree(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAddressFree * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAddressFree(CUdeviceptr __pyx_v_ptr, size_t __pyx_v_size) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAddressFree", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4248 * cdef CUresult _cuMemAddressFree(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAddressFree * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAddressFree == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4248, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4249 * global __cuMemAddressFree * cuPythonInit() * if __cuMemAddressFree == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAddressFree" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressFree == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4250 * cuPythonInit() * if __cuMemAddressFree == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAddressFree" not found') * err = ( __cuMemAddressFree)(ptr, size) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4251 * if __cuMemAddressFree == NULL: * with gil: * raise RuntimeError('Function "cuMemAddressFree" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAddressFree)(ptr, size) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAddressFree_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4251, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4251, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4250 * cuPythonInit() * if __cuMemAddressFree == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAddressFree" not found') * err = ( __cuMemAddressFree)(ptr, size) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4249 * global __cuMemAddressFree * cuPythonInit() * if __cuMemAddressFree == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAddressFree" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4252 * with gil: * raise RuntimeError('Function "cuMemAddressFree" not found') * err = ( __cuMemAddressFree)(ptr, size) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressFree)(__pyx_v_ptr, __pyx_v_size); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4252, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4253 * raise RuntimeError('Function "cuMemAddressFree" not found') * err = ( __cuMemAddressFree)(ptr, size) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemCreate(CUmemGenericAllocationHandle* handle, size_t size, const CUmemAllocationProp* prop, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4246 * return err * * cdef CUresult _cuMemAddressFree(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAddressFree * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAddressFree", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4255 * return err * * cdef CUresult _cuMemCreate(CUmemGenericAllocationHandle* handle, size_t size, const CUmemAllocationProp* prop, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemCreate(CUmemGenericAllocationHandle *__pyx_v_handle, size_t __pyx_v_size, CUmemAllocationProp const *__pyx_v_prop, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4257 * cdef CUresult _cuMemCreate(CUmemGenericAllocationHandle* handle, size_t size, const CUmemAllocationProp* prop, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4257, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4258 * global __cuMemCreate * cuPythonInit() * if __cuMemCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4259 * cuPythonInit() * if __cuMemCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemCreate" not found') * err = ( __cuMemCreate)(handle, size, prop, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4260 * if __cuMemCreate == NULL: * with gil: * raise RuntimeError('Function "cuMemCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuMemCreate)(handle, size, prop, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemCreate_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4260, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4260, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4259 * cuPythonInit() * if __cuMemCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemCreate" not found') * err = ( __cuMemCreate)(handle, size, prop, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4258 * global __cuMemCreate * cuPythonInit() * if __cuMemCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4261 * with gil: * raise RuntimeError('Function "cuMemCreate" not found') * err = ( __cuMemCreate)(handle, size, prop, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle *, size_t, CUmemAllocationProp const *, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemCreate)(__pyx_v_handle, __pyx_v_size, __pyx_v_prop, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4261, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4262 * raise RuntimeError('Function "cuMemCreate" not found') * err = ( __cuMemCreate)(handle, size, prop, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemRelease(CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4255 * return err * * cdef CUresult _cuMemCreate(CUmemGenericAllocationHandle* handle, size_t size, const CUmemAllocationProp* prop, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4264 * return err * * cdef CUresult _cuMemRelease(CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRelease * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRelease(CUmemGenericAllocationHandle __pyx_v_handle) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemRelease", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4266 * cdef CUresult _cuMemRelease(CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemRelease * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemRelease == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4266, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4267 * global __cuMemRelease * cuPythonInit() * if __cuMemRelease == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRelease" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRelease == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4268 * cuPythonInit() * if __cuMemRelease == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRelease" not found') * err = ( __cuMemRelease)(handle) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4269 * if __cuMemRelease == NULL: * with gil: * raise RuntimeError('Function "cuMemRelease" not found') # <<<<<<<<<<<<<< * err = ( __cuMemRelease)(handle) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemRelease_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4269, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4269, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4268 * cuPythonInit() * if __cuMemRelease == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRelease" not found') * err = ( __cuMemRelease)(handle) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4267 * global __cuMemRelease * cuPythonInit() * if __cuMemRelease == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRelease" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4270 * with gil: * raise RuntimeError('Function "cuMemRelease" not found') * err = ( __cuMemRelease)(handle) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRelease)(__pyx_v_handle); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4270, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4271 * raise RuntimeError('Function "cuMemRelease" not found') * err = ( __cuMemRelease)(handle) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemMap(CUdeviceptr ptr, size_t size, size_t offset, CUmemGenericAllocationHandle handle, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4264 * return err * * cdef CUresult _cuMemRelease(CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRelease * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemRelease", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4273 * return err * * cdef CUresult _cuMemMap(CUdeviceptr ptr, size_t size, size_t offset, CUmemGenericAllocationHandle handle, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemMap * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemMap(CUdeviceptr __pyx_v_ptr, size_t __pyx_v_size, size_t __pyx_v_offset, CUmemGenericAllocationHandle __pyx_v_handle, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemMap", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4275 * cdef CUresult _cuMemMap(CUdeviceptr ptr, size_t size, size_t offset, CUmemGenericAllocationHandle handle, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemMap * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemMap == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4275, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4276 * global __cuMemMap * cuPythonInit() * if __cuMemMap == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemMap" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMap == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4277 * cuPythonInit() * if __cuMemMap == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemMap" not found') * err = ( __cuMemMap)(ptr, size, offset, handle, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4278 * if __cuMemMap == NULL: * with gil: * raise RuntimeError('Function "cuMemMap" not found') # <<<<<<<<<<<<<< * err = ( __cuMemMap)(ptr, size, offset, handle, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemMap_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4278, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4278, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4277 * cuPythonInit() * if __cuMemMap == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemMap" not found') * err = ( __cuMemMap)(ptr, size, offset, handle, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4276 * global __cuMemMap * cuPythonInit() * if __cuMemMap == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemMap" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4279 * with gil: * raise RuntimeError('Function "cuMemMap" not found') * err = ( __cuMemMap)(ptr, size, offset, handle, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, size_t, CUmemGenericAllocationHandle, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMap)(__pyx_v_ptr, __pyx_v_size, __pyx_v_offset, __pyx_v_handle, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4279, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4280 * raise RuntimeError('Function "cuMemMap" not found') * err = ( __cuMemMap)(ptr, size, offset, handle, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemMapArrayAsync(CUarrayMapInfo* mapInfoList, unsigned int count, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4273 * return err * * cdef CUresult _cuMemMap(CUdeviceptr ptr, size_t size, size_t offset, CUmemGenericAllocationHandle handle, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemMap * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemMap", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4282 * return err * * cdef CUresult _cuMemMapArrayAsync(CUarrayMapInfo* mapInfoList, unsigned int count, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemMapArrayAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemMapArrayAsync(CUarrayMapInfo *__pyx_v_mapInfoList, unsigned int __pyx_v_count, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemMapArrayAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4284 * cdef CUresult _cuMemMapArrayAsync(CUarrayMapInfo* mapInfoList, unsigned int count, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemMapArrayAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemMapArrayAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4284, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4285 * global __cuMemMapArrayAsync * cuPythonInit() * if __cuMemMapArrayAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemMapArrayAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4286 * cuPythonInit() * if __cuMemMapArrayAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemMapArrayAsync" not found') * err = ( __cuMemMapArrayAsync)(mapInfoList, count, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4287 * if __cuMemMapArrayAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemMapArrayAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemMapArrayAsync)(mapInfoList, count, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemMapArrayAsync_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4287, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4287, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4286 * cuPythonInit() * if __cuMemMapArrayAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemMapArrayAsync" not found') * err = ( __cuMemMapArrayAsync)(mapInfoList, count, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4285 * global __cuMemMapArrayAsync * cuPythonInit() * if __cuMemMapArrayAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemMapArrayAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4288 * with gil: * raise RuntimeError('Function "cuMemMapArrayAsync" not found') * err = ( __cuMemMapArrayAsync)(mapInfoList, count, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarrayMapInfo *, unsigned int, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync)(__pyx_v_mapInfoList, __pyx_v_count, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4288, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4289 * raise RuntimeError('Function "cuMemMapArrayAsync" not found') * err = ( __cuMemMapArrayAsync)(mapInfoList, count, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemUnmap(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4282 * return err * * cdef CUresult _cuMemMapArrayAsync(CUarrayMapInfo* mapInfoList, unsigned int count, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemMapArrayAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemMapArrayAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4291 * return err * * cdef CUresult _cuMemUnmap(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemUnmap * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemUnmap(CUdeviceptr __pyx_v_ptr, size_t __pyx_v_size) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemUnmap", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4293 * cdef CUresult _cuMemUnmap(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemUnmap * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemUnmap == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4293, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4294 * global __cuMemUnmap * cuPythonInit() * if __cuMemUnmap == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemUnmap" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemUnmap == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4295 * cuPythonInit() * if __cuMemUnmap == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemUnmap" not found') * err = ( __cuMemUnmap)(ptr, size) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4296 * if __cuMemUnmap == NULL: * with gil: * raise RuntimeError('Function "cuMemUnmap" not found') # <<<<<<<<<<<<<< * err = ( __cuMemUnmap)(ptr, size) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemUnmap_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4296, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4296, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4295 * cuPythonInit() * if __cuMemUnmap == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemUnmap" not found') * err = ( __cuMemUnmap)(ptr, size) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4294 * global __cuMemUnmap * cuPythonInit() * if __cuMemUnmap == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemUnmap" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4297 * with gil: * raise RuntimeError('Function "cuMemUnmap" not found') * err = ( __cuMemUnmap)(ptr, size) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemUnmap)(__pyx_v_ptr, __pyx_v_size); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4297, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4298 * raise RuntimeError('Function "cuMemUnmap" not found') * err = ( __cuMemUnmap)(ptr, size) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemSetAccess(CUdeviceptr ptr, size_t size, const CUmemAccessDesc* desc, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4291 * return err * * cdef CUresult _cuMemUnmap(CUdeviceptr ptr, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemUnmap * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemUnmap", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4300 * return err * * cdef CUresult _cuMemSetAccess(CUdeviceptr ptr, size_t size, const CUmemAccessDesc* desc, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemSetAccess * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemSetAccess(CUdeviceptr __pyx_v_ptr, size_t __pyx_v_size, CUmemAccessDesc const *__pyx_v_desc, size_t __pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemSetAccess", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4302 * cdef CUresult _cuMemSetAccess(CUdeviceptr ptr, size_t size, const CUmemAccessDesc* desc, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemSetAccess * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemSetAccess == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4302, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4303 * global __cuMemSetAccess * cuPythonInit() * if __cuMemSetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemSetAccess" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemSetAccess == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4304 * cuPythonInit() * if __cuMemSetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemSetAccess" not found') * err = ( __cuMemSetAccess)(ptr, size, desc, count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4305 * if __cuMemSetAccess == NULL: * with gil: * raise RuntimeError('Function "cuMemSetAccess" not found') # <<<<<<<<<<<<<< * err = ( __cuMemSetAccess)(ptr, size, desc, count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemSetAccess_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4305, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4305, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4304 * cuPythonInit() * if __cuMemSetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemSetAccess" not found') * err = ( __cuMemSetAccess)(ptr, size, desc, count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4303 * global __cuMemSetAccess * cuPythonInit() * if __cuMemSetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemSetAccess" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4306 * with gil: * raise RuntimeError('Function "cuMemSetAccess" not found') * err = ( __cuMemSetAccess)(ptr, size, desc, count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, CUmemAccessDesc const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemSetAccess)(__pyx_v_ptr, __pyx_v_size, __pyx_v_desc, __pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4306, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4307 * raise RuntimeError('Function "cuMemSetAccess" not found') * err = ( __cuMemSetAccess)(ptr, size, desc, count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemGetAccess(unsigned long long* flags, const CUmemLocation* location, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4300 * return err * * cdef CUresult _cuMemSetAccess(CUdeviceptr ptr, size_t size, const CUmemAccessDesc* desc, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemSetAccess * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemSetAccess", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4309 * return err * * cdef CUresult _cuMemGetAccess(unsigned long long* flags, const CUmemLocation* location, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAccess * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAccess(unsigned PY_LONG_LONG *__pyx_v_flags, CUmemLocation const *__pyx_v_location, CUdeviceptr __pyx_v_ptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemGetAccess", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4311 * cdef CUresult _cuMemGetAccess(unsigned long long* flags, const CUmemLocation* location, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemGetAccess * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemGetAccess == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4311, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4312 * global __cuMemGetAccess * cuPythonInit() * if __cuMemGetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAccess" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAccess == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4313 * cuPythonInit() * if __cuMemGetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAccess" not found') * err = ( __cuMemGetAccess)(flags, location, ptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4314 * if __cuMemGetAccess == NULL: * with gil: * raise RuntimeError('Function "cuMemGetAccess" not found') # <<<<<<<<<<<<<< * err = ( __cuMemGetAccess)(flags, location, ptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemGetAccess_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4314, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4314, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4313 * cuPythonInit() * if __cuMemGetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAccess" not found') * err = ( __cuMemGetAccess)(flags, location, ptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4312 * global __cuMemGetAccess * cuPythonInit() * if __cuMemGetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAccess" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4315 * with gil: * raise RuntimeError('Function "cuMemGetAccess" not found') * err = ( __cuMemGetAccess)(flags, location, ptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned PY_LONG_LONG *, CUmemLocation const *, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAccess)(__pyx_v_flags, __pyx_v_location, __pyx_v_ptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4315, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4316 * raise RuntimeError('Function "cuMemGetAccess" not found') * err = ( __cuMemGetAccess)(flags, location, ptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemExportToShareableHandle(void* shareableHandle, CUmemGenericAllocationHandle handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4309 * return err * * cdef CUresult _cuMemGetAccess(unsigned long long* flags, const CUmemLocation* location, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAccess * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemGetAccess", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4318 * return err * * cdef CUresult _cuMemExportToShareableHandle(void* shareableHandle, CUmemGenericAllocationHandle handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemExportToShareableHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemExportToShareableHandle(void *__pyx_v_shareableHandle, CUmemGenericAllocationHandle __pyx_v_handle, CUmemAllocationHandleType __pyx_v_handleType, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemExportToShareableHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4320 * cdef CUresult _cuMemExportToShareableHandle(void* shareableHandle, CUmemGenericAllocationHandle handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemExportToShareableHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemExportToShareableHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4320, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4321 * global __cuMemExportToShareableHandle * cuPythonInit() * if __cuMemExportToShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemExportToShareableHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemExportToShareableHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4322 * cuPythonInit() * if __cuMemExportToShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemExportToShareableHandle" not found') * err = ( __cuMemExportToShareableHandle)(shareableHandle, handle, handleType, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4323 * if __cuMemExportToShareableHandle == NULL: * with gil: * raise RuntimeError('Function "cuMemExportToShareableHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuMemExportToShareableHandle)(shareableHandle, handle, handleType, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemExportToShareableH}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4323, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4323, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4322 * cuPythonInit() * if __cuMemExportToShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemExportToShareableHandle" not found') * err = ( __cuMemExportToShareableHandle)(shareableHandle, handle, handleType, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4321 * global __cuMemExportToShareableHandle * cuPythonInit() * if __cuMemExportToShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemExportToShareableHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4324 * with gil: * raise RuntimeError('Function "cuMemExportToShareableHandle" not found') * err = ( __cuMemExportToShareableHandle)(shareableHandle, handle, handleType, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUmemGenericAllocationHandle, CUmemAllocationHandleType, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemExportToShareableHandle)(__pyx_v_shareableHandle, __pyx_v_handle, __pyx_v_handleType, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4324, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4325 * raise RuntimeError('Function "cuMemExportToShareableHandle" not found') * err = ( __cuMemExportToShareableHandle)(shareableHandle, handle, handleType, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemImportFromShareableHandle(CUmemGenericAllocationHandle* handle, void* osHandle, CUmemAllocationHandleType shHandleType) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4318 * return err * * cdef CUresult _cuMemExportToShareableHandle(void* shareableHandle, CUmemGenericAllocationHandle handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemExportToShareableHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemExportToShareableHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4327 * return err * * cdef CUresult _cuMemImportFromShareableHandle(CUmemGenericAllocationHandle* handle, void* osHandle, CUmemAllocationHandleType shHandleType) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemImportFromShareableHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemImportFromShareableHandle(CUmemGenericAllocationHandle *__pyx_v_handle, void *__pyx_v_osHandle, CUmemAllocationHandleType __pyx_v_shHandleType) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemImportFromShareableHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4329 * cdef CUresult _cuMemImportFromShareableHandle(CUmemGenericAllocationHandle* handle, void* osHandle, CUmemAllocationHandleType shHandleType) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemImportFromShareableHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemImportFromShareableHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4329, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4330 * global __cuMemImportFromShareableHandle * cuPythonInit() * if __cuMemImportFromShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemImportFromShareableHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemImportFromShareableHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4331 * cuPythonInit() * if __cuMemImportFromShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemImportFromShareableHandle" not found') * err = ( __cuMemImportFromShareableHandle)(handle, osHandle, shHandleType) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4332 * if __cuMemImportFromShareableHandle == NULL: * with gil: * raise RuntimeError('Function "cuMemImportFromShareableHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuMemImportFromShareableHandle)(handle, osHandle, shHandleType) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemImportFromShareabl}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4332, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4332, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4331 * cuPythonInit() * if __cuMemImportFromShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemImportFromShareableHandle" not found') * err = ( __cuMemImportFromShareableHandle)(handle, osHandle, shHandleType) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4330 * global __cuMemImportFromShareableHandle * cuPythonInit() * if __cuMemImportFromShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemImportFromShareableHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4333 * with gil: * raise RuntimeError('Function "cuMemImportFromShareableHandle" not found') * err = ( __cuMemImportFromShareableHandle)(handle, osHandle, shHandleType) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle *, void *, CUmemAllocationHandleType))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemImportFromShareableHandle)(__pyx_v_handle, __pyx_v_osHandle, __pyx_v_shHandleType); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4333, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4334 * raise RuntimeError('Function "cuMemImportFromShareableHandle" not found') * err = ( __cuMemImportFromShareableHandle)(handle, osHandle, shHandleType) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemGetAllocationGranularity(size_t* granularity, const CUmemAllocationProp* prop, CUmemAllocationGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4327 * return err * * cdef CUresult _cuMemImportFromShareableHandle(CUmemGenericAllocationHandle* handle, void* osHandle, CUmemAllocationHandleType shHandleType) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemImportFromShareableHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemImportFromShareableHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4336 * return err * * cdef CUresult _cuMemGetAllocationGranularity(size_t* granularity, const CUmemAllocationProp* prop, CUmemAllocationGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAllocationGranularity * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAllocationGranularity(size_t *__pyx_v_granularity, CUmemAllocationProp const *__pyx_v_prop, CUmemAllocationGranularity_flags __pyx_v_option) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemGetAllocationGranularity", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4338 * cdef CUresult _cuMemGetAllocationGranularity(size_t* granularity, const CUmemAllocationProp* prop, CUmemAllocationGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemGetAllocationGranularity * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemGetAllocationGranularity == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4338, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4339 * global __cuMemGetAllocationGranularity * cuPythonInit() * if __cuMemGetAllocationGranularity == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAllocationGranularity" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationGranularity == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4340 * cuPythonInit() * if __cuMemGetAllocationGranularity == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAllocationGranularity" not found') * err = ( __cuMemGetAllocationGranularity)(granularity, prop, option) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4341 * if __cuMemGetAllocationGranularity == NULL: * with gil: * raise RuntimeError('Function "cuMemGetAllocationGranularity" not found') # <<<<<<<<<<<<<< * err = ( __cuMemGetAllocationGranularity)(granularity, prop, option) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemGetAllocationGranu}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4341, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4341, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4340 * cuPythonInit() * if __cuMemGetAllocationGranularity == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAllocationGranularity" not found') * err = ( __cuMemGetAllocationGranularity)(granularity, prop, option) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4339 * global __cuMemGetAllocationGranularity * cuPythonInit() * if __cuMemGetAllocationGranularity == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAllocationGranularity" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4342 * with gil: * raise RuntimeError('Function "cuMemGetAllocationGranularity" not found') * err = ( __cuMemGetAllocationGranularity)(granularity, prop, option) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, CUmemAllocationProp const *, CUmemAllocationGranularity_flags))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationGranularity)(__pyx_v_granularity, __pyx_v_prop, __pyx_v_option); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4342, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4343 * raise RuntimeError('Function "cuMemGetAllocationGranularity" not found') * err = ( __cuMemGetAllocationGranularity)(granularity, prop, option) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemGetAllocationPropertiesFromHandle(CUmemAllocationProp* prop, CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4336 * return err * * cdef CUresult _cuMemGetAllocationGranularity(size_t* granularity, const CUmemAllocationProp* prop, CUmemAllocationGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAllocationGranularity * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemGetAllocationGranularity", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4345 * return err * * cdef CUresult _cuMemGetAllocationPropertiesFromHandle(CUmemAllocationProp* prop, CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAllocationPropertiesFromHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAllocationPropertiesFromHandle(CUmemAllocationProp *__pyx_v_prop, CUmemGenericAllocationHandle __pyx_v_handle) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemGetAllocationPropertiesFromHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4347 * cdef CUresult _cuMemGetAllocationPropertiesFromHandle(CUmemAllocationProp* prop, CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemGetAllocationPropertiesFromHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemGetAllocationPropertiesFromHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4347, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4348 * global __cuMemGetAllocationPropertiesFromHandle * cuPythonInit() * if __cuMemGetAllocationPropertiesFromHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAllocationPropertiesFromHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationPropertiesFromHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4349 * cuPythonInit() * if __cuMemGetAllocationPropertiesFromHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAllocationPropertiesFromHandle" not found') * err = ( __cuMemGetAllocationPropertiesFromHandle)(prop, handle) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4350 * if __cuMemGetAllocationPropertiesFromHandle == NULL: * with gil: * raise RuntimeError('Function "cuMemGetAllocationPropertiesFromHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuMemGetAllocationPropertiesFromHandle)(prop, handle) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemGetAllocationPrope}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4350, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4350, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4349 * cuPythonInit() * if __cuMemGetAllocationPropertiesFromHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemGetAllocationPropertiesFromHandle" not found') * err = ( __cuMemGetAllocationPropertiesFromHandle)(prop, handle) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4348 * global __cuMemGetAllocationPropertiesFromHandle * cuPythonInit() * if __cuMemGetAllocationPropertiesFromHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemGetAllocationPropertiesFromHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4351 * with gil: * raise RuntimeError('Function "cuMemGetAllocationPropertiesFromHandle" not found') * err = ( __cuMemGetAllocationPropertiesFromHandle)(prop, handle) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemAllocationProp *, CUmemGenericAllocationHandle))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationPropertiesFromHandle)(__pyx_v_prop, __pyx_v_handle); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4351, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4352 * raise RuntimeError('Function "cuMemGetAllocationPropertiesFromHandle" not found') * err = ( __cuMemGetAllocationPropertiesFromHandle)(prop, handle) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemRetainAllocationHandle(CUmemGenericAllocationHandle* handle, void* addr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4345 * return err * * cdef CUresult _cuMemGetAllocationPropertiesFromHandle(CUmemAllocationProp* prop, CUmemGenericAllocationHandle handle) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemGetAllocationPropertiesFromHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemGetAllocationPropertiesFromHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4354 * return err * * cdef CUresult _cuMemRetainAllocationHandle(CUmemGenericAllocationHandle* handle, void* addr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRetainAllocationHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRetainAllocationHandle(CUmemGenericAllocationHandle *__pyx_v_handle, void *__pyx_v_addr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemRetainAllocationHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4356 * cdef CUresult _cuMemRetainAllocationHandle(CUmemGenericAllocationHandle* handle, void* addr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemRetainAllocationHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemRetainAllocationHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4356, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4357 * global __cuMemRetainAllocationHandle * cuPythonInit() * if __cuMemRetainAllocationHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRetainAllocationHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRetainAllocationHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4358 * cuPythonInit() * if __cuMemRetainAllocationHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRetainAllocationHandle" not found') * err = ( __cuMemRetainAllocationHandle)(handle, addr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4359 * if __cuMemRetainAllocationHandle == NULL: * with gil: * raise RuntimeError('Function "cuMemRetainAllocationHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuMemRetainAllocationHandle)(handle, addr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemRetainAllocationHa}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4359, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4359, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4358 * cuPythonInit() * if __cuMemRetainAllocationHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRetainAllocationHandle" not found') * err = ( __cuMemRetainAllocationHandle)(handle, addr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4357 * global __cuMemRetainAllocationHandle * cuPythonInit() * if __cuMemRetainAllocationHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRetainAllocationHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4360 * with gil: * raise RuntimeError('Function "cuMemRetainAllocationHandle" not found') * err = ( __cuMemRetainAllocationHandle)(handle, addr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle *, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRetainAllocationHandle)(__pyx_v_handle, __pyx_v_addr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4360, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4361 * raise RuntimeError('Function "cuMemRetainAllocationHandle" not found') * err = ( __cuMemRetainAllocationHandle)(handle, addr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemFreeAsync(CUdeviceptr dptr, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4354 * return err * * cdef CUresult _cuMemRetainAllocationHandle(CUmemGenericAllocationHandle* handle, void* addr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRetainAllocationHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemRetainAllocationHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4363 * return err * * cdef CUresult _cuMemFreeAsync(CUdeviceptr dptr, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemFreeAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemFreeAsync(CUdeviceptr __pyx_v_dptr, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemFreeAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4365 * cdef CUresult _cuMemFreeAsync(CUdeviceptr dptr, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemFreeAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemFreeAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4365, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4366 * global __cuMemFreeAsync * cuPythonInit() * if __cuMemFreeAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemFreeAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4367 * cuPythonInit() * if __cuMemFreeAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemFreeAsync" not found') * err = ( __cuMemFreeAsync)(dptr, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4368 * if __cuMemFreeAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemFreeAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemFreeAsync)(dptr, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemFreeAsync_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4368, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4368, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4367 * cuPythonInit() * if __cuMemFreeAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemFreeAsync" not found') * err = ( __cuMemFreeAsync)(dptr, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4366 * global __cuMemFreeAsync * cuPythonInit() * if __cuMemFreeAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemFreeAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4369 * with gil: * raise RuntimeError('Function "cuMemFreeAsync" not found') * err = ( __cuMemFreeAsync)(dptr, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync)(__pyx_v_dptr, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4369, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4370 * raise RuntimeError('Function "cuMemFreeAsync" not found') * err = ( __cuMemFreeAsync)(dptr, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAllocAsync(CUdeviceptr* dptr, size_t bytesize, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4363 * return err * * cdef CUresult _cuMemFreeAsync(CUdeviceptr dptr, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemFreeAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemFreeAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4372 * return err * * cdef CUresult _cuMemAllocAsync(CUdeviceptr* dptr, size_t bytesize, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocAsync(CUdeviceptr *__pyx_v_dptr, size_t __pyx_v_bytesize, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAllocAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4374 * cdef CUresult _cuMemAllocAsync(CUdeviceptr* dptr, size_t bytesize, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAllocAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAllocAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4374, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4375 * global __cuMemAllocAsync * cuPythonInit() * if __cuMemAllocAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4376 * cuPythonInit() * if __cuMemAllocAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocAsync" not found') * err = ( __cuMemAllocAsync)(dptr, bytesize, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4377 * if __cuMemAllocAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemAllocAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAllocAsync)(dptr, bytesize, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAllocAsync_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4377, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4377, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4376 * cuPythonInit() * if __cuMemAllocAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocAsync" not found') * err = ( __cuMemAllocAsync)(dptr, bytesize, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4375 * global __cuMemAllocAsync * cuPythonInit() * if __cuMemAllocAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4378 * with gil: * raise RuntimeError('Function "cuMemAllocAsync" not found') * err = ( __cuMemAllocAsync)(dptr, bytesize, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync)(__pyx_v_dptr, __pyx_v_bytesize, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4378, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4379 * raise RuntimeError('Function "cuMemAllocAsync" not found') * err = ( __cuMemAllocAsync)(dptr, bytesize, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolTrimTo(CUmemoryPool pool, size_t minBytesToKeep) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4372 * return err * * cdef CUresult _cuMemAllocAsync(CUdeviceptr* dptr, size_t bytesize, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAllocAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4381 * return err * * cdef CUresult _cuMemPoolTrimTo(CUmemoryPool pool, size_t minBytesToKeep) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolTrimTo * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolTrimTo(CUmemoryPool __pyx_v_pool, size_t __pyx_v_minBytesToKeep) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolTrimTo", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4383 * cdef CUresult _cuMemPoolTrimTo(CUmemoryPool pool, size_t minBytesToKeep) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolTrimTo * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolTrimTo == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4383, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4384 * global __cuMemPoolTrimTo * cuPythonInit() * if __cuMemPoolTrimTo == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolTrimTo" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolTrimTo == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4385 * cuPythonInit() * if __cuMemPoolTrimTo == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolTrimTo" not found') * err = ( __cuMemPoolTrimTo)(pool, minBytesToKeep) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4386 * if __cuMemPoolTrimTo == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolTrimTo" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolTrimTo)(pool, minBytesToKeep) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolTrimTo_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4386, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4386, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4385 * cuPythonInit() * if __cuMemPoolTrimTo == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolTrimTo" not found') * err = ( __cuMemPoolTrimTo)(pool, minBytesToKeep) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4384 * global __cuMemPoolTrimTo * cuPythonInit() * if __cuMemPoolTrimTo == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolTrimTo" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4387 * with gil: * raise RuntimeError('Function "cuMemPoolTrimTo" not found') * err = ( __cuMemPoolTrimTo)(pool, minBytesToKeep) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolTrimTo)(__pyx_v_pool, __pyx_v_minBytesToKeep); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4387, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4388 * raise RuntimeError('Function "cuMemPoolTrimTo" not found') * err = ( __cuMemPoolTrimTo)(pool, minBytesToKeep) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolSetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4381 * return err * * cdef CUresult _cuMemPoolTrimTo(CUmemoryPool pool, size_t minBytesToKeep) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolTrimTo * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolTrimTo", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4390 * return err * * cdef CUresult _cuMemPoolSetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolSetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolSetAttribute(CUmemoryPool __pyx_v_pool, CUmemPool_attribute __pyx_v_attr, void *__pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolSetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4392 * cdef CUresult _cuMemPoolSetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolSetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolSetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4392, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4393 * global __cuMemPoolSetAttribute * cuPythonInit() * if __cuMemPoolSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolSetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4394 * cuPythonInit() * if __cuMemPoolSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolSetAttribute" not found') * err = ( __cuMemPoolSetAttribute)(pool, attr, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4395 * if __cuMemPoolSetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolSetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolSetAttribute)(pool, attr, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolSetAttribute_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4395, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4395, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4394 * cuPythonInit() * if __cuMemPoolSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolSetAttribute" not found') * err = ( __cuMemPoolSetAttribute)(pool, attr, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4393 * global __cuMemPoolSetAttribute * cuPythonInit() * if __cuMemPoolSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolSetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4396 * with gil: * raise RuntimeError('Function "cuMemPoolSetAttribute" not found') * err = ( __cuMemPoolSetAttribute)(pool, attr, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool, CUmemPool_attribute, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAttribute)(__pyx_v_pool, __pyx_v_attr, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4396, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4397 * raise RuntimeError('Function "cuMemPoolSetAttribute" not found') * err = ( __cuMemPoolSetAttribute)(pool, attr, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolGetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4390 * return err * * cdef CUresult _cuMemPoolSetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolSetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolSetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4399 * return err * * cdef CUresult _cuMemPoolGetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolGetAttribute(CUmemoryPool __pyx_v_pool, CUmemPool_attribute __pyx_v_attr, void *__pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4401 * cdef CUresult _cuMemPoolGetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4401, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4402 * global __cuMemPoolGetAttribute * cuPythonInit() * if __cuMemPoolGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4403 * cuPythonInit() * if __cuMemPoolGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolGetAttribute" not found') * err = ( __cuMemPoolGetAttribute)(pool, attr, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4404 * if __cuMemPoolGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolGetAttribute)(pool, attr, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolGetAttribute_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4404, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4404, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4403 * cuPythonInit() * if __cuMemPoolGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolGetAttribute" not found') * err = ( __cuMemPoolGetAttribute)(pool, attr, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4402 * global __cuMemPoolGetAttribute * cuPythonInit() * if __cuMemPoolGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4405 * with gil: * raise RuntimeError('Function "cuMemPoolGetAttribute" not found') * err = ( __cuMemPoolGetAttribute)(pool, attr, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool, CUmemPool_attribute, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAttribute)(__pyx_v_pool, __pyx_v_attr, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4405, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4406 * raise RuntimeError('Function "cuMemPoolGetAttribute" not found') * err = ( __cuMemPoolGetAttribute)(pool, attr, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolSetAccess(CUmemoryPool pool, const CUmemAccessDesc* map, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4399 * return err * * cdef CUresult _cuMemPoolGetAttribute(CUmemoryPool pool, CUmemPool_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4408 * return err * * cdef CUresult _cuMemPoolSetAccess(CUmemoryPool pool, const CUmemAccessDesc* map, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolSetAccess * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolSetAccess(CUmemoryPool __pyx_v_pool, CUmemAccessDesc const *__pyx_v_map, size_t __pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolSetAccess", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4410 * cdef CUresult _cuMemPoolSetAccess(CUmemoryPool pool, const CUmemAccessDesc* map, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolSetAccess * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolSetAccess == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4410, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4411 * global __cuMemPoolSetAccess * cuPythonInit() * if __cuMemPoolSetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolSetAccess" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAccess == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4412 * cuPythonInit() * if __cuMemPoolSetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolSetAccess" not found') * err = ( __cuMemPoolSetAccess)(pool, map, count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4413 * if __cuMemPoolSetAccess == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolSetAccess" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolSetAccess)(pool, map, count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolSetAccess_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4413, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4413, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4412 * cuPythonInit() * if __cuMemPoolSetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolSetAccess" not found') * err = ( __cuMemPoolSetAccess)(pool, map, count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4411 * global __cuMemPoolSetAccess * cuPythonInit() * if __cuMemPoolSetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolSetAccess" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4414 * with gil: * raise RuntimeError('Function "cuMemPoolSetAccess" not found') * err = ( __cuMemPoolSetAccess)(pool, map, count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool, CUmemAccessDesc const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAccess)(__pyx_v_pool, __pyx_v_map, __pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4414, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4415 * raise RuntimeError('Function "cuMemPoolSetAccess" not found') * err = ( __cuMemPoolSetAccess)(pool, map, count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolGetAccess(CUmemAccess_flags* flags, CUmemoryPool memPool, CUmemLocation* location) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4408 * return err * * cdef CUresult _cuMemPoolSetAccess(CUmemoryPool pool, const CUmemAccessDesc* map, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolSetAccess * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolSetAccess", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4417 * return err * * cdef CUresult _cuMemPoolGetAccess(CUmemAccess_flags* flags, CUmemoryPool memPool, CUmemLocation* location) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolGetAccess * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolGetAccess(CUmemAccess_flags *__pyx_v_flags, CUmemoryPool __pyx_v_memPool, CUmemLocation *__pyx_v_location) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolGetAccess", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4419 * cdef CUresult _cuMemPoolGetAccess(CUmemAccess_flags* flags, CUmemoryPool memPool, CUmemLocation* location) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolGetAccess * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolGetAccess == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4419, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4420 * global __cuMemPoolGetAccess * cuPythonInit() * if __cuMemPoolGetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolGetAccess" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAccess == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4421 * cuPythonInit() * if __cuMemPoolGetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolGetAccess" not found') * err = ( __cuMemPoolGetAccess)(flags, memPool, location) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4422 * if __cuMemPoolGetAccess == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolGetAccess" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolGetAccess)(flags, memPool, location) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolGetAccess_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4422, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4422, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4421 * cuPythonInit() * if __cuMemPoolGetAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolGetAccess" not found') * err = ( __cuMemPoolGetAccess)(flags, memPool, location) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4420 * global __cuMemPoolGetAccess * cuPythonInit() * if __cuMemPoolGetAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolGetAccess" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4423 * with gil: * raise RuntimeError('Function "cuMemPoolGetAccess" not found') * err = ( __cuMemPoolGetAccess)(flags, memPool, location) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemAccess_flags *, CUmemoryPool, CUmemLocation *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAccess)(__pyx_v_flags, __pyx_v_memPool, __pyx_v_location); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4423, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4424 * raise RuntimeError('Function "cuMemPoolGetAccess" not found') * err = ( __cuMemPoolGetAccess)(flags, memPool, location) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolCreate(CUmemoryPool* pool, const CUmemPoolProps* poolProps) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4417 * return err * * cdef CUresult _cuMemPoolGetAccess(CUmemAccess_flags* flags, CUmemoryPool memPool, CUmemLocation* location) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolGetAccess * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolGetAccess", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4426 * return err * * cdef CUresult _cuMemPoolCreate(CUmemoryPool* pool, const CUmemPoolProps* poolProps) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolCreate(CUmemoryPool *__pyx_v_pool, CUmemPoolProps const *__pyx_v_poolProps) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4428 * cdef CUresult _cuMemPoolCreate(CUmemoryPool* pool, const CUmemPoolProps* poolProps) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4428, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4429 * global __cuMemPoolCreate * cuPythonInit() * if __cuMemPoolCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4430 * cuPythonInit() * if __cuMemPoolCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolCreate" not found') * err = ( __cuMemPoolCreate)(pool, poolProps) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4431 * if __cuMemPoolCreate == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolCreate)(pool, poolProps) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolCreate_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4431, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4431, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4430 * cuPythonInit() * if __cuMemPoolCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolCreate" not found') * err = ( __cuMemPoolCreate)(pool, poolProps) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4429 * global __cuMemPoolCreate * cuPythonInit() * if __cuMemPoolCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4432 * with gil: * raise RuntimeError('Function "cuMemPoolCreate" not found') * err = ( __cuMemPoolCreate)(pool, poolProps) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool *, CUmemPoolProps const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolCreate)(__pyx_v_pool, __pyx_v_poolProps); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4432, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4433 * raise RuntimeError('Function "cuMemPoolCreate" not found') * err = ( __cuMemPoolCreate)(pool, poolProps) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolDestroy(CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4426 * return err * * cdef CUresult _cuMemPoolCreate(CUmemoryPool* pool, const CUmemPoolProps* poolProps) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4435 * return err * * cdef CUresult _cuMemPoolDestroy(CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolDestroy(CUmemoryPool __pyx_v_pool) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4437 * cdef CUresult _cuMemPoolDestroy(CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4437, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4438 * global __cuMemPoolDestroy * cuPythonInit() * if __cuMemPoolDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4439 * cuPythonInit() * if __cuMemPoolDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolDestroy" not found') * err = ( __cuMemPoolDestroy)(pool) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4440 * if __cuMemPoolDestroy == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolDestroy)(pool) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolDestroy_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4440, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4440, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4439 * cuPythonInit() * if __cuMemPoolDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolDestroy" not found') * err = ( __cuMemPoolDestroy)(pool) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4438 * global __cuMemPoolDestroy * cuPythonInit() * if __cuMemPoolDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4441 * with gil: * raise RuntimeError('Function "cuMemPoolDestroy" not found') * err = ( __cuMemPoolDestroy)(pool) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolDestroy)(__pyx_v_pool); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4441, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4442 * raise RuntimeError('Function "cuMemPoolDestroy" not found') * err = ( __cuMemPoolDestroy)(pool) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAllocFromPoolAsync(CUdeviceptr* dptr, size_t bytesize, CUmemoryPool pool, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4435 * return err * * cdef CUresult _cuMemPoolDestroy(CUmemoryPool pool) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4444 * return err * * cdef CUresult _cuMemAllocFromPoolAsync(CUdeviceptr* dptr, size_t bytesize, CUmemoryPool pool, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocFromPoolAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocFromPoolAsync(CUdeviceptr *__pyx_v_dptr, size_t __pyx_v_bytesize, CUmemoryPool __pyx_v_pool, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAllocFromPoolAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4446 * cdef CUresult _cuMemAllocFromPoolAsync(CUdeviceptr* dptr, size_t bytesize, CUmemoryPool pool, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAllocFromPoolAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAllocFromPoolAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4446, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4447 * global __cuMemAllocFromPoolAsync * cuPythonInit() * if __cuMemAllocFromPoolAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocFromPoolAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4448 * cuPythonInit() * if __cuMemAllocFromPoolAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocFromPoolAsync" not found') * err = ( __cuMemAllocFromPoolAsync)(dptr, bytesize, pool, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4449 * if __cuMemAllocFromPoolAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemAllocFromPoolAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAllocFromPoolAsync)(dptr, bytesize, pool, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAllocFromPoolAsync}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4449, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4449, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4448 * cuPythonInit() * if __cuMemAllocFromPoolAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAllocFromPoolAsync" not found') * err = ( __cuMemAllocFromPoolAsync)(dptr, bytesize, pool, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4447 * global __cuMemAllocFromPoolAsync * cuPythonInit() * if __cuMemAllocFromPoolAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAllocFromPoolAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4450 * with gil: * raise RuntimeError('Function "cuMemAllocFromPoolAsync" not found') * err = ( __cuMemAllocFromPoolAsync)(dptr, bytesize, pool, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t, CUmemoryPool, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync)(__pyx_v_dptr, __pyx_v_bytesize, __pyx_v_pool, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4450, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4451 * raise RuntimeError('Function "cuMemAllocFromPoolAsync" not found') * err = ( __cuMemAllocFromPoolAsync)(dptr, bytesize, pool, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolExportToShareableHandle(void* handle_out, CUmemoryPool pool, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4444 * return err * * cdef CUresult _cuMemAllocFromPoolAsync(CUdeviceptr* dptr, size_t bytesize, CUmemoryPool pool, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAllocFromPoolAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAllocFromPoolAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4453 * return err * * cdef CUresult _cuMemPoolExportToShareableHandle(void* handle_out, CUmemoryPool pool, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolExportToShareableHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolExportToShareableHandle(void *__pyx_v_handle_out, CUmemoryPool __pyx_v_pool, CUmemAllocationHandleType __pyx_v_handleType, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolExportToShareableHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4455 * cdef CUresult _cuMemPoolExportToShareableHandle(void* handle_out, CUmemoryPool pool, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolExportToShareableHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolExportToShareableHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4455, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4456 * global __cuMemPoolExportToShareableHandle * cuPythonInit() * if __cuMemPoolExportToShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolExportToShareableHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportToShareableHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4457 * cuPythonInit() * if __cuMemPoolExportToShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolExportToShareableHandle" not found') * err = ( __cuMemPoolExportToShareableHandle)(handle_out, pool, handleType, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4458 * if __cuMemPoolExportToShareableHandle == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolExportToShareableHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolExportToShareableHandle)(handle_out, pool, handleType, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolExportToSharea}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4458, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4458, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4457 * cuPythonInit() * if __cuMemPoolExportToShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolExportToShareableHandle" not found') * err = ( __cuMemPoolExportToShareableHandle)(handle_out, pool, handleType, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4456 * global __cuMemPoolExportToShareableHandle * cuPythonInit() * if __cuMemPoolExportToShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolExportToShareableHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4459 * with gil: * raise RuntimeError('Function "cuMemPoolExportToShareableHandle" not found') * err = ( __cuMemPoolExportToShareableHandle)(handle_out, pool, handleType, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUmemoryPool, CUmemAllocationHandleType, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportToShareableHandle)(__pyx_v_handle_out, __pyx_v_pool, __pyx_v_handleType, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4459, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4460 * raise RuntimeError('Function "cuMemPoolExportToShareableHandle" not found') * err = ( __cuMemPoolExportToShareableHandle)(handle_out, pool, handleType, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolImportFromShareableHandle(CUmemoryPool* pool_out, void* handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4453 * return err * * cdef CUresult _cuMemPoolExportToShareableHandle(void* handle_out, CUmemoryPool pool, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolExportToShareableHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolExportToShareableHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4462 * return err * * cdef CUresult _cuMemPoolImportFromShareableHandle(CUmemoryPool* pool_out, void* handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolImportFromShareableHandle * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolImportFromShareableHandle(CUmemoryPool *__pyx_v_pool_out, void *__pyx_v_handle, CUmemAllocationHandleType __pyx_v_handleType, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolImportFromShareableHandle", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4464 * cdef CUresult _cuMemPoolImportFromShareableHandle(CUmemoryPool* pool_out, void* handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolImportFromShareableHandle * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolImportFromShareableHandle == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4464, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4465 * global __cuMemPoolImportFromShareableHandle * cuPythonInit() * if __cuMemPoolImportFromShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolImportFromShareableHandle" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportFromShareableHandle == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4466 * cuPythonInit() * if __cuMemPoolImportFromShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolImportFromShareableHandle" not found') * err = ( __cuMemPoolImportFromShareableHandle)(pool_out, handle, handleType, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4467 * if __cuMemPoolImportFromShareableHandle == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolImportFromShareableHandle" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolImportFromShareableHandle)(pool_out, handle, handleType, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolImportFromShar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4467, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4467, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4466 * cuPythonInit() * if __cuMemPoolImportFromShareableHandle == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolImportFromShareableHandle" not found') * err = ( __cuMemPoolImportFromShareableHandle)(pool_out, handle, handleType, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4465 * global __cuMemPoolImportFromShareableHandle * cuPythonInit() * if __cuMemPoolImportFromShareableHandle == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolImportFromShareableHandle" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4468 * with gil: * raise RuntimeError('Function "cuMemPoolImportFromShareableHandle" not found') * err = ( __cuMemPoolImportFromShareableHandle)(pool_out, handle, handleType, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemoryPool *, void *, CUmemAllocationHandleType, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportFromShareableHandle)(__pyx_v_pool_out, __pyx_v_handle, __pyx_v_handleType, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4468, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4469 * raise RuntimeError('Function "cuMemPoolImportFromShareableHandle" not found') * err = ( __cuMemPoolImportFromShareableHandle)(pool_out, handle, handleType, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolExportPointer(CUmemPoolPtrExportData* shareData_out, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4462 * return err * * cdef CUresult _cuMemPoolImportFromShareableHandle(CUmemoryPool* pool_out, void* handle, CUmemAllocationHandleType handleType, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolImportFromShareableHandle * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolImportFromShareableHandle", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4471 * return err * * cdef CUresult _cuMemPoolExportPointer(CUmemPoolPtrExportData* shareData_out, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolExportPointer * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolExportPointer(CUmemPoolPtrExportData *__pyx_v_shareData_out, CUdeviceptr __pyx_v_ptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolExportPointer", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4473 * cdef CUresult _cuMemPoolExportPointer(CUmemPoolPtrExportData* shareData_out, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolExportPointer * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolExportPointer == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4473, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4474 * global __cuMemPoolExportPointer * cuPythonInit() * if __cuMemPoolExportPointer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolExportPointer" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportPointer == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4475 * cuPythonInit() * if __cuMemPoolExportPointer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolExportPointer" not found') * err = ( __cuMemPoolExportPointer)(shareData_out, ptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4476 * if __cuMemPoolExportPointer == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolExportPointer" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolExportPointer)(shareData_out, ptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolExportPointer}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4476, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4476, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4475 * cuPythonInit() * if __cuMemPoolExportPointer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolExportPointer" not found') * err = ( __cuMemPoolExportPointer)(shareData_out, ptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4474 * global __cuMemPoolExportPointer * cuPythonInit() * if __cuMemPoolExportPointer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolExportPointer" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4477 * with gil: * raise RuntimeError('Function "cuMemPoolExportPointer" not found') * err = ( __cuMemPoolExportPointer)(shareData_out, ptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemPoolPtrExportData *, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportPointer)(__pyx_v_shareData_out, __pyx_v_ptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4477, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4478 * raise RuntimeError('Function "cuMemPoolExportPointer" not found') * err = ( __cuMemPoolExportPointer)(shareData_out, ptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPoolImportPointer(CUdeviceptr* ptr_out, CUmemoryPool pool, CUmemPoolPtrExportData* shareData) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4471 * return err * * cdef CUresult _cuMemPoolExportPointer(CUmemPoolPtrExportData* shareData_out, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolExportPointer * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolExportPointer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4480 * return err * * cdef CUresult _cuMemPoolImportPointer(CUdeviceptr* ptr_out, CUmemoryPool pool, CUmemPoolPtrExportData* shareData) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolImportPointer * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolImportPointer(CUdeviceptr *__pyx_v_ptr_out, CUmemoryPool __pyx_v_pool, CUmemPoolPtrExportData *__pyx_v_shareData) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPoolImportPointer", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4482 * cdef CUresult _cuMemPoolImportPointer(CUdeviceptr* ptr_out, CUmemoryPool pool, CUmemPoolPtrExportData* shareData) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPoolImportPointer * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPoolImportPointer == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4482, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4483 * global __cuMemPoolImportPointer * cuPythonInit() * if __cuMemPoolImportPointer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolImportPointer" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportPointer == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4484 * cuPythonInit() * if __cuMemPoolImportPointer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolImportPointer" not found') * err = ( __cuMemPoolImportPointer)(ptr_out, pool, shareData) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4485 * if __cuMemPoolImportPointer == NULL: * with gil: * raise RuntimeError('Function "cuMemPoolImportPointer" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPoolImportPointer)(ptr_out, pool, shareData) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPoolImportPointer}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4485, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4485, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4484 * cuPythonInit() * if __cuMemPoolImportPointer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPoolImportPointer" not found') * err = ( __cuMemPoolImportPointer)(ptr_out, pool, shareData) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4483 * global __cuMemPoolImportPointer * cuPythonInit() * if __cuMemPoolImportPointer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPoolImportPointer" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4486 * with gil: * raise RuntimeError('Function "cuMemPoolImportPointer" not found') * err = ( __cuMemPoolImportPointer)(ptr_out, pool, shareData) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, CUmemoryPool, CUmemPoolPtrExportData *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportPointer)(__pyx_v_ptr_out, __pyx_v_pool, __pyx_v_shareData); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4486, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4487 * raise RuntimeError('Function "cuMemPoolImportPointer" not found') * err = ( __cuMemPoolImportPointer)(ptr_out, pool, shareData) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMulticastCreate(CUmemGenericAllocationHandle* mcHandle, const CUmulticastObjectProp* prop) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4480 * return err * * cdef CUresult _cuMemPoolImportPointer(CUdeviceptr* ptr_out, CUmemoryPool pool, CUmemPoolPtrExportData* shareData) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPoolImportPointer * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPoolImportPointer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4489 * return err * * cdef CUresult _cuMulticastCreate(CUmemGenericAllocationHandle* mcHandle, const CUmulticastObjectProp* prop) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastCreate(CUmemGenericAllocationHandle *__pyx_v_mcHandle, CUmulticastObjectProp const *__pyx_v_prop) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMulticastCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4491 * cdef CUresult _cuMulticastCreate(CUmemGenericAllocationHandle* mcHandle, const CUmulticastObjectProp* prop) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMulticastCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMulticastCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4491, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4492 * global __cuMulticastCreate * cuPythonInit() * if __cuMulticastCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4493 * cuPythonInit() * if __cuMulticastCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastCreate" not found') * err = ( __cuMulticastCreate)(mcHandle, prop) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4494 * if __cuMulticastCreate == NULL: * with gil: * raise RuntimeError('Function "cuMulticastCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuMulticastCreate)(mcHandle, prop) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMulticastCreate_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4494, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4494, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4493 * cuPythonInit() * if __cuMulticastCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastCreate" not found') * err = ( __cuMulticastCreate)(mcHandle, prop) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4492 * global __cuMulticastCreate * cuPythonInit() * if __cuMulticastCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4495 * with gil: * raise RuntimeError('Function "cuMulticastCreate" not found') * err = ( __cuMulticastCreate)(mcHandle, prop) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle *, CUmulticastObjectProp const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastCreate)(__pyx_v_mcHandle, __pyx_v_prop); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4495, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4496 * raise RuntimeError('Function "cuMulticastCreate" not found') * err = ( __cuMulticastCreate)(mcHandle, prop) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMulticastAddDevice(CUmemGenericAllocationHandle mcHandle, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4489 * return err * * cdef CUresult _cuMulticastCreate(CUmemGenericAllocationHandle* mcHandle, const CUmulticastObjectProp* prop) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMulticastCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4498 * return err * * cdef CUresult _cuMulticastAddDevice(CUmemGenericAllocationHandle mcHandle, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastAddDevice * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastAddDevice(CUmemGenericAllocationHandle __pyx_v_mcHandle, CUdevice __pyx_v_dev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMulticastAddDevice", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4500 * cdef CUresult _cuMulticastAddDevice(CUmemGenericAllocationHandle mcHandle, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMulticastAddDevice * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMulticastAddDevice == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4500, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4501 * global __cuMulticastAddDevice * cuPythonInit() * if __cuMulticastAddDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastAddDevice" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastAddDevice == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4502 * cuPythonInit() * if __cuMulticastAddDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastAddDevice" not found') * err = ( __cuMulticastAddDevice)(mcHandle, dev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4503 * if __cuMulticastAddDevice == NULL: * with gil: * raise RuntimeError('Function "cuMulticastAddDevice" not found') # <<<<<<<<<<<<<< * err = ( __cuMulticastAddDevice)(mcHandle, dev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMulticastAddDevice_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4503, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4503, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4502 * cuPythonInit() * if __cuMulticastAddDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastAddDevice" not found') * err = ( __cuMulticastAddDevice)(mcHandle, dev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4501 * global __cuMulticastAddDevice * cuPythonInit() * if __cuMulticastAddDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastAddDevice" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4504 * with gil: * raise RuntimeError('Function "cuMulticastAddDevice" not found') * err = ( __cuMulticastAddDevice)(mcHandle, dev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastAddDevice)(__pyx_v_mcHandle, __pyx_v_dev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4504, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4505 * raise RuntimeError('Function "cuMulticastAddDevice" not found') * err = ( __cuMulticastAddDevice)(mcHandle, dev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMulticastBindMem(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4498 * return err * * cdef CUresult _cuMulticastAddDevice(CUmemGenericAllocationHandle mcHandle, CUdevice dev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastAddDevice * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMulticastAddDevice", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4507 * return err * * cdef CUresult _cuMulticastBindMem(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastBindMem * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastBindMem(CUmemGenericAllocationHandle __pyx_v_mcHandle, size_t __pyx_v_mcOffset, CUmemGenericAllocationHandle __pyx_v_memHandle, size_t __pyx_v_memOffset, size_t __pyx_v_size, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMulticastBindMem", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4509 * cdef CUresult _cuMulticastBindMem(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMulticastBindMem * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMulticastBindMem == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4509, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4510 * global __cuMulticastBindMem * cuPythonInit() * if __cuMulticastBindMem == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastBindMem" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindMem == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4511 * cuPythonInit() * if __cuMulticastBindMem == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastBindMem" not found') * err = ( __cuMulticastBindMem)(mcHandle, mcOffset, memHandle, memOffset, size, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4512 * if __cuMulticastBindMem == NULL: * with gil: * raise RuntimeError('Function "cuMulticastBindMem" not found') # <<<<<<<<<<<<<< * err = ( __cuMulticastBindMem)(mcHandle, mcOffset, memHandle, memOffset, size, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMulticastBindMem_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4512, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4512, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4511 * cuPythonInit() * if __cuMulticastBindMem == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastBindMem" not found') * err = ( __cuMulticastBindMem)(mcHandle, mcOffset, memHandle, memOffset, size, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4510 * global __cuMulticastBindMem * cuPythonInit() * if __cuMulticastBindMem == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastBindMem" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4513 * with gil: * raise RuntimeError('Function "cuMulticastBindMem" not found') * err = ( __cuMulticastBindMem)(mcHandle, mcOffset, memHandle, memOffset, size, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle, size_t, CUmemGenericAllocationHandle, size_t, size_t, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindMem)(__pyx_v_mcHandle, __pyx_v_mcOffset, __pyx_v_memHandle, __pyx_v_memOffset, __pyx_v_size, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4513, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4514 * raise RuntimeError('Function "cuMulticastBindMem" not found') * err = ( __cuMulticastBindMem)(mcHandle, mcOffset, memHandle, memOffset, size, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4507 * return err * * cdef CUresult _cuMulticastBindMem(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUmemGenericAllocationHandle memHandle, size_t memOffset, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastBindMem * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMulticastBindMem", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4516 * return err * * cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastBindAddr * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastBindAddr(CUmemGenericAllocationHandle __pyx_v_mcHandle, size_t __pyx_v_mcOffset, CUdeviceptr __pyx_v_memptr, size_t __pyx_v_size, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMulticastBindAddr", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4518 * cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMulticastBindAddr * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMulticastBindAddr == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4518, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4519 * global __cuMulticastBindAddr * cuPythonInit() * if __cuMulticastBindAddr == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastBindAddr" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindAddr == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4520 * cuPythonInit() * if __cuMulticastBindAddr == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastBindAddr" not found') * err = ( __cuMulticastBindAddr)(mcHandle, mcOffset, memptr, size, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4521 * if __cuMulticastBindAddr == NULL: * with gil: * raise RuntimeError('Function "cuMulticastBindAddr" not found') # <<<<<<<<<<<<<< * err = ( __cuMulticastBindAddr)(mcHandle, mcOffset, memptr, size, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMulticastBindAddr_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4521, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4521, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4520 * cuPythonInit() * if __cuMulticastBindAddr == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastBindAddr" not found') * err = ( __cuMulticastBindAddr)(mcHandle, mcOffset, memptr, size, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4519 * global __cuMulticastBindAddr * cuPythonInit() * if __cuMulticastBindAddr == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastBindAddr" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4522 * with gil: * raise RuntimeError('Function "cuMulticastBindAddr" not found') * err = ( __cuMulticastBindAddr)(mcHandle, mcOffset, memptr, size, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle, size_t, CUdeviceptr, size_t, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindAddr)(__pyx_v_mcHandle, __pyx_v_mcOffset, __pyx_v_memptr, __pyx_v_size, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4522, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4523 * raise RuntimeError('Function "cuMulticastBindAddr" not found') * err = ( __cuMulticastBindAddr)(mcHandle, mcOffset, memptr, size, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMulticastUnbind(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4516 * return err * * cdef CUresult _cuMulticastBindAddr(CUmemGenericAllocationHandle mcHandle, size_t mcOffset, CUdeviceptr memptr, size_t size, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastBindAddr * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMulticastBindAddr", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4525 * return err * * cdef CUresult _cuMulticastUnbind(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastUnbind * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastUnbind(CUmemGenericAllocationHandle __pyx_v_mcHandle, CUdevice __pyx_v_dev, size_t __pyx_v_mcOffset, size_t __pyx_v_size) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMulticastUnbind", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4527 * cdef CUresult _cuMulticastUnbind(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMulticastUnbind * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMulticastUnbind == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4527, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4528 * global __cuMulticastUnbind * cuPythonInit() * if __cuMulticastUnbind == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastUnbind" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastUnbind == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4529 * cuPythonInit() * if __cuMulticastUnbind == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastUnbind" not found') * err = ( __cuMulticastUnbind)(mcHandle, dev, mcOffset, size) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4530 * if __cuMulticastUnbind == NULL: * with gil: * raise RuntimeError('Function "cuMulticastUnbind" not found') # <<<<<<<<<<<<<< * err = ( __cuMulticastUnbind)(mcHandle, dev, mcOffset, size) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMulticastUnbind_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4530, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4530, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4529 * cuPythonInit() * if __cuMulticastUnbind == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastUnbind" not found') * err = ( __cuMulticastUnbind)(mcHandle, dev, mcOffset, size) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4528 * global __cuMulticastUnbind * cuPythonInit() * if __cuMulticastUnbind == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastUnbind" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4531 * with gil: * raise RuntimeError('Function "cuMulticastUnbind" not found') * err = ( __cuMulticastUnbind)(mcHandle, dev, mcOffset, size) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmemGenericAllocationHandle, CUdevice, size_t, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastUnbind)(__pyx_v_mcHandle, __pyx_v_dev, __pyx_v_mcOffset, __pyx_v_size); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4531, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4532 * raise RuntimeError('Function "cuMulticastUnbind" not found') * err = ( __cuMulticastUnbind)(mcHandle, dev, mcOffset, size) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMulticastGetGranularity(size_t* granularity, const CUmulticastObjectProp* prop, CUmulticastGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4525 * return err * * cdef CUresult _cuMulticastUnbind(CUmemGenericAllocationHandle mcHandle, CUdevice dev, size_t mcOffset, size_t size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastUnbind * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMulticastUnbind", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4534 * return err * * cdef CUresult _cuMulticastGetGranularity(size_t* granularity, const CUmulticastObjectProp* prop, CUmulticastGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastGetGranularity * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastGetGranularity(size_t *__pyx_v_granularity, CUmulticastObjectProp const *__pyx_v_prop, CUmulticastGranularity_flags __pyx_v_option) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMulticastGetGranularity", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4536 * cdef CUresult _cuMulticastGetGranularity(size_t* granularity, const CUmulticastObjectProp* prop, CUmulticastGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMulticastGetGranularity * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMulticastGetGranularity == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4536, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4537 * global __cuMulticastGetGranularity * cuPythonInit() * if __cuMulticastGetGranularity == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastGetGranularity" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastGetGranularity == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4538 * cuPythonInit() * if __cuMulticastGetGranularity == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastGetGranularity" not found') * err = ( __cuMulticastGetGranularity)(granularity, prop, option) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4539 * if __cuMulticastGetGranularity == NULL: * with gil: * raise RuntimeError('Function "cuMulticastGetGranularity" not found') # <<<<<<<<<<<<<< * err = ( __cuMulticastGetGranularity)(granularity, prop, option) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMulticastGetGranulari}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4539, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4539, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4538 * cuPythonInit() * if __cuMulticastGetGranularity == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMulticastGetGranularity" not found') * err = ( __cuMulticastGetGranularity)(granularity, prop, option) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4537 * global __cuMulticastGetGranularity * cuPythonInit() * if __cuMulticastGetGranularity == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMulticastGetGranularity" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4540 * with gil: * raise RuntimeError('Function "cuMulticastGetGranularity" not found') * err = ( __cuMulticastGetGranularity)(granularity, prop, option) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, CUmulticastObjectProp const *, CUmulticastGranularity_flags))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastGetGranularity)(__pyx_v_granularity, __pyx_v_prop, __pyx_v_option); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4540, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4541 * raise RuntimeError('Function "cuMulticastGetGranularity" not found') * err = ( __cuMulticastGetGranularity)(granularity, prop, option) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuPointerGetAttribute(void* data, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4534 * return err * * cdef CUresult _cuMulticastGetGranularity(size_t* granularity, const CUmulticastObjectProp* prop, CUmulticastGranularity_flags option) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMulticastGetGranularity * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMulticastGetGranularity", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4543 * return err * * cdef CUresult _cuPointerGetAttribute(void* data, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuPointerGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPointerGetAttribute(void *__pyx_v_data, CUpointer_attribute __pyx_v_attribute, CUdeviceptr __pyx_v_ptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuPointerGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4545 * cdef CUresult _cuPointerGetAttribute(void* data, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuPointerGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuPointerGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4545, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4546 * global __cuPointerGetAttribute * cuPythonInit() * if __cuPointerGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuPointerGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4547 * cuPythonInit() * if __cuPointerGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuPointerGetAttribute" not found') * err = ( __cuPointerGetAttribute)(data, attribute, ptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4548 * if __cuPointerGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuPointerGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuPointerGetAttribute)(data, attribute, ptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuPointerGetAttribute_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4548, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4548, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4547 * cuPythonInit() * if __cuPointerGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuPointerGetAttribute" not found') * err = ( __cuPointerGetAttribute)(data, attribute, ptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4546 * global __cuPointerGetAttribute * cuPythonInit() * if __cuPointerGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuPointerGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4549 * with gil: * raise RuntimeError('Function "cuPointerGetAttribute" not found') * err = ( __cuPointerGetAttribute)(data, attribute, ptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, CUpointer_attribute, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttribute)(__pyx_v_data, __pyx_v_attribute, __pyx_v_ptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4549, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4550 * raise RuntimeError('Function "cuPointerGetAttribute" not found') * err = ( __cuPointerGetAttribute)(data, attribute, ptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPrefetchAsync(CUdeviceptr devPtr, size_t count, CUdevice dstDevice, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4543 * return err * * cdef CUresult _cuPointerGetAttribute(void* data, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuPointerGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuPointerGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4552 * return err * * cdef CUresult _cuMemPrefetchAsync(CUdeviceptr devPtr, size_t count, CUdevice dstDevice, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPrefetchAsync(CUdeviceptr __pyx_v_devPtr, size_t __pyx_v_count, CUdevice __pyx_v_dstDevice, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPrefetchAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4554 * cdef CUresult _cuMemPrefetchAsync(CUdeviceptr devPtr, size_t count, CUdevice dstDevice, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPrefetchAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPrefetchAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4554, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4555 * global __cuMemPrefetchAsync * cuPythonInit() * if __cuMemPrefetchAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4556 * cuPythonInit() * if __cuMemPrefetchAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPrefetchAsync" not found') * err = ( __cuMemPrefetchAsync)(devPtr, count, dstDevice, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4557 * if __cuMemPrefetchAsync == NULL: * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPrefetchAsync)(devPtr, count, dstDevice, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPrefetchAsync_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4557, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4557, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4556 * cuPythonInit() * if __cuMemPrefetchAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPrefetchAsync" not found') * err = ( __cuMemPrefetchAsync)(devPtr, count, dstDevice, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4555 * global __cuMemPrefetchAsync * cuPythonInit() * if __cuMemPrefetchAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4558 * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync" not found') * err = ( __cuMemPrefetchAsync)(devPtr, count, dstDevice, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, CUdevice, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync)(__pyx_v_devPtr, __pyx_v_count, __pyx_v_dstDevice, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4558, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4559 * raise RuntimeError('Function "cuMemPrefetchAsync" not found') * err = ( __cuMemPrefetchAsync)(devPtr, count, dstDevice, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemPrefetchAsync_v2(CUdeviceptr devPtr, size_t count, CUmemLocation location, unsigned int flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4552 * return err * * cdef CUresult _cuMemPrefetchAsync(CUdeviceptr devPtr, size_t count, CUdevice dstDevice, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPrefetchAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4561 * return err * * cdef CUresult _cuMemPrefetchAsync_v2(CUdeviceptr devPtr, size_t count, CUmemLocation location, unsigned int flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPrefetchAsync_v2(CUdeviceptr __pyx_v_devPtr, size_t __pyx_v_count, CUmemLocation __pyx_v_location, unsigned int __pyx_v_flags, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemPrefetchAsync_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4563 * cdef CUresult _cuMemPrefetchAsync_v2(CUdeviceptr devPtr, size_t count, CUmemLocation location, unsigned int flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemPrefetchAsync_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemPrefetchAsync_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4563, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4564 * global __cuMemPrefetchAsync_v2 * cuPythonInit() * if __cuMemPrefetchAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4565 * cuPythonInit() * if __cuMemPrefetchAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPrefetchAsync_v2" not found') * err = ( __cuMemPrefetchAsync_v2)(devPtr, count, location, flags, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4566 * if __cuMemPrefetchAsync_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemPrefetchAsync_v2)(devPtr, count, location, flags, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemPrefetchAsync_v2_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4566, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4566, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4565 * cuPythonInit() * if __cuMemPrefetchAsync_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemPrefetchAsync_v2" not found') * err = ( __cuMemPrefetchAsync_v2)(devPtr, count, location, flags, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4564 * global __cuMemPrefetchAsync_v2 * cuPythonInit() * if __cuMemPrefetchAsync_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4567 * with gil: * raise RuntimeError('Function "cuMemPrefetchAsync_v2" not found') * err = ( __cuMemPrefetchAsync_v2)(devPtr, count, location, flags, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, CUmemLocation, unsigned int, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2)(__pyx_v_devPtr, __pyx_v_count, __pyx_v_location, __pyx_v_flags, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4567, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4568 * raise RuntimeError('Function "cuMemPrefetchAsync_v2" not found') * err = ( __cuMemPrefetchAsync_v2)(devPtr, count, location, flags, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAdvise(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4561 * return err * * cdef CUresult _cuMemPrefetchAsync_v2(CUdeviceptr devPtr, size_t count, CUmemLocation location, unsigned int flags, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemPrefetchAsync_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4570 * return err * * cdef CUresult _cuMemAdvise(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAdvise * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAdvise(CUdeviceptr __pyx_v_devPtr, size_t __pyx_v_count, CUmem_advise __pyx_v_advice, CUdevice __pyx_v_device) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAdvise", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4572 * cdef CUresult _cuMemAdvise(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAdvise * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAdvise == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4572, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4573 * global __cuMemAdvise * cuPythonInit() * if __cuMemAdvise == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAdvise" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4574 * cuPythonInit() * if __cuMemAdvise == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAdvise" not found') * err = ( __cuMemAdvise)(devPtr, count, advice, device) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4575 * if __cuMemAdvise == NULL: * with gil: * raise RuntimeError('Function "cuMemAdvise" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAdvise)(devPtr, count, advice, device) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAdvise_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4575, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4575, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4574 * cuPythonInit() * if __cuMemAdvise == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAdvise" not found') * err = ( __cuMemAdvise)(devPtr, count, advice, device) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4573 * global __cuMemAdvise * cuPythonInit() * if __cuMemAdvise == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAdvise" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4576 * with gil: * raise RuntimeError('Function "cuMemAdvise" not found') * err = ( __cuMemAdvise)(devPtr, count, advice, device) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, CUmem_advise, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise)(__pyx_v_devPtr, __pyx_v_count, __pyx_v_advice, __pyx_v_device); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4576, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4577 * raise RuntimeError('Function "cuMemAdvise" not found') * err = ( __cuMemAdvise)(devPtr, count, advice, device) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemAdvise_v2(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUmemLocation location) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4570 * return err * * cdef CUresult _cuMemAdvise(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAdvise * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAdvise", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4579 * return err * * cdef CUresult _cuMemAdvise_v2(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUmemLocation location) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAdvise_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAdvise_v2(CUdeviceptr __pyx_v_devPtr, size_t __pyx_v_count, CUmem_advise __pyx_v_advice, CUmemLocation __pyx_v_location) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemAdvise_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4581 * cdef CUresult _cuMemAdvise_v2(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUmemLocation location) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemAdvise_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemAdvise_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4581, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4582 * global __cuMemAdvise_v2 * cuPythonInit() * if __cuMemAdvise_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAdvise_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4583 * cuPythonInit() * if __cuMemAdvise_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAdvise_v2" not found') * err = ( __cuMemAdvise_v2)(devPtr, count, advice, location) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4584 * if __cuMemAdvise_v2 == NULL: * with gil: * raise RuntimeError('Function "cuMemAdvise_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuMemAdvise_v2)(devPtr, count, advice, location) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemAdvise_v2_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4584, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4584, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4583 * cuPythonInit() * if __cuMemAdvise_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemAdvise_v2" not found') * err = ( __cuMemAdvise_v2)(devPtr, count, advice, location) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4582 * global __cuMemAdvise_v2 * cuPythonInit() * if __cuMemAdvise_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemAdvise_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4585 * with gil: * raise RuntimeError('Function "cuMemAdvise_v2" not found') * err = ( __cuMemAdvise_v2)(devPtr, count, advice, location) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr, size_t, CUmem_advise, CUmemLocation))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise_v2)(__pyx_v_devPtr, __pyx_v_count, __pyx_v_advice, __pyx_v_location); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4585, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4586 * raise RuntimeError('Function "cuMemAdvise_v2" not found') * err = ( __cuMemAdvise_v2)(devPtr, count, advice, location) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemRangeGetAttribute(void* data, size_t dataSize, CUmem_range_attribute attribute, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4579 * return err * * cdef CUresult _cuMemAdvise_v2(CUdeviceptr devPtr, size_t count, CUmem_advise advice, CUmemLocation location) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemAdvise_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemAdvise_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4588 * return err * * cdef CUresult _cuMemRangeGetAttribute(void* data, size_t dataSize, CUmem_range_attribute attribute, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRangeGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRangeGetAttribute(void *__pyx_v_data, size_t __pyx_v_dataSize, CUmem_range_attribute __pyx_v_attribute, CUdeviceptr __pyx_v_devPtr, size_t __pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemRangeGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4590 * cdef CUresult _cuMemRangeGetAttribute(void* data, size_t dataSize, CUmem_range_attribute attribute, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemRangeGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemRangeGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4590, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4591 * global __cuMemRangeGetAttribute * cuPythonInit() * if __cuMemRangeGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRangeGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4592 * cuPythonInit() * if __cuMemRangeGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRangeGetAttribute" not found') * err = ( __cuMemRangeGetAttribute)(data, dataSize, attribute, devPtr, count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4593 * if __cuMemRangeGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuMemRangeGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuMemRangeGetAttribute)(data, dataSize, attribute, devPtr, count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemRangeGetAttribute}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4593, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4593, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4592 * cuPythonInit() * if __cuMemRangeGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRangeGetAttribute" not found') * err = ( __cuMemRangeGetAttribute)(data, dataSize, attribute, devPtr, count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4591 * global __cuMemRangeGetAttribute * cuPythonInit() * if __cuMemRangeGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRangeGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4594 * with gil: * raise RuntimeError('Function "cuMemRangeGetAttribute" not found') * err = ( __cuMemRangeGetAttribute)(data, dataSize, attribute, devPtr, count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void *, size_t, CUmem_range_attribute, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttribute)(__pyx_v_data, __pyx_v_dataSize, __pyx_v_attribute, __pyx_v_devPtr, __pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4594, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4595 * raise RuntimeError('Function "cuMemRangeGetAttribute" not found') * err = ( __cuMemRangeGetAttribute)(data, dataSize, attribute, devPtr, count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuMemRangeGetAttributes(void** data, size_t* dataSizes, CUmem_range_attribute* attributes, size_t numAttributes, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4588 * return err * * cdef CUresult _cuMemRangeGetAttribute(void* data, size_t dataSize, CUmem_range_attribute attribute, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRangeGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemRangeGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4597 * return err * * cdef CUresult _cuMemRangeGetAttributes(void** data, size_t* dataSizes, CUmem_range_attribute* attributes, size_t numAttributes, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRangeGetAttributes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRangeGetAttributes(void **__pyx_v_data, size_t *__pyx_v_dataSizes, CUmem_range_attribute *__pyx_v_attributes, size_t __pyx_v_numAttributes, CUdeviceptr __pyx_v_devPtr, size_t __pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuMemRangeGetAttributes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4599 * cdef CUresult _cuMemRangeGetAttributes(void** data, size_t* dataSizes, CUmem_range_attribute* attributes, size_t numAttributes, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuMemRangeGetAttributes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuMemRangeGetAttributes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4599, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4600 * global __cuMemRangeGetAttributes * cuPythonInit() * if __cuMemRangeGetAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRangeGetAttributes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttributes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4601 * cuPythonInit() * if __cuMemRangeGetAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRangeGetAttributes" not found') * err = ( __cuMemRangeGetAttributes)(data, dataSizes, attributes, numAttributes, devPtr, count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4602 * if __cuMemRangeGetAttributes == NULL: * with gil: * raise RuntimeError('Function "cuMemRangeGetAttributes" not found') # <<<<<<<<<<<<<< * err = ( __cuMemRangeGetAttributes)(data, dataSizes, attributes, numAttributes, devPtr, count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuMemRangeGetAttributes}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4602, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4602, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4601 * cuPythonInit() * if __cuMemRangeGetAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuMemRangeGetAttributes" not found') * err = ( __cuMemRangeGetAttributes)(data, dataSizes, attributes, numAttributes, devPtr, count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4600 * global __cuMemRangeGetAttributes * cuPythonInit() * if __cuMemRangeGetAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuMemRangeGetAttributes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4603 * with gil: * raise RuntimeError('Function "cuMemRangeGetAttributes" not found') * err = ( __cuMemRangeGetAttributes)(data, dataSizes, attributes, numAttributes, devPtr, count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void **, size_t *, CUmem_range_attribute *, size_t, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttributes)(__pyx_v_data, __pyx_v_dataSizes, __pyx_v_attributes, __pyx_v_numAttributes, __pyx_v_devPtr, __pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4603, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4604 * raise RuntimeError('Function "cuMemRangeGetAttributes" not found') * err = ( __cuMemRangeGetAttributes)(data, dataSizes, attributes, numAttributes, devPtr, count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuPointerSetAttribute(const void* value, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4597 * return err * * cdef CUresult _cuMemRangeGetAttributes(void** data, size_t* dataSizes, CUmem_range_attribute* attributes, size_t numAttributes, CUdeviceptr devPtr, size_t count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuMemRangeGetAttributes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuMemRangeGetAttributes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4606 * return err * * cdef CUresult _cuPointerSetAttribute(const void* value, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuPointerSetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPointerSetAttribute(void const *__pyx_v_value, CUpointer_attribute __pyx_v_attribute, CUdeviceptr __pyx_v_ptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuPointerSetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4608 * cdef CUresult _cuPointerSetAttribute(const void* value, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuPointerSetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuPointerSetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4608, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4609 * global __cuPointerSetAttribute * cuPythonInit() * if __cuPointerSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuPointerSetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerSetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4610 * cuPythonInit() * if __cuPointerSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuPointerSetAttribute" not found') * err = ( __cuPointerSetAttribute)(value, attribute, ptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4611 * if __cuPointerSetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuPointerSetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuPointerSetAttribute)(value, attribute, ptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuPointerSetAttribute_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4611, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4611, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4610 * cuPythonInit() * if __cuPointerSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuPointerSetAttribute" not found') * err = ( __cuPointerSetAttribute)(value, attribute, ptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4609 * global __cuPointerSetAttribute * cuPythonInit() * if __cuPointerSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuPointerSetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4612 * with gil: * raise RuntimeError('Function "cuPointerSetAttribute" not found') * err = ( __cuPointerSetAttribute)(value, attribute, ptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void const *, CUpointer_attribute, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerSetAttribute)(__pyx_v_value, __pyx_v_attribute, __pyx_v_ptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4612, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4613 * raise RuntimeError('Function "cuPointerSetAttribute" not found') * err = ( __cuPointerSetAttribute)(value, attribute, ptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuPointerGetAttributes(unsigned int numAttributes, CUpointer_attribute* attributes, void** data, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4606 * return err * * cdef CUresult _cuPointerSetAttribute(const void* value, CUpointer_attribute attribute, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuPointerSetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuPointerSetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4615 * return err * * cdef CUresult _cuPointerGetAttributes(unsigned int numAttributes, CUpointer_attribute* attributes, void** data, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuPointerGetAttributes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPointerGetAttributes(unsigned int __pyx_v_numAttributes, CUpointer_attribute *__pyx_v_attributes, void **__pyx_v_data, CUdeviceptr __pyx_v_ptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuPointerGetAttributes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4617 * cdef CUresult _cuPointerGetAttributes(unsigned int numAttributes, CUpointer_attribute* attributes, void** data, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuPointerGetAttributes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuPointerGetAttributes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4617, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4618 * global __cuPointerGetAttributes * cuPythonInit() * if __cuPointerGetAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuPointerGetAttributes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttributes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4619 * cuPythonInit() * if __cuPointerGetAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuPointerGetAttributes" not found') * err = ( __cuPointerGetAttributes)(numAttributes, attributes, data, ptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4620 * if __cuPointerGetAttributes == NULL: * with gil: * raise RuntimeError('Function "cuPointerGetAttributes" not found') # <<<<<<<<<<<<<< * err = ( __cuPointerGetAttributes)(numAttributes, attributes, data, ptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuPointerGetAttributes}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4620, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4620, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4619 * cuPythonInit() * if __cuPointerGetAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuPointerGetAttributes" not found') * err = ( __cuPointerGetAttributes)(numAttributes, attributes, data, ptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4618 * global __cuPointerGetAttributes * cuPythonInit() * if __cuPointerGetAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuPointerGetAttributes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4621 * with gil: * raise RuntimeError('Function "cuPointerGetAttributes" not found') * err = ( __cuPointerGetAttributes)(numAttributes, attributes, data, ptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int, CUpointer_attribute *, void **, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttributes)(__pyx_v_numAttributes, __pyx_v_attributes, __pyx_v_data, __pyx_v_ptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4621, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4622 * raise RuntimeError('Function "cuPointerGetAttributes" not found') * err = ( __cuPointerGetAttributes)(numAttributes, attributes, data, ptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamCreate(CUstream* phStream, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4615 * return err * * cdef CUresult _cuPointerGetAttributes(unsigned int numAttributes, CUpointer_attribute* attributes, void** data, CUdeviceptr ptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuPointerGetAttributes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuPointerGetAttributes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4624 * return err * * cdef CUresult _cuStreamCreate(CUstream* phStream, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamCreate(CUstream *__pyx_v_phStream, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4626 * cdef CUresult _cuStreamCreate(CUstream* phStream, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4626, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4627 * global __cuStreamCreate * cuPythonInit() * if __cuStreamCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4628 * cuPythonInit() * if __cuStreamCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamCreate" not found') * err = ( __cuStreamCreate)(phStream, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4629 * if __cuStreamCreate == NULL: * with gil: * raise RuntimeError('Function "cuStreamCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamCreate)(phStream, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamCreate_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4629, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4629, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4628 * cuPythonInit() * if __cuStreamCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamCreate" not found') * err = ( __cuStreamCreate)(phStream, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4627 * global __cuStreamCreate * cuPythonInit() * if __cuStreamCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4630 * with gil: * raise RuntimeError('Function "cuStreamCreate" not found') * err = ( __cuStreamCreate)(phStream, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreate)(__pyx_v_phStream, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4630, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4631 * raise RuntimeError('Function "cuStreamCreate" not found') * err = ( __cuStreamCreate)(phStream, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamCreateWithPriority(CUstream* phStream, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4624 * return err * * cdef CUresult _cuStreamCreate(CUstream* phStream, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4633 * return err * * cdef CUresult _cuStreamCreateWithPriority(CUstream* phStream, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamCreateWithPriority * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamCreateWithPriority(CUstream *__pyx_v_phStream, unsigned int __pyx_v_flags, int __pyx_v_priority) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamCreateWithPriority", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4635 * cdef CUresult _cuStreamCreateWithPriority(CUstream* phStream, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamCreateWithPriority * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamCreateWithPriority == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4635, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4636 * global __cuStreamCreateWithPriority * cuPythonInit() * if __cuStreamCreateWithPriority == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamCreateWithPriority" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreateWithPriority == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4637 * cuPythonInit() * if __cuStreamCreateWithPriority == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamCreateWithPriority" not found') * err = ( __cuStreamCreateWithPriority)(phStream, flags, priority) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4638 * if __cuStreamCreateWithPriority == NULL: * with gil: * raise RuntimeError('Function "cuStreamCreateWithPriority" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamCreateWithPriority)(phStream, flags, priority) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamCreateWithPrior}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4638, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4638, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4637 * cuPythonInit() * if __cuStreamCreateWithPriority == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamCreateWithPriority" not found') * err = ( __cuStreamCreateWithPriority)(phStream, flags, priority) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4636 * global __cuStreamCreateWithPriority * cuPythonInit() * if __cuStreamCreateWithPriority == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamCreateWithPriority" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4639 * with gil: * raise RuntimeError('Function "cuStreamCreateWithPriority" not found') * err = ( __cuStreamCreateWithPriority)(phStream, flags, priority) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream *, unsigned int, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreateWithPriority)(__pyx_v_phStream, __pyx_v_flags, __pyx_v_priority); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4639, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4640 * raise RuntimeError('Function "cuStreamCreateWithPriority" not found') * err = ( __cuStreamCreateWithPriority)(phStream, flags, priority) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetPriority(CUstream hStream, int* priority) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4633 * return err * * cdef CUresult _cuStreamCreateWithPriority(CUstream* phStream, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamCreateWithPriority * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamCreateWithPriority", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4642 * return err * * cdef CUresult _cuStreamGetPriority(CUstream hStream, int* priority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetPriority * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetPriority(CUstream __pyx_v_hStream, int *__pyx_v_priority) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetPriority", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4644 * cdef CUresult _cuStreamGetPriority(CUstream hStream, int* priority) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetPriority * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetPriority == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4644, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4645 * global __cuStreamGetPriority * cuPythonInit() * if __cuStreamGetPriority == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetPriority" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4646 * cuPythonInit() * if __cuStreamGetPriority == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetPriority" not found') * err = ( __cuStreamGetPriority)(hStream, priority) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4647 * if __cuStreamGetPriority == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetPriority" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetPriority)(hStream, priority) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetPriority_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4647, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4647, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4646 * cuPythonInit() * if __cuStreamGetPriority == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetPriority" not found') * err = ( __cuStreamGetPriority)(hStream, priority) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4645 * global __cuStreamGetPriority * cuPythonInit() * if __cuStreamGetPriority == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetPriority" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4648 * with gil: * raise RuntimeError('Function "cuStreamGetPriority" not found') * err = ( __cuStreamGetPriority)(hStream, priority) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority)(__pyx_v_hStream, __pyx_v_priority); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4648, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4649 * raise RuntimeError('Function "cuStreamGetPriority" not found') * err = ( __cuStreamGetPriority)(hStream, priority) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetDevice(CUstream hStream, CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4642 * return err * * cdef CUresult _cuStreamGetPriority(CUstream hStream, int* priority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetPriority * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetPriority", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4651 * return err * * cdef CUresult _cuStreamGetDevice(CUstream hStream, CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetDevice * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetDevice(CUstream __pyx_v_hStream, CUdevice *__pyx_v_device) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetDevice", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4653 * cdef CUresult _cuStreamGetDevice(CUstream hStream, CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetDevice * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetDevice == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4653, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4654 * global __cuStreamGetDevice * cuPythonInit() * if __cuStreamGetDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetDevice" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4655 * cuPythonInit() * if __cuStreamGetDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetDevice" not found') * err = ( __cuStreamGetDevice)(hStream, device) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4656 * if __cuStreamGetDevice == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetDevice" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetDevice)(hStream, device) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetDevice_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4656, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4656, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4655 * cuPythonInit() * if __cuStreamGetDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetDevice" not found') * err = ( __cuStreamGetDevice)(hStream, device) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4654 * global __cuStreamGetDevice * cuPythonInit() * if __cuStreamGetDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetDevice" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4657 * with gil: * raise RuntimeError('Function "cuStreamGetDevice" not found') * err = ( __cuStreamGetDevice)(hStream, device) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUdevice *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice)(__pyx_v_hStream, __pyx_v_device); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4657, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4658 * raise RuntimeError('Function "cuStreamGetDevice" not found') * err = ( __cuStreamGetDevice)(hStream, device) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetFlags(CUstream hStream, unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4651 * return err * * cdef CUresult _cuStreamGetDevice(CUstream hStream, CUdevice* device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetDevice * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetDevice", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4660 * return err * * cdef CUresult _cuStreamGetFlags(CUstream hStream, unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetFlags(CUstream __pyx_v_hStream, unsigned int *__pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4662 * cdef CUresult _cuStreamGetFlags(CUstream hStream, unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4662, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4663 * global __cuStreamGetFlags * cuPythonInit() * if __cuStreamGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4664 * cuPythonInit() * if __cuStreamGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetFlags" not found') * err = ( __cuStreamGetFlags)(hStream, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4665 * if __cuStreamGetFlags == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetFlags)(hStream, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetFlags_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4665, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4665, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4664 * cuPythonInit() * if __cuStreamGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetFlags" not found') * err = ( __cuStreamGetFlags)(hStream, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4663 * global __cuStreamGetFlags * cuPythonInit() * if __cuStreamGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4666 * with gil: * raise RuntimeError('Function "cuStreamGetFlags" not found') * err = ( __cuStreamGetFlags)(hStream, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, unsigned int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags)(__pyx_v_hStream, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4666, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4667 * raise RuntimeError('Function "cuStreamGetFlags" not found') * err = ( __cuStreamGetFlags)(hStream, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetId(CUstream hStream, unsigned long long* streamId) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4660 * return err * * cdef CUresult _cuStreamGetFlags(CUstream hStream, unsigned int* flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4669 * return err * * cdef CUresult _cuStreamGetId(CUstream hStream, unsigned long long* streamId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetId * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetId(CUstream __pyx_v_hStream, unsigned PY_LONG_LONG *__pyx_v_streamId) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetId", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4671 * cdef CUresult _cuStreamGetId(CUstream hStream, unsigned long long* streamId) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetId * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetId == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4671, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4672 * global __cuStreamGetId * cuPythonInit() * if __cuStreamGetId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetId" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4673 * cuPythonInit() * if __cuStreamGetId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetId" not found') * err = ( __cuStreamGetId)(hStream, streamId) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4674 * if __cuStreamGetId == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetId" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetId)(hStream, streamId) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetId_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4674, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4674, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4673 * cuPythonInit() * if __cuStreamGetId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetId" not found') * err = ( __cuStreamGetId)(hStream, streamId) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4672 * global __cuStreamGetId * cuPythonInit() * if __cuStreamGetId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetId" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4675 * with gil: * raise RuntimeError('Function "cuStreamGetId" not found') * err = ( __cuStreamGetId)(hStream, streamId) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, unsigned PY_LONG_LONG *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId)(__pyx_v_hStream, __pyx_v_streamId); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4675, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4676 * raise RuntimeError('Function "cuStreamGetId" not found') * err = ( __cuStreamGetId)(hStream, streamId) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetCtx(CUstream hStream, CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4669 * return err * * cdef CUresult _cuStreamGetId(CUstream hStream, unsigned long long* streamId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetId * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetId", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4678 * return err * * cdef CUresult _cuStreamGetCtx(CUstream hStream, CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCtx * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCtx(CUstream __pyx_v_hStream, CUcontext *__pyx_v_pctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetCtx", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4680 * cdef CUresult _cuStreamGetCtx(CUstream hStream, CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetCtx * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetCtx == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4680, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4681 * global __cuStreamGetCtx * cuPythonInit() * if __cuStreamGetCtx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCtx" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4682 * cuPythonInit() * if __cuStreamGetCtx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCtx" not found') * err = ( __cuStreamGetCtx)(hStream, pctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4683 * if __cuStreamGetCtx == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetCtx" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetCtx)(hStream, pctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetCtx_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4683, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4683, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4682 * cuPythonInit() * if __cuStreamGetCtx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCtx" not found') * err = ( __cuStreamGetCtx)(hStream, pctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4681 * global __cuStreamGetCtx * cuPythonInit() * if __cuStreamGetCtx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCtx" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4684 * with gil: * raise RuntimeError('Function "cuStreamGetCtx" not found') * err = ( __cuStreamGetCtx)(hStream, pctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUcontext *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx)(__pyx_v_hStream, __pyx_v_pctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4684, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4685 * raise RuntimeError('Function "cuStreamGetCtx" not found') * err = ( __cuStreamGetCtx)(hStream, pctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetCtx_v2(CUstream hStream, CUcontext* pCtx, CUgreenCtx* pGreenCtx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4678 * return err * * cdef CUresult _cuStreamGetCtx(CUstream hStream, CUcontext* pctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCtx * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetCtx", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4687 * return err * * cdef CUresult _cuStreamGetCtx_v2(CUstream hStream, CUcontext* pCtx, CUgreenCtx* pGreenCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCtx_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCtx_v2(CUstream __pyx_v_hStream, CUcontext *__pyx_v_pCtx, CUgreenCtx *__pyx_v_pGreenCtx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetCtx_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4689 * cdef CUresult _cuStreamGetCtx_v2(CUstream hStream, CUcontext* pCtx, CUgreenCtx* pGreenCtx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetCtx_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetCtx_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4689, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4690 * global __cuStreamGetCtx_v2 * cuPythonInit() * if __cuStreamGetCtx_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCtx_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4691 * cuPythonInit() * if __cuStreamGetCtx_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCtx_v2" not found') * err = ( __cuStreamGetCtx_v2)(hStream, pCtx, pGreenCtx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4692 * if __cuStreamGetCtx_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetCtx_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetCtx_v2)(hStream, pCtx, pGreenCtx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetCtx_v2_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4692, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4692, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4691 * cuPythonInit() * if __cuStreamGetCtx_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCtx_v2" not found') * err = ( __cuStreamGetCtx_v2)(hStream, pCtx, pGreenCtx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4690 * global __cuStreamGetCtx_v2 * cuPythonInit() * if __cuStreamGetCtx_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCtx_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4693 * with gil: * raise RuntimeError('Function "cuStreamGetCtx_v2" not found') * err = ( __cuStreamGetCtx_v2)(hStream, pCtx, pGreenCtx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUcontext *, CUgreenCtx *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2)(__pyx_v_hStream, __pyx_v_pCtx, __pyx_v_pGreenCtx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4693, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4694 * raise RuntimeError('Function "cuStreamGetCtx_v2" not found') * err = ( __cuStreamGetCtx_v2)(hStream, pCtx, pGreenCtx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamWaitEvent(CUstream hStream, CUevent hEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4687 * return err * * cdef CUresult _cuStreamGetCtx_v2(CUstream hStream, CUcontext* pCtx, CUgreenCtx* pGreenCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCtx_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetCtx_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4696 * return err * * cdef CUresult _cuStreamWaitEvent(CUstream hStream, CUevent hEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWaitEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWaitEvent(CUstream __pyx_v_hStream, CUevent __pyx_v_hEvent, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamWaitEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4698 * cdef CUresult _cuStreamWaitEvent(CUstream hStream, CUevent hEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamWaitEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamWaitEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4698, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4699 * global __cuStreamWaitEvent * cuPythonInit() * if __cuStreamWaitEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWaitEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4700 * cuPythonInit() * if __cuStreamWaitEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWaitEvent" not found') * err = ( __cuStreamWaitEvent)(hStream, hEvent, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4701 * if __cuStreamWaitEvent == NULL: * with gil: * raise RuntimeError('Function "cuStreamWaitEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamWaitEvent)(hStream, hEvent, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamWaitEvent_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4701, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4701, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4700 * cuPythonInit() * if __cuStreamWaitEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWaitEvent" not found') * err = ( __cuStreamWaitEvent)(hStream, hEvent, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4699 * global __cuStreamWaitEvent * cuPythonInit() * if __cuStreamWaitEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWaitEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4702 * with gil: * raise RuntimeError('Function "cuStreamWaitEvent" not found') * err = ( __cuStreamWaitEvent)(hStream, hEvent, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUevent, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent)(__pyx_v_hStream, __pyx_v_hEvent, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4702, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4703 * raise RuntimeError('Function "cuStreamWaitEvent" not found') * err = ( __cuStreamWaitEvent)(hStream, hEvent, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamAddCallback(CUstream hStream, CUstreamCallback callback, void* userData, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4696 * return err * * cdef CUresult _cuStreamWaitEvent(CUstream hStream, CUevent hEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWaitEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamWaitEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4705 * return err * * cdef CUresult _cuStreamAddCallback(CUstream hStream, CUstreamCallback callback, void* userData, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamAddCallback * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamAddCallback(CUstream __pyx_v_hStream, CUstreamCallback __pyx_v_callback, void *__pyx_v_userData, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamAddCallback", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4707 * cdef CUresult _cuStreamAddCallback(CUstream hStream, CUstreamCallback callback, void* userData, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamAddCallback * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamAddCallback == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4707, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4708 * global __cuStreamAddCallback * cuPythonInit() * if __cuStreamAddCallback == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamAddCallback" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4709 * cuPythonInit() * if __cuStreamAddCallback == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamAddCallback" not found') * err = ( __cuStreamAddCallback)(hStream, callback, userData, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4710 * if __cuStreamAddCallback == NULL: * with gil: * raise RuntimeError('Function "cuStreamAddCallback" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamAddCallback)(hStream, callback, userData, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamAddCallback_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4710, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4710, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4709 * cuPythonInit() * if __cuStreamAddCallback == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamAddCallback" not found') * err = ( __cuStreamAddCallback)(hStream, callback, userData, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4708 * global __cuStreamAddCallback * cuPythonInit() * if __cuStreamAddCallback == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamAddCallback" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4711 * with gil: * raise RuntimeError('Function "cuStreamAddCallback" not found') * err = ( __cuStreamAddCallback)(hStream, callback, userData, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstreamCallback, void *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback)(__pyx_v_hStream, __pyx_v_callback, __pyx_v_userData, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4711, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4712 * raise RuntimeError('Function "cuStreamAddCallback" not found') * err = ( __cuStreamAddCallback)(hStream, callback, userData, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamBeginCapture_v2(CUstream hStream, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4705 * return err * * cdef CUresult _cuStreamAddCallback(CUstream hStream, CUstreamCallback callback, void* userData, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamAddCallback * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamAddCallback", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4714 * return err * * cdef CUresult _cuStreamBeginCapture_v2(CUstream hStream, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamBeginCapture_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamBeginCapture_v2(CUstream __pyx_v_hStream, CUstreamCaptureMode __pyx_v_mode) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamBeginCapture_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4716 * cdef CUresult _cuStreamBeginCapture_v2(CUstream hStream, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamBeginCapture_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamBeginCapture_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4716, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4717 * global __cuStreamBeginCapture_v2 * cuPythonInit() * if __cuStreamBeginCapture_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamBeginCapture_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4718 * cuPythonInit() * if __cuStreamBeginCapture_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamBeginCapture_v2" not found') * err = ( __cuStreamBeginCapture_v2)(hStream, mode) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4719 * if __cuStreamBeginCapture_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamBeginCapture_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamBeginCapture_v2)(hStream, mode) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamBeginCapture_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4719, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4719, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4718 * cuPythonInit() * if __cuStreamBeginCapture_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamBeginCapture_v2" not found') * err = ( __cuStreamBeginCapture_v2)(hStream, mode) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4717 * global __cuStreamBeginCapture_v2 * cuPythonInit() * if __cuStreamBeginCapture_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamBeginCapture_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4720 * with gil: * raise RuntimeError('Function "cuStreamBeginCapture_v2" not found') * err = ( __cuStreamBeginCapture_v2)(hStream, mode) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstreamCaptureMode))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2)(__pyx_v_hStream, __pyx_v_mode); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4720, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4721 * raise RuntimeError('Function "cuStreamBeginCapture_v2" not found') * err = ( __cuStreamBeginCapture_v2)(hStream, mode) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamBeginCaptureToGraph(CUstream hStream, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4714 * return err * * cdef CUresult _cuStreamBeginCapture_v2(CUstream hStream, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamBeginCapture_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamBeginCapture_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4723 * return err * * cdef CUresult _cuStreamBeginCaptureToGraph(CUstream hStream, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamBeginCaptureToGraph * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamBeginCaptureToGraph(CUstream __pyx_v_hStream, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, CUgraphEdgeData const *__pyx_v_dependencyData, size_t __pyx_v_numDependencies, CUstreamCaptureMode __pyx_v_mode) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamBeginCaptureToGraph", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4725 * cdef CUresult _cuStreamBeginCaptureToGraph(CUstream hStream, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamBeginCaptureToGraph * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamBeginCaptureToGraph == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4725, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4726 * global __cuStreamBeginCaptureToGraph * cuPythonInit() * if __cuStreamBeginCaptureToGraph == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamBeginCaptureToGraph" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4727 * cuPythonInit() * if __cuStreamBeginCaptureToGraph == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamBeginCaptureToGraph" not found') * err = ( __cuStreamBeginCaptureToGraph)(hStream, hGraph, dependencies, dependencyData, numDependencies, mode) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4728 * if __cuStreamBeginCaptureToGraph == NULL: * with gil: * raise RuntimeError('Function "cuStreamBeginCaptureToGraph" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamBeginCaptureToGraph)(hStream, hGraph, dependencies, dependencyData, numDependencies, mode) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamBeginCaptureToG}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4728, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4728, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4727 * cuPythonInit() * if __cuStreamBeginCaptureToGraph == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamBeginCaptureToGraph" not found') * err = ( __cuStreamBeginCaptureToGraph)(hStream, hGraph, dependencies, dependencyData, numDependencies, mode) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4726 * global __cuStreamBeginCaptureToGraph * cuPythonInit() * if __cuStreamBeginCaptureToGraph == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamBeginCaptureToGraph" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4729 * with gil: * raise RuntimeError('Function "cuStreamBeginCaptureToGraph" not found') * err = ( __cuStreamBeginCaptureToGraph)(hStream, hGraph, dependencies, dependencyData, numDependencies, mode) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUgraph, CUgraphNode const *, CUgraphEdgeData const *, size_t, CUstreamCaptureMode))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph)(__pyx_v_hStream, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_dependencyData, __pyx_v_numDependencies, __pyx_v_mode); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4729, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4730 * raise RuntimeError('Function "cuStreamBeginCaptureToGraph" not found') * err = ( __cuStreamBeginCaptureToGraph)(hStream, hGraph, dependencies, dependencyData, numDependencies, mode) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuThreadExchangeStreamCaptureMode(CUstreamCaptureMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4723 * return err * * cdef CUresult _cuStreamBeginCaptureToGraph(CUstream hStream, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUstreamCaptureMode mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamBeginCaptureToGraph * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamBeginCaptureToGraph", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4732 * return err * * cdef CUresult _cuThreadExchangeStreamCaptureMode(CUstreamCaptureMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuThreadExchangeStreamCaptureMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuThreadExchangeStreamCaptureMode(CUstreamCaptureMode *__pyx_v_mode) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuThreadExchangeStreamCaptureMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4734 * cdef CUresult _cuThreadExchangeStreamCaptureMode(CUstreamCaptureMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuThreadExchangeStreamCaptureMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuThreadExchangeStreamCaptureMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4734, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4735 * global __cuThreadExchangeStreamCaptureMode * cuPythonInit() * if __cuThreadExchangeStreamCaptureMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuThreadExchangeStreamCaptureMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuThreadExchangeStreamCaptureMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4736 * cuPythonInit() * if __cuThreadExchangeStreamCaptureMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuThreadExchangeStreamCaptureMode" not found') * err = ( __cuThreadExchangeStreamCaptureMode)(mode) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4737 * if __cuThreadExchangeStreamCaptureMode == NULL: * with gil: * raise RuntimeError('Function "cuThreadExchangeStreamCaptureMode" not found') # <<<<<<<<<<<<<< * err = ( __cuThreadExchangeStreamCaptureMode)(mode) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuThreadExchangeStreamC}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4737, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4737, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4736 * cuPythonInit() * if __cuThreadExchangeStreamCaptureMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuThreadExchangeStreamCaptureMode" not found') * err = ( __cuThreadExchangeStreamCaptureMode)(mode) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4735 * global __cuThreadExchangeStreamCaptureMode * cuPythonInit() * if __cuThreadExchangeStreamCaptureMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuThreadExchangeStreamCaptureMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4738 * with gil: * raise RuntimeError('Function "cuThreadExchangeStreamCaptureMode" not found') * err = ( __cuThreadExchangeStreamCaptureMode)(mode) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstreamCaptureMode *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuThreadExchangeStreamCaptureMode)(__pyx_v_mode); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4738, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4739 * raise RuntimeError('Function "cuThreadExchangeStreamCaptureMode" not found') * err = ( __cuThreadExchangeStreamCaptureMode)(mode) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamEndCapture(CUstream hStream, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4732 * return err * * cdef CUresult _cuThreadExchangeStreamCaptureMode(CUstreamCaptureMode* mode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuThreadExchangeStreamCaptureMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuThreadExchangeStreamCaptureMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4741 * return err * * cdef CUresult _cuStreamEndCapture(CUstream hStream, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamEndCapture * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamEndCapture(CUstream __pyx_v_hStream, CUgraph *__pyx_v_phGraph) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamEndCapture", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4743 * cdef CUresult _cuStreamEndCapture(CUstream hStream, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamEndCapture * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamEndCapture == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4743, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4744 * global __cuStreamEndCapture * cuPythonInit() * if __cuStreamEndCapture == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamEndCapture" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4745 * cuPythonInit() * if __cuStreamEndCapture == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamEndCapture" not found') * err = ( __cuStreamEndCapture)(hStream, phGraph) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4746 * if __cuStreamEndCapture == NULL: * with gil: * raise RuntimeError('Function "cuStreamEndCapture" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamEndCapture)(hStream, phGraph) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamEndCapture_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4746, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4746, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4745 * cuPythonInit() * if __cuStreamEndCapture == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamEndCapture" not found') * err = ( __cuStreamEndCapture)(hStream, phGraph) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4744 * global __cuStreamEndCapture * cuPythonInit() * if __cuStreamEndCapture == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamEndCapture" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4747 * with gil: * raise RuntimeError('Function "cuStreamEndCapture" not found') * err = ( __cuStreamEndCapture)(hStream, phGraph) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUgraph *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture)(__pyx_v_hStream, __pyx_v_phGraph); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4747, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4748 * raise RuntimeError('Function "cuStreamEndCapture" not found') * err = ( __cuStreamEndCapture)(hStream, phGraph) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamIsCapturing(CUstream hStream, CUstreamCaptureStatus* captureStatus) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4741 * return err * * cdef CUresult _cuStreamEndCapture(CUstream hStream, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamEndCapture * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamEndCapture", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4750 * return err * * cdef CUresult _cuStreamIsCapturing(CUstream hStream, CUstreamCaptureStatus* captureStatus) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamIsCapturing * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamIsCapturing(CUstream __pyx_v_hStream, CUstreamCaptureStatus *__pyx_v_captureStatus) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamIsCapturing", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4752 * cdef CUresult _cuStreamIsCapturing(CUstream hStream, CUstreamCaptureStatus* captureStatus) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamIsCapturing * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamIsCapturing == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4752, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4753 * global __cuStreamIsCapturing * cuPythonInit() * if __cuStreamIsCapturing == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamIsCapturing" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4754 * cuPythonInit() * if __cuStreamIsCapturing == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamIsCapturing" not found') * err = ( __cuStreamIsCapturing)(hStream, captureStatus) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4755 * if __cuStreamIsCapturing == NULL: * with gil: * raise RuntimeError('Function "cuStreamIsCapturing" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamIsCapturing)(hStream, captureStatus) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamIsCapturing_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4755, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4755, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4754 * cuPythonInit() * if __cuStreamIsCapturing == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamIsCapturing" not found') * err = ( __cuStreamIsCapturing)(hStream, captureStatus) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4753 * global __cuStreamIsCapturing * cuPythonInit() * if __cuStreamIsCapturing == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamIsCapturing" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4756 * with gil: * raise RuntimeError('Function "cuStreamIsCapturing" not found') * err = ( __cuStreamIsCapturing)(hStream, captureStatus) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstreamCaptureStatus *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing)(__pyx_v_hStream, __pyx_v_captureStatus); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4756, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4757 * raise RuntimeError('Function "cuStreamIsCapturing" not found') * err = ( __cuStreamIsCapturing)(hStream, captureStatus) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetCaptureInfo_v2(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4750 * return err * * cdef CUresult _cuStreamIsCapturing(CUstream hStream, CUstreamCaptureStatus* captureStatus) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamIsCapturing * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamIsCapturing", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4759 * return err * * cdef CUresult _cuStreamGetCaptureInfo_v2(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCaptureInfo_v2(CUstream __pyx_v_hStream, CUstreamCaptureStatus *__pyx_v_captureStatus_out, cuuint64_t *__pyx_v_id_out, CUgraph *__pyx_v_graph_out, CUgraphNode const **__pyx_v_dependencies_out, size_t *__pyx_v_numDependencies_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetCaptureInfo_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4761 * cdef CUresult _cuStreamGetCaptureInfo_v2(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetCaptureInfo_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetCaptureInfo_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4761, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4762 * global __cuStreamGetCaptureInfo_v2 * cuPythonInit() * if __cuStreamGetCaptureInfo_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4763 * cuPythonInit() * if __cuStreamGetCaptureInfo_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCaptureInfo_v2" not found') * err = ( __cuStreamGetCaptureInfo_v2)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, numDependencies_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4764 * if __cuStreamGetCaptureInfo_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetCaptureInfo_v2)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, numDependencies_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetCaptureInfo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4764, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4764, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4763 * cuPythonInit() * if __cuStreamGetCaptureInfo_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCaptureInfo_v2" not found') * err = ( __cuStreamGetCaptureInfo_v2)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, numDependencies_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4762 * global __cuStreamGetCaptureInfo_v2 * cuPythonInit() * if __cuStreamGetCaptureInfo_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4765 * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v2" not found') * err = ( __cuStreamGetCaptureInfo_v2)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, numDependencies_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstreamCaptureStatus *, cuuint64_t *, CUgraph *, CUgraphNode const **, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2)(__pyx_v_hStream, __pyx_v_captureStatus_out, __pyx_v_id_out, __pyx_v_graph_out, __pyx_v_dependencies_out, __pyx_v_numDependencies_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4765, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4766 * raise RuntimeError('Function "cuStreamGetCaptureInfo_v2" not found') * err = ( __cuStreamGetCaptureInfo_v2)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, numDependencies_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetCaptureInfo_v3(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, const CUgraphEdgeData** edgeData_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4759 * return err * * cdef CUresult _cuStreamGetCaptureInfo_v2(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetCaptureInfo_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4768 * return err * * cdef CUresult _cuStreamGetCaptureInfo_v3(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, const CUgraphEdgeData** edgeData_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v3 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCaptureInfo_v3(CUstream __pyx_v_hStream, CUstreamCaptureStatus *__pyx_v_captureStatus_out, cuuint64_t *__pyx_v_id_out, CUgraph *__pyx_v_graph_out, CUgraphNode const **__pyx_v_dependencies_out, CUgraphEdgeData const **__pyx_v_edgeData_out, size_t *__pyx_v_numDependencies_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetCaptureInfo_v3", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4770 * cdef CUresult _cuStreamGetCaptureInfo_v3(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, const CUgraphEdgeData** edgeData_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetCaptureInfo_v3 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetCaptureInfo_v3 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4770, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4771 * global __cuStreamGetCaptureInfo_v3 * cuPythonInit() * if __cuStreamGetCaptureInfo_v3 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v3" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4772 * cuPythonInit() * if __cuStreamGetCaptureInfo_v3 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCaptureInfo_v3" not found') * err = ( __cuStreamGetCaptureInfo_v3)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, edgeData_out, numDependencies_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4773 * if __cuStreamGetCaptureInfo_v3 == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v3" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetCaptureInfo_v3)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, edgeData_out, numDependencies_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetCaptureInfo_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4773, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4773, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4772 * cuPythonInit() * if __cuStreamGetCaptureInfo_v3 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetCaptureInfo_v3" not found') * err = ( __cuStreamGetCaptureInfo_v3)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, edgeData_out, numDependencies_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4771 * global __cuStreamGetCaptureInfo_v3 * cuPythonInit() * if __cuStreamGetCaptureInfo_v3 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v3" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4774 * with gil: * raise RuntimeError('Function "cuStreamGetCaptureInfo_v3" not found') * err = ( __cuStreamGetCaptureInfo_v3)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, edgeData_out, numDependencies_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstreamCaptureStatus *, cuuint64_t *, CUgraph *, CUgraphNode const **, CUgraphEdgeData const **, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3)(__pyx_v_hStream, __pyx_v_captureStatus_out, __pyx_v_id_out, __pyx_v_graph_out, __pyx_v_dependencies_out, __pyx_v_edgeData_out, __pyx_v_numDependencies_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4774, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4775 * raise RuntimeError('Function "cuStreamGetCaptureInfo_v3" not found') * err = ( __cuStreamGetCaptureInfo_v3)(hStream, captureStatus_out, id_out, graph_out, dependencies_out, edgeData_out, numDependencies_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamUpdateCaptureDependencies(CUstream hStream, CUgraphNode* dependencies, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4768 * return err * * cdef CUresult _cuStreamGetCaptureInfo_v3(CUstream hStream, CUstreamCaptureStatus* captureStatus_out, cuuint64_t* id_out, CUgraph* graph_out, const CUgraphNode** dependencies_out, const CUgraphEdgeData** edgeData_out, size_t* numDependencies_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v3 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetCaptureInfo_v3", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4777 * return err * * cdef CUresult _cuStreamUpdateCaptureDependencies(CUstream hStream, CUgraphNode* dependencies, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamUpdateCaptureDependencies(CUstream __pyx_v_hStream, CUgraphNode *__pyx_v_dependencies, size_t __pyx_v_numDependencies, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamUpdateCaptureDependencies", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4779 * cdef CUresult _cuStreamUpdateCaptureDependencies(CUstream hStream, CUgraphNode* dependencies, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamUpdateCaptureDependencies * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamUpdateCaptureDependencies == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4779, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4780 * global __cuStreamUpdateCaptureDependencies * cuPythonInit() * if __cuStreamUpdateCaptureDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4781 * cuPythonInit() * if __cuStreamUpdateCaptureDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies" not found') * err = ( __cuStreamUpdateCaptureDependencies)(hStream, dependencies, numDependencies, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4782 * if __cuStreamUpdateCaptureDependencies == NULL: * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamUpdateCaptureDependencies)(hStream, dependencies, numDependencies, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamUpdateCaptureDe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4782, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4782, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4781 * cuPythonInit() * if __cuStreamUpdateCaptureDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies" not found') * err = ( __cuStreamUpdateCaptureDependencies)(hStream, dependencies, numDependencies, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4780 * global __cuStreamUpdateCaptureDependencies * cuPythonInit() * if __cuStreamUpdateCaptureDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4783 * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies" not found') * err = ( __cuStreamUpdateCaptureDependencies)(hStream, dependencies, numDependencies, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUgraphNode *, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies)(__pyx_v_hStream, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4783, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4784 * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies" not found') * err = ( __cuStreamUpdateCaptureDependencies)(hStream, dependencies, numDependencies, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamUpdateCaptureDependencies_v2(CUstream hStream, CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4777 * return err * * cdef CUresult _cuStreamUpdateCaptureDependencies(CUstream hStream, CUgraphNode* dependencies, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamUpdateCaptureDependencies", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4786 * return err * * cdef CUresult _cuStreamUpdateCaptureDependencies_v2(CUstream hStream, CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamUpdateCaptureDependencies_v2(CUstream __pyx_v_hStream, CUgraphNode *__pyx_v_dependencies, CUgraphEdgeData const *__pyx_v_dependencyData, size_t __pyx_v_numDependencies, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamUpdateCaptureDependencies_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4788 * cdef CUresult _cuStreamUpdateCaptureDependencies_v2(CUstream hStream, CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamUpdateCaptureDependencies_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamUpdateCaptureDependencies_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4788, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4789 * global __cuStreamUpdateCaptureDependencies_v2 * cuPythonInit() * if __cuStreamUpdateCaptureDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4790 * cuPythonInit() * if __cuStreamUpdateCaptureDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies_v2" not found') * err = ( __cuStreamUpdateCaptureDependencies_v2)(hStream, dependencies, dependencyData, numDependencies, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4791 * if __cuStreamUpdateCaptureDependencies_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamUpdateCaptureDependencies_v2)(hStream, dependencies, dependencyData, numDependencies, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamUpdateCaptureDe_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4791, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4791, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4790 * cuPythonInit() * if __cuStreamUpdateCaptureDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies_v2" not found') * err = ( __cuStreamUpdateCaptureDependencies_v2)(hStream, dependencies, dependencyData, numDependencies, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4789 * global __cuStreamUpdateCaptureDependencies_v2 * cuPythonInit() * if __cuStreamUpdateCaptureDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4792 * with gil: * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies_v2" not found') * err = ( __cuStreamUpdateCaptureDependencies_v2)(hStream, dependencies, dependencyData, numDependencies, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUgraphNode *, CUgraphEdgeData const *, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2)(__pyx_v_hStream, __pyx_v_dependencies, __pyx_v_dependencyData, __pyx_v_numDependencies, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4792, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4793 * raise RuntimeError('Function "cuStreamUpdateCaptureDependencies_v2" not found') * err = ( __cuStreamUpdateCaptureDependencies_v2)(hStream, dependencies, dependencyData, numDependencies, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamAttachMemAsync(CUstream hStream, CUdeviceptr dptr, size_t length, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4786 * return err * * cdef CUresult _cuStreamUpdateCaptureDependencies_v2(CUstream hStream, CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamUpdateCaptureDependencies_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4795 * return err * * cdef CUresult _cuStreamAttachMemAsync(CUstream hStream, CUdeviceptr dptr, size_t length, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamAttachMemAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamAttachMemAsync(CUstream __pyx_v_hStream, CUdeviceptr __pyx_v_dptr, size_t __pyx_v_length, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamAttachMemAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4797 * cdef CUresult _cuStreamAttachMemAsync(CUstream hStream, CUdeviceptr dptr, size_t length, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamAttachMemAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamAttachMemAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4797, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4798 * global __cuStreamAttachMemAsync * cuPythonInit() * if __cuStreamAttachMemAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamAttachMemAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4799 * cuPythonInit() * if __cuStreamAttachMemAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamAttachMemAsync" not found') * err = ( __cuStreamAttachMemAsync)(hStream, dptr, length, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4800 * if __cuStreamAttachMemAsync == NULL: * with gil: * raise RuntimeError('Function "cuStreamAttachMemAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamAttachMemAsync)(hStream, dptr, length, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamAttachMemAsync}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4800, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4800, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4799 * cuPythonInit() * if __cuStreamAttachMemAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamAttachMemAsync" not found') * err = ( __cuStreamAttachMemAsync)(hStream, dptr, length, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4798 * global __cuStreamAttachMemAsync * cuPythonInit() * if __cuStreamAttachMemAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamAttachMemAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4801 * with gil: * raise RuntimeError('Function "cuStreamAttachMemAsync" not found') * err = ( __cuStreamAttachMemAsync)(hStream, dptr, length, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUdeviceptr, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync)(__pyx_v_hStream, __pyx_v_dptr, __pyx_v_length, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4801, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4802 * raise RuntimeError('Function "cuStreamAttachMemAsync" not found') * err = ( __cuStreamAttachMemAsync)(hStream, dptr, length, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamQuery(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4795 * return err * * cdef CUresult _cuStreamAttachMemAsync(CUstream hStream, CUdeviceptr dptr, size_t length, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamAttachMemAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamAttachMemAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4804 * return err * * cdef CUresult _cuStreamQuery(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamQuery * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamQuery(CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamQuery", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4806 * cdef CUresult _cuStreamQuery(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamQuery * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamQuery == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4806, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4807 * global __cuStreamQuery * cuPythonInit() * if __cuStreamQuery == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamQuery" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4808 * cuPythonInit() * if __cuStreamQuery == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamQuery" not found') * err = ( __cuStreamQuery)(hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4809 * if __cuStreamQuery == NULL: * with gil: * raise RuntimeError('Function "cuStreamQuery" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamQuery)(hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamQuery_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4809, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4809, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4808 * cuPythonInit() * if __cuStreamQuery == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamQuery" not found') * err = ( __cuStreamQuery)(hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4807 * global __cuStreamQuery * cuPythonInit() * if __cuStreamQuery == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamQuery" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4810 * with gil: * raise RuntimeError('Function "cuStreamQuery" not found') * err = ( __cuStreamQuery)(hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery)(__pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4810, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4811 * raise RuntimeError('Function "cuStreamQuery" not found') * err = ( __cuStreamQuery)(hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamSynchronize(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4804 * return err * * cdef CUresult _cuStreamQuery(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamQuery * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamQuery", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4813 * return err * * cdef CUresult _cuStreamSynchronize(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamSynchronize * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamSynchronize(CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamSynchronize", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4815 * cdef CUresult _cuStreamSynchronize(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamSynchronize * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamSynchronize == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4815, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4816 * global __cuStreamSynchronize * cuPythonInit() * if __cuStreamSynchronize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamSynchronize" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4817 * cuPythonInit() * if __cuStreamSynchronize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamSynchronize" not found') * err = ( __cuStreamSynchronize)(hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4818 * if __cuStreamSynchronize == NULL: * with gil: * raise RuntimeError('Function "cuStreamSynchronize" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamSynchronize)(hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamSynchronize_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4818, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4818, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4817 * cuPythonInit() * if __cuStreamSynchronize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamSynchronize" not found') * err = ( __cuStreamSynchronize)(hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4816 * global __cuStreamSynchronize * cuPythonInit() * if __cuStreamSynchronize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamSynchronize" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4819 * with gil: * raise RuntimeError('Function "cuStreamSynchronize" not found') * err = ( __cuStreamSynchronize)(hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize)(__pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4819, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4820 * raise RuntimeError('Function "cuStreamSynchronize" not found') * err = ( __cuStreamSynchronize)(hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamDestroy_v2(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4813 * return err * * cdef CUresult _cuStreamSynchronize(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamSynchronize * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamSynchronize", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4822 * return err * * cdef CUresult _cuStreamDestroy_v2(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamDestroy_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamDestroy_v2(CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamDestroy_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4824 * cdef CUresult _cuStreamDestroy_v2(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamDestroy_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamDestroy_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4824, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4825 * global __cuStreamDestroy_v2 * cuPythonInit() * if __cuStreamDestroy_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamDestroy_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamDestroy_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4826 * cuPythonInit() * if __cuStreamDestroy_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamDestroy_v2" not found') * err = ( __cuStreamDestroy_v2)(hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4827 * if __cuStreamDestroy_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamDestroy_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamDestroy_v2)(hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamDestroy_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4827, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4827, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4826 * cuPythonInit() * if __cuStreamDestroy_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamDestroy_v2" not found') * err = ( __cuStreamDestroy_v2)(hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4825 * global __cuStreamDestroy_v2 * cuPythonInit() * if __cuStreamDestroy_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamDestroy_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4828 * with gil: * raise RuntimeError('Function "cuStreamDestroy_v2" not found') * err = ( __cuStreamDestroy_v2)(hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamDestroy_v2)(__pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4828, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4829 * raise RuntimeError('Function "cuStreamDestroy_v2" not found') * err = ( __cuStreamDestroy_v2)(hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamCopyAttributes(CUstream dst, CUstream src) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4822 * return err * * cdef CUresult _cuStreamDestroy_v2(CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamDestroy_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamDestroy_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4831 * return err * * cdef CUresult _cuStreamCopyAttributes(CUstream dst, CUstream src) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamCopyAttributes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamCopyAttributes(CUstream __pyx_v_dst, CUstream __pyx_v_src) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamCopyAttributes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4833 * cdef CUresult _cuStreamCopyAttributes(CUstream dst, CUstream src) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamCopyAttributes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamCopyAttributes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4833, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4834 * global __cuStreamCopyAttributes * cuPythonInit() * if __cuStreamCopyAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamCopyAttributes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4835 * cuPythonInit() * if __cuStreamCopyAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamCopyAttributes" not found') * err = ( __cuStreamCopyAttributes)(dst, src) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4836 * if __cuStreamCopyAttributes == NULL: * with gil: * raise RuntimeError('Function "cuStreamCopyAttributes" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamCopyAttributes)(dst, src) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamCopyAttributes}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4836, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4836, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4835 * cuPythonInit() * if __cuStreamCopyAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamCopyAttributes" not found') * err = ( __cuStreamCopyAttributes)(dst, src) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4834 * global __cuStreamCopyAttributes * cuPythonInit() * if __cuStreamCopyAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamCopyAttributes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4837 * with gil: * raise RuntimeError('Function "cuStreamCopyAttributes" not found') * err = ( __cuStreamCopyAttributes)(dst, src) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes)(__pyx_v_dst, __pyx_v_src); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4837, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4838 * raise RuntimeError('Function "cuStreamCopyAttributes" not found') * err = ( __cuStreamCopyAttributes)(dst, src) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetAttribute(CUstream hStream, CUstreamAttrID attr, CUstreamAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4831 * return err * * cdef CUresult _cuStreamCopyAttributes(CUstream dst, CUstream src) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamCopyAttributes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamCopyAttributes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4840 * return err * * cdef CUresult _cuStreamGetAttribute(CUstream hStream, CUstreamAttrID attr, CUstreamAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetAttribute(CUstream __pyx_v_hStream, CUstreamAttrID __pyx_v_attr, CUstreamAttrValue *__pyx_v_value_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4842 * cdef CUresult _cuStreamGetAttribute(CUstream hStream, CUstreamAttrID attr, CUstreamAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4842, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4843 * global __cuStreamGetAttribute * cuPythonInit() * if __cuStreamGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4844 * cuPythonInit() * if __cuStreamGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetAttribute" not found') * err = ( __cuStreamGetAttribute)(hStream, attr, value_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4845 * if __cuStreamGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetAttribute)(hStream, attr, value_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetAttribute_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4845, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4845, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4844 * cuPythonInit() * if __cuStreamGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetAttribute" not found') * err = ( __cuStreamGetAttribute)(hStream, attr, value_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4843 * global __cuStreamGetAttribute * cuPythonInit() * if __cuStreamGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4846 * with gil: * raise RuntimeError('Function "cuStreamGetAttribute" not found') * err = ( __cuStreamGetAttribute)(hStream, attr, value_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstreamAttrID, CUstreamAttrValue *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute)(__pyx_v_hStream, __pyx_v_attr, __pyx_v_value_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4846, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4847 * raise RuntimeError('Function "cuStreamGetAttribute" not found') * err = ( __cuStreamGetAttribute)(hStream, attr, value_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamSetAttribute(CUstream hStream, CUstreamAttrID attr, const CUstreamAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4840 * return err * * cdef CUresult _cuStreamGetAttribute(CUstream hStream, CUstreamAttrID attr, CUstreamAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4849 * return err * * cdef CUresult _cuStreamSetAttribute(CUstream hStream, CUstreamAttrID attr, const CUstreamAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamSetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamSetAttribute(CUstream __pyx_v_hStream, CUstreamAttrID __pyx_v_attr, CUstreamAttrValue const *__pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamSetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4851 * cdef CUresult _cuStreamSetAttribute(CUstream hStream, CUstreamAttrID attr, const CUstreamAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamSetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamSetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4851, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4852 * global __cuStreamSetAttribute * cuPythonInit() * if __cuStreamSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamSetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4853 * cuPythonInit() * if __cuStreamSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamSetAttribute" not found') * err = ( __cuStreamSetAttribute)(hStream, attr, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4854 * if __cuStreamSetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuStreamSetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamSetAttribute)(hStream, attr, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamSetAttribute_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4854, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4854, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4853 * cuPythonInit() * if __cuStreamSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamSetAttribute" not found') * err = ( __cuStreamSetAttribute)(hStream, attr, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4852 * global __cuStreamSetAttribute * cuPythonInit() * if __cuStreamSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamSetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4855 * with gil: * raise RuntimeError('Function "cuStreamSetAttribute" not found') * err = ( __cuStreamSetAttribute)(hStream, attr, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUstreamAttrID, CUstreamAttrValue const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute)(__pyx_v_hStream, __pyx_v_attr, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4855, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4856 * raise RuntimeError('Function "cuStreamSetAttribute" not found') * err = ( __cuStreamSetAttribute)(hStream, attr, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventCreate(CUevent* phEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4849 * return err * * cdef CUresult _cuStreamSetAttribute(CUstream hStream, CUstreamAttrID attr, const CUstreamAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamSetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamSetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4858 * return err * * cdef CUresult _cuEventCreate(CUevent* phEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventCreate(CUevent *__pyx_v_phEvent, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4860 * cdef CUresult _cuEventCreate(CUevent* phEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4860, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4861 * global __cuEventCreate * cuPythonInit() * if __cuEventCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4862 * cuPythonInit() * if __cuEventCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventCreate" not found') * err = ( __cuEventCreate)(phEvent, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4863 * if __cuEventCreate == NULL: * with gil: * raise RuntimeError('Function "cuEventCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuEventCreate)(phEvent, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventCreate_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4863, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4863, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4862 * cuPythonInit() * if __cuEventCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventCreate" not found') * err = ( __cuEventCreate)(phEvent, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4861 * global __cuEventCreate * cuPythonInit() * if __cuEventCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4864 * with gil: * raise RuntimeError('Function "cuEventCreate" not found') * err = ( __cuEventCreate)(phEvent, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreate)(__pyx_v_phEvent, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4864, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4865 * raise RuntimeError('Function "cuEventCreate" not found') * err = ( __cuEventCreate)(phEvent, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventRecord(CUevent hEvent, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4858 * return err * * cdef CUresult _cuEventCreate(CUevent* phEvent, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4867 * return err * * cdef CUresult _cuEventRecord(CUevent hEvent, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventRecord * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventRecord(CUevent __pyx_v_hEvent, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventRecord", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4869 * cdef CUresult _cuEventRecord(CUevent hEvent, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventRecord * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventRecord == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4869, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4870 * global __cuEventRecord * cuPythonInit() * if __cuEventRecord == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventRecord" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4871 * cuPythonInit() * if __cuEventRecord == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventRecord" not found') * err = ( __cuEventRecord)(hEvent, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4872 * if __cuEventRecord == NULL: * with gil: * raise RuntimeError('Function "cuEventRecord" not found') # <<<<<<<<<<<<<< * err = ( __cuEventRecord)(hEvent, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventRecord_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4872, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4872, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4871 * cuPythonInit() * if __cuEventRecord == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventRecord" not found') * err = ( __cuEventRecord)(hEvent, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4870 * global __cuEventRecord * cuPythonInit() * if __cuEventRecord == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventRecord" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4873 * with gil: * raise RuntimeError('Function "cuEventRecord" not found') * err = ( __cuEventRecord)(hEvent, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord)(__pyx_v_hEvent, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4873, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4874 * raise RuntimeError('Function "cuEventRecord" not found') * err = ( __cuEventRecord)(hEvent, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventRecordWithFlags(CUevent hEvent, CUstream hStream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4867 * return err * * cdef CUresult _cuEventRecord(CUevent hEvent, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventRecord * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventRecord", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4876 * return err * * cdef CUresult _cuEventRecordWithFlags(CUevent hEvent, CUstream hStream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventRecordWithFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventRecordWithFlags(CUevent __pyx_v_hEvent, CUstream __pyx_v_hStream, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventRecordWithFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4878 * cdef CUresult _cuEventRecordWithFlags(CUevent hEvent, CUstream hStream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventRecordWithFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventRecordWithFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4878, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4879 * global __cuEventRecordWithFlags * cuPythonInit() * if __cuEventRecordWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventRecordWithFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4880 * cuPythonInit() * if __cuEventRecordWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventRecordWithFlags" not found') * err = ( __cuEventRecordWithFlags)(hEvent, hStream, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4881 * if __cuEventRecordWithFlags == NULL: * with gil: * raise RuntimeError('Function "cuEventRecordWithFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuEventRecordWithFlags)(hEvent, hStream, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventRecordWithFlags}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4881, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4881, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4880 * cuPythonInit() * if __cuEventRecordWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventRecordWithFlags" not found') * err = ( __cuEventRecordWithFlags)(hEvent, hStream, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4879 * global __cuEventRecordWithFlags * cuPythonInit() * if __cuEventRecordWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventRecordWithFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4882 * with gil: * raise RuntimeError('Function "cuEventRecordWithFlags" not found') * err = ( __cuEventRecordWithFlags)(hEvent, hStream, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent, CUstream, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags)(__pyx_v_hEvent, __pyx_v_hStream, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4882, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4883 * raise RuntimeError('Function "cuEventRecordWithFlags" not found') * err = ( __cuEventRecordWithFlags)(hEvent, hStream, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventQuery(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4876 * return err * * cdef CUresult _cuEventRecordWithFlags(CUevent hEvent, CUstream hStream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventRecordWithFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventRecordWithFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4885 * return err * * cdef CUresult _cuEventQuery(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventQuery * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventQuery(CUevent __pyx_v_hEvent) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventQuery", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4887 * cdef CUresult _cuEventQuery(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventQuery * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventQuery == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4887, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4888 * global __cuEventQuery * cuPythonInit() * if __cuEventQuery == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventQuery" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventQuery == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4889 * cuPythonInit() * if __cuEventQuery == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventQuery" not found') * err = ( __cuEventQuery)(hEvent) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4890 * if __cuEventQuery == NULL: * with gil: * raise RuntimeError('Function "cuEventQuery" not found') # <<<<<<<<<<<<<< * err = ( __cuEventQuery)(hEvent) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventQuery_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4890, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4890, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4889 * cuPythonInit() * if __cuEventQuery == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventQuery" not found') * err = ( __cuEventQuery)(hEvent) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4888 * global __cuEventQuery * cuPythonInit() * if __cuEventQuery == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventQuery" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4891 * with gil: * raise RuntimeError('Function "cuEventQuery" not found') * err = ( __cuEventQuery)(hEvent) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventQuery)(__pyx_v_hEvent); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4891, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4892 * raise RuntimeError('Function "cuEventQuery" not found') * err = ( __cuEventQuery)(hEvent) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventSynchronize(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4885 * return err * * cdef CUresult _cuEventQuery(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventQuery * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventQuery", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4894 * return err * * cdef CUresult _cuEventSynchronize(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventSynchronize * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventSynchronize(CUevent __pyx_v_hEvent) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventSynchronize", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4896 * cdef CUresult _cuEventSynchronize(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventSynchronize * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventSynchronize == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4896, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4897 * global __cuEventSynchronize * cuPythonInit() * if __cuEventSynchronize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventSynchronize" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventSynchronize == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4898 * cuPythonInit() * if __cuEventSynchronize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventSynchronize" not found') * err = ( __cuEventSynchronize)(hEvent) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4899 * if __cuEventSynchronize == NULL: * with gil: * raise RuntimeError('Function "cuEventSynchronize" not found') # <<<<<<<<<<<<<< * err = ( __cuEventSynchronize)(hEvent) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventSynchronize_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4899, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4899, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4898 * cuPythonInit() * if __cuEventSynchronize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventSynchronize" not found') * err = ( __cuEventSynchronize)(hEvent) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4897 * global __cuEventSynchronize * cuPythonInit() * if __cuEventSynchronize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventSynchronize" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4900 * with gil: * raise RuntimeError('Function "cuEventSynchronize" not found') * err = ( __cuEventSynchronize)(hEvent) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventSynchronize)(__pyx_v_hEvent); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4900, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4901 * raise RuntimeError('Function "cuEventSynchronize" not found') * err = ( __cuEventSynchronize)(hEvent) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventDestroy_v2(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4894 * return err * * cdef CUresult _cuEventSynchronize(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventSynchronize * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventSynchronize", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4903 * return err * * cdef CUresult _cuEventDestroy_v2(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventDestroy_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventDestroy_v2(CUevent __pyx_v_hEvent) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventDestroy_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4905 * cdef CUresult _cuEventDestroy_v2(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventDestroy_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventDestroy_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4905, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4906 * global __cuEventDestroy_v2 * cuPythonInit() * if __cuEventDestroy_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventDestroy_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventDestroy_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4907 * cuPythonInit() * if __cuEventDestroy_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventDestroy_v2" not found') * err = ( __cuEventDestroy_v2)(hEvent) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4908 * if __cuEventDestroy_v2 == NULL: * with gil: * raise RuntimeError('Function "cuEventDestroy_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuEventDestroy_v2)(hEvent) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventDestroy_v2_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4908, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4908, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4907 * cuPythonInit() * if __cuEventDestroy_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventDestroy_v2" not found') * err = ( __cuEventDestroy_v2)(hEvent) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4906 * global __cuEventDestroy_v2 * cuPythonInit() * if __cuEventDestroy_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventDestroy_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4909 * with gil: * raise RuntimeError('Function "cuEventDestroy_v2" not found') * err = ( __cuEventDestroy_v2)(hEvent) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventDestroy_v2)(__pyx_v_hEvent); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4909, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4910 * raise RuntimeError('Function "cuEventDestroy_v2" not found') * err = ( __cuEventDestroy_v2)(hEvent) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventElapsedTime(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4903 * return err * * cdef CUresult _cuEventDestroy_v2(CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventDestroy_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventDestroy_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4912 * return err * * cdef CUresult _cuEventElapsedTime(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventElapsedTime * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventElapsedTime(float *__pyx_v_pMilliseconds, CUevent __pyx_v_hStart, CUevent __pyx_v_hEnd) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventElapsedTime", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4914 * cdef CUresult _cuEventElapsedTime(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventElapsedTime * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventElapsedTime == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4914, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4915 * global __cuEventElapsedTime * cuPythonInit() * if __cuEventElapsedTime == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventElapsedTime" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4916 * cuPythonInit() * if __cuEventElapsedTime == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventElapsedTime" not found') * err = ( __cuEventElapsedTime)(pMilliseconds, hStart, hEnd) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4917 * if __cuEventElapsedTime == NULL: * with gil: * raise RuntimeError('Function "cuEventElapsedTime" not found') # <<<<<<<<<<<<<< * err = ( __cuEventElapsedTime)(pMilliseconds, hStart, hEnd) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventElapsedTime_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4917, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4917, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4916 * cuPythonInit() * if __cuEventElapsedTime == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventElapsedTime" not found') * err = ( __cuEventElapsedTime)(pMilliseconds, hStart, hEnd) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4915 * global __cuEventElapsedTime * cuPythonInit() * if __cuEventElapsedTime == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventElapsedTime" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4918 * with gil: * raise RuntimeError('Function "cuEventElapsedTime" not found') * err = ( __cuEventElapsedTime)(pMilliseconds, hStart, hEnd) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(float *, CUevent, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime)(__pyx_v_pMilliseconds, __pyx_v_hStart, __pyx_v_hEnd); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4918, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4919 * raise RuntimeError('Function "cuEventElapsedTime" not found') * err = ( __cuEventElapsedTime)(pMilliseconds, hStart, hEnd) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventElapsedTime_v2(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4912 * return err * * cdef CUresult _cuEventElapsedTime(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventElapsedTime * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventElapsedTime", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4921 * return err * * cdef CUresult _cuEventElapsedTime_v2(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventElapsedTime_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventElapsedTime_v2(float *__pyx_v_pMilliseconds, CUevent __pyx_v_hStart, CUevent __pyx_v_hEnd) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventElapsedTime_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4923 * cdef CUresult _cuEventElapsedTime_v2(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventElapsedTime_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventElapsedTime_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4923, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4924 * global __cuEventElapsedTime_v2 * cuPythonInit() * if __cuEventElapsedTime_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventElapsedTime_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4925 * cuPythonInit() * if __cuEventElapsedTime_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventElapsedTime_v2" not found') * err = ( __cuEventElapsedTime_v2)(pMilliseconds, hStart, hEnd) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4926 * if __cuEventElapsedTime_v2 == NULL: * with gil: * raise RuntimeError('Function "cuEventElapsedTime_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuEventElapsedTime_v2)(pMilliseconds, hStart, hEnd) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventElapsedTime_v2_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4926, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4926, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4925 * cuPythonInit() * if __cuEventElapsedTime_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventElapsedTime_v2" not found') * err = ( __cuEventElapsedTime_v2)(pMilliseconds, hStart, hEnd) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4924 * global __cuEventElapsedTime_v2 * cuPythonInit() * if __cuEventElapsedTime_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventElapsedTime_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4927 * with gil: * raise RuntimeError('Function "cuEventElapsedTime_v2" not found') * err = ( __cuEventElapsedTime_v2)(pMilliseconds, hStart, hEnd) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(float *, CUevent, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime_v2)(__pyx_v_pMilliseconds, __pyx_v_hStart, __pyx_v_hEnd); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4927, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4928 * raise RuntimeError('Function "cuEventElapsedTime_v2" not found') * err = ( __cuEventElapsedTime_v2)(pMilliseconds, hStart, hEnd) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuImportExternalMemory(CUexternalMemory* extMem_out, const CUDA_EXTERNAL_MEMORY_HANDLE_DESC* memHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4921 * return err * * cdef CUresult _cuEventElapsedTime_v2(float* pMilliseconds, CUevent hStart, CUevent hEnd) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventElapsedTime_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventElapsedTime_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4930 * return err * * cdef CUresult _cuImportExternalMemory(CUexternalMemory* extMem_out, const CUDA_EXTERNAL_MEMORY_HANDLE_DESC* memHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuImportExternalMemory * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuImportExternalMemory(CUexternalMemory *__pyx_v_extMem_out, CUDA_EXTERNAL_MEMORY_HANDLE_DESC const *__pyx_v_memHandleDesc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuImportExternalMemory", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4932 * cdef CUresult _cuImportExternalMemory(CUexternalMemory* extMem_out, const CUDA_EXTERNAL_MEMORY_HANDLE_DESC* memHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuImportExternalMemory * cuPythonInit() # <<<<<<<<<<<<<< * if __cuImportExternalMemory == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4932, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4933 * global __cuImportExternalMemory * cuPythonInit() * if __cuImportExternalMemory == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuImportExternalMemory" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalMemory == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4934 * cuPythonInit() * if __cuImportExternalMemory == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuImportExternalMemory" not found') * err = ( __cuImportExternalMemory)(extMem_out, memHandleDesc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4935 * if __cuImportExternalMemory == NULL: * with gil: * raise RuntimeError('Function "cuImportExternalMemory" not found') # <<<<<<<<<<<<<< * err = ( __cuImportExternalMemory)(extMem_out, memHandleDesc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuImportExternalMemory}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4935, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4935, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4934 * cuPythonInit() * if __cuImportExternalMemory == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuImportExternalMemory" not found') * err = ( __cuImportExternalMemory)(extMem_out, memHandleDesc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4933 * global __cuImportExternalMemory * cuPythonInit() * if __cuImportExternalMemory == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuImportExternalMemory" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4936 * with gil: * raise RuntimeError('Function "cuImportExternalMemory" not found') * err = ( __cuImportExternalMemory)(extMem_out, memHandleDesc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUexternalMemory *, CUDA_EXTERNAL_MEMORY_HANDLE_DESC const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalMemory)(__pyx_v_extMem_out, __pyx_v_memHandleDesc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4936, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4937 * raise RuntimeError('Function "cuImportExternalMemory" not found') * err = ( __cuImportExternalMemory)(extMem_out, memHandleDesc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuExternalMemoryGetMappedBuffer(CUdeviceptr* devPtr, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_BUFFER_DESC* bufferDesc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4930 * return err * * cdef CUresult _cuImportExternalMemory(CUexternalMemory* extMem_out, const CUDA_EXTERNAL_MEMORY_HANDLE_DESC* memHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuImportExternalMemory * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuImportExternalMemory", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4939 * return err * * cdef CUresult _cuExternalMemoryGetMappedBuffer(CUdeviceptr* devPtr, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_BUFFER_DESC* bufferDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedBuffer * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuExternalMemoryGetMappedBuffer(CUdeviceptr *__pyx_v_devPtr, CUexternalMemory __pyx_v_extMem, CUDA_EXTERNAL_MEMORY_BUFFER_DESC const *__pyx_v_bufferDesc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuExternalMemoryGetMappedBuffer", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4941 * cdef CUresult _cuExternalMemoryGetMappedBuffer(CUdeviceptr* devPtr, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_BUFFER_DESC* bufferDesc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuExternalMemoryGetMappedBuffer * cuPythonInit() # <<<<<<<<<<<<<< * if __cuExternalMemoryGetMappedBuffer == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4941, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4942 * global __cuExternalMemoryGetMappedBuffer * cuPythonInit() * if __cuExternalMemoryGetMappedBuffer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedBuffer" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedBuffer == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4943 * cuPythonInit() * if __cuExternalMemoryGetMappedBuffer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuExternalMemoryGetMappedBuffer" not found') * err = ( __cuExternalMemoryGetMappedBuffer)(devPtr, extMem, bufferDesc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4944 * if __cuExternalMemoryGetMappedBuffer == NULL: * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedBuffer" not found') # <<<<<<<<<<<<<< * err = ( __cuExternalMemoryGetMappedBuffer)(devPtr, extMem, bufferDesc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuExternalMemoryGetMapp}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4944, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4944, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4943 * cuPythonInit() * if __cuExternalMemoryGetMappedBuffer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuExternalMemoryGetMappedBuffer" not found') * err = ( __cuExternalMemoryGetMappedBuffer)(devPtr, extMem, bufferDesc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4942 * global __cuExternalMemoryGetMappedBuffer * cuPythonInit() * if __cuExternalMemoryGetMappedBuffer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedBuffer" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4945 * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedBuffer" not found') * err = ( __cuExternalMemoryGetMappedBuffer)(devPtr, extMem, bufferDesc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, CUexternalMemory, CUDA_EXTERNAL_MEMORY_BUFFER_DESC const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedBuffer)(__pyx_v_devPtr, __pyx_v_extMem, __pyx_v_bufferDesc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4945, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4946 * raise RuntimeError('Function "cuExternalMemoryGetMappedBuffer" not found') * err = ( __cuExternalMemoryGetMappedBuffer)(devPtr, extMem, bufferDesc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuExternalMemoryGetMappedMipmappedArray(CUmipmappedArray* mipmap, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC* mipmapDesc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4939 * return err * * cdef CUresult _cuExternalMemoryGetMappedBuffer(CUdeviceptr* devPtr, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_BUFFER_DESC* bufferDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedBuffer * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuExternalMemoryGetMappedBuffer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4948 * return err * * cdef CUresult _cuExternalMemoryGetMappedMipmappedArray(CUmipmappedArray* mipmap, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC* mipmapDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedMipmappedArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuExternalMemoryGetMappedMipmappedArray(CUmipmappedArray *__pyx_v_mipmap, CUexternalMemory __pyx_v_extMem, CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC const *__pyx_v_mipmapDesc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuExternalMemoryGetMappedMipmappedArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4950 * cdef CUresult _cuExternalMemoryGetMappedMipmappedArray(CUmipmappedArray* mipmap, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC* mipmapDesc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuExternalMemoryGetMappedMipmappedArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuExternalMemoryGetMappedMipmappedArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4950, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4951 * global __cuExternalMemoryGetMappedMipmappedArray * cuPythonInit() * if __cuExternalMemoryGetMappedMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedMipmappedArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedMipmappedArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4952 * cuPythonInit() * if __cuExternalMemoryGetMappedMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuExternalMemoryGetMappedMipmappedArray" not found') * err = ( __cuExternalMemoryGetMappedMipmappedArray)(mipmap, extMem, mipmapDesc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4953 * if __cuExternalMemoryGetMappedMipmappedArray == NULL: * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedMipmappedArray" not found') # <<<<<<<<<<<<<< * err = ( __cuExternalMemoryGetMappedMipmappedArray)(mipmap, extMem, mipmapDesc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuExternalMemoryGetMapp_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4953, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4953, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4952 * cuPythonInit() * if __cuExternalMemoryGetMappedMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuExternalMemoryGetMappedMipmappedArray" not found') * err = ( __cuExternalMemoryGetMappedMipmappedArray)(mipmap, extMem, mipmapDesc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4951 * global __cuExternalMemoryGetMappedMipmappedArray * cuPythonInit() * if __cuExternalMemoryGetMappedMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedMipmappedArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4954 * with gil: * raise RuntimeError('Function "cuExternalMemoryGetMappedMipmappedArray" not found') * err = ( __cuExternalMemoryGetMappedMipmappedArray)(mipmap, extMem, mipmapDesc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmipmappedArray *, CUexternalMemory, CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedMipmappedArray)(__pyx_v_mipmap, __pyx_v_extMem, __pyx_v_mipmapDesc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4954, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4955 * raise RuntimeError('Function "cuExternalMemoryGetMappedMipmappedArray" not found') * err = ( __cuExternalMemoryGetMappedMipmappedArray)(mipmap, extMem, mipmapDesc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDestroyExternalMemory(CUexternalMemory extMem) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4948 * return err * * cdef CUresult _cuExternalMemoryGetMappedMipmappedArray(CUmipmappedArray* mipmap, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC* mipmapDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedMipmappedArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuExternalMemoryGetMappedMipmappedArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4957 * return err * * cdef CUresult _cuDestroyExternalMemory(CUexternalMemory extMem) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDestroyExternalMemory * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDestroyExternalMemory(CUexternalMemory __pyx_v_extMem) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDestroyExternalMemory", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4959 * cdef CUresult _cuDestroyExternalMemory(CUexternalMemory extMem) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDestroyExternalMemory * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDestroyExternalMemory == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4959, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4960 * global __cuDestroyExternalMemory * cuPythonInit() * if __cuDestroyExternalMemory == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDestroyExternalMemory" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalMemory == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4961 * cuPythonInit() * if __cuDestroyExternalMemory == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDestroyExternalMemory" not found') * err = ( __cuDestroyExternalMemory)(extMem) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4962 * if __cuDestroyExternalMemory == NULL: * with gil: * raise RuntimeError('Function "cuDestroyExternalMemory" not found') # <<<<<<<<<<<<<< * err = ( __cuDestroyExternalMemory)(extMem) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDestroyExternalMemory}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4962, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4962, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4961 * cuPythonInit() * if __cuDestroyExternalMemory == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDestroyExternalMemory" not found') * err = ( __cuDestroyExternalMemory)(extMem) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4960 * global __cuDestroyExternalMemory * cuPythonInit() * if __cuDestroyExternalMemory == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDestroyExternalMemory" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4963 * with gil: * raise RuntimeError('Function "cuDestroyExternalMemory" not found') * err = ( __cuDestroyExternalMemory)(extMem) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUexternalMemory))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalMemory)(__pyx_v_extMem); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4963, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4964 * raise RuntimeError('Function "cuDestroyExternalMemory" not found') * err = ( __cuDestroyExternalMemory)(extMem) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuImportExternalSemaphore(CUexternalSemaphore* extSem_out, const CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC* semHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4957 * return err * * cdef CUresult _cuDestroyExternalMemory(CUexternalMemory extMem) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDestroyExternalMemory * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDestroyExternalMemory", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4966 * return err * * cdef CUresult _cuImportExternalSemaphore(CUexternalSemaphore* extSem_out, const CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC* semHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuImportExternalSemaphore * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuImportExternalSemaphore(CUexternalSemaphore *__pyx_v_extSem_out, CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC const *__pyx_v_semHandleDesc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuImportExternalSemaphore", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4968 * cdef CUresult _cuImportExternalSemaphore(CUexternalSemaphore* extSem_out, const CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC* semHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuImportExternalSemaphore * cuPythonInit() # <<<<<<<<<<<<<< * if __cuImportExternalSemaphore == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4968, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4969 * global __cuImportExternalSemaphore * cuPythonInit() * if __cuImportExternalSemaphore == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuImportExternalSemaphore" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalSemaphore == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4970 * cuPythonInit() * if __cuImportExternalSemaphore == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuImportExternalSemaphore" not found') * err = ( __cuImportExternalSemaphore)(extSem_out, semHandleDesc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4971 * if __cuImportExternalSemaphore == NULL: * with gil: * raise RuntimeError('Function "cuImportExternalSemaphore" not found') # <<<<<<<<<<<<<< * err = ( __cuImportExternalSemaphore)(extSem_out, semHandleDesc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuImportExternalSemapho}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4971, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4971, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4970 * cuPythonInit() * if __cuImportExternalSemaphore == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuImportExternalSemaphore" not found') * err = ( __cuImportExternalSemaphore)(extSem_out, semHandleDesc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4969 * global __cuImportExternalSemaphore * cuPythonInit() * if __cuImportExternalSemaphore == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuImportExternalSemaphore" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4972 * with gil: * raise RuntimeError('Function "cuImportExternalSemaphore" not found') * err = ( __cuImportExternalSemaphore)(extSem_out, semHandleDesc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUexternalSemaphore *, CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalSemaphore)(__pyx_v_extSem_out, __pyx_v_semHandleDesc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4972, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4973 * raise RuntimeError('Function "cuImportExternalSemaphore" not found') * err = ( __cuImportExternalSemaphore)(extSem_out, semHandleDesc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuSignalExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4966 * return err * * cdef CUresult _cuImportExternalSemaphore(CUexternalSemaphore* extSem_out, const CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC* semHandleDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuImportExternalSemaphore * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuImportExternalSemaphore", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4975 * return err * * cdef CUresult _cuSignalExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSignalExternalSemaphoresAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSignalExternalSemaphoresAsync(CUexternalSemaphore const *__pyx_v_extSemArray, CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS const *__pyx_v_paramsArray, unsigned int __pyx_v_numExtSems, CUstream __pyx_v_stream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuSignalExternalSemaphoresAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4977 * cdef CUresult _cuSignalExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuSignalExternalSemaphoresAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuSignalExternalSemaphoresAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4977, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4978 * global __cuSignalExternalSemaphoresAsync * cuPythonInit() * if __cuSignalExternalSemaphoresAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSignalExternalSemaphoresAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4979 * cuPythonInit() * if __cuSignalExternalSemaphoresAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSignalExternalSemaphoresAsync" not found') * err = ( __cuSignalExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4980 * if __cuSignalExternalSemaphoresAsync == NULL: * with gil: * raise RuntimeError('Function "cuSignalExternalSemaphoresAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuSignalExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuSignalExternalSemapho}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4980, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4980, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4979 * cuPythonInit() * if __cuSignalExternalSemaphoresAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSignalExternalSemaphoresAsync" not found') * err = ( __cuSignalExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4978 * global __cuSignalExternalSemaphoresAsync * cuPythonInit() * if __cuSignalExternalSemaphoresAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSignalExternalSemaphoresAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4981 * with gil: * raise RuntimeError('Function "cuSignalExternalSemaphoresAsync" not found') * err = ( __cuSignalExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUexternalSemaphore const *, CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS const *, unsigned int, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync)(__pyx_v_extSemArray, __pyx_v_paramsArray, __pyx_v_numExtSems, __pyx_v_stream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4981, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4982 * raise RuntimeError('Function "cuSignalExternalSemaphoresAsync" not found') * err = ( __cuSignalExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuWaitExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4975 * return err * * cdef CUresult _cuSignalExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSignalExternalSemaphoresAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuSignalExternalSemaphoresAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4984 * return err * * cdef CUresult _cuWaitExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuWaitExternalSemaphoresAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuWaitExternalSemaphoresAsync(CUexternalSemaphore const *__pyx_v_extSemArray, CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS const *__pyx_v_paramsArray, unsigned int __pyx_v_numExtSems, CUstream __pyx_v_stream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuWaitExternalSemaphoresAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4986 * cdef CUresult _cuWaitExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuWaitExternalSemaphoresAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuWaitExternalSemaphoresAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4986, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4987 * global __cuWaitExternalSemaphoresAsync * cuPythonInit() * if __cuWaitExternalSemaphoresAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuWaitExternalSemaphoresAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4988 * cuPythonInit() * if __cuWaitExternalSemaphoresAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuWaitExternalSemaphoresAsync" not found') * err = ( __cuWaitExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4989 * if __cuWaitExternalSemaphoresAsync == NULL: * with gil: * raise RuntimeError('Function "cuWaitExternalSemaphoresAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuWaitExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuWaitExternalSemaphore}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4989, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4989, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4988 * cuPythonInit() * if __cuWaitExternalSemaphoresAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuWaitExternalSemaphoresAsync" not found') * err = ( __cuWaitExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4987 * global __cuWaitExternalSemaphoresAsync * cuPythonInit() * if __cuWaitExternalSemaphoresAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuWaitExternalSemaphoresAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4990 * with gil: * raise RuntimeError('Function "cuWaitExternalSemaphoresAsync" not found') * err = ( __cuWaitExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUexternalSemaphore const *, CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS const *, unsigned int, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync)(__pyx_v_extSemArray, __pyx_v_paramsArray, __pyx_v_numExtSems, __pyx_v_stream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4990, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":4991 * raise RuntimeError('Function "cuWaitExternalSemaphoresAsync" not found') * err = ( __cuWaitExternalSemaphoresAsync)(extSemArray, paramsArray, numExtSems, stream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDestroyExternalSemaphore(CUexternalSemaphore extSem) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4984 * return err * * cdef CUresult _cuWaitExternalSemaphoresAsync(const CUexternalSemaphore* extSemArray, const CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS* paramsArray, unsigned int numExtSems, CUstream stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuWaitExternalSemaphoresAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuWaitExternalSemaphoresAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":4993 * return err * * cdef CUresult _cuDestroyExternalSemaphore(CUexternalSemaphore extSem) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDestroyExternalSemaphore * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDestroyExternalSemaphore(CUexternalSemaphore __pyx_v_extSem) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDestroyExternalSemaphore", 1); /* "cuda/bindings/_bindings/cydriver.pyx":4995 * cdef CUresult _cuDestroyExternalSemaphore(CUexternalSemaphore extSem) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDestroyExternalSemaphore * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDestroyExternalSemaphore == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 4995, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":4996 * global __cuDestroyExternalSemaphore * cuPythonInit() * if __cuDestroyExternalSemaphore == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDestroyExternalSemaphore" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalSemaphore == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":4997 * cuPythonInit() * if __cuDestroyExternalSemaphore == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDestroyExternalSemaphore" not found') * err = ( __cuDestroyExternalSemaphore)(extSem) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":4998 * if __cuDestroyExternalSemaphore == NULL: * with gil: * raise RuntimeError('Function "cuDestroyExternalSemaphore" not found') # <<<<<<<<<<<<<< * err = ( __cuDestroyExternalSemaphore)(extSem) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDestroyExternalSemaph}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4998, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 4998, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":4997 * cuPythonInit() * if __cuDestroyExternalSemaphore == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDestroyExternalSemaphore" not found') * err = ( __cuDestroyExternalSemaphore)(extSem) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":4996 * global __cuDestroyExternalSemaphore * cuPythonInit() * if __cuDestroyExternalSemaphore == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDestroyExternalSemaphore" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":4999 * with gil: * raise RuntimeError('Function "cuDestroyExternalSemaphore" not found') * err = ( __cuDestroyExternalSemaphore)(extSem) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUexternalSemaphore))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalSemaphore)(__pyx_v_extSem); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 4999, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5000 * raise RuntimeError('Function "cuDestroyExternalSemaphore" not found') * err = ( __cuDestroyExternalSemaphore)(extSem) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamWaitValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":4993 * return err * * cdef CUresult _cuDestroyExternalSemaphore(CUexternalSemaphore extSem) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDestroyExternalSemaphore * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDestroyExternalSemaphore", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5002 * return err * * cdef CUresult _cuStreamWaitValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWaitValue32_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWaitValue32_v2(CUstream __pyx_v_stream, CUdeviceptr __pyx_v_addr, cuuint32_t __pyx_v_value, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamWaitValue32_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5004 * cdef CUresult _cuStreamWaitValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamWaitValue32_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamWaitValue32_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5004, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5005 * global __cuStreamWaitValue32_v2 * cuPythonInit() * if __cuStreamWaitValue32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWaitValue32_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5006 * cuPythonInit() * if __cuStreamWaitValue32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWaitValue32_v2" not found') * err = ( __cuStreamWaitValue32_v2)(stream, addr, value, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5007 * if __cuStreamWaitValue32_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamWaitValue32_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamWaitValue32_v2)(stream, addr, value, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamWaitValue32_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5007, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5007, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5006 * cuPythonInit() * if __cuStreamWaitValue32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWaitValue32_v2" not found') * err = ( __cuStreamWaitValue32_v2)(stream, addr, value, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5005 * global __cuStreamWaitValue32_v2 * cuPythonInit() * if __cuStreamWaitValue32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWaitValue32_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5008 * with gil: * raise RuntimeError('Function "cuStreamWaitValue32_v2" not found') * err = ( __cuStreamWaitValue32_v2)(stream, addr, value, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUdeviceptr, cuuint32_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2)(__pyx_v_stream, __pyx_v_addr, __pyx_v_value, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5008, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5009 * raise RuntimeError('Function "cuStreamWaitValue32_v2" not found') * err = ( __cuStreamWaitValue32_v2)(stream, addr, value, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamWaitValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5002 * return err * * cdef CUresult _cuStreamWaitValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWaitValue32_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamWaitValue32_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5011 * return err * * cdef CUresult _cuStreamWaitValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWaitValue64_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWaitValue64_v2(CUstream __pyx_v_stream, CUdeviceptr __pyx_v_addr, cuuint64_t __pyx_v_value, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamWaitValue64_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5013 * cdef CUresult _cuStreamWaitValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamWaitValue64_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamWaitValue64_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5013, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5014 * global __cuStreamWaitValue64_v2 * cuPythonInit() * if __cuStreamWaitValue64_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWaitValue64_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5015 * cuPythonInit() * if __cuStreamWaitValue64_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWaitValue64_v2" not found') * err = ( __cuStreamWaitValue64_v2)(stream, addr, value, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5016 * if __cuStreamWaitValue64_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamWaitValue64_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamWaitValue64_v2)(stream, addr, value, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamWaitValue64_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5016, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5016, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5015 * cuPythonInit() * if __cuStreamWaitValue64_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWaitValue64_v2" not found') * err = ( __cuStreamWaitValue64_v2)(stream, addr, value, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5014 * global __cuStreamWaitValue64_v2 * cuPythonInit() * if __cuStreamWaitValue64_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWaitValue64_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5017 * with gil: * raise RuntimeError('Function "cuStreamWaitValue64_v2" not found') * err = ( __cuStreamWaitValue64_v2)(stream, addr, value, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUdeviceptr, cuuint64_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2)(__pyx_v_stream, __pyx_v_addr, __pyx_v_value, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5017, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5018 * raise RuntimeError('Function "cuStreamWaitValue64_v2" not found') * err = ( __cuStreamWaitValue64_v2)(stream, addr, value, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamWriteValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5011 * return err * * cdef CUresult _cuStreamWaitValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWaitValue64_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamWaitValue64_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5020 * return err * * cdef CUresult _cuStreamWriteValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWriteValue32_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWriteValue32_v2(CUstream __pyx_v_stream, CUdeviceptr __pyx_v_addr, cuuint32_t __pyx_v_value, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamWriteValue32_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5022 * cdef CUresult _cuStreamWriteValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamWriteValue32_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamWriteValue32_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5022, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5023 * global __cuStreamWriteValue32_v2 * cuPythonInit() * if __cuStreamWriteValue32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWriteValue32_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5024 * cuPythonInit() * if __cuStreamWriteValue32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWriteValue32_v2" not found') * err = ( __cuStreamWriteValue32_v2)(stream, addr, value, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5025 * if __cuStreamWriteValue32_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamWriteValue32_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamWriteValue32_v2)(stream, addr, value, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamWriteValue32_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5025, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5025, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5024 * cuPythonInit() * if __cuStreamWriteValue32_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWriteValue32_v2" not found') * err = ( __cuStreamWriteValue32_v2)(stream, addr, value, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5023 * global __cuStreamWriteValue32_v2 * cuPythonInit() * if __cuStreamWriteValue32_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWriteValue32_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5026 * with gil: * raise RuntimeError('Function "cuStreamWriteValue32_v2" not found') * err = ( __cuStreamWriteValue32_v2)(stream, addr, value, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUdeviceptr, cuuint32_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2)(__pyx_v_stream, __pyx_v_addr, __pyx_v_value, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5026, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5027 * raise RuntimeError('Function "cuStreamWriteValue32_v2" not found') * err = ( __cuStreamWriteValue32_v2)(stream, addr, value, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamWriteValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5020 * return err * * cdef CUresult _cuStreamWriteValue32_v2(CUstream stream, CUdeviceptr addr, cuuint32_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWriteValue32_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamWriteValue32_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5029 * return err * * cdef CUresult _cuStreamWriteValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWriteValue64_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWriteValue64_v2(CUstream __pyx_v_stream, CUdeviceptr __pyx_v_addr, cuuint64_t __pyx_v_value, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamWriteValue64_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5031 * cdef CUresult _cuStreamWriteValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamWriteValue64_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamWriteValue64_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5031, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5032 * global __cuStreamWriteValue64_v2 * cuPythonInit() * if __cuStreamWriteValue64_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWriteValue64_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5033 * cuPythonInit() * if __cuStreamWriteValue64_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWriteValue64_v2" not found') * err = ( __cuStreamWriteValue64_v2)(stream, addr, value, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5034 * if __cuStreamWriteValue64_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamWriteValue64_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamWriteValue64_v2)(stream, addr, value, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamWriteValue64_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5034, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5034, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5033 * cuPythonInit() * if __cuStreamWriteValue64_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamWriteValue64_v2" not found') * err = ( __cuStreamWriteValue64_v2)(stream, addr, value, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5032 * global __cuStreamWriteValue64_v2 * cuPythonInit() * if __cuStreamWriteValue64_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamWriteValue64_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5035 * with gil: * raise RuntimeError('Function "cuStreamWriteValue64_v2" not found') * err = ( __cuStreamWriteValue64_v2)(stream, addr, value, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUdeviceptr, cuuint64_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2)(__pyx_v_stream, __pyx_v_addr, __pyx_v_value, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5035, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5036 * raise RuntimeError('Function "cuStreamWriteValue64_v2" not found') * err = ( __cuStreamWriteValue64_v2)(stream, addr, value, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamBatchMemOp_v2(CUstream stream, unsigned int count, CUstreamBatchMemOpParams* paramArray, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5029 * return err * * cdef CUresult _cuStreamWriteValue64_v2(CUstream stream, CUdeviceptr addr, cuuint64_t value, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamWriteValue64_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamWriteValue64_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5038 * return err * * cdef CUresult _cuStreamBatchMemOp_v2(CUstream stream, unsigned int count, CUstreamBatchMemOpParams* paramArray, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamBatchMemOp_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamBatchMemOp_v2(CUstream __pyx_v_stream, unsigned int __pyx_v_count, CUstreamBatchMemOpParams *__pyx_v_paramArray, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamBatchMemOp_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5040 * cdef CUresult _cuStreamBatchMemOp_v2(CUstream stream, unsigned int count, CUstreamBatchMemOpParams* paramArray, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamBatchMemOp_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamBatchMemOp_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5040, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5041 * global __cuStreamBatchMemOp_v2 * cuPythonInit() * if __cuStreamBatchMemOp_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamBatchMemOp_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5042 * cuPythonInit() * if __cuStreamBatchMemOp_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamBatchMemOp_v2" not found') * err = ( __cuStreamBatchMemOp_v2)(stream, count, paramArray, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5043 * if __cuStreamBatchMemOp_v2 == NULL: * with gil: * raise RuntimeError('Function "cuStreamBatchMemOp_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamBatchMemOp_v2)(stream, count, paramArray, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamBatchMemOp_v2_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5043, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5043, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5042 * cuPythonInit() * if __cuStreamBatchMemOp_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamBatchMemOp_v2" not found') * err = ( __cuStreamBatchMemOp_v2)(stream, count, paramArray, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5041 * global __cuStreamBatchMemOp_v2 * cuPythonInit() * if __cuStreamBatchMemOp_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamBatchMemOp_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5044 * with gil: * raise RuntimeError('Function "cuStreamBatchMemOp_v2" not found') * err = ( __cuStreamBatchMemOp_v2)(stream, count, paramArray, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, unsigned int, CUstreamBatchMemOpParams *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2)(__pyx_v_stream, __pyx_v_count, __pyx_v_paramArray, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5044, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5045 * raise RuntimeError('Function "cuStreamBatchMemOp_v2" not found') * err = ( __cuStreamBatchMemOp_v2)(stream, count, paramArray, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncGetAttribute(int* pi, CUfunction_attribute attrib, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5038 * return err * * cdef CUresult _cuStreamBatchMemOp_v2(CUstream stream, unsigned int count, CUstreamBatchMemOpParams* paramArray, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamBatchMemOp_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamBatchMemOp_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5047 * return err * * cdef CUresult _cuFuncGetAttribute(int* pi, CUfunction_attribute attrib, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetAttribute(int *__pyx_v_pi, CUfunction_attribute __pyx_v_attrib, CUfunction __pyx_v_hfunc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5049 * cdef CUresult _cuFuncGetAttribute(int* pi, CUfunction_attribute attrib, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5049, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5050 * global __cuFuncGetAttribute * cuPythonInit() * if __cuFuncGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5051 * cuPythonInit() * if __cuFuncGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetAttribute" not found') * err = ( __cuFuncGetAttribute)(pi, attrib, hfunc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5052 * if __cuFuncGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuFuncGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncGetAttribute)(pi, attrib, hfunc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncGetAttribute_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5052, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5052, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5051 * cuPythonInit() * if __cuFuncGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetAttribute" not found') * err = ( __cuFuncGetAttribute)(pi, attrib, hfunc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5050 * global __cuFuncGetAttribute * cuPythonInit() * if __cuFuncGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5053 * with gil: * raise RuntimeError('Function "cuFuncGetAttribute" not found') * err = ( __cuFuncGetAttribute)(pi, attrib, hfunc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUfunction_attribute, CUfunction))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetAttribute)(__pyx_v_pi, __pyx_v_attrib, __pyx_v_hfunc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5053, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5054 * raise RuntimeError('Function "cuFuncGetAttribute" not found') * err = ( __cuFuncGetAttribute)(pi, attrib, hfunc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncSetAttribute(CUfunction hfunc, CUfunction_attribute attrib, int value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5047 * return err * * cdef CUresult _cuFuncGetAttribute(int* pi, CUfunction_attribute attrib, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5056 * return err * * cdef CUresult _cuFuncSetAttribute(CUfunction hfunc, CUfunction_attribute attrib, int value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetAttribute(CUfunction __pyx_v_hfunc, CUfunction_attribute __pyx_v_attrib, int __pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncSetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5058 * cdef CUresult _cuFuncSetAttribute(CUfunction hfunc, CUfunction_attribute attrib, int value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncSetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncSetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5058, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5059 * global __cuFuncSetAttribute * cuPythonInit() * if __cuFuncSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5060 * cuPythonInit() * if __cuFuncSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetAttribute" not found') * err = ( __cuFuncSetAttribute)(hfunc, attrib, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5061 * if __cuFuncSetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuFuncSetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncSetAttribute)(hfunc, attrib, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncSetAttribute_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5061, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5061, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5060 * cuPythonInit() * if __cuFuncSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetAttribute" not found') * err = ( __cuFuncSetAttribute)(hfunc, attrib, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5059 * global __cuFuncSetAttribute * cuPythonInit() * if __cuFuncSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5062 * with gil: * raise RuntimeError('Function "cuFuncSetAttribute" not found') * err = ( __cuFuncSetAttribute)(hfunc, attrib, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, CUfunction_attribute, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetAttribute)(__pyx_v_hfunc, __pyx_v_attrib, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5062, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5063 * raise RuntimeError('Function "cuFuncSetAttribute" not found') * err = ( __cuFuncSetAttribute)(hfunc, attrib, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncSetCacheConfig(CUfunction hfunc, CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5056 * return err * * cdef CUresult _cuFuncSetAttribute(CUfunction hfunc, CUfunction_attribute attrib, int value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncSetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5065 * return err * * cdef CUresult _cuFuncSetCacheConfig(CUfunction hfunc, CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetCacheConfig * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetCacheConfig(CUfunction __pyx_v_hfunc, CUfunc_cache __pyx_v_config) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncSetCacheConfig", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5067 * cdef CUresult _cuFuncSetCacheConfig(CUfunction hfunc, CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncSetCacheConfig * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncSetCacheConfig == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5067, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5068 * global __cuFuncSetCacheConfig * cuPythonInit() * if __cuFuncSetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetCacheConfig" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetCacheConfig == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5069 * cuPythonInit() * if __cuFuncSetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetCacheConfig" not found') * err = ( __cuFuncSetCacheConfig)(hfunc, config) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5070 * if __cuFuncSetCacheConfig == NULL: * with gil: * raise RuntimeError('Function "cuFuncSetCacheConfig" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncSetCacheConfig)(hfunc, config) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncSetCacheConfig_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5070, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5070, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5069 * cuPythonInit() * if __cuFuncSetCacheConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetCacheConfig" not found') * err = ( __cuFuncSetCacheConfig)(hfunc, config) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5068 * global __cuFuncSetCacheConfig * cuPythonInit() * if __cuFuncSetCacheConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetCacheConfig" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5071 * with gil: * raise RuntimeError('Function "cuFuncSetCacheConfig" not found') * err = ( __cuFuncSetCacheConfig)(hfunc, config) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, CUfunc_cache))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetCacheConfig)(__pyx_v_hfunc, __pyx_v_config); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5071, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5072 * raise RuntimeError('Function "cuFuncSetCacheConfig" not found') * err = ( __cuFuncSetCacheConfig)(hfunc, config) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncGetModule(CUmodule* hmod, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5065 * return err * * cdef CUresult _cuFuncSetCacheConfig(CUfunction hfunc, CUfunc_cache config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetCacheConfig * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncSetCacheConfig", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5074 * return err * * cdef CUresult _cuFuncGetModule(CUmodule* hmod, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetModule * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetModule(CUmodule *__pyx_v_hmod, CUfunction __pyx_v_hfunc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncGetModule", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5076 * cdef CUresult _cuFuncGetModule(CUmodule* hmod, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncGetModule * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncGetModule == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5076, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5077 * global __cuFuncGetModule * cuPythonInit() * if __cuFuncGetModule == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetModule" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetModule == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5078 * cuPythonInit() * if __cuFuncGetModule == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetModule" not found') * err = ( __cuFuncGetModule)(hmod, hfunc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5079 * if __cuFuncGetModule == NULL: * with gil: * raise RuntimeError('Function "cuFuncGetModule" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncGetModule)(hmod, hfunc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncGetModule_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5079, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5079, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5078 * cuPythonInit() * if __cuFuncGetModule == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetModule" not found') * err = ( __cuFuncGetModule)(hmod, hfunc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5077 * global __cuFuncGetModule * cuPythonInit() * if __cuFuncGetModule == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetModule" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5080 * with gil: * raise RuntimeError('Function "cuFuncGetModule" not found') * err = ( __cuFuncGetModule)(hmod, hfunc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmodule *, CUfunction))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetModule)(__pyx_v_hmod, __pyx_v_hfunc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5080, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5081 * raise RuntimeError('Function "cuFuncGetModule" not found') * err = ( __cuFuncGetModule)(hmod, hfunc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncGetName(const char** name, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5074 * return err * * cdef CUresult _cuFuncGetModule(CUmodule* hmod, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetModule * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncGetModule", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5083 * return err * * cdef CUresult _cuFuncGetName(const char** name, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetName * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetName(char const **__pyx_v_name, CUfunction __pyx_v_hfunc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncGetName", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5085 * cdef CUresult _cuFuncGetName(const char** name, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncGetName * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncGetName == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5085, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5086 * global __cuFuncGetName * cuPythonInit() * if __cuFuncGetName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetName" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetName == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5087 * cuPythonInit() * if __cuFuncGetName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetName" not found') * err = ( __cuFuncGetName)(name, hfunc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5088 * if __cuFuncGetName == NULL: * with gil: * raise RuntimeError('Function "cuFuncGetName" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncGetName)(name, hfunc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncGetName_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5088, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5088, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5087 * cuPythonInit() * if __cuFuncGetName == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetName" not found') * err = ( __cuFuncGetName)(name, hfunc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5086 * global __cuFuncGetName * cuPythonInit() * if __cuFuncGetName == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetName" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5089 * with gil: * raise RuntimeError('Function "cuFuncGetName" not found') * err = ( __cuFuncGetName)(name, hfunc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(char const **, CUfunction))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetName)(__pyx_v_name, __pyx_v_hfunc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5089, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5090 * raise RuntimeError('Function "cuFuncGetName" not found') * err = ( __cuFuncGetName)(name, hfunc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncGetParamInfo(CUfunction func, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5083 * return err * * cdef CUresult _cuFuncGetName(const char** name, CUfunction hfunc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetName * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncGetName", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5092 * return err * * cdef CUresult _cuFuncGetParamInfo(CUfunction func, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetParamInfo * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetParamInfo(CUfunction __pyx_v_func, size_t __pyx_v_paramIndex, size_t *__pyx_v_paramOffset, size_t *__pyx_v_paramSize) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncGetParamInfo", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5094 * cdef CUresult _cuFuncGetParamInfo(CUfunction func, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncGetParamInfo * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncGetParamInfo == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5094, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5095 * global __cuFuncGetParamInfo * cuPythonInit() * if __cuFuncGetParamInfo == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetParamInfo" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetParamInfo == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5096 * cuPythonInit() * if __cuFuncGetParamInfo == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetParamInfo" not found') * err = ( __cuFuncGetParamInfo)(func, paramIndex, paramOffset, paramSize) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5097 * if __cuFuncGetParamInfo == NULL: * with gil: * raise RuntimeError('Function "cuFuncGetParamInfo" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncGetParamInfo)(func, paramIndex, paramOffset, paramSize) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncGetParamInfo_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5097, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5097, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5096 * cuPythonInit() * if __cuFuncGetParamInfo == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncGetParamInfo" not found') * err = ( __cuFuncGetParamInfo)(func, paramIndex, paramOffset, paramSize) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5095 * global __cuFuncGetParamInfo * cuPythonInit() * if __cuFuncGetParamInfo == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncGetParamInfo" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5098 * with gil: * raise RuntimeError('Function "cuFuncGetParamInfo" not found') * err = ( __cuFuncGetParamInfo)(func, paramIndex, paramOffset, paramSize) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, size_t, size_t *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetParamInfo)(__pyx_v_func, __pyx_v_paramIndex, __pyx_v_paramOffset, __pyx_v_paramSize); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5098, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5099 * raise RuntimeError('Function "cuFuncGetParamInfo" not found') * err = ( __cuFuncGetParamInfo)(func, paramIndex, paramOffset, paramSize) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncIsLoaded(CUfunctionLoadingState* state, CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5092 * return err * * cdef CUresult _cuFuncGetParamInfo(CUfunction func, size_t paramIndex, size_t* paramOffset, size_t* paramSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncGetParamInfo * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncGetParamInfo", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5101 * return err * * cdef CUresult _cuFuncIsLoaded(CUfunctionLoadingState* state, CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncIsLoaded * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncIsLoaded(CUfunctionLoadingState *__pyx_v_state, CUfunction __pyx_v_function) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncIsLoaded", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5103 * cdef CUresult _cuFuncIsLoaded(CUfunctionLoadingState* state, CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncIsLoaded * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncIsLoaded == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5103, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5104 * global __cuFuncIsLoaded * cuPythonInit() * if __cuFuncIsLoaded == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncIsLoaded" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncIsLoaded == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5105 * cuPythonInit() * if __cuFuncIsLoaded == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncIsLoaded" not found') * err = ( __cuFuncIsLoaded)(state, function) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5106 * if __cuFuncIsLoaded == NULL: * with gil: * raise RuntimeError('Function "cuFuncIsLoaded" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncIsLoaded)(state, function) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncIsLoaded_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5106, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5106, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5105 * cuPythonInit() * if __cuFuncIsLoaded == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncIsLoaded" not found') * err = ( __cuFuncIsLoaded)(state, function) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5104 * global __cuFuncIsLoaded * cuPythonInit() * if __cuFuncIsLoaded == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncIsLoaded" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5107 * with gil: * raise RuntimeError('Function "cuFuncIsLoaded" not found') * err = ( __cuFuncIsLoaded)(state, function) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunctionLoadingState *, CUfunction))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncIsLoaded)(__pyx_v_state, __pyx_v_function); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5107, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5108 * raise RuntimeError('Function "cuFuncIsLoaded" not found') * err = ( __cuFuncIsLoaded)(state, function) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncLoad(CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5101 * return err * * cdef CUresult _cuFuncIsLoaded(CUfunctionLoadingState* state, CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncIsLoaded * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncIsLoaded", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5110 * return err * * cdef CUresult _cuFuncLoad(CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncLoad * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncLoad(CUfunction __pyx_v_function) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncLoad", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5112 * cdef CUresult _cuFuncLoad(CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncLoad * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncLoad == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5112, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5113 * global __cuFuncLoad * cuPythonInit() * if __cuFuncLoad == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncLoad" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncLoad == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5114 * cuPythonInit() * if __cuFuncLoad == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncLoad" not found') * err = ( __cuFuncLoad)(function) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5115 * if __cuFuncLoad == NULL: * with gil: * raise RuntimeError('Function "cuFuncLoad" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncLoad)(function) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncLoad_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5115, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5115, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5114 * cuPythonInit() * if __cuFuncLoad == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncLoad" not found') * err = ( __cuFuncLoad)(function) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5113 * global __cuFuncLoad * cuPythonInit() * if __cuFuncLoad == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncLoad" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5116 * with gil: * raise RuntimeError('Function "cuFuncLoad" not found') * err = ( __cuFuncLoad)(function) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncLoad)(__pyx_v_function); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5116, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5117 * raise RuntimeError('Function "cuFuncLoad" not found') * err = ( __cuFuncLoad)(function) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunchKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5110 * return err * * cdef CUresult _cuFuncLoad(CUfunction function) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncLoad * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncLoad", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5119 * return err * * cdef CUresult _cuLaunchKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchKernel * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchKernel(CUfunction __pyx_v_f, unsigned int __pyx_v_gridDimX, unsigned int __pyx_v_gridDimY, unsigned int __pyx_v_gridDimZ, unsigned int __pyx_v_blockDimX, unsigned int __pyx_v_blockDimY, unsigned int __pyx_v_blockDimZ, unsigned int __pyx_v_sharedMemBytes, CUstream __pyx_v_hStream, void **__pyx_v_kernelParams, void **__pyx_v_extra) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunchKernel", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5121 * cdef CUresult _cuLaunchKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunchKernel * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunchKernel == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5121, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5122 * global __cuLaunchKernel * cuPythonInit() * if __cuLaunchKernel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchKernel" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5123 * cuPythonInit() * if __cuLaunchKernel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchKernel" not found') * err = ( __cuLaunchKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams, extra) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5124 * if __cuLaunchKernel == NULL: * with gil: * raise RuntimeError('Function "cuLaunchKernel" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunchKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams, extra) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunchKernel_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5124, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5124, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5123 * cuPythonInit() * if __cuLaunchKernel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchKernel" not found') * err = ( __cuLaunchKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams, extra) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5122 * global __cuLaunchKernel * cuPythonInit() * if __cuLaunchKernel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchKernel" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5125 * with gil: * raise RuntimeError('Function "cuLaunchKernel" not found') * err = ( __cuLaunchKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams, extra) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, CUstream, void **, void **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel)(__pyx_v_f, __pyx_v_gridDimX, __pyx_v_gridDimY, __pyx_v_gridDimZ, __pyx_v_blockDimX, __pyx_v_blockDimY, __pyx_v_blockDimZ, __pyx_v_sharedMemBytes, __pyx_v_hStream, __pyx_v_kernelParams, __pyx_v_extra); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5125, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5126 * raise RuntimeError('Function "cuLaunchKernel" not found') * err = ( __cuLaunchKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams, extra) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunchKernelEx(const CUlaunchConfig* config, CUfunction f, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5119 * return err * * cdef CUresult _cuLaunchKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchKernel * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunchKernel", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5128 * return err * * cdef CUresult _cuLaunchKernelEx(const CUlaunchConfig* config, CUfunction f, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchKernelEx * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchKernelEx(CUlaunchConfig const *__pyx_v_config, CUfunction __pyx_v_f, void **__pyx_v_kernelParams, void **__pyx_v_extra) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunchKernelEx", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5130 * cdef CUresult _cuLaunchKernelEx(const CUlaunchConfig* config, CUfunction f, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunchKernelEx * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunchKernelEx == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5130, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5131 * global __cuLaunchKernelEx * cuPythonInit() * if __cuLaunchKernelEx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchKernelEx" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5132 * cuPythonInit() * if __cuLaunchKernelEx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchKernelEx" not found') * err = ( __cuLaunchKernelEx)(config, f, kernelParams, extra) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5133 * if __cuLaunchKernelEx == NULL: * with gil: * raise RuntimeError('Function "cuLaunchKernelEx" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunchKernelEx)(config, f, kernelParams, extra) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunchKernelEx_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5133, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5133, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5132 * cuPythonInit() * if __cuLaunchKernelEx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchKernelEx" not found') * err = ( __cuLaunchKernelEx)(config, f, kernelParams, extra) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5131 * global __cuLaunchKernelEx * cuPythonInit() * if __cuLaunchKernelEx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchKernelEx" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5134 * with gil: * raise RuntimeError('Function "cuLaunchKernelEx" not found') * err = ( __cuLaunchKernelEx)(config, f, kernelParams, extra) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlaunchConfig const *, CUfunction, void **, void **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx)(__pyx_v_config, __pyx_v_f, __pyx_v_kernelParams, __pyx_v_extra); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5134, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5135 * raise RuntimeError('Function "cuLaunchKernelEx" not found') * err = ( __cuLaunchKernelEx)(config, f, kernelParams, extra) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunchCooperativeKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5128 * return err * * cdef CUresult _cuLaunchKernelEx(const CUlaunchConfig* config, CUfunction f, void** kernelParams, void** extra) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchKernelEx * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunchKernelEx", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5137 * return err * * cdef CUresult _cuLaunchCooperativeKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernel * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchCooperativeKernel(CUfunction __pyx_v_f, unsigned int __pyx_v_gridDimX, unsigned int __pyx_v_gridDimY, unsigned int __pyx_v_gridDimZ, unsigned int __pyx_v_blockDimX, unsigned int __pyx_v_blockDimY, unsigned int __pyx_v_blockDimZ, unsigned int __pyx_v_sharedMemBytes, CUstream __pyx_v_hStream, void **__pyx_v_kernelParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunchCooperativeKernel", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5139 * cdef CUresult _cuLaunchCooperativeKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunchCooperativeKernel * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunchCooperativeKernel == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5139, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5140 * global __cuLaunchCooperativeKernel * cuPythonInit() * if __cuLaunchCooperativeKernel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernel" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5141 * cuPythonInit() * if __cuLaunchCooperativeKernel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchCooperativeKernel" not found') * err = ( __cuLaunchCooperativeKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5142 * if __cuLaunchCooperativeKernel == NULL: * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernel" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunchCooperativeKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunchCooperativeKern}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5142, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5142, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5141 * cuPythonInit() * if __cuLaunchCooperativeKernel == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchCooperativeKernel" not found') * err = ( __cuLaunchCooperativeKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5140 * global __cuLaunchCooperativeKernel * cuPythonInit() * if __cuLaunchCooperativeKernel == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernel" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5143 * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernel" not found') * err = ( __cuLaunchCooperativeKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, CUstream, void **))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel)(__pyx_v_f, __pyx_v_gridDimX, __pyx_v_gridDimY, __pyx_v_gridDimZ, __pyx_v_blockDimX, __pyx_v_blockDimY, __pyx_v_blockDimZ, __pyx_v_sharedMemBytes, __pyx_v_hStream, __pyx_v_kernelParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5143, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5144 * raise RuntimeError('Function "cuLaunchCooperativeKernel" not found') * err = ( __cuLaunchCooperativeKernel)(f, gridDimX, gridDimY, gridDimZ, blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunchCooperativeKernelMultiDevice(CUDA_LAUNCH_PARAMS* launchParamsList, unsigned int numDevices, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5137 * return err * * cdef CUresult _cuLaunchCooperativeKernel(CUfunction f, unsigned int gridDimX, unsigned int gridDimY, unsigned int gridDimZ, unsigned int blockDimX, unsigned int blockDimY, unsigned int blockDimZ, unsigned int sharedMemBytes, CUstream hStream, void** kernelParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernel * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunchCooperativeKernel", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5146 * return err * * cdef CUresult _cuLaunchCooperativeKernelMultiDevice(CUDA_LAUNCH_PARAMS* launchParamsList, unsigned int numDevices, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernelMultiDevice * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchCooperativeKernelMultiDevice(CUDA_LAUNCH_PARAMS *__pyx_v_launchParamsList, unsigned int __pyx_v_numDevices, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunchCooperativeKernelMultiDevice", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5148 * cdef CUresult _cuLaunchCooperativeKernelMultiDevice(CUDA_LAUNCH_PARAMS* launchParamsList, unsigned int numDevices, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunchCooperativeKernelMultiDevice * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunchCooperativeKernelMultiDevice == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5148, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5149 * global __cuLaunchCooperativeKernelMultiDevice * cuPythonInit() * if __cuLaunchCooperativeKernelMultiDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernelMultiDevice" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernelMultiDevice == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5150 * cuPythonInit() * if __cuLaunchCooperativeKernelMultiDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchCooperativeKernelMultiDevice" not found') * err = ( __cuLaunchCooperativeKernelMultiDevice)(launchParamsList, numDevices, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5151 * if __cuLaunchCooperativeKernelMultiDevice == NULL: * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernelMultiDevice" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunchCooperativeKernelMultiDevice)(launchParamsList, numDevices, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunchCooperativeKern_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5151, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5151, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5150 * cuPythonInit() * if __cuLaunchCooperativeKernelMultiDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchCooperativeKernelMultiDevice" not found') * err = ( __cuLaunchCooperativeKernelMultiDevice)(launchParamsList, numDevices, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5149 * global __cuLaunchCooperativeKernelMultiDevice * cuPythonInit() * if __cuLaunchCooperativeKernelMultiDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernelMultiDevice" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5152 * with gil: * raise RuntimeError('Function "cuLaunchCooperativeKernelMultiDevice" not found') * err = ( __cuLaunchCooperativeKernelMultiDevice)(launchParamsList, numDevices, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_LAUNCH_PARAMS *, unsigned int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernelMultiDevice)(__pyx_v_launchParamsList, __pyx_v_numDevices, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5152, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5153 * raise RuntimeError('Function "cuLaunchCooperativeKernelMultiDevice" not found') * err = ( __cuLaunchCooperativeKernelMultiDevice)(launchParamsList, numDevices, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunchHostFunc(CUstream hStream, CUhostFn fn, void* userData) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5146 * return err * * cdef CUresult _cuLaunchCooperativeKernelMultiDevice(CUDA_LAUNCH_PARAMS* launchParamsList, unsigned int numDevices, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernelMultiDevice * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunchCooperativeKernelMultiDevice", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5155 * return err * * cdef CUresult _cuLaunchHostFunc(CUstream hStream, CUhostFn fn, void* userData) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchHostFunc * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchHostFunc(CUstream __pyx_v_hStream, CUhostFn __pyx_v_fn, void *__pyx_v_userData) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunchHostFunc", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5157 * cdef CUresult _cuLaunchHostFunc(CUstream hStream, CUhostFn fn, void* userData) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunchHostFunc * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunchHostFunc == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5157, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5158 * global __cuLaunchHostFunc * cuPythonInit() * if __cuLaunchHostFunc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchHostFunc" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5159 * cuPythonInit() * if __cuLaunchHostFunc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchHostFunc" not found') * err = ( __cuLaunchHostFunc)(hStream, fn, userData) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5160 * if __cuLaunchHostFunc == NULL: * with gil: * raise RuntimeError('Function "cuLaunchHostFunc" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunchHostFunc)(hStream, fn, userData) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunchHostFunc_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5160, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5160, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5159 * cuPythonInit() * if __cuLaunchHostFunc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchHostFunc" not found') * err = ( __cuLaunchHostFunc)(hStream, fn, userData) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5158 * global __cuLaunchHostFunc * cuPythonInit() * if __cuLaunchHostFunc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchHostFunc" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5161 * with gil: * raise RuntimeError('Function "cuLaunchHostFunc" not found') * err = ( __cuLaunchHostFunc)(hStream, fn, userData) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUhostFn, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc)(__pyx_v_hStream, __pyx_v_fn, __pyx_v_userData); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5161, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5162 * raise RuntimeError('Function "cuLaunchHostFunc" not found') * err = ( __cuLaunchHostFunc)(hStream, fn, userData) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncSetBlockShape(CUfunction hfunc, int x, int y, int z) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5155 * return err * * cdef CUresult _cuLaunchHostFunc(CUstream hStream, CUhostFn fn, void* userData) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchHostFunc * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunchHostFunc", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5164 * return err * * cdef CUresult _cuFuncSetBlockShape(CUfunction hfunc, int x, int y, int z) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetBlockShape * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetBlockShape(CUfunction __pyx_v_hfunc, int __pyx_v_x, int __pyx_v_y, int __pyx_v_z) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncSetBlockShape", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5166 * cdef CUresult _cuFuncSetBlockShape(CUfunction hfunc, int x, int y, int z) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncSetBlockShape * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncSetBlockShape == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5166, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5167 * global __cuFuncSetBlockShape * cuPythonInit() * if __cuFuncSetBlockShape == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetBlockShape" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetBlockShape == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5168 * cuPythonInit() * if __cuFuncSetBlockShape == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetBlockShape" not found') * err = ( __cuFuncSetBlockShape)(hfunc, x, y, z) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5169 * if __cuFuncSetBlockShape == NULL: * with gil: * raise RuntimeError('Function "cuFuncSetBlockShape" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncSetBlockShape)(hfunc, x, y, z) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncSetBlockShape_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5169, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5169, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5168 * cuPythonInit() * if __cuFuncSetBlockShape == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetBlockShape" not found') * err = ( __cuFuncSetBlockShape)(hfunc, x, y, z) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5167 * global __cuFuncSetBlockShape * cuPythonInit() * if __cuFuncSetBlockShape == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetBlockShape" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5170 * with gil: * raise RuntimeError('Function "cuFuncSetBlockShape" not found') * err = ( __cuFuncSetBlockShape)(hfunc, x, y, z) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, int, int, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetBlockShape)(__pyx_v_hfunc, __pyx_v_x, __pyx_v_y, __pyx_v_z); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5170, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5171 * raise RuntimeError('Function "cuFuncSetBlockShape" not found') * err = ( __cuFuncSetBlockShape)(hfunc, x, y, z) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncSetSharedSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5164 * return err * * cdef CUresult _cuFuncSetBlockShape(CUfunction hfunc, int x, int y, int z) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetBlockShape * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncSetBlockShape", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5173 * return err * * cdef CUresult _cuFuncSetSharedSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetSharedSize * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetSharedSize(CUfunction __pyx_v_hfunc, unsigned int __pyx_v_numbytes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncSetSharedSize", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5175 * cdef CUresult _cuFuncSetSharedSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncSetSharedSize * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncSetSharedSize == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5175, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5176 * global __cuFuncSetSharedSize * cuPythonInit() * if __cuFuncSetSharedSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetSharedSize" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedSize == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5177 * cuPythonInit() * if __cuFuncSetSharedSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetSharedSize" not found') * err = ( __cuFuncSetSharedSize)(hfunc, numbytes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5178 * if __cuFuncSetSharedSize == NULL: * with gil: * raise RuntimeError('Function "cuFuncSetSharedSize" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncSetSharedSize)(hfunc, numbytes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncSetSharedSize_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5178, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5178, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5177 * cuPythonInit() * if __cuFuncSetSharedSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetSharedSize" not found') * err = ( __cuFuncSetSharedSize)(hfunc, numbytes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5176 * global __cuFuncSetSharedSize * cuPythonInit() * if __cuFuncSetSharedSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetSharedSize" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5179 * with gil: * raise RuntimeError('Function "cuFuncSetSharedSize" not found') * err = ( __cuFuncSetSharedSize)(hfunc, numbytes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedSize)(__pyx_v_hfunc, __pyx_v_numbytes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5179, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5180 * raise RuntimeError('Function "cuFuncSetSharedSize" not found') * err = ( __cuFuncSetSharedSize)(hfunc, numbytes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuParamSetSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5173 * return err * * cdef CUresult _cuFuncSetSharedSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetSharedSize * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncSetSharedSize", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5182 * return err * * cdef CUresult _cuParamSetSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetSize * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetSize(CUfunction __pyx_v_hfunc, unsigned int __pyx_v_numbytes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuParamSetSize", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5184 * cdef CUresult _cuParamSetSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuParamSetSize * cuPythonInit() # <<<<<<<<<<<<<< * if __cuParamSetSize == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5184, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5185 * global __cuParamSetSize * cuPythonInit() * if __cuParamSetSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetSize" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetSize == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5186 * cuPythonInit() * if __cuParamSetSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetSize" not found') * err = ( __cuParamSetSize)(hfunc, numbytes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5187 * if __cuParamSetSize == NULL: * with gil: * raise RuntimeError('Function "cuParamSetSize" not found') # <<<<<<<<<<<<<< * err = ( __cuParamSetSize)(hfunc, numbytes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuParamSetSize_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5187, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5187, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5186 * cuPythonInit() * if __cuParamSetSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetSize" not found') * err = ( __cuParamSetSize)(hfunc, numbytes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5185 * global __cuParamSetSize * cuPythonInit() * if __cuParamSetSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetSize" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5188 * with gil: * raise RuntimeError('Function "cuParamSetSize" not found') * err = ( __cuParamSetSize)(hfunc, numbytes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetSize)(__pyx_v_hfunc, __pyx_v_numbytes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5188, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5189 * raise RuntimeError('Function "cuParamSetSize" not found') * err = ( __cuParamSetSize)(hfunc, numbytes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuParamSeti(CUfunction hfunc, int offset, unsigned int value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5182 * return err * * cdef CUresult _cuParamSetSize(CUfunction hfunc, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetSize * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuParamSetSize", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5191 * return err * * cdef CUresult _cuParamSeti(CUfunction hfunc, int offset, unsigned int value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSeti * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSeti(CUfunction __pyx_v_hfunc, int __pyx_v_offset, unsigned int __pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuParamSeti", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5193 * cdef CUresult _cuParamSeti(CUfunction hfunc, int offset, unsigned int value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuParamSeti * cuPythonInit() # <<<<<<<<<<<<<< * if __cuParamSeti == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5193, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5194 * global __cuParamSeti * cuPythonInit() * if __cuParamSeti == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSeti" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSeti == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5195 * cuPythonInit() * if __cuParamSeti == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSeti" not found') * err = ( __cuParamSeti)(hfunc, offset, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5196 * if __cuParamSeti == NULL: * with gil: * raise RuntimeError('Function "cuParamSeti" not found') # <<<<<<<<<<<<<< * err = ( __cuParamSeti)(hfunc, offset, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuParamSeti_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5196, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5196, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5195 * cuPythonInit() * if __cuParamSeti == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSeti" not found') * err = ( __cuParamSeti)(hfunc, offset, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5194 * global __cuParamSeti * cuPythonInit() * if __cuParamSeti == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSeti" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5197 * with gil: * raise RuntimeError('Function "cuParamSeti" not found') * err = ( __cuParamSeti)(hfunc, offset, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSeti)(__pyx_v_hfunc, __pyx_v_offset, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5197, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5198 * raise RuntimeError('Function "cuParamSeti" not found') * err = ( __cuParamSeti)(hfunc, offset, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuParamSetf(CUfunction hfunc, int offset, float value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5191 * return err * * cdef CUresult _cuParamSeti(CUfunction hfunc, int offset, unsigned int value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSeti * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuParamSeti", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5200 * return err * * cdef CUresult _cuParamSetf(CUfunction hfunc, int offset, float value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetf * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetf(CUfunction __pyx_v_hfunc, int __pyx_v_offset, float __pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuParamSetf", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5202 * cdef CUresult _cuParamSetf(CUfunction hfunc, int offset, float value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuParamSetf * cuPythonInit() # <<<<<<<<<<<<<< * if __cuParamSetf == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5202, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5203 * global __cuParamSetf * cuPythonInit() * if __cuParamSetf == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetf" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetf == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5204 * cuPythonInit() * if __cuParamSetf == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetf" not found') * err = ( __cuParamSetf)(hfunc, offset, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5205 * if __cuParamSetf == NULL: * with gil: * raise RuntimeError('Function "cuParamSetf" not found') # <<<<<<<<<<<<<< * err = ( __cuParamSetf)(hfunc, offset, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuParamSetf_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5205, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5205, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5204 * cuPythonInit() * if __cuParamSetf == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetf" not found') * err = ( __cuParamSetf)(hfunc, offset, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5203 * global __cuParamSetf * cuPythonInit() * if __cuParamSetf == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetf" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5206 * with gil: * raise RuntimeError('Function "cuParamSetf" not found') * err = ( __cuParamSetf)(hfunc, offset, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, int, float))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetf)(__pyx_v_hfunc, __pyx_v_offset, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5206, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5207 * raise RuntimeError('Function "cuParamSetf" not found') * err = ( __cuParamSetf)(hfunc, offset, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuParamSetv(CUfunction hfunc, int offset, void* ptr, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5200 * return err * * cdef CUresult _cuParamSetf(CUfunction hfunc, int offset, float value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetf * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuParamSetf", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5209 * return err * * cdef CUresult _cuParamSetv(CUfunction hfunc, int offset, void* ptr, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetv * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetv(CUfunction __pyx_v_hfunc, int __pyx_v_offset, void *__pyx_v_ptr, unsigned int __pyx_v_numbytes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuParamSetv", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5211 * cdef CUresult _cuParamSetv(CUfunction hfunc, int offset, void* ptr, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuParamSetv * cuPythonInit() # <<<<<<<<<<<<<< * if __cuParamSetv == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5211, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5212 * global __cuParamSetv * cuPythonInit() * if __cuParamSetv == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetv" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetv == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5213 * cuPythonInit() * if __cuParamSetv == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetv" not found') * err = ( __cuParamSetv)(hfunc, offset, ptr, numbytes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5214 * if __cuParamSetv == NULL: * with gil: * raise RuntimeError('Function "cuParamSetv" not found') # <<<<<<<<<<<<<< * err = ( __cuParamSetv)(hfunc, offset, ptr, numbytes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuParamSetv_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5214, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5214, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5213 * cuPythonInit() * if __cuParamSetv == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetv" not found') * err = ( __cuParamSetv)(hfunc, offset, ptr, numbytes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5212 * global __cuParamSetv * cuPythonInit() * if __cuParamSetv == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetv" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5215 * with gil: * raise RuntimeError('Function "cuParamSetv" not found') * err = ( __cuParamSetv)(hfunc, offset, ptr, numbytes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, int, void *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetv)(__pyx_v_hfunc, __pyx_v_offset, __pyx_v_ptr, __pyx_v_numbytes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5215, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5216 * raise RuntimeError('Function "cuParamSetv" not found') * err = ( __cuParamSetv)(hfunc, offset, ptr, numbytes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunch(CUfunction f) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5209 * return err * * cdef CUresult _cuParamSetv(CUfunction hfunc, int offset, void* ptr, unsigned int numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetv * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuParamSetv", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5218 * return err * * cdef CUresult _cuLaunch(CUfunction f) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunch * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunch(CUfunction __pyx_v_f) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunch", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5220 * cdef CUresult _cuLaunch(CUfunction f) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunch * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunch == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5220, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5221 * global __cuLaunch * cuPythonInit() * if __cuLaunch == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunch" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunch == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5222 * cuPythonInit() * if __cuLaunch == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunch" not found') * err = ( __cuLaunch)(f) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5223 * if __cuLaunch == NULL: * with gil: * raise RuntimeError('Function "cuLaunch" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunch)(f) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunch_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5223, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5223, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5222 * cuPythonInit() * if __cuLaunch == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunch" not found') * err = ( __cuLaunch)(f) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5221 * global __cuLaunch * cuPythonInit() * if __cuLaunch == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunch" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5224 * with gil: * raise RuntimeError('Function "cuLaunch" not found') * err = ( __cuLaunch)(f) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunch)(__pyx_v_f); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5224, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5225 * raise RuntimeError('Function "cuLaunch" not found') * err = ( __cuLaunch)(f) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunchGrid(CUfunction f, int grid_width, int grid_height) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5218 * return err * * cdef CUresult _cuLaunch(CUfunction f) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunch * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunch", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5227 * return err * * cdef CUresult _cuLaunchGrid(CUfunction f, int grid_width, int grid_height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchGrid * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchGrid(CUfunction __pyx_v_f, int __pyx_v_grid_width, int __pyx_v_grid_height) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunchGrid", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5229 * cdef CUresult _cuLaunchGrid(CUfunction f, int grid_width, int grid_height) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunchGrid * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunchGrid == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5229, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5230 * global __cuLaunchGrid * cuPythonInit() * if __cuLaunchGrid == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchGrid" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGrid == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5231 * cuPythonInit() * if __cuLaunchGrid == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchGrid" not found') * err = ( __cuLaunchGrid)(f, grid_width, grid_height) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5232 * if __cuLaunchGrid == NULL: * with gil: * raise RuntimeError('Function "cuLaunchGrid" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunchGrid)(f, grid_width, grid_height) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunchGrid_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5232, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5232, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5231 * cuPythonInit() * if __cuLaunchGrid == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchGrid" not found') * err = ( __cuLaunchGrid)(f, grid_width, grid_height) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5230 * global __cuLaunchGrid * cuPythonInit() * if __cuLaunchGrid == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchGrid" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5233 * with gil: * raise RuntimeError('Function "cuLaunchGrid" not found') * err = ( __cuLaunchGrid)(f, grid_width, grid_height) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, int, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGrid)(__pyx_v_f, __pyx_v_grid_width, __pyx_v_grid_height); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5233, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5234 * raise RuntimeError('Function "cuLaunchGrid" not found') * err = ( __cuLaunchGrid)(f, grid_width, grid_height) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5227 * return err * * cdef CUresult _cuLaunchGrid(CUfunction f, int grid_width, int grid_height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchGrid * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunchGrid", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5236 * return err * * cdef CUresult _cuLaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchGridAsync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchGridAsync(CUfunction __pyx_v_f, int __pyx_v_grid_width, int __pyx_v_grid_height, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLaunchGridAsync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5238 * cdef CUresult _cuLaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLaunchGridAsync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLaunchGridAsync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5238, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5239 * global __cuLaunchGridAsync * cuPythonInit() * if __cuLaunchGridAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchGridAsync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGridAsync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5240 * cuPythonInit() * if __cuLaunchGridAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchGridAsync" not found') * err = ( __cuLaunchGridAsync)(f, grid_width, grid_height, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5241 * if __cuLaunchGridAsync == NULL: * with gil: * raise RuntimeError('Function "cuLaunchGridAsync" not found') # <<<<<<<<<<<<<< * err = ( __cuLaunchGridAsync)(f, grid_width, grid_height, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLaunchGridAsync_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5241, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5241, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5240 * cuPythonInit() * if __cuLaunchGridAsync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLaunchGridAsync" not found') * err = ( __cuLaunchGridAsync)(f, grid_width, grid_height, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5239 * global __cuLaunchGridAsync * cuPythonInit() * if __cuLaunchGridAsync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLaunchGridAsync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5242 * with gil: * raise RuntimeError('Function "cuLaunchGridAsync" not found') * err = ( __cuLaunchGridAsync)(f, grid_width, grid_height, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, int, int, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGridAsync)(__pyx_v_f, __pyx_v_grid_width, __pyx_v_grid_height, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5242, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5243 * raise RuntimeError('Function "cuLaunchGridAsync" not found') * err = ( __cuLaunchGridAsync)(f, grid_width, grid_height, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuParamSetTexRef(CUfunction hfunc, int texunit, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5236 * return err * * cdef CUresult _cuLaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLaunchGridAsync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLaunchGridAsync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5245 * return err * * cdef CUresult _cuParamSetTexRef(CUfunction hfunc, int texunit, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetTexRef * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetTexRef(CUfunction __pyx_v_hfunc, int __pyx_v_texunit, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuParamSetTexRef", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5247 * cdef CUresult _cuParamSetTexRef(CUfunction hfunc, int texunit, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuParamSetTexRef * cuPythonInit() # <<<<<<<<<<<<<< * if __cuParamSetTexRef == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5247, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5248 * global __cuParamSetTexRef * cuPythonInit() * if __cuParamSetTexRef == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetTexRef" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetTexRef == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5249 * cuPythonInit() * if __cuParamSetTexRef == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetTexRef" not found') * err = ( __cuParamSetTexRef)(hfunc, texunit, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5250 * if __cuParamSetTexRef == NULL: * with gil: * raise RuntimeError('Function "cuParamSetTexRef" not found') # <<<<<<<<<<<<<< * err = ( __cuParamSetTexRef)(hfunc, texunit, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuParamSetTexRef_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5250, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5250, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5249 * cuPythonInit() * if __cuParamSetTexRef == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuParamSetTexRef" not found') * err = ( __cuParamSetTexRef)(hfunc, texunit, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5248 * global __cuParamSetTexRef * cuPythonInit() * if __cuParamSetTexRef == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuParamSetTexRef" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5251 * with gil: * raise RuntimeError('Function "cuParamSetTexRef" not found') * err = ( __cuParamSetTexRef)(hfunc, texunit, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, int, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetTexRef)(__pyx_v_hfunc, __pyx_v_texunit, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5251, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5252 * raise RuntimeError('Function "cuParamSetTexRef" not found') * err = ( __cuParamSetTexRef)(hfunc, texunit, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuFuncSetSharedMemConfig(CUfunction hfunc, CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5245 * return err * * cdef CUresult _cuParamSetTexRef(CUfunction hfunc, int texunit, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuParamSetTexRef * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuParamSetTexRef", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5254 * return err * * cdef CUresult _cuFuncSetSharedMemConfig(CUfunction hfunc, CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetSharedMemConfig * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetSharedMemConfig(CUfunction __pyx_v_hfunc, CUsharedconfig __pyx_v_config) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuFuncSetSharedMemConfig", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5256 * cdef CUresult _cuFuncSetSharedMemConfig(CUfunction hfunc, CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuFuncSetSharedMemConfig * cuPythonInit() # <<<<<<<<<<<<<< * if __cuFuncSetSharedMemConfig == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5256, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5257 * global __cuFuncSetSharedMemConfig * cuPythonInit() * if __cuFuncSetSharedMemConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetSharedMemConfig" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedMemConfig == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5258 * cuPythonInit() * if __cuFuncSetSharedMemConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetSharedMemConfig" not found') * err = ( __cuFuncSetSharedMemConfig)(hfunc, config) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5259 * if __cuFuncSetSharedMemConfig == NULL: * with gil: * raise RuntimeError('Function "cuFuncSetSharedMemConfig" not found') # <<<<<<<<<<<<<< * err = ( __cuFuncSetSharedMemConfig)(hfunc, config) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuFuncSetSharedMemConfi}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5259, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5259, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5258 * cuPythonInit() * if __cuFuncSetSharedMemConfig == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuFuncSetSharedMemConfig" not found') * err = ( __cuFuncSetSharedMemConfig)(hfunc, config) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5257 * global __cuFuncSetSharedMemConfig * cuPythonInit() * if __cuFuncSetSharedMemConfig == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuFuncSetSharedMemConfig" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5260 * with gil: * raise RuntimeError('Function "cuFuncSetSharedMemConfig" not found') * err = ( __cuFuncSetSharedMemConfig)(hfunc, config) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfunction, CUsharedconfig))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedMemConfig)(__pyx_v_hfunc, __pyx_v_config); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5260, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5261 * raise RuntimeError('Function "cuFuncSetSharedMemConfig" not found') * err = ( __cuFuncSetSharedMemConfig)(hfunc, config) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphCreate(CUgraph* phGraph, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5254 * return err * * cdef CUresult _cuFuncSetSharedMemConfig(CUfunction hfunc, CUsharedconfig config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuFuncSetSharedMemConfig * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuFuncSetSharedMemConfig", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5263 * return err * * cdef CUresult _cuGraphCreate(CUgraph* phGraph, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphCreate(CUgraph *__pyx_v_phGraph, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5265 * cdef CUresult _cuGraphCreate(CUgraph* phGraph, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5265, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5266 * global __cuGraphCreate * cuPythonInit() * if __cuGraphCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5267 * cuPythonInit() * if __cuGraphCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphCreate" not found') * err = ( __cuGraphCreate)(phGraph, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5268 * if __cuGraphCreate == NULL: * with gil: * raise RuntimeError('Function "cuGraphCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphCreate)(phGraph, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphCreate_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5268, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5268, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5267 * cuPythonInit() * if __cuGraphCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphCreate" not found') * err = ( __cuGraphCreate)(phGraph, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5266 * global __cuGraphCreate * cuPythonInit() * if __cuGraphCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5269 * with gil: * raise RuntimeError('Function "cuGraphCreate" not found') * err = ( __cuGraphCreate)(phGraph, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphCreate)(__pyx_v_phGraph, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5269, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5270 * raise RuntimeError('Function "cuGraphCreate" not found') * err = ( __cuGraphCreate)(phGraph, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddKernelNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5263 * return err * * cdef CUresult _cuGraphCreate(CUgraph* phGraph, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5272 * return err * * cdef CUresult _cuGraphAddKernelNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddKernelNode_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddKernelNode_v2(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_KERNEL_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddKernelNode_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5274 * cdef CUresult _cuGraphAddKernelNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddKernelNode_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddKernelNode_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5274, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5275 * global __cuGraphAddKernelNode_v2 * cuPythonInit() * if __cuGraphAddKernelNode_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddKernelNode_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddKernelNode_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5276 * cuPythonInit() * if __cuGraphAddKernelNode_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddKernelNode_v2" not found') * err = ( __cuGraphAddKernelNode_v2)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5277 * if __cuGraphAddKernelNode_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddKernelNode_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddKernelNode_v2)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddKernelNode_v2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5277, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5277, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5276 * cuPythonInit() * if __cuGraphAddKernelNode_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddKernelNode_v2" not found') * err = ( __cuGraphAddKernelNode_v2)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5275 * global __cuGraphAddKernelNode_v2 * cuPythonInit() * if __cuGraphAddKernelNode_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddKernelNode_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5278 * with gil: * raise RuntimeError('Function "cuGraphAddKernelNode_v2" not found') * err = ( __cuGraphAddKernelNode_v2)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_KERNEL_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddKernelNode_v2)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5278, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5279 * raise RuntimeError('Function "cuGraphAddKernelNode_v2" not found') * err = ( __cuGraphAddKernelNode_v2)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphKernelNodeGetParams_v2(CUgraphNode hNode, CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5272 * return err * * cdef CUresult _cuGraphAddKernelNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddKernelNode_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddKernelNode_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5281 * return err * * cdef CUresult _cuGraphKernelNodeGetParams_v2(CUgraphNode hNode, CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetParams_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeGetParams_v2(CUgraphNode __pyx_v_hNode, CUDA_KERNEL_NODE_PARAMS *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphKernelNodeGetParams_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5283 * cdef CUresult _cuGraphKernelNodeGetParams_v2(CUgraphNode hNode, CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphKernelNodeGetParams_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphKernelNodeGetParams_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5283, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5284 * global __cuGraphKernelNodeGetParams_v2 * cuPythonInit() * if __cuGraphKernelNodeGetParams_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetParams_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetParams_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5285 * cuPythonInit() * if __cuGraphKernelNodeGetParams_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeGetParams_v2" not found') * err = ( __cuGraphKernelNodeGetParams_v2)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5286 * if __cuGraphKernelNodeGetParams_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetParams_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphKernelNodeGetParams_v2)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphKernelNodeGetPar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5286, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5286, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5285 * cuPythonInit() * if __cuGraphKernelNodeGetParams_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeGetParams_v2" not found') * err = ( __cuGraphKernelNodeGetParams_v2)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5284 * global __cuGraphKernelNodeGetParams_v2 * cuPythonInit() * if __cuGraphKernelNodeGetParams_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetParams_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5287 * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetParams_v2" not found') * err = ( __cuGraphKernelNodeGetParams_v2)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_KERNEL_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetParams_v2)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5287, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5288 * raise RuntimeError('Function "cuGraphKernelNodeGetParams_v2" not found') * err = ( __cuGraphKernelNodeGetParams_v2)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphKernelNodeSetParams_v2(CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5281 * return err * * cdef CUresult _cuGraphKernelNodeGetParams_v2(CUgraphNode hNode, CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetParams_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphKernelNodeGetParams_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5290 * return err * * cdef CUresult _cuGraphKernelNodeSetParams_v2(CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetParams_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeSetParams_v2(CUgraphNode __pyx_v_hNode, CUDA_KERNEL_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphKernelNodeSetParams_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5292 * cdef CUresult _cuGraphKernelNodeSetParams_v2(CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphKernelNodeSetParams_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphKernelNodeSetParams_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5292, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5293 * global __cuGraphKernelNodeSetParams_v2 * cuPythonInit() * if __cuGraphKernelNodeSetParams_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetParams_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetParams_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5294 * cuPythonInit() * if __cuGraphKernelNodeSetParams_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeSetParams_v2" not found') * err = ( __cuGraphKernelNodeSetParams_v2)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5295 * if __cuGraphKernelNodeSetParams_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetParams_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphKernelNodeSetParams_v2)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphKernelNodeSetPar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5295, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5295, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5294 * cuPythonInit() * if __cuGraphKernelNodeSetParams_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeSetParams_v2" not found') * err = ( __cuGraphKernelNodeSetParams_v2)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5293 * global __cuGraphKernelNodeSetParams_v2 * cuPythonInit() * if __cuGraphKernelNodeSetParams_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetParams_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5296 * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetParams_v2" not found') * err = ( __cuGraphKernelNodeSetParams_v2)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_KERNEL_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetParams_v2)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5296, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5297 * raise RuntimeError('Function "cuGraphKernelNodeSetParams_v2" not found') * err = ( __cuGraphKernelNodeSetParams_v2)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddMemcpyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5290 * return err * * cdef CUresult _cuGraphKernelNodeSetParams_v2(CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetParams_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphKernelNodeSetParams_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5299 * return err * * cdef CUresult _cuGraphAddMemcpyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemcpyNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemcpyNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_MEMCPY3D const *__pyx_v_copyParams, CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddMemcpyNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5301 * cdef CUresult _cuGraphAddMemcpyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddMemcpyNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddMemcpyNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5301, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5302 * global __cuGraphAddMemcpyNode * cuPythonInit() * if __cuGraphAddMemcpyNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemcpyNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemcpyNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5303 * cuPythonInit() * if __cuGraphAddMemcpyNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemcpyNode" not found') * err = ( __cuGraphAddMemcpyNode)(phGraphNode, hGraph, dependencies, numDependencies, copyParams, ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5304 * if __cuGraphAddMemcpyNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddMemcpyNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddMemcpyNode)(phGraphNode, hGraph, dependencies, numDependencies, copyParams, ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddMemcpyNode_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5304, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5304, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5303 * cuPythonInit() * if __cuGraphAddMemcpyNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemcpyNode" not found') * err = ( __cuGraphAddMemcpyNode)(phGraphNode, hGraph, dependencies, numDependencies, copyParams, ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5302 * global __cuGraphAddMemcpyNode * cuPythonInit() * if __cuGraphAddMemcpyNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemcpyNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5305 * with gil: * raise RuntimeError('Function "cuGraphAddMemcpyNode" not found') * err = ( __cuGraphAddMemcpyNode)(phGraphNode, hGraph, dependencies, numDependencies, copyParams, ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_MEMCPY3D const *, CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemcpyNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_copyParams, __pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5305, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5306 * raise RuntimeError('Function "cuGraphAddMemcpyNode" not found') * err = ( __cuGraphAddMemcpyNode)(phGraphNode, hGraph, dependencies, numDependencies, copyParams, ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphMemcpyNodeGetParams(CUgraphNode hNode, CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5299 * return err * * cdef CUresult _cuGraphAddMemcpyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemcpyNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddMemcpyNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5308 * return err * * cdef CUresult _cuGraphMemcpyNodeGetParams(CUgraphNode hNode, CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemcpyNodeGetParams(CUgraphNode __pyx_v_hNode, CUDA_MEMCPY3D *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphMemcpyNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5310 * cdef CUresult _cuGraphMemcpyNodeGetParams(CUgraphNode hNode, CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphMemcpyNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphMemcpyNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5310, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5311 * global __cuGraphMemcpyNodeGetParams * cuPythonInit() * if __cuGraphMemcpyNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5312 * cuPythonInit() * if __cuGraphMemcpyNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemcpyNodeGetParams" not found') * err = ( __cuGraphMemcpyNodeGetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5313 * if __cuGraphMemcpyNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphMemcpyNodeGetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphMemcpyNodeGetPar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5313, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5313, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5312 * cuPythonInit() * if __cuGraphMemcpyNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemcpyNodeGetParams" not found') * err = ( __cuGraphMemcpyNodeGetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5311 * global __cuGraphMemcpyNodeGetParams * cuPythonInit() * if __cuGraphMemcpyNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5314 * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeGetParams" not found') * err = ( __cuGraphMemcpyNodeGetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_MEMCPY3D *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeGetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5314, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5315 * raise RuntimeError('Function "cuGraphMemcpyNodeGetParams" not found') * err = ( __cuGraphMemcpyNodeGetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphMemcpyNodeSetParams(CUgraphNode hNode, const CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5308 * return err * * cdef CUresult _cuGraphMemcpyNodeGetParams(CUgraphNode hNode, CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphMemcpyNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5317 * return err * * cdef CUresult _cuGraphMemcpyNodeSetParams(CUgraphNode hNode, const CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemcpyNodeSetParams(CUgraphNode __pyx_v_hNode, CUDA_MEMCPY3D const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphMemcpyNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5319 * cdef CUresult _cuGraphMemcpyNodeSetParams(CUgraphNode hNode, const CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphMemcpyNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphMemcpyNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5319, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5320 * global __cuGraphMemcpyNodeSetParams * cuPythonInit() * if __cuGraphMemcpyNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5321 * cuPythonInit() * if __cuGraphMemcpyNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemcpyNodeSetParams" not found') * err = ( __cuGraphMemcpyNodeSetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5322 * if __cuGraphMemcpyNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphMemcpyNodeSetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphMemcpyNodeSetPar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5322, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5322, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5321 * cuPythonInit() * if __cuGraphMemcpyNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemcpyNodeSetParams" not found') * err = ( __cuGraphMemcpyNodeSetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5320 * global __cuGraphMemcpyNodeSetParams * cuPythonInit() * if __cuGraphMemcpyNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5323 * with gil: * raise RuntimeError('Function "cuGraphMemcpyNodeSetParams" not found') * err = ( __cuGraphMemcpyNodeSetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_MEMCPY3D const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeSetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5323, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5324 * raise RuntimeError('Function "cuGraphMemcpyNodeSetParams" not found') * err = ( __cuGraphMemcpyNodeSetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddMemsetNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5317 * return err * * cdef CUresult _cuGraphMemcpyNodeSetParams(CUgraphNode hNode, const CUDA_MEMCPY3D* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphMemcpyNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5326 * return err * * cdef CUresult _cuGraphAddMemsetNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemsetNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemsetNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_MEMSET_NODE_PARAMS const *__pyx_v_memsetParams, CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddMemsetNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5328 * cdef CUresult _cuGraphAddMemsetNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddMemsetNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddMemsetNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5328, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5329 * global __cuGraphAddMemsetNode * cuPythonInit() * if __cuGraphAddMemsetNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemsetNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemsetNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5330 * cuPythonInit() * if __cuGraphAddMemsetNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemsetNode" not found') * err = ( __cuGraphAddMemsetNode)(phGraphNode, hGraph, dependencies, numDependencies, memsetParams, ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5331 * if __cuGraphAddMemsetNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddMemsetNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddMemsetNode)(phGraphNode, hGraph, dependencies, numDependencies, memsetParams, ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddMemsetNode_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5331, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5331, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5330 * cuPythonInit() * if __cuGraphAddMemsetNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemsetNode" not found') * err = ( __cuGraphAddMemsetNode)(phGraphNode, hGraph, dependencies, numDependencies, memsetParams, ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5329 * global __cuGraphAddMemsetNode * cuPythonInit() * if __cuGraphAddMemsetNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemsetNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5332 * with gil: * raise RuntimeError('Function "cuGraphAddMemsetNode" not found') * err = ( __cuGraphAddMemsetNode)(phGraphNode, hGraph, dependencies, numDependencies, memsetParams, ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_MEMSET_NODE_PARAMS const *, CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemsetNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_memsetParams, __pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5332, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5333 * raise RuntimeError('Function "cuGraphAddMemsetNode" not found') * err = ( __cuGraphAddMemsetNode)(phGraphNode, hGraph, dependencies, numDependencies, memsetParams, ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphMemsetNodeGetParams(CUgraphNode hNode, CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5326 * return err * * cdef CUresult _cuGraphAddMemsetNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemsetNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddMemsetNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5335 * return err * * cdef CUresult _cuGraphMemsetNodeGetParams(CUgraphNode hNode, CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemsetNodeGetParams(CUgraphNode __pyx_v_hNode, CUDA_MEMSET_NODE_PARAMS *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphMemsetNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5337 * cdef CUresult _cuGraphMemsetNodeGetParams(CUgraphNode hNode, CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphMemsetNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphMemsetNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5337, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5338 * global __cuGraphMemsetNodeGetParams * cuPythonInit() * if __cuGraphMemsetNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5339 * cuPythonInit() * if __cuGraphMemsetNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemsetNodeGetParams" not found') * err = ( __cuGraphMemsetNodeGetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5340 * if __cuGraphMemsetNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphMemsetNodeGetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphMemsetNodeGetPar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5340, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5340, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5339 * cuPythonInit() * if __cuGraphMemsetNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemsetNodeGetParams" not found') * err = ( __cuGraphMemsetNodeGetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5338 * global __cuGraphMemsetNodeGetParams * cuPythonInit() * if __cuGraphMemsetNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5341 * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeGetParams" not found') * err = ( __cuGraphMemsetNodeGetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_MEMSET_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeGetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5341, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5342 * raise RuntimeError('Function "cuGraphMemsetNodeGetParams" not found') * err = ( __cuGraphMemsetNodeGetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphMemsetNodeSetParams(CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5335 * return err * * cdef CUresult _cuGraphMemsetNodeGetParams(CUgraphNode hNode, CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphMemsetNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5344 * return err * * cdef CUresult _cuGraphMemsetNodeSetParams(CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemsetNodeSetParams(CUgraphNode __pyx_v_hNode, CUDA_MEMSET_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphMemsetNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5346 * cdef CUresult _cuGraphMemsetNodeSetParams(CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphMemsetNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphMemsetNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5346, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5347 * global __cuGraphMemsetNodeSetParams * cuPythonInit() * if __cuGraphMemsetNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5348 * cuPythonInit() * if __cuGraphMemsetNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemsetNodeSetParams" not found') * err = ( __cuGraphMemsetNodeSetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5349 * if __cuGraphMemsetNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphMemsetNodeSetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphMemsetNodeSetPar}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5349, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5349, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5348 * cuPythonInit() * if __cuGraphMemsetNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemsetNodeSetParams" not found') * err = ( __cuGraphMemsetNodeSetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5347 * global __cuGraphMemsetNodeSetParams * cuPythonInit() * if __cuGraphMemsetNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5350 * with gil: * raise RuntimeError('Function "cuGraphMemsetNodeSetParams" not found') * err = ( __cuGraphMemsetNodeSetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_MEMSET_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeSetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5350, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5351 * raise RuntimeError('Function "cuGraphMemsetNodeSetParams" not found') * err = ( __cuGraphMemsetNodeSetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddHostNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5344 * return err * * cdef CUresult _cuGraphMemsetNodeSetParams(CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphMemsetNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5353 * return err * * cdef CUresult _cuGraphAddHostNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddHostNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddHostNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_HOST_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddHostNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5355 * cdef CUresult _cuGraphAddHostNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddHostNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddHostNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5355, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5356 * global __cuGraphAddHostNode * cuPythonInit() * if __cuGraphAddHostNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddHostNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddHostNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5357 * cuPythonInit() * if __cuGraphAddHostNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddHostNode" not found') * err = ( __cuGraphAddHostNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5358 * if __cuGraphAddHostNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddHostNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddHostNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddHostNode_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5358, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5358, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5357 * cuPythonInit() * if __cuGraphAddHostNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddHostNode" not found') * err = ( __cuGraphAddHostNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5356 * global __cuGraphAddHostNode * cuPythonInit() * if __cuGraphAddHostNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddHostNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5359 * with gil: * raise RuntimeError('Function "cuGraphAddHostNode" not found') * err = ( __cuGraphAddHostNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_HOST_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddHostNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5359, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5360 * raise RuntimeError('Function "cuGraphAddHostNode" not found') * err = ( __cuGraphAddHostNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphHostNodeGetParams(CUgraphNode hNode, CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5353 * return err * * cdef CUresult _cuGraphAddHostNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddHostNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddHostNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5362 * return err * * cdef CUresult _cuGraphHostNodeGetParams(CUgraphNode hNode, CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphHostNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphHostNodeGetParams(CUgraphNode __pyx_v_hNode, CUDA_HOST_NODE_PARAMS *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphHostNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5364 * cdef CUresult _cuGraphHostNodeGetParams(CUgraphNode hNode, CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphHostNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphHostNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5364, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5365 * global __cuGraphHostNodeGetParams * cuPythonInit() * if __cuGraphHostNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphHostNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5366 * cuPythonInit() * if __cuGraphHostNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphHostNodeGetParams" not found') * err = ( __cuGraphHostNodeGetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5367 * if __cuGraphHostNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphHostNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphHostNodeGetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphHostNodeGetParam}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5367, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5367, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5366 * cuPythonInit() * if __cuGraphHostNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphHostNodeGetParams" not found') * err = ( __cuGraphHostNodeGetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5365 * global __cuGraphHostNodeGetParams * cuPythonInit() * if __cuGraphHostNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphHostNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5368 * with gil: * raise RuntimeError('Function "cuGraphHostNodeGetParams" not found') * err = ( __cuGraphHostNodeGetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_HOST_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeGetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5368, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5369 * raise RuntimeError('Function "cuGraphHostNodeGetParams" not found') * err = ( __cuGraphHostNodeGetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphHostNodeSetParams(CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5362 * return err * * cdef CUresult _cuGraphHostNodeGetParams(CUgraphNode hNode, CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphHostNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphHostNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5371 * return err * * cdef CUresult _cuGraphHostNodeSetParams(CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphHostNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphHostNodeSetParams(CUgraphNode __pyx_v_hNode, CUDA_HOST_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphHostNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5373 * cdef CUresult _cuGraphHostNodeSetParams(CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphHostNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphHostNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5373, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5374 * global __cuGraphHostNodeSetParams * cuPythonInit() * if __cuGraphHostNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphHostNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5375 * cuPythonInit() * if __cuGraphHostNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphHostNodeSetParams" not found') * err = ( __cuGraphHostNodeSetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5376 * if __cuGraphHostNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphHostNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphHostNodeSetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphHostNodeSetParam}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5376, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5376, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5375 * cuPythonInit() * if __cuGraphHostNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphHostNodeSetParams" not found') * err = ( __cuGraphHostNodeSetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5374 * global __cuGraphHostNodeSetParams * cuPythonInit() * if __cuGraphHostNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphHostNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5377 * with gil: * raise RuntimeError('Function "cuGraphHostNodeSetParams" not found') * err = ( __cuGraphHostNodeSetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_HOST_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeSetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5377, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5378 * raise RuntimeError('Function "cuGraphHostNodeSetParams" not found') * err = ( __cuGraphHostNodeSetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddChildGraphNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5371 * return err * * cdef CUresult _cuGraphHostNodeSetParams(CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphHostNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphHostNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5380 * return err * * cdef CUresult _cuGraphAddChildGraphNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddChildGraphNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddChildGraphNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUgraph __pyx_v_childGraph) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddChildGraphNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5382 * cdef CUresult _cuGraphAddChildGraphNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddChildGraphNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddChildGraphNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5382, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5383 * global __cuGraphAddChildGraphNode * cuPythonInit() * if __cuGraphAddChildGraphNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddChildGraphNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddChildGraphNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5384 * cuPythonInit() * if __cuGraphAddChildGraphNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddChildGraphNode" not found') * err = ( __cuGraphAddChildGraphNode)(phGraphNode, hGraph, dependencies, numDependencies, childGraph) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5385 * if __cuGraphAddChildGraphNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddChildGraphNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddChildGraphNode)(phGraphNode, hGraph, dependencies, numDependencies, childGraph) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddChildGraphNod}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5385, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5385, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5384 * cuPythonInit() * if __cuGraphAddChildGraphNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddChildGraphNode" not found') * err = ( __cuGraphAddChildGraphNode)(phGraphNode, hGraph, dependencies, numDependencies, childGraph) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5383 * global __cuGraphAddChildGraphNode * cuPythonInit() * if __cuGraphAddChildGraphNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddChildGraphNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5386 * with gil: * raise RuntimeError('Function "cuGraphAddChildGraphNode" not found') * err = ( __cuGraphAddChildGraphNode)(phGraphNode, hGraph, dependencies, numDependencies, childGraph) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUgraph))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddChildGraphNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_childGraph); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5386, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5387 * raise RuntimeError('Function "cuGraphAddChildGraphNode" not found') * err = ( __cuGraphAddChildGraphNode)(phGraphNode, hGraph, dependencies, numDependencies, childGraph) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphChildGraphNodeGetGraph(CUgraphNode hNode, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5380 * return err * * cdef CUresult _cuGraphAddChildGraphNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddChildGraphNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddChildGraphNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5389 * return err * * cdef CUresult _cuGraphChildGraphNodeGetGraph(CUgraphNode hNode, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphChildGraphNodeGetGraph * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphChildGraphNodeGetGraph(CUgraphNode __pyx_v_hNode, CUgraph *__pyx_v_phGraph) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphChildGraphNodeGetGraph", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5391 * cdef CUresult _cuGraphChildGraphNodeGetGraph(CUgraphNode hNode, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphChildGraphNodeGetGraph * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphChildGraphNodeGetGraph == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5391, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5392 * global __cuGraphChildGraphNodeGetGraph * cuPythonInit() * if __cuGraphChildGraphNodeGetGraph == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphChildGraphNodeGetGraph" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphChildGraphNodeGetGraph == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5393 * cuPythonInit() * if __cuGraphChildGraphNodeGetGraph == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphChildGraphNodeGetGraph" not found') * err = ( __cuGraphChildGraphNodeGetGraph)(hNode, phGraph) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5394 * if __cuGraphChildGraphNodeGetGraph == NULL: * with gil: * raise RuntimeError('Function "cuGraphChildGraphNodeGetGraph" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphChildGraphNodeGetGraph)(hNode, phGraph) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphChildGraphNodeGe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5394, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5394, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5393 * cuPythonInit() * if __cuGraphChildGraphNodeGetGraph == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphChildGraphNodeGetGraph" not found') * err = ( __cuGraphChildGraphNodeGetGraph)(hNode, phGraph) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5392 * global __cuGraphChildGraphNodeGetGraph * cuPythonInit() * if __cuGraphChildGraphNodeGetGraph == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphChildGraphNodeGetGraph" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5395 * with gil: * raise RuntimeError('Function "cuGraphChildGraphNodeGetGraph" not found') * err = ( __cuGraphChildGraphNodeGetGraph)(hNode, phGraph) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraph *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphChildGraphNodeGetGraph)(__pyx_v_hNode, __pyx_v_phGraph); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5395, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5396 * raise RuntimeError('Function "cuGraphChildGraphNodeGetGraph" not found') * err = ( __cuGraphChildGraphNodeGetGraph)(hNode, phGraph) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddEmptyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5389 * return err * * cdef CUresult _cuGraphChildGraphNodeGetGraph(CUgraphNode hNode, CUgraph* phGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphChildGraphNodeGetGraph * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphChildGraphNodeGetGraph", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5398 * return err * * cdef CUresult _cuGraphAddEmptyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddEmptyNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddEmptyNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddEmptyNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5400 * cdef CUresult _cuGraphAddEmptyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddEmptyNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddEmptyNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5400, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5401 * global __cuGraphAddEmptyNode * cuPythonInit() * if __cuGraphAddEmptyNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddEmptyNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEmptyNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5402 * cuPythonInit() * if __cuGraphAddEmptyNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddEmptyNode" not found') * err = ( __cuGraphAddEmptyNode)(phGraphNode, hGraph, dependencies, numDependencies) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5403 * if __cuGraphAddEmptyNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddEmptyNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddEmptyNode)(phGraphNode, hGraph, dependencies, numDependencies) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddEmptyNode_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5403, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5403, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5402 * cuPythonInit() * if __cuGraphAddEmptyNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddEmptyNode" not found') * err = ( __cuGraphAddEmptyNode)(phGraphNode, hGraph, dependencies, numDependencies) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5401 * global __cuGraphAddEmptyNode * cuPythonInit() * if __cuGraphAddEmptyNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddEmptyNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5404 * with gil: * raise RuntimeError('Function "cuGraphAddEmptyNode" not found') * err = ( __cuGraphAddEmptyNode)(phGraphNode, hGraph, dependencies, numDependencies) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEmptyNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5404, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5405 * raise RuntimeError('Function "cuGraphAddEmptyNode" not found') * err = ( __cuGraphAddEmptyNode)(phGraphNode, hGraph, dependencies, numDependencies) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddEventRecordNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5398 * return err * * cdef CUresult _cuGraphAddEmptyNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddEmptyNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddEmptyNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5407 * return err * * cdef CUresult _cuGraphAddEventRecordNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddEventRecordNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddEventRecordNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUevent __pyx_v_event) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddEventRecordNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5409 * cdef CUresult _cuGraphAddEventRecordNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddEventRecordNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddEventRecordNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5409, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5410 * global __cuGraphAddEventRecordNode * cuPythonInit() * if __cuGraphAddEventRecordNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddEventRecordNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventRecordNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5411 * cuPythonInit() * if __cuGraphAddEventRecordNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddEventRecordNode" not found') * err = ( __cuGraphAddEventRecordNode)(phGraphNode, hGraph, dependencies, numDependencies, event) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5412 * if __cuGraphAddEventRecordNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddEventRecordNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddEventRecordNode)(phGraphNode, hGraph, dependencies, numDependencies, event) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddEventRecordNo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5412, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5412, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5411 * cuPythonInit() * if __cuGraphAddEventRecordNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddEventRecordNode" not found') * err = ( __cuGraphAddEventRecordNode)(phGraphNode, hGraph, dependencies, numDependencies, event) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5410 * global __cuGraphAddEventRecordNode * cuPythonInit() * if __cuGraphAddEventRecordNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddEventRecordNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5413 * with gil: * raise RuntimeError('Function "cuGraphAddEventRecordNode" not found') * err = ( __cuGraphAddEventRecordNode)(phGraphNode, hGraph, dependencies, numDependencies, event) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventRecordNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_event); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5413, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5414 * raise RuntimeError('Function "cuGraphAddEventRecordNode" not found') * err = ( __cuGraphAddEventRecordNode)(phGraphNode, hGraph, dependencies, numDependencies, event) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphEventRecordNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5407 * return err * * cdef CUresult _cuGraphAddEventRecordNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddEventRecordNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddEventRecordNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5416 * return err * * cdef CUresult _cuGraphEventRecordNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeGetEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventRecordNodeGetEvent(CUgraphNode __pyx_v_hNode, CUevent *__pyx_v_event_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphEventRecordNodeGetEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5418 * cdef CUresult _cuGraphEventRecordNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphEventRecordNodeGetEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphEventRecordNodeGetEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5418, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5419 * global __cuGraphEventRecordNodeGetEvent * cuPythonInit() * if __cuGraphEventRecordNodeGetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeGetEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeGetEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5420 * cuPythonInit() * if __cuGraphEventRecordNodeGetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventRecordNodeGetEvent" not found') * err = ( __cuGraphEventRecordNodeGetEvent)(hNode, event_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5421 * if __cuGraphEventRecordNodeGetEvent == NULL: * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeGetEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphEventRecordNodeGetEvent)(hNode, event_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphEventRecordNodeG}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5421, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5421, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5420 * cuPythonInit() * if __cuGraphEventRecordNodeGetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventRecordNodeGetEvent" not found') * err = ( __cuGraphEventRecordNodeGetEvent)(hNode, event_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5419 * global __cuGraphEventRecordNodeGetEvent * cuPythonInit() * if __cuGraphEventRecordNodeGetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeGetEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5422 * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeGetEvent" not found') * err = ( __cuGraphEventRecordNodeGetEvent)(hNode, event_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUevent *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeGetEvent)(__pyx_v_hNode, __pyx_v_event_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5422, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5423 * raise RuntimeError('Function "cuGraphEventRecordNodeGetEvent" not found') * err = ( __cuGraphEventRecordNodeGetEvent)(hNode, event_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphEventRecordNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5416 * return err * * cdef CUresult _cuGraphEventRecordNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeGetEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphEventRecordNodeGetEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5425 * return err * * cdef CUresult _cuGraphEventRecordNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeSetEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventRecordNodeSetEvent(CUgraphNode __pyx_v_hNode, CUevent __pyx_v_event) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphEventRecordNodeSetEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5427 * cdef CUresult _cuGraphEventRecordNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphEventRecordNodeSetEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphEventRecordNodeSetEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5427, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5428 * global __cuGraphEventRecordNodeSetEvent * cuPythonInit() * if __cuGraphEventRecordNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeSetEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeSetEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5429 * cuPythonInit() * if __cuGraphEventRecordNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventRecordNodeSetEvent" not found') * err = ( __cuGraphEventRecordNodeSetEvent)(hNode, event) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5430 * if __cuGraphEventRecordNodeSetEvent == NULL: * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeSetEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphEventRecordNodeSetEvent)(hNode, event) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphEventRecordNodeS}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5430, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5430, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5429 * cuPythonInit() * if __cuGraphEventRecordNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventRecordNodeSetEvent" not found') * err = ( __cuGraphEventRecordNodeSetEvent)(hNode, event) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5428 * global __cuGraphEventRecordNodeSetEvent * cuPythonInit() * if __cuGraphEventRecordNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeSetEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5431 * with gil: * raise RuntimeError('Function "cuGraphEventRecordNodeSetEvent" not found') * err = ( __cuGraphEventRecordNodeSetEvent)(hNode, event) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeSetEvent)(__pyx_v_hNode, __pyx_v_event); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5431, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5432 * raise RuntimeError('Function "cuGraphEventRecordNodeSetEvent" not found') * err = ( __cuGraphEventRecordNodeSetEvent)(hNode, event) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddEventWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5425 * return err * * cdef CUresult _cuGraphEventRecordNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeSetEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphEventRecordNodeSetEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5434 * return err * * cdef CUresult _cuGraphAddEventWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddEventWaitNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddEventWaitNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUevent __pyx_v_event) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddEventWaitNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5436 * cdef CUresult _cuGraphAddEventWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddEventWaitNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddEventWaitNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5436, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5437 * global __cuGraphAddEventWaitNode * cuPythonInit() * if __cuGraphAddEventWaitNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddEventWaitNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventWaitNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5438 * cuPythonInit() * if __cuGraphAddEventWaitNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddEventWaitNode" not found') * err = ( __cuGraphAddEventWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, event) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5439 * if __cuGraphAddEventWaitNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddEventWaitNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddEventWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, event) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddEventWaitNode}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5439, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5439, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5438 * cuPythonInit() * if __cuGraphAddEventWaitNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddEventWaitNode" not found') * err = ( __cuGraphAddEventWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, event) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5437 * global __cuGraphAddEventWaitNode * cuPythonInit() * if __cuGraphAddEventWaitNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddEventWaitNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5440 * with gil: * raise RuntimeError('Function "cuGraphAddEventWaitNode" not found') * err = ( __cuGraphAddEventWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, event) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventWaitNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_event); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5440, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5441 * raise RuntimeError('Function "cuGraphAddEventWaitNode" not found') * err = ( __cuGraphAddEventWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, event) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphEventWaitNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5434 * return err * * cdef CUresult _cuGraphAddEventWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddEventWaitNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddEventWaitNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5443 * return err * * cdef CUresult _cuGraphEventWaitNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeGetEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventWaitNodeGetEvent(CUgraphNode __pyx_v_hNode, CUevent *__pyx_v_event_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphEventWaitNodeGetEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5445 * cdef CUresult _cuGraphEventWaitNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphEventWaitNodeGetEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphEventWaitNodeGetEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5445, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5446 * global __cuGraphEventWaitNodeGetEvent * cuPythonInit() * if __cuGraphEventWaitNodeGetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeGetEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeGetEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5447 * cuPythonInit() * if __cuGraphEventWaitNodeGetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventWaitNodeGetEvent" not found') * err = ( __cuGraphEventWaitNodeGetEvent)(hNode, event_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5448 * if __cuGraphEventWaitNodeGetEvent == NULL: * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeGetEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphEventWaitNodeGetEvent)(hNode, event_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphEventWaitNodeGet}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5448, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5448, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5447 * cuPythonInit() * if __cuGraphEventWaitNodeGetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventWaitNodeGetEvent" not found') * err = ( __cuGraphEventWaitNodeGetEvent)(hNode, event_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5446 * global __cuGraphEventWaitNodeGetEvent * cuPythonInit() * if __cuGraphEventWaitNodeGetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeGetEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5449 * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeGetEvent" not found') * err = ( __cuGraphEventWaitNodeGetEvent)(hNode, event_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUevent *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeGetEvent)(__pyx_v_hNode, __pyx_v_event_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5449, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5450 * raise RuntimeError('Function "cuGraphEventWaitNodeGetEvent" not found') * err = ( __cuGraphEventWaitNodeGetEvent)(hNode, event_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphEventWaitNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5443 * return err * * cdef CUresult _cuGraphEventWaitNodeGetEvent(CUgraphNode hNode, CUevent* event_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeGetEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphEventWaitNodeGetEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5452 * return err * * cdef CUresult _cuGraphEventWaitNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeSetEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventWaitNodeSetEvent(CUgraphNode __pyx_v_hNode, CUevent __pyx_v_event) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphEventWaitNodeSetEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5454 * cdef CUresult _cuGraphEventWaitNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphEventWaitNodeSetEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphEventWaitNodeSetEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5454, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5455 * global __cuGraphEventWaitNodeSetEvent * cuPythonInit() * if __cuGraphEventWaitNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeSetEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeSetEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5456 * cuPythonInit() * if __cuGraphEventWaitNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventWaitNodeSetEvent" not found') * err = ( __cuGraphEventWaitNodeSetEvent)(hNode, event) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5457 * if __cuGraphEventWaitNodeSetEvent == NULL: * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeSetEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphEventWaitNodeSetEvent)(hNode, event) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphEventWaitNodeSet}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5457, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5457, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5456 * cuPythonInit() * if __cuGraphEventWaitNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphEventWaitNodeSetEvent" not found') * err = ( __cuGraphEventWaitNodeSetEvent)(hNode, event) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5455 * global __cuGraphEventWaitNodeSetEvent * cuPythonInit() * if __cuGraphEventWaitNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeSetEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5458 * with gil: * raise RuntimeError('Function "cuGraphEventWaitNodeSetEvent" not found') * err = ( __cuGraphEventWaitNodeSetEvent)(hNode, event) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeSetEvent)(__pyx_v_hNode, __pyx_v_event); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5458, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5459 * raise RuntimeError('Function "cuGraphEventWaitNodeSetEvent" not found') * err = ( __cuGraphEventWaitNodeSetEvent)(hNode, event) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddExternalSemaphoresSignalNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5452 * return err * * cdef CUresult _cuGraphEventWaitNodeSetEvent(CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeSetEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphEventWaitNodeSetEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5461 * return err * * cdef CUresult _cuGraphAddExternalSemaphoresSignalNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresSignalNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddExternalSemaphoresSignalNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddExternalSemaphoresSignalNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5463 * cdef CUresult _cuGraphAddExternalSemaphoresSignalNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddExternalSemaphoresSignalNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddExternalSemaphoresSignalNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5463, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5464 * global __cuGraphAddExternalSemaphoresSignalNode * cuPythonInit() * if __cuGraphAddExternalSemaphoresSignalNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresSignalNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresSignalNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5465 * cuPythonInit() * if __cuGraphAddExternalSemaphoresSignalNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddExternalSemaphoresSignalNode" not found') * err = ( __cuGraphAddExternalSemaphoresSignalNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5466 * if __cuGraphAddExternalSemaphoresSignalNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresSignalNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddExternalSemaphoresSignalNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddExternalSemap}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5466, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5466, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5465 * cuPythonInit() * if __cuGraphAddExternalSemaphoresSignalNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddExternalSemaphoresSignalNode" not found') * err = ( __cuGraphAddExternalSemaphoresSignalNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5464 * global __cuGraphAddExternalSemaphoresSignalNode * cuPythonInit() * if __cuGraphAddExternalSemaphoresSignalNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresSignalNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5467 * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresSignalNode" not found') * err = ( __cuGraphAddExternalSemaphoresSignalNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresSignalNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5467, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5468 * raise RuntimeError('Function "cuGraphAddExternalSemaphoresSignalNode" not found') * err = ( __cuGraphAddExternalSemaphoresSignalNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExternalSemaphoresSignalNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5461 * return err * * cdef CUresult _cuGraphAddExternalSemaphoresSignalNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresSignalNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddExternalSemaphoresSignalNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5470 * return err * * cdef CUresult _cuGraphExternalSemaphoresSignalNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresSignalNodeGetParams(CUgraphNode __pyx_v_hNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS *__pyx_v_params_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExternalSemaphoresSignalNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5472 * cdef CUresult _cuGraphExternalSemaphoresSignalNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExternalSemaphoresSignalNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExternalSemaphoresSignalNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5472, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5473 * global __cuGraphExternalSemaphoresSignalNodeGetParams * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5474 * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeGetParams)(hNode, params_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5475 * if __cuGraphExternalSemaphoresSignalNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExternalSemaphoresSignalNodeGetParams)(hNode, params_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExternalSemaphor}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5475, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5475, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5474 * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeGetParams)(hNode, params_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5473 * global __cuGraphExternalSemaphoresSignalNodeGetParams * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5476 * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeGetParams)(hNode, params_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeGetParams)(__pyx_v_hNode, __pyx_v_params_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5476, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5477 * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeGetParams)(hNode, params_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExternalSemaphoresSignalNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5470 * return err * * cdef CUresult _cuGraphExternalSemaphoresSignalNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExternalSemaphoresSignalNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5479 * return err * * cdef CUresult _cuGraphExternalSemaphoresSignalNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresSignalNodeSetParams(CUgraphNode __pyx_v_hNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExternalSemaphoresSignalNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5481 * cdef CUresult _cuGraphExternalSemaphoresSignalNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExternalSemaphoresSignalNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExternalSemaphoresSignalNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5481, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5482 * global __cuGraphExternalSemaphoresSignalNodeSetParams * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5483 * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeSetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5484 * if __cuGraphExternalSemaphoresSignalNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExternalSemaphoresSignalNodeSetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExternalSemaphor_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5484, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5484, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5483 * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeSetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5482 * global __cuGraphExternalSemaphoresSignalNodeSetParams * cuPythonInit() * if __cuGraphExternalSemaphoresSignalNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5485 * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeSetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeSetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5485, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5486 * raise RuntimeError('Function "cuGraphExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresSignalNodeSetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddExternalSemaphoresWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5479 * return err * * cdef CUresult _cuGraphExternalSemaphoresSignalNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExternalSemaphoresSignalNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5488 * return err * * cdef CUresult _cuGraphAddExternalSemaphoresWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresWaitNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddExternalSemaphoresWaitNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddExternalSemaphoresWaitNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5490 * cdef CUresult _cuGraphAddExternalSemaphoresWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddExternalSemaphoresWaitNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddExternalSemaphoresWaitNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5490, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5491 * global __cuGraphAddExternalSemaphoresWaitNode * cuPythonInit() * if __cuGraphAddExternalSemaphoresWaitNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresWaitNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresWaitNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5492 * cuPythonInit() * if __cuGraphAddExternalSemaphoresWaitNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddExternalSemaphoresWaitNode" not found') * err = ( __cuGraphAddExternalSemaphoresWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5493 * if __cuGraphAddExternalSemaphoresWaitNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresWaitNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddExternalSemaphoresWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddExternalSemap_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5493, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5493, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5492 * cuPythonInit() * if __cuGraphAddExternalSemaphoresWaitNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddExternalSemaphoresWaitNode" not found') * err = ( __cuGraphAddExternalSemaphoresWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5491 * global __cuGraphAddExternalSemaphoresWaitNode * cuPythonInit() * if __cuGraphAddExternalSemaphoresWaitNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresWaitNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5494 * with gil: * raise RuntimeError('Function "cuGraphAddExternalSemaphoresWaitNode" not found') * err = ( __cuGraphAddExternalSemaphoresWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresWaitNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5494, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5495 * raise RuntimeError('Function "cuGraphAddExternalSemaphoresWaitNode" not found') * err = ( __cuGraphAddExternalSemaphoresWaitNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExternalSemaphoresWaitNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5488 * return err * * cdef CUresult _cuGraphAddExternalSemaphoresWaitNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresWaitNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddExternalSemaphoresWaitNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5497 * return err * * cdef CUresult _cuGraphExternalSemaphoresWaitNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresWaitNodeGetParams(CUgraphNode __pyx_v_hNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS *__pyx_v_params_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExternalSemaphoresWaitNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5499 * cdef CUresult _cuGraphExternalSemaphoresWaitNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExternalSemaphoresWaitNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExternalSemaphoresWaitNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5499, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5500 * global __cuGraphExternalSemaphoresWaitNodeGetParams * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5501 * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeGetParams)(hNode, params_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5502 * if __cuGraphExternalSemaphoresWaitNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExternalSemaphoresWaitNodeGetParams)(hNode, params_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExternalSemaphor_3}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5502, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5502, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5501 * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeGetParams)(hNode, params_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5500 * global __cuGraphExternalSemaphoresWaitNodeGetParams * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5503 * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeGetParams)(hNode, params_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeGetParams)(__pyx_v_hNode, __pyx_v_params_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5503, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5504 * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeGetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeGetParams)(hNode, params_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExternalSemaphoresWaitNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5497 * return err * * cdef CUresult _cuGraphExternalSemaphoresWaitNodeGetParams(CUgraphNode hNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExternalSemaphoresWaitNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5506 * return err * * cdef CUresult _cuGraphExternalSemaphoresWaitNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresWaitNodeSetParams(CUgraphNode __pyx_v_hNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExternalSemaphoresWaitNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5508 * cdef CUresult _cuGraphExternalSemaphoresWaitNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExternalSemaphoresWaitNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExternalSemaphoresWaitNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5508, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5509 * global __cuGraphExternalSemaphoresWaitNodeSetParams * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5510 * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeSetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5511 * if __cuGraphExternalSemaphoresWaitNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExternalSemaphoresWaitNodeSetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExternalSemaphor_4}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5511, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5511, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5510 * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeSetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5509 * global __cuGraphExternalSemaphoresWaitNodeSetParams * cuPythonInit() * if __cuGraphExternalSemaphoresWaitNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5512 * with gil: * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeSetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeSetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5512, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5513 * raise RuntimeError('Function "cuGraphExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExternalSemaphoresWaitNodeSetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddBatchMemOpNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5506 * return err * * cdef CUresult _cuGraphExternalSemaphoresWaitNodeSetParams(CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExternalSemaphoresWaitNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5515 * return err * * cdef CUresult _cuGraphAddBatchMemOpNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddBatchMemOpNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddBatchMemOpNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_BATCH_MEM_OP_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddBatchMemOpNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5517 * cdef CUresult _cuGraphAddBatchMemOpNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddBatchMemOpNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddBatchMemOpNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5517, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5518 * global __cuGraphAddBatchMemOpNode * cuPythonInit() * if __cuGraphAddBatchMemOpNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddBatchMemOpNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddBatchMemOpNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5519 * cuPythonInit() * if __cuGraphAddBatchMemOpNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddBatchMemOpNode" not found') * err = ( __cuGraphAddBatchMemOpNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5520 * if __cuGraphAddBatchMemOpNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddBatchMemOpNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddBatchMemOpNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddBatchMemOpNod}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5520, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5520, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5519 * cuPythonInit() * if __cuGraphAddBatchMemOpNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddBatchMemOpNode" not found') * err = ( __cuGraphAddBatchMemOpNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5518 * global __cuGraphAddBatchMemOpNode * cuPythonInit() * if __cuGraphAddBatchMemOpNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddBatchMemOpNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5521 * with gil: * raise RuntimeError('Function "cuGraphAddBatchMemOpNode" not found') * err = ( __cuGraphAddBatchMemOpNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_BATCH_MEM_OP_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddBatchMemOpNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5521, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5522 * raise RuntimeError('Function "cuGraphAddBatchMemOpNode" not found') * err = ( __cuGraphAddBatchMemOpNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphBatchMemOpNodeGetParams(CUgraphNode hNode, CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5515 * return err * * cdef CUresult _cuGraphAddBatchMemOpNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddBatchMemOpNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddBatchMemOpNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5524 * return err * * cdef CUresult _cuGraphBatchMemOpNodeGetParams(CUgraphNode hNode, CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphBatchMemOpNodeGetParams(CUgraphNode __pyx_v_hNode, CUDA_BATCH_MEM_OP_NODE_PARAMS *__pyx_v_nodeParams_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphBatchMemOpNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5526 * cdef CUresult _cuGraphBatchMemOpNodeGetParams(CUgraphNode hNode, CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphBatchMemOpNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphBatchMemOpNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5526, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5527 * global __cuGraphBatchMemOpNodeGetParams * cuPythonInit() * if __cuGraphBatchMemOpNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5528 * cuPythonInit() * if __cuGraphBatchMemOpNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphBatchMemOpNodeGetParams" not found') * err = ( __cuGraphBatchMemOpNodeGetParams)(hNode, nodeParams_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5529 * if __cuGraphBatchMemOpNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphBatchMemOpNodeGetParams)(hNode, nodeParams_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphBatchMemOpNodeGe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5529, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5529, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5528 * cuPythonInit() * if __cuGraphBatchMemOpNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphBatchMemOpNodeGetParams" not found') * err = ( __cuGraphBatchMemOpNodeGetParams)(hNode, nodeParams_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5527 * global __cuGraphBatchMemOpNodeGetParams * cuPythonInit() * if __cuGraphBatchMemOpNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5530 * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeGetParams" not found') * err = ( __cuGraphBatchMemOpNodeGetParams)(hNode, nodeParams_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_BATCH_MEM_OP_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeGetParams)(__pyx_v_hNode, __pyx_v_nodeParams_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5530, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5531 * raise RuntimeError('Function "cuGraphBatchMemOpNodeGetParams" not found') * err = ( __cuGraphBatchMemOpNodeGetParams)(hNode, nodeParams_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphBatchMemOpNodeSetParams(CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5524 * return err * * cdef CUresult _cuGraphBatchMemOpNodeGetParams(CUgraphNode hNode, CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphBatchMemOpNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5533 * return err * * cdef CUresult _cuGraphBatchMemOpNodeSetParams(CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphBatchMemOpNodeSetParams(CUgraphNode __pyx_v_hNode, CUDA_BATCH_MEM_OP_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphBatchMemOpNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5535 * cdef CUresult _cuGraphBatchMemOpNodeSetParams(CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphBatchMemOpNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphBatchMemOpNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5535, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5536 * global __cuGraphBatchMemOpNodeSetParams * cuPythonInit() * if __cuGraphBatchMemOpNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5537 * cuPythonInit() * if __cuGraphBatchMemOpNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphBatchMemOpNodeSetParams" not found') * err = ( __cuGraphBatchMemOpNodeSetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5538 * if __cuGraphBatchMemOpNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphBatchMemOpNodeSetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphBatchMemOpNodeSe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5538, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5538, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5537 * cuPythonInit() * if __cuGraphBatchMemOpNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphBatchMemOpNodeSetParams" not found') * err = ( __cuGraphBatchMemOpNodeSetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5536 * global __cuGraphBatchMemOpNodeSetParams * cuPythonInit() * if __cuGraphBatchMemOpNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5539 * with gil: * raise RuntimeError('Function "cuGraphBatchMemOpNodeSetParams" not found') * err = ( __cuGraphBatchMemOpNodeSetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_BATCH_MEM_OP_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeSetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5539, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5540 * raise RuntimeError('Function "cuGraphBatchMemOpNodeSetParams" not found') * err = ( __cuGraphBatchMemOpNodeSetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecBatchMemOpNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5533 * return err * * cdef CUresult _cuGraphBatchMemOpNodeSetParams(CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphBatchMemOpNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5542 * return err * * cdef CUresult _cuGraphExecBatchMemOpNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecBatchMemOpNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecBatchMemOpNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUDA_BATCH_MEM_OP_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecBatchMemOpNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5544 * cdef CUresult _cuGraphExecBatchMemOpNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecBatchMemOpNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecBatchMemOpNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5544, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5545 * global __cuGraphExecBatchMemOpNodeSetParams * cuPythonInit() * if __cuGraphExecBatchMemOpNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecBatchMemOpNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecBatchMemOpNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5546 * cuPythonInit() * if __cuGraphExecBatchMemOpNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecBatchMemOpNodeSetParams" not found') * err = ( __cuGraphExecBatchMemOpNodeSetParams)(hGraphExec, hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5547 * if __cuGraphExecBatchMemOpNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecBatchMemOpNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecBatchMemOpNodeSetParams)(hGraphExec, hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecBatchMemOpNo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5547, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5547, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5546 * cuPythonInit() * if __cuGraphExecBatchMemOpNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecBatchMemOpNodeSetParams" not found') * err = ( __cuGraphExecBatchMemOpNodeSetParams)(hGraphExec, hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5545 * global __cuGraphExecBatchMemOpNodeSetParams * cuPythonInit() * if __cuGraphExecBatchMemOpNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecBatchMemOpNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5548 * with gil: * raise RuntimeError('Function "cuGraphExecBatchMemOpNodeSetParams" not found') * err = ( __cuGraphExecBatchMemOpNodeSetParams)(hGraphExec, hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUDA_BATCH_MEM_OP_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecBatchMemOpNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5548, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5549 * raise RuntimeError('Function "cuGraphExecBatchMemOpNodeSetParams" not found') * err = ( __cuGraphExecBatchMemOpNodeSetParams)(hGraphExec, hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddMemAllocNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUDA_MEM_ALLOC_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5542 * return err * * cdef CUresult _cuGraphExecBatchMemOpNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_BATCH_MEM_OP_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecBatchMemOpNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecBatchMemOpNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5551 * return err * * cdef CUresult _cuGraphAddMemAllocNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUDA_MEM_ALLOC_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemAllocNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemAllocNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUDA_MEM_ALLOC_NODE_PARAMS *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddMemAllocNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5553 * cdef CUresult _cuGraphAddMemAllocNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUDA_MEM_ALLOC_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddMemAllocNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddMemAllocNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5553, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5554 * global __cuGraphAddMemAllocNode * cuPythonInit() * if __cuGraphAddMemAllocNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemAllocNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemAllocNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5555 * cuPythonInit() * if __cuGraphAddMemAllocNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemAllocNode" not found') * err = ( __cuGraphAddMemAllocNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5556 * if __cuGraphAddMemAllocNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddMemAllocNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddMemAllocNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddMemAllocNode}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5556, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5556, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5555 * cuPythonInit() * if __cuGraphAddMemAllocNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemAllocNode" not found') * err = ( __cuGraphAddMemAllocNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5554 * global __cuGraphAddMemAllocNode * cuPythonInit() * if __cuGraphAddMemAllocNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemAllocNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5557 * with gil: * raise RuntimeError('Function "cuGraphAddMemAllocNode" not found') * err = ( __cuGraphAddMemAllocNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_MEM_ALLOC_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemAllocNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5557, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5558 * raise RuntimeError('Function "cuGraphAddMemAllocNode" not found') * err = ( __cuGraphAddMemAllocNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphMemAllocNodeGetParams(CUgraphNode hNode, CUDA_MEM_ALLOC_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5551 * return err * * cdef CUresult _cuGraphAddMemAllocNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUDA_MEM_ALLOC_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemAllocNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddMemAllocNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5560 * return err * * cdef CUresult _cuGraphMemAllocNodeGetParams(CUgraphNode hNode, CUDA_MEM_ALLOC_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemAllocNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemAllocNodeGetParams(CUgraphNode __pyx_v_hNode, CUDA_MEM_ALLOC_NODE_PARAMS *__pyx_v_params_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphMemAllocNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5562 * cdef CUresult _cuGraphMemAllocNodeGetParams(CUgraphNode hNode, CUDA_MEM_ALLOC_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphMemAllocNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphMemAllocNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5562, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5563 * global __cuGraphMemAllocNodeGetParams * cuPythonInit() * if __cuGraphMemAllocNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemAllocNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemAllocNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5564 * cuPythonInit() * if __cuGraphMemAllocNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemAllocNodeGetParams" not found') * err = ( __cuGraphMemAllocNodeGetParams)(hNode, params_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5565 * if __cuGraphMemAllocNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphMemAllocNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphMemAllocNodeGetParams)(hNode, params_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphMemAllocNodeGetP}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5565, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5565, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5564 * cuPythonInit() * if __cuGraphMemAllocNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemAllocNodeGetParams" not found') * err = ( __cuGraphMemAllocNodeGetParams)(hNode, params_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5563 * global __cuGraphMemAllocNodeGetParams * cuPythonInit() * if __cuGraphMemAllocNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemAllocNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5566 * with gil: * raise RuntimeError('Function "cuGraphMemAllocNodeGetParams" not found') * err = ( __cuGraphMemAllocNodeGetParams)(hNode, params_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUDA_MEM_ALLOC_NODE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemAllocNodeGetParams)(__pyx_v_hNode, __pyx_v_params_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5566, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5567 * raise RuntimeError('Function "cuGraphMemAllocNodeGetParams" not found') * err = ( __cuGraphMemAllocNodeGetParams)(hNode, params_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddMemFreeNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5560 * return err * * cdef CUresult _cuGraphMemAllocNodeGetParams(CUgraphNode hNode, CUDA_MEM_ALLOC_NODE_PARAMS* params_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemAllocNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphMemAllocNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5569 * return err * * cdef CUresult _cuGraphAddMemFreeNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemFreeNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemFreeNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUdeviceptr __pyx_v_dptr) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddMemFreeNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5571 * cdef CUresult _cuGraphAddMemFreeNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddMemFreeNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddMemFreeNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5571, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5572 * global __cuGraphAddMemFreeNode * cuPythonInit() * if __cuGraphAddMemFreeNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemFreeNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemFreeNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5573 * cuPythonInit() * if __cuGraphAddMemFreeNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemFreeNode" not found') * err = ( __cuGraphAddMemFreeNode)(phGraphNode, hGraph, dependencies, numDependencies, dptr) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5574 * if __cuGraphAddMemFreeNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddMemFreeNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddMemFreeNode)(phGraphNode, hGraph, dependencies, numDependencies, dptr) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddMemFreeNode_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5574, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5574, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5573 * cuPythonInit() * if __cuGraphAddMemFreeNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddMemFreeNode" not found') * err = ( __cuGraphAddMemFreeNode)(phGraphNode, hGraph, dependencies, numDependencies, dptr) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5572 * global __cuGraphAddMemFreeNode * cuPythonInit() * if __cuGraphAddMemFreeNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddMemFreeNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5575 * with gil: * raise RuntimeError('Function "cuGraphAddMemFreeNode" not found') * err = ( __cuGraphAddMemFreeNode)(phGraphNode, hGraph, dependencies, numDependencies, dptr) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUdeviceptr))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemFreeNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_dptr); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5575, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5576 * raise RuntimeError('Function "cuGraphAddMemFreeNode" not found') * err = ( __cuGraphAddMemFreeNode)(phGraphNode, hGraph, dependencies, numDependencies, dptr) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphMemFreeNodeGetParams(CUgraphNode hNode, CUdeviceptr* dptr_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5569 * return err * * cdef CUresult _cuGraphAddMemFreeNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUdeviceptr dptr) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddMemFreeNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddMemFreeNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5578 * return err * * cdef CUresult _cuGraphMemFreeNodeGetParams(CUgraphNode hNode, CUdeviceptr* dptr_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemFreeNodeGetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemFreeNodeGetParams(CUgraphNode __pyx_v_hNode, CUdeviceptr *__pyx_v_dptr_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphMemFreeNodeGetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5580 * cdef CUresult _cuGraphMemFreeNodeGetParams(CUgraphNode hNode, CUdeviceptr* dptr_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphMemFreeNodeGetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphMemFreeNodeGetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5580, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5581 * global __cuGraphMemFreeNodeGetParams * cuPythonInit() * if __cuGraphMemFreeNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemFreeNodeGetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemFreeNodeGetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5582 * cuPythonInit() * if __cuGraphMemFreeNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemFreeNodeGetParams" not found') * err = ( __cuGraphMemFreeNodeGetParams)(hNode, dptr_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5583 * if __cuGraphMemFreeNodeGetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphMemFreeNodeGetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphMemFreeNodeGetParams)(hNode, dptr_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphMemFreeNodeGetPa}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5583, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5583, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5582 * cuPythonInit() * if __cuGraphMemFreeNodeGetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphMemFreeNodeGetParams" not found') * err = ( __cuGraphMemFreeNodeGetParams)(hNode, dptr_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5581 * global __cuGraphMemFreeNodeGetParams * cuPythonInit() * if __cuGraphMemFreeNodeGetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphMemFreeNodeGetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5584 * with gil: * raise RuntimeError('Function "cuGraphMemFreeNodeGetParams" not found') * err = ( __cuGraphMemFreeNodeGetParams)(hNode, dptr_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUdeviceptr *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemFreeNodeGetParams)(__pyx_v_hNode, __pyx_v_dptr_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5584, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5585 * raise RuntimeError('Function "cuGraphMemFreeNodeGetParams" not found') * err = ( __cuGraphMemFreeNodeGetParams)(hNode, dptr_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGraphMemTrim(CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5578 * return err * * cdef CUresult _cuGraphMemFreeNodeGetParams(CUgraphNode hNode, CUdeviceptr* dptr_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphMemFreeNodeGetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphMemFreeNodeGetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5587 * return err * * cdef CUresult _cuDeviceGraphMemTrim(CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGraphMemTrim * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGraphMemTrim(CUdevice __pyx_v_device) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGraphMemTrim", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5589 * cdef CUresult _cuDeviceGraphMemTrim(CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGraphMemTrim * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGraphMemTrim == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5589, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5590 * global __cuDeviceGraphMemTrim * cuPythonInit() * if __cuDeviceGraphMemTrim == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGraphMemTrim" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGraphMemTrim == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5591 * cuPythonInit() * if __cuDeviceGraphMemTrim == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGraphMemTrim" not found') * err = ( __cuDeviceGraphMemTrim)(device) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5592 * if __cuDeviceGraphMemTrim == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGraphMemTrim" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGraphMemTrim)(device) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGraphMemTrim_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5592, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5592, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5591 * cuPythonInit() * if __cuDeviceGraphMemTrim == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGraphMemTrim" not found') * err = ( __cuDeviceGraphMemTrim)(device) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5590 * global __cuDeviceGraphMemTrim * cuPythonInit() * if __cuDeviceGraphMemTrim == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGraphMemTrim" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5593 * with gil: * raise RuntimeError('Function "cuDeviceGraphMemTrim" not found') * err = ( __cuDeviceGraphMemTrim)(device) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGraphMemTrim)(__pyx_v_device); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5593, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5594 * raise RuntimeError('Function "cuDeviceGraphMemTrim" not found') * err = ( __cuDeviceGraphMemTrim)(device) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5587 * return err * * cdef CUresult _cuDeviceGraphMemTrim(CUdevice device) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGraphMemTrim * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGraphMemTrim", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5596 * return err * * cdef CUresult _cuDeviceGetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetGraphMemAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetGraphMemAttribute(CUdevice __pyx_v_device, CUgraphMem_attribute __pyx_v_attr, void *__pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetGraphMemAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5598 * cdef CUresult _cuDeviceGetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetGraphMemAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetGraphMemAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5598, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5599 * global __cuDeviceGetGraphMemAttribute * cuPythonInit() * if __cuDeviceGetGraphMemAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetGraphMemAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetGraphMemAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5600 * cuPythonInit() * if __cuDeviceGetGraphMemAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetGraphMemAttribute" not found') * err = ( __cuDeviceGetGraphMemAttribute)(device, attr, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5601 * if __cuDeviceGetGraphMemAttribute == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetGraphMemAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetGraphMemAttribute)(device, attr, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetGraphMemAttr}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5601, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5601, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5600 * cuPythonInit() * if __cuDeviceGetGraphMemAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetGraphMemAttribute" not found') * err = ( __cuDeviceGetGraphMemAttribute)(device, attr, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5599 * global __cuDeviceGetGraphMemAttribute * cuPythonInit() * if __cuDeviceGetGraphMemAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetGraphMemAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5602 * with gil: * raise RuntimeError('Function "cuDeviceGetGraphMemAttribute" not found') * err = ( __cuDeviceGetGraphMemAttribute)(device, attr, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, CUgraphMem_attribute, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetGraphMemAttribute)(__pyx_v_device, __pyx_v_attr, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5602, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5603 * raise RuntimeError('Function "cuDeviceGetGraphMemAttribute" not found') * err = ( __cuDeviceGetGraphMemAttribute)(device, attr, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceSetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5596 * return err * * cdef CUresult _cuDeviceGetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetGraphMemAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetGraphMemAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5605 * return err * * cdef CUresult _cuDeviceSetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceSetGraphMemAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceSetGraphMemAttribute(CUdevice __pyx_v_device, CUgraphMem_attribute __pyx_v_attr, void *__pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceSetGraphMemAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5607 * cdef CUresult _cuDeviceSetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceSetGraphMemAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceSetGraphMemAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5607, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5608 * global __cuDeviceSetGraphMemAttribute * cuPythonInit() * if __cuDeviceSetGraphMemAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceSetGraphMemAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetGraphMemAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5609 * cuPythonInit() * if __cuDeviceSetGraphMemAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceSetGraphMemAttribute" not found') * err = ( __cuDeviceSetGraphMemAttribute)(device, attr, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5610 * if __cuDeviceSetGraphMemAttribute == NULL: * with gil: * raise RuntimeError('Function "cuDeviceSetGraphMemAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceSetGraphMemAttribute)(device, attr, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceSetGraphMemAttr}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5610, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5610, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5609 * cuPythonInit() * if __cuDeviceSetGraphMemAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceSetGraphMemAttribute" not found') * err = ( __cuDeviceSetGraphMemAttribute)(device, attr, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5608 * global __cuDeviceSetGraphMemAttribute * cuPythonInit() * if __cuDeviceSetGraphMemAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceSetGraphMemAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5611 * with gil: * raise RuntimeError('Function "cuDeviceSetGraphMemAttribute" not found') * err = ( __cuDeviceSetGraphMemAttribute)(device, attr, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, CUgraphMem_attribute, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetGraphMemAttribute)(__pyx_v_device, __pyx_v_attr, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5611, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5612 * raise RuntimeError('Function "cuDeviceSetGraphMemAttribute" not found') * err = ( __cuDeviceSetGraphMemAttribute)(device, attr, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphClone(CUgraph* phGraphClone, CUgraph originalGraph) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5605 * return err * * cdef CUresult _cuDeviceSetGraphMemAttribute(CUdevice device, CUgraphMem_attribute attr, void* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceSetGraphMemAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceSetGraphMemAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5614 * return err * * cdef CUresult _cuGraphClone(CUgraph* phGraphClone, CUgraph originalGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphClone * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphClone(CUgraph *__pyx_v_phGraphClone, CUgraph __pyx_v_originalGraph) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphClone", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5616 * cdef CUresult _cuGraphClone(CUgraph* phGraphClone, CUgraph originalGraph) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphClone * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphClone == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5616, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5617 * global __cuGraphClone * cuPythonInit() * if __cuGraphClone == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphClone" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphClone == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5618 * cuPythonInit() * if __cuGraphClone == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphClone" not found') * err = ( __cuGraphClone)(phGraphClone, originalGraph) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5619 * if __cuGraphClone == NULL: * with gil: * raise RuntimeError('Function "cuGraphClone" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphClone)(phGraphClone, originalGraph) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphClone_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5619, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5619, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5618 * cuPythonInit() * if __cuGraphClone == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphClone" not found') * err = ( __cuGraphClone)(phGraphClone, originalGraph) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5617 * global __cuGraphClone * cuPythonInit() * if __cuGraphClone == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphClone" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5620 * with gil: * raise RuntimeError('Function "cuGraphClone" not found') * err = ( __cuGraphClone)(phGraphClone, originalGraph) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph *, CUgraph))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphClone)(__pyx_v_phGraphClone, __pyx_v_originalGraph); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5620, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5621 * raise RuntimeError('Function "cuGraphClone" not found') * err = ( __cuGraphClone)(phGraphClone, originalGraph) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeFindInClone(CUgraphNode* phNode, CUgraphNode hOriginalNode, CUgraph hClonedGraph) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5614 * return err * * cdef CUresult _cuGraphClone(CUgraph* phGraphClone, CUgraph originalGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphClone * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphClone", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5623 * return err * * cdef CUresult _cuGraphNodeFindInClone(CUgraphNode* phNode, CUgraphNode hOriginalNode, CUgraph hClonedGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeFindInClone * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeFindInClone(CUgraphNode *__pyx_v_phNode, CUgraphNode __pyx_v_hOriginalNode, CUgraph __pyx_v_hClonedGraph) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeFindInClone", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5625 * cdef CUresult _cuGraphNodeFindInClone(CUgraphNode* phNode, CUgraphNode hOriginalNode, CUgraph hClonedGraph) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeFindInClone * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeFindInClone == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5625, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5626 * global __cuGraphNodeFindInClone * cuPythonInit() * if __cuGraphNodeFindInClone == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeFindInClone" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeFindInClone == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5627 * cuPythonInit() * if __cuGraphNodeFindInClone == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeFindInClone" not found') * err = ( __cuGraphNodeFindInClone)(phNode, hOriginalNode, hClonedGraph) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5628 * if __cuGraphNodeFindInClone == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeFindInClone" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeFindInClone)(phNode, hOriginalNode, hClonedGraph) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeFindInClone}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5628, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5628, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5627 * cuPythonInit() * if __cuGraphNodeFindInClone == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeFindInClone" not found') * err = ( __cuGraphNodeFindInClone)(phNode, hOriginalNode, hClonedGraph) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5626 * global __cuGraphNodeFindInClone * cuPythonInit() * if __cuGraphNodeFindInClone == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeFindInClone" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5629 * with gil: * raise RuntimeError('Function "cuGraphNodeFindInClone" not found') * err = ( __cuGraphNodeFindInClone)(phNode, hOriginalNode, hClonedGraph) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraphNode, CUgraph))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeFindInClone)(__pyx_v_phNode, __pyx_v_hOriginalNode, __pyx_v_hClonedGraph); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5629, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5630 * raise RuntimeError('Function "cuGraphNodeFindInClone" not found') * err = ( __cuGraphNodeFindInClone)(phNode, hOriginalNode, hClonedGraph) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeGetType(CUgraphNode hNode, CUgraphNodeType* typename) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5623 * return err * * cdef CUresult _cuGraphNodeFindInClone(CUgraphNode* phNode, CUgraphNode hOriginalNode, CUgraph hClonedGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeFindInClone * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeFindInClone", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5632 * return err * * cdef CUresult _cuGraphNodeGetType(CUgraphNode hNode, CUgraphNodeType* typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetType * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetType(CUgraphNode __pyx_v_hNode, CUgraphNodeType *__pyx_v_typename) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeGetType", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5634 * cdef CUresult _cuGraphNodeGetType(CUgraphNode hNode, CUgraphNodeType* typename) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeGetType * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeGetType == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5634, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5635 * global __cuGraphNodeGetType * cuPythonInit() * if __cuGraphNodeGetType == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetType" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetType == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5636 * cuPythonInit() * if __cuGraphNodeGetType == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetType" not found') * err = ( __cuGraphNodeGetType)(hNode, typename) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5637 * if __cuGraphNodeGetType == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeGetType" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeGetType)(hNode, typename) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeGetType_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5637, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5637, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5636 * cuPythonInit() * if __cuGraphNodeGetType == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetType" not found') * err = ( __cuGraphNodeGetType)(hNode, typename) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5635 * global __cuGraphNodeGetType * cuPythonInit() * if __cuGraphNodeGetType == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetType" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5638 * with gil: * raise RuntimeError('Function "cuGraphNodeGetType" not found') * err = ( __cuGraphNodeGetType)(hNode, typename) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraphNodeType *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetType)(__pyx_v_hNode, __pyx_v_typename); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5638, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5639 * raise RuntimeError('Function "cuGraphNodeGetType" not found') * err = ( __cuGraphNodeGetType)(hNode, typename) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphGetNodes(CUgraph hGraph, CUgraphNode* nodes, size_t* numNodes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5632 * return err * * cdef CUresult _cuGraphNodeGetType(CUgraphNode hNode, CUgraphNodeType* typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetType * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeGetType", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5641 * return err * * cdef CUresult _cuGraphGetNodes(CUgraph hGraph, CUgraphNode* nodes, size_t* numNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetNodes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetNodes(CUgraph __pyx_v_hGraph, CUgraphNode *__pyx_v_nodes, size_t *__pyx_v_numNodes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphGetNodes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5643 * cdef CUresult _cuGraphGetNodes(CUgraph hGraph, CUgraphNode* nodes, size_t* numNodes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphGetNodes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphGetNodes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5643, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5644 * global __cuGraphGetNodes * cuPythonInit() * if __cuGraphGetNodes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetNodes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetNodes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5645 * cuPythonInit() * if __cuGraphGetNodes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetNodes" not found') * err = ( __cuGraphGetNodes)(hGraph, nodes, numNodes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5646 * if __cuGraphGetNodes == NULL: * with gil: * raise RuntimeError('Function "cuGraphGetNodes" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphGetNodes)(hGraph, nodes, numNodes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphGetNodes_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5646, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5646, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5645 * cuPythonInit() * if __cuGraphGetNodes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetNodes" not found') * err = ( __cuGraphGetNodes)(hGraph, nodes, numNodes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5644 * global __cuGraphGetNodes * cuPythonInit() * if __cuGraphGetNodes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetNodes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5647 * with gil: * raise RuntimeError('Function "cuGraphGetNodes" not found') * err = ( __cuGraphGetNodes)(hGraph, nodes, numNodes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetNodes)(__pyx_v_hGraph, __pyx_v_nodes, __pyx_v_numNodes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5647, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5648 * raise RuntimeError('Function "cuGraphGetNodes" not found') * err = ( __cuGraphGetNodes)(hGraph, nodes, numNodes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphGetRootNodes(CUgraph hGraph, CUgraphNode* rootNodes, size_t* numRootNodes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5641 * return err * * cdef CUresult _cuGraphGetNodes(CUgraph hGraph, CUgraphNode* nodes, size_t* numNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetNodes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphGetNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5650 * return err * * cdef CUresult _cuGraphGetRootNodes(CUgraph hGraph, CUgraphNode* rootNodes, size_t* numRootNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetRootNodes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetRootNodes(CUgraph __pyx_v_hGraph, CUgraphNode *__pyx_v_rootNodes, size_t *__pyx_v_numRootNodes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphGetRootNodes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5652 * cdef CUresult _cuGraphGetRootNodes(CUgraph hGraph, CUgraphNode* rootNodes, size_t* numRootNodes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphGetRootNodes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphGetRootNodes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5652, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5653 * global __cuGraphGetRootNodes * cuPythonInit() * if __cuGraphGetRootNodes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetRootNodes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetRootNodes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5654 * cuPythonInit() * if __cuGraphGetRootNodes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetRootNodes" not found') * err = ( __cuGraphGetRootNodes)(hGraph, rootNodes, numRootNodes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5655 * if __cuGraphGetRootNodes == NULL: * with gil: * raise RuntimeError('Function "cuGraphGetRootNodes" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphGetRootNodes)(hGraph, rootNodes, numRootNodes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphGetRootNodes_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5655, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5655, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5654 * cuPythonInit() * if __cuGraphGetRootNodes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetRootNodes" not found') * err = ( __cuGraphGetRootNodes)(hGraph, rootNodes, numRootNodes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5653 * global __cuGraphGetRootNodes * cuPythonInit() * if __cuGraphGetRootNodes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetRootNodes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5656 * with gil: * raise RuntimeError('Function "cuGraphGetRootNodes" not found') * err = ( __cuGraphGetRootNodes)(hGraph, rootNodes, numRootNodes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetRootNodes)(__pyx_v_hGraph, __pyx_v_rootNodes, __pyx_v_numRootNodes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5656, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5657 * raise RuntimeError('Function "cuGraphGetRootNodes" not found') * err = ( __cuGraphGetRootNodes)(hGraph, rootNodes, numRootNodes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphGetEdges(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5650 * return err * * cdef CUresult _cuGraphGetRootNodes(CUgraph hGraph, CUgraphNode* rootNodes, size_t* numRootNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetRootNodes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphGetRootNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5659 * return err * * cdef CUresult _cuGraphGetEdges(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetEdges * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetEdges(CUgraph __pyx_v_hGraph, CUgraphNode *__pyx_v_from_, CUgraphNode *__pyx_v_to, size_t *__pyx_v_numEdges) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphGetEdges", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5661 * cdef CUresult _cuGraphGetEdges(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphGetEdges * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphGetEdges == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5661, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5662 * global __cuGraphGetEdges * cuPythonInit() * if __cuGraphGetEdges == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetEdges" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5663 * cuPythonInit() * if __cuGraphGetEdges == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetEdges" not found') * err = ( __cuGraphGetEdges)(hGraph, from_, to, numEdges) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5664 * if __cuGraphGetEdges == NULL: * with gil: * raise RuntimeError('Function "cuGraphGetEdges" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphGetEdges)(hGraph, from_, to, numEdges) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphGetEdges_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5664, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5664, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5663 * cuPythonInit() * if __cuGraphGetEdges == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetEdges" not found') * err = ( __cuGraphGetEdges)(hGraph, from_, to, numEdges) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5662 * global __cuGraphGetEdges * cuPythonInit() * if __cuGraphGetEdges == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetEdges" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5665 * with gil: * raise RuntimeError('Function "cuGraphGetEdges" not found') * err = ( __cuGraphGetEdges)(hGraph, from_, to, numEdges) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode *, CUgraphNode *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges)(__pyx_v_hGraph, __pyx_v_from_, __pyx_v_to, __pyx_v_numEdges); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5665, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5666 * raise RuntimeError('Function "cuGraphGetEdges" not found') * err = ( __cuGraphGetEdges)(hGraph, from_, to, numEdges) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphGetEdges_v2(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, CUgraphEdgeData* edgeData, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5659 * return err * * cdef CUresult _cuGraphGetEdges(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetEdges * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphGetEdges", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5668 * return err * * cdef CUresult _cuGraphGetEdges_v2(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, CUgraphEdgeData* edgeData, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetEdges_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetEdges_v2(CUgraph __pyx_v_hGraph, CUgraphNode *__pyx_v_from_, CUgraphNode *__pyx_v_to, CUgraphEdgeData *__pyx_v_edgeData, size_t *__pyx_v_numEdges) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphGetEdges_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5670 * cdef CUresult _cuGraphGetEdges_v2(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, CUgraphEdgeData* edgeData, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphGetEdges_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphGetEdges_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5670, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5671 * global __cuGraphGetEdges_v2 * cuPythonInit() * if __cuGraphGetEdges_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetEdges_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5672 * cuPythonInit() * if __cuGraphGetEdges_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetEdges_v2" not found') * err = ( __cuGraphGetEdges_v2)(hGraph, from_, to, edgeData, numEdges) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5673 * if __cuGraphGetEdges_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphGetEdges_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphGetEdges_v2)(hGraph, from_, to, edgeData, numEdges) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphGetEdges_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5673, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5673, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5672 * cuPythonInit() * if __cuGraphGetEdges_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphGetEdges_v2" not found') * err = ( __cuGraphGetEdges_v2)(hGraph, from_, to, edgeData, numEdges) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5671 * global __cuGraphGetEdges_v2 * cuPythonInit() * if __cuGraphGetEdges_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphGetEdges_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5674 * with gil: * raise RuntimeError('Function "cuGraphGetEdges_v2" not found') * err = ( __cuGraphGetEdges_v2)(hGraph, from_, to, edgeData, numEdges) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode *, CUgraphNode *, CUgraphEdgeData *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges_v2)(__pyx_v_hGraph, __pyx_v_from_, __pyx_v_to, __pyx_v_edgeData, __pyx_v_numEdges); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5674, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5675 * raise RuntimeError('Function "cuGraphGetEdges_v2" not found') * err = ( __cuGraphGetEdges_v2)(hGraph, from_, to, edgeData, numEdges) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeGetDependencies(CUgraphNode hNode, CUgraphNode* dependencies, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5668 * return err * * cdef CUresult _cuGraphGetEdges_v2(CUgraph hGraph, CUgraphNode* from_, CUgraphNode* to, CUgraphEdgeData* edgeData, size_t* numEdges) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphGetEdges_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphGetEdges_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5677 * return err * * cdef CUresult _cuGraphNodeGetDependencies(CUgraphNode hNode, CUgraphNode* dependencies, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependencies(CUgraphNode __pyx_v_hNode, CUgraphNode *__pyx_v_dependencies, size_t *__pyx_v_numDependencies) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeGetDependencies", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5679 * cdef CUresult _cuGraphNodeGetDependencies(CUgraphNode hNode, CUgraphNode* dependencies, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeGetDependencies * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeGetDependencies == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5679, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5680 * global __cuGraphNodeGetDependencies * cuPythonInit() * if __cuGraphNodeGetDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5681 * cuPythonInit() * if __cuGraphNodeGetDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependencies" not found') * err = ( __cuGraphNodeGetDependencies)(hNode, dependencies, numDependencies) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5682 * if __cuGraphNodeGetDependencies == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeGetDependencies)(hNode, dependencies, numDependencies) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeGetDependenc}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5682, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5682, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5681 * cuPythonInit() * if __cuGraphNodeGetDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependencies" not found') * err = ( __cuGraphNodeGetDependencies)(hNode, dependencies, numDependencies) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5680 * global __cuGraphNodeGetDependencies * cuPythonInit() * if __cuGraphNodeGetDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5683 * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies" not found') * err = ( __cuGraphNodeGetDependencies)(hNode, dependencies, numDependencies) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraphNode *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies)(__pyx_v_hNode, __pyx_v_dependencies, __pyx_v_numDependencies); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5683, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5684 * raise RuntimeError('Function "cuGraphNodeGetDependencies" not found') * err = ( __cuGraphNodeGetDependencies)(hNode, dependencies, numDependencies) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeGetDependencies_v2(CUgraphNode hNode, CUgraphNode* dependencies, CUgraphEdgeData* edgeData, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5677 * return err * * cdef CUresult _cuGraphNodeGetDependencies(CUgraphNode hNode, CUgraphNode* dependencies, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeGetDependencies", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5686 * return err * * cdef CUresult _cuGraphNodeGetDependencies_v2(CUgraphNode hNode, CUgraphNode* dependencies, CUgraphEdgeData* edgeData, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependencies_v2(CUgraphNode __pyx_v_hNode, CUgraphNode *__pyx_v_dependencies, CUgraphEdgeData *__pyx_v_edgeData, size_t *__pyx_v_numDependencies) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeGetDependencies_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5688 * cdef CUresult _cuGraphNodeGetDependencies_v2(CUgraphNode hNode, CUgraphNode* dependencies, CUgraphEdgeData* edgeData, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeGetDependencies_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeGetDependencies_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5688, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5689 * global __cuGraphNodeGetDependencies_v2 * cuPythonInit() * if __cuGraphNodeGetDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5690 * cuPythonInit() * if __cuGraphNodeGetDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependencies_v2" not found') * err = ( __cuGraphNodeGetDependencies_v2)(hNode, dependencies, edgeData, numDependencies) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5691 * if __cuGraphNodeGetDependencies_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeGetDependencies_v2)(hNode, dependencies, edgeData, numDependencies) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeGetDependenc_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5691, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5691, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5690 * cuPythonInit() * if __cuGraphNodeGetDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependencies_v2" not found') * err = ( __cuGraphNodeGetDependencies_v2)(hNode, dependencies, edgeData, numDependencies) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5689 * global __cuGraphNodeGetDependencies_v2 * cuPythonInit() * if __cuGraphNodeGetDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5692 * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependencies_v2" not found') * err = ( __cuGraphNodeGetDependencies_v2)(hNode, dependencies, edgeData, numDependencies) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraphNode *, CUgraphEdgeData *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies_v2)(__pyx_v_hNode, __pyx_v_dependencies, __pyx_v_edgeData, __pyx_v_numDependencies); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5692, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5693 * raise RuntimeError('Function "cuGraphNodeGetDependencies_v2" not found') * err = ( __cuGraphNodeGetDependencies_v2)(hNode, dependencies, edgeData, numDependencies) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeGetDependentNodes(CUgraphNode hNode, CUgraphNode* dependentNodes, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5686 * return err * * cdef CUresult _cuGraphNodeGetDependencies_v2(CUgraphNode hNode, CUgraphNode* dependencies, CUgraphEdgeData* edgeData, size_t* numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeGetDependencies_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5695 * return err * * cdef CUresult _cuGraphNodeGetDependentNodes(CUgraphNode hNode, CUgraphNode* dependentNodes, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependentNodes(CUgraphNode __pyx_v_hNode, CUgraphNode *__pyx_v_dependentNodes, size_t *__pyx_v_numDependentNodes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeGetDependentNodes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5697 * cdef CUresult _cuGraphNodeGetDependentNodes(CUgraphNode hNode, CUgraphNode* dependentNodes, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeGetDependentNodes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeGetDependentNodes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5697, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5698 * global __cuGraphNodeGetDependentNodes * cuPythonInit() * if __cuGraphNodeGetDependentNodes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5699 * cuPythonInit() * if __cuGraphNodeGetDependentNodes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependentNodes" not found') * err = ( __cuGraphNodeGetDependentNodes)(hNode, dependentNodes, numDependentNodes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5700 * if __cuGraphNodeGetDependentNodes == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeGetDependentNodes)(hNode, dependentNodes, numDependentNodes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeGetDependent}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5700, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5700, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5699 * cuPythonInit() * if __cuGraphNodeGetDependentNodes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependentNodes" not found') * err = ( __cuGraphNodeGetDependentNodes)(hNode, dependentNodes, numDependentNodes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5698 * global __cuGraphNodeGetDependentNodes * cuPythonInit() * if __cuGraphNodeGetDependentNodes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5701 * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes" not found') * err = ( __cuGraphNodeGetDependentNodes)(hNode, dependentNodes, numDependentNodes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraphNode *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes)(__pyx_v_hNode, __pyx_v_dependentNodes, __pyx_v_numDependentNodes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5701, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5702 * raise RuntimeError('Function "cuGraphNodeGetDependentNodes" not found') * err = ( __cuGraphNodeGetDependentNodes)(hNode, dependentNodes, numDependentNodes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeGetDependentNodes_v2(CUgraphNode hNode, CUgraphNode* dependentNodes, CUgraphEdgeData* edgeData, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5695 * return err * * cdef CUresult _cuGraphNodeGetDependentNodes(CUgraphNode hNode, CUgraphNode* dependentNodes, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeGetDependentNodes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5704 * return err * * cdef CUresult _cuGraphNodeGetDependentNodes_v2(CUgraphNode hNode, CUgraphNode* dependentNodes, CUgraphEdgeData* edgeData, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependentNodes_v2(CUgraphNode __pyx_v_hNode, CUgraphNode *__pyx_v_dependentNodes, CUgraphEdgeData *__pyx_v_edgeData, size_t *__pyx_v_numDependentNodes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeGetDependentNodes_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5706 * cdef CUresult _cuGraphNodeGetDependentNodes_v2(CUgraphNode hNode, CUgraphNode* dependentNodes, CUgraphEdgeData* edgeData, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeGetDependentNodes_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeGetDependentNodes_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5706, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5707 * global __cuGraphNodeGetDependentNodes_v2 * cuPythonInit() * if __cuGraphNodeGetDependentNodes_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5708 * cuPythonInit() * if __cuGraphNodeGetDependentNodes_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependentNodes_v2" not found') * err = ( __cuGraphNodeGetDependentNodes_v2)(hNode, dependentNodes, edgeData, numDependentNodes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5709 * if __cuGraphNodeGetDependentNodes_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeGetDependentNodes_v2)(hNode, dependentNodes, edgeData, numDependentNodes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeGetDependent_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5709, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5709, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5708 * cuPythonInit() * if __cuGraphNodeGetDependentNodes_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetDependentNodes_v2" not found') * err = ( __cuGraphNodeGetDependentNodes_v2)(hNode, dependentNodes, edgeData, numDependentNodes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5707 * global __cuGraphNodeGetDependentNodes_v2 * cuPythonInit() * if __cuGraphNodeGetDependentNodes_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5710 * with gil: * raise RuntimeError('Function "cuGraphNodeGetDependentNodes_v2" not found') * err = ( __cuGraphNodeGetDependentNodes_v2)(hNode, dependentNodes, edgeData, numDependentNodes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraphNode *, CUgraphEdgeData *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes_v2)(__pyx_v_hNode, __pyx_v_dependentNodes, __pyx_v_edgeData, __pyx_v_numDependentNodes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5710, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5711 * raise RuntimeError('Function "cuGraphNodeGetDependentNodes_v2" not found') * err = ( __cuGraphNodeGetDependentNodes_v2)(hNode, dependentNodes, edgeData, numDependentNodes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5704 * return err * * cdef CUresult _cuGraphNodeGetDependentNodes_v2(CUgraphNode hNode, CUgraphNode* dependentNodes, CUgraphEdgeData* edgeData, size_t* numDependentNodes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeGetDependentNodes_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5713 * return err * * cdef CUresult _cuGraphAddDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddDependencies * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddDependencies(CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_from_, CUgraphNode const *__pyx_v_to, size_t __pyx_v_numDependencies) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddDependencies", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5715 * cdef CUresult _cuGraphAddDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddDependencies * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddDependencies == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5715, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5716 * global __cuGraphAddDependencies * cuPythonInit() * if __cuGraphAddDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddDependencies" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5717 * cuPythonInit() * if __cuGraphAddDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddDependencies" not found') * err = ( __cuGraphAddDependencies)(hGraph, from_, to, numDependencies) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5718 * if __cuGraphAddDependencies == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddDependencies" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddDependencies)(hGraph, from_, to, numDependencies) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddDependencies}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5718, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5718, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5717 * cuPythonInit() * if __cuGraphAddDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddDependencies" not found') * err = ( __cuGraphAddDependencies)(hGraph, from_, to, numDependencies) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5716 * global __cuGraphAddDependencies * cuPythonInit() * if __cuGraphAddDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddDependencies" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5719 * with gil: * raise RuntimeError('Function "cuGraphAddDependencies" not found') * err = ( __cuGraphAddDependencies)(hGraph, from_, to, numDependencies) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode const *, CUgraphNode const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies)(__pyx_v_hGraph, __pyx_v_from_, __pyx_v_to, __pyx_v_numDependencies); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5719, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5720 * raise RuntimeError('Function "cuGraphAddDependencies" not found') * err = ( __cuGraphAddDependencies)(hGraph, from_, to, numDependencies) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5713 * return err * * cdef CUresult _cuGraphAddDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddDependencies * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddDependencies", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5722 * return err * * cdef CUresult _cuGraphAddDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddDependencies_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddDependencies_v2(CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_from_, CUgraphNode const *__pyx_v_to, CUgraphEdgeData const *__pyx_v_edgeData, size_t __pyx_v_numDependencies) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddDependencies_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5724 * cdef CUresult _cuGraphAddDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddDependencies_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddDependencies_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5724, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5725 * global __cuGraphAddDependencies_v2 * cuPythonInit() * if __cuGraphAddDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddDependencies_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5726 * cuPythonInit() * if __cuGraphAddDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddDependencies_v2" not found') * err = ( __cuGraphAddDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5727 * if __cuGraphAddDependencies_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddDependencies_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddDependencies_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5727, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5727, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5726 * cuPythonInit() * if __cuGraphAddDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddDependencies_v2" not found') * err = ( __cuGraphAddDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5725 * global __cuGraphAddDependencies_v2 * cuPythonInit() * if __cuGraphAddDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddDependencies_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5728 * with gil: * raise RuntimeError('Function "cuGraphAddDependencies_v2" not found') * err = ( __cuGraphAddDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode const *, CUgraphNode const *, CUgraphEdgeData const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies_v2)(__pyx_v_hGraph, __pyx_v_from_, __pyx_v_to, __pyx_v_edgeData, __pyx_v_numDependencies); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5728, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5729 * raise RuntimeError('Function "cuGraphAddDependencies_v2" not found') * err = ( __cuGraphAddDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphRemoveDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5722 * return err * * cdef CUresult _cuGraphAddDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddDependencies_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddDependencies_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5731 * return err * * cdef CUresult _cuGraphRemoveDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphRemoveDependencies(CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_from_, CUgraphNode const *__pyx_v_to, size_t __pyx_v_numDependencies) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphRemoveDependencies", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5733 * cdef CUresult _cuGraphRemoveDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphRemoveDependencies * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphRemoveDependencies == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5733, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5734 * global __cuGraphRemoveDependencies * cuPythonInit() * if __cuGraphRemoveDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5735 * cuPythonInit() * if __cuGraphRemoveDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphRemoveDependencies" not found') * err = ( __cuGraphRemoveDependencies)(hGraph, from_, to, numDependencies) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5736 * if __cuGraphRemoveDependencies == NULL: * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphRemoveDependencies)(hGraph, from_, to, numDependencies) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphRemoveDependenci}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5736, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5736, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5735 * cuPythonInit() * if __cuGraphRemoveDependencies == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphRemoveDependencies" not found') * err = ( __cuGraphRemoveDependencies)(hGraph, from_, to, numDependencies) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5734 * global __cuGraphRemoveDependencies * cuPythonInit() * if __cuGraphRemoveDependencies == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5737 * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies" not found') * err = ( __cuGraphRemoveDependencies)(hGraph, from_, to, numDependencies) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode const *, CUgraphNode const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies)(__pyx_v_hGraph, __pyx_v_from_, __pyx_v_to, __pyx_v_numDependencies); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5737, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5738 * raise RuntimeError('Function "cuGraphRemoveDependencies" not found') * err = ( __cuGraphRemoveDependencies)(hGraph, from_, to, numDependencies) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphRemoveDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5731 * return err * * cdef CUresult _cuGraphRemoveDependencies(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphRemoveDependencies", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5740 * return err * * cdef CUresult _cuGraphRemoveDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphRemoveDependencies_v2(CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_from_, CUgraphNode const *__pyx_v_to, CUgraphEdgeData const *__pyx_v_edgeData, size_t __pyx_v_numDependencies) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphRemoveDependencies_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5742 * cdef CUresult _cuGraphRemoveDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphRemoveDependencies_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphRemoveDependencies_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5742, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5743 * global __cuGraphRemoveDependencies_v2 * cuPythonInit() * if __cuGraphRemoveDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5744 * cuPythonInit() * if __cuGraphRemoveDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphRemoveDependencies_v2" not found') * err = ( __cuGraphRemoveDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5745 * if __cuGraphRemoveDependencies_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphRemoveDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphRemoveDependenci_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5745, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5745, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5744 * cuPythonInit() * if __cuGraphRemoveDependencies_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphRemoveDependencies_v2" not found') * err = ( __cuGraphRemoveDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5743 * global __cuGraphRemoveDependencies_v2 * cuPythonInit() * if __cuGraphRemoveDependencies_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5746 * with gil: * raise RuntimeError('Function "cuGraphRemoveDependencies_v2" not found') * err = ( __cuGraphRemoveDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUgraphNode const *, CUgraphNode const *, CUgraphEdgeData const *, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies_v2)(__pyx_v_hGraph, __pyx_v_from_, __pyx_v_to, __pyx_v_edgeData, __pyx_v_numDependencies); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5746, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5747 * raise RuntimeError('Function "cuGraphRemoveDependencies_v2" not found') * err = ( __cuGraphRemoveDependencies_v2)(hGraph, from_, to, edgeData, numDependencies) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphDestroyNode(CUgraphNode hNode) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5740 * return err * * cdef CUresult _cuGraphRemoveDependencies_v2(CUgraph hGraph, const CUgraphNode* from_, const CUgraphNode* to, const CUgraphEdgeData* edgeData, size_t numDependencies) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphRemoveDependencies_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5749 * return err * * cdef CUresult _cuGraphDestroyNode(CUgraphNode hNode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphDestroyNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphDestroyNode(CUgraphNode __pyx_v_hNode) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphDestroyNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5751 * cdef CUresult _cuGraphDestroyNode(CUgraphNode hNode) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphDestroyNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphDestroyNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5751, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5752 * global __cuGraphDestroyNode * cuPythonInit() * if __cuGraphDestroyNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphDestroyNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroyNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5753 * cuPythonInit() * if __cuGraphDestroyNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphDestroyNode" not found') * err = ( __cuGraphDestroyNode)(hNode) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5754 * if __cuGraphDestroyNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphDestroyNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphDestroyNode)(hNode) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphDestroyNode_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5754, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5754, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5753 * cuPythonInit() * if __cuGraphDestroyNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphDestroyNode" not found') * err = ( __cuGraphDestroyNode)(hNode) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5752 * global __cuGraphDestroyNode * cuPythonInit() * if __cuGraphDestroyNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphDestroyNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5755 * with gil: * raise RuntimeError('Function "cuGraphDestroyNode" not found') * err = ( __cuGraphDestroyNode)(hNode) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroyNode)(__pyx_v_hNode); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5755, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5756 * raise RuntimeError('Function "cuGraphDestroyNode" not found') * err = ( __cuGraphDestroyNode)(hNode) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphInstantiateWithFlags(CUgraphExec* phGraphExec, CUgraph hGraph, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5749 * return err * * cdef CUresult _cuGraphDestroyNode(CUgraphNode hNode) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphDestroyNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphDestroyNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5758 * return err * * cdef CUresult _cuGraphInstantiateWithFlags(CUgraphExec* phGraphExec, CUgraph hGraph, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphInstantiateWithFlags(CUgraphExec *__pyx_v_phGraphExec, CUgraph __pyx_v_hGraph, unsigned PY_LONG_LONG __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphInstantiateWithFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5760 * cdef CUresult _cuGraphInstantiateWithFlags(CUgraphExec* phGraphExec, CUgraph hGraph, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphInstantiateWithFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphInstantiateWithFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5760, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5761 * global __cuGraphInstantiateWithFlags * cuPythonInit() * if __cuGraphInstantiateWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5762 * cuPythonInit() * if __cuGraphInstantiateWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphInstantiateWithFlags" not found') * err = ( __cuGraphInstantiateWithFlags)(phGraphExec, hGraph, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5763 * if __cuGraphInstantiateWithFlags == NULL: * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphInstantiateWithFlags)(phGraphExec, hGraph, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphInstantiateWithF}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5763, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5763, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5762 * cuPythonInit() * if __cuGraphInstantiateWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphInstantiateWithFlags" not found') * err = ( __cuGraphInstantiateWithFlags)(phGraphExec, hGraph, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5761 * global __cuGraphInstantiateWithFlags * cuPythonInit() * if __cuGraphInstantiateWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5764 * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithFlags" not found') * err = ( __cuGraphInstantiateWithFlags)(phGraphExec, hGraph, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec *, CUgraph, unsigned PY_LONG_LONG))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithFlags)(__pyx_v_phGraphExec, __pyx_v_hGraph, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5764, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5765 * raise RuntimeError('Function "cuGraphInstantiateWithFlags" not found') * err = ( __cuGraphInstantiateWithFlags)(phGraphExec, hGraph, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphInstantiateWithParams(CUgraphExec* phGraphExec, CUgraph hGraph, CUDA_GRAPH_INSTANTIATE_PARAMS* instantiateParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5758 * return err * * cdef CUresult _cuGraphInstantiateWithFlags(CUgraphExec* phGraphExec, CUgraph hGraph, unsigned long long flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphInstantiateWithFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5767 * return err * * cdef CUresult _cuGraphInstantiateWithParams(CUgraphExec* phGraphExec, CUgraph hGraph, CUDA_GRAPH_INSTANTIATE_PARAMS* instantiateParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphInstantiateWithParams(CUgraphExec *__pyx_v_phGraphExec, CUgraph __pyx_v_hGraph, CUDA_GRAPH_INSTANTIATE_PARAMS *__pyx_v_instantiateParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphInstantiateWithParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5769 * cdef CUresult _cuGraphInstantiateWithParams(CUgraphExec* phGraphExec, CUgraph hGraph, CUDA_GRAPH_INSTANTIATE_PARAMS* instantiateParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphInstantiateWithParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphInstantiateWithParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5769, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5770 * global __cuGraphInstantiateWithParams * cuPythonInit() * if __cuGraphInstantiateWithParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5771 * cuPythonInit() * if __cuGraphInstantiateWithParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphInstantiateWithParams" not found') * err = ( __cuGraphInstantiateWithParams)(phGraphExec, hGraph, instantiateParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5772 * if __cuGraphInstantiateWithParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphInstantiateWithParams)(phGraphExec, hGraph, instantiateParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphInstantiateWithP}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5772, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5772, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5771 * cuPythonInit() * if __cuGraphInstantiateWithParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphInstantiateWithParams" not found') * err = ( __cuGraphInstantiateWithParams)(phGraphExec, hGraph, instantiateParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5770 * global __cuGraphInstantiateWithParams * cuPythonInit() * if __cuGraphInstantiateWithParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5773 * with gil: * raise RuntimeError('Function "cuGraphInstantiateWithParams" not found') * err = ( __cuGraphInstantiateWithParams)(phGraphExec, hGraph, instantiateParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec *, CUgraph, CUDA_GRAPH_INSTANTIATE_PARAMS *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams)(__pyx_v_phGraphExec, __pyx_v_hGraph, __pyx_v_instantiateParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5773, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5774 * raise RuntimeError('Function "cuGraphInstantiateWithParams" not found') * err = ( __cuGraphInstantiateWithParams)(phGraphExec, hGraph, instantiateParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecGetFlags(CUgraphExec hGraphExec, cuuint64_t* flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5767 * return err * * cdef CUresult _cuGraphInstantiateWithParams(CUgraphExec* phGraphExec, CUgraph hGraph, CUDA_GRAPH_INSTANTIATE_PARAMS* instantiateParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphInstantiateWithParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5776 * return err * * cdef CUresult _cuGraphExecGetFlags(CUgraphExec hGraphExec, cuuint64_t* flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecGetFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecGetFlags(CUgraphExec __pyx_v_hGraphExec, cuuint64_t *__pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecGetFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5778 * cdef CUresult _cuGraphExecGetFlags(CUgraphExec hGraphExec, cuuint64_t* flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecGetFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecGetFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5778, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5779 * global __cuGraphExecGetFlags * cuPythonInit() * if __cuGraphExecGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecGetFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecGetFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5780 * cuPythonInit() * if __cuGraphExecGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecGetFlags" not found') * err = ( __cuGraphExecGetFlags)(hGraphExec, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5781 * if __cuGraphExecGetFlags == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecGetFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecGetFlags)(hGraphExec, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecGetFlags_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5781, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5781, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5780 * cuPythonInit() * if __cuGraphExecGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecGetFlags" not found') * err = ( __cuGraphExecGetFlags)(hGraphExec, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5779 * global __cuGraphExecGetFlags * cuPythonInit() * if __cuGraphExecGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecGetFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5782 * with gil: * raise RuntimeError('Function "cuGraphExecGetFlags" not found') * err = ( __cuGraphExecGetFlags)(hGraphExec, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, cuuint64_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecGetFlags)(__pyx_v_hGraphExec, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5782, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5783 * raise RuntimeError('Function "cuGraphExecGetFlags" not found') * err = ( __cuGraphExecGetFlags)(hGraphExec, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecKernelNodeSetParams_v2(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5776 * return err * * cdef CUresult _cuGraphExecGetFlags(CUgraphExec hGraphExec, cuuint64_t* flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecGetFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecGetFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5785 * return err * * cdef CUresult _cuGraphExecKernelNodeSetParams_v2(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecKernelNodeSetParams_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecKernelNodeSetParams_v2(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUDA_KERNEL_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecKernelNodeSetParams_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5787 * cdef CUresult _cuGraphExecKernelNodeSetParams_v2(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecKernelNodeSetParams_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecKernelNodeSetParams_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5787, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5788 * global __cuGraphExecKernelNodeSetParams_v2 * cuPythonInit() * if __cuGraphExecKernelNodeSetParams_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecKernelNodeSetParams_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecKernelNodeSetParams_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5789 * cuPythonInit() * if __cuGraphExecKernelNodeSetParams_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecKernelNodeSetParams_v2" not found') * err = ( __cuGraphExecKernelNodeSetParams_v2)(hGraphExec, hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5790 * if __cuGraphExecKernelNodeSetParams_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecKernelNodeSetParams_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecKernelNodeSetParams_v2)(hGraphExec, hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecKernelNodeSe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5790, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5790, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5789 * cuPythonInit() * if __cuGraphExecKernelNodeSetParams_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecKernelNodeSetParams_v2" not found') * err = ( __cuGraphExecKernelNodeSetParams_v2)(hGraphExec, hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5788 * global __cuGraphExecKernelNodeSetParams_v2 * cuPythonInit() * if __cuGraphExecKernelNodeSetParams_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecKernelNodeSetParams_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5791 * with gil: * raise RuntimeError('Function "cuGraphExecKernelNodeSetParams_v2" not found') * err = ( __cuGraphExecKernelNodeSetParams_v2)(hGraphExec, hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUDA_KERNEL_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecKernelNodeSetParams_v2)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5791, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5792 * raise RuntimeError('Function "cuGraphExecKernelNodeSetParams_v2" not found') * err = ( __cuGraphExecKernelNodeSetParams_v2)(hGraphExec, hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecMemcpyNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5785 * return err * * cdef CUresult _cuGraphExecKernelNodeSetParams_v2(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_KERNEL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecKernelNodeSetParams_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecKernelNodeSetParams_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5794 * return err * * cdef CUresult _cuGraphExecMemcpyNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecMemcpyNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecMemcpyNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUDA_MEMCPY3D const *__pyx_v_copyParams, CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecMemcpyNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5796 * cdef CUresult _cuGraphExecMemcpyNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecMemcpyNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecMemcpyNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5796, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5797 * global __cuGraphExecMemcpyNodeSetParams * cuPythonInit() * if __cuGraphExecMemcpyNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecMemcpyNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemcpyNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5798 * cuPythonInit() * if __cuGraphExecMemcpyNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecMemcpyNodeSetParams" not found') * err = ( __cuGraphExecMemcpyNodeSetParams)(hGraphExec, hNode, copyParams, ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5799 * if __cuGraphExecMemcpyNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecMemcpyNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecMemcpyNodeSetParams)(hGraphExec, hNode, copyParams, ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecMemcpyNodeSe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5799, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5799, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5798 * cuPythonInit() * if __cuGraphExecMemcpyNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecMemcpyNodeSetParams" not found') * err = ( __cuGraphExecMemcpyNodeSetParams)(hGraphExec, hNode, copyParams, ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5797 * global __cuGraphExecMemcpyNodeSetParams * cuPythonInit() * if __cuGraphExecMemcpyNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecMemcpyNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5800 * with gil: * raise RuntimeError('Function "cuGraphExecMemcpyNodeSetParams" not found') * err = ( __cuGraphExecMemcpyNodeSetParams)(hGraphExec, hNode, copyParams, ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUDA_MEMCPY3D const *, CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemcpyNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_copyParams, __pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5800, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5801 * raise RuntimeError('Function "cuGraphExecMemcpyNodeSetParams" not found') * err = ( __cuGraphExecMemcpyNodeSetParams)(hGraphExec, hNode, copyParams, ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecMemsetNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5794 * return err * * cdef CUresult _cuGraphExecMemcpyNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMCPY3D* copyParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecMemcpyNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecMemcpyNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5803 * return err * * cdef CUresult _cuGraphExecMemsetNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecMemsetNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecMemsetNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUDA_MEMSET_NODE_PARAMS const *__pyx_v_memsetParams, CUcontext __pyx_v_ctx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecMemsetNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5805 * cdef CUresult _cuGraphExecMemsetNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecMemsetNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecMemsetNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5805, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5806 * global __cuGraphExecMemsetNodeSetParams * cuPythonInit() * if __cuGraphExecMemsetNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecMemsetNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemsetNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5807 * cuPythonInit() * if __cuGraphExecMemsetNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecMemsetNodeSetParams" not found') * err = ( __cuGraphExecMemsetNodeSetParams)(hGraphExec, hNode, memsetParams, ctx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5808 * if __cuGraphExecMemsetNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecMemsetNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecMemsetNodeSetParams)(hGraphExec, hNode, memsetParams, ctx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecMemsetNodeSe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5808, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5808, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5807 * cuPythonInit() * if __cuGraphExecMemsetNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecMemsetNodeSetParams" not found') * err = ( __cuGraphExecMemsetNodeSetParams)(hGraphExec, hNode, memsetParams, ctx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5806 * global __cuGraphExecMemsetNodeSetParams * cuPythonInit() * if __cuGraphExecMemsetNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecMemsetNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5809 * with gil: * raise RuntimeError('Function "cuGraphExecMemsetNodeSetParams" not found') * err = ( __cuGraphExecMemsetNodeSetParams)(hGraphExec, hNode, memsetParams, ctx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUDA_MEMSET_NODE_PARAMS const *, CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemsetNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_memsetParams, __pyx_v_ctx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5809, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5810 * raise RuntimeError('Function "cuGraphExecMemsetNodeSetParams" not found') * err = ( __cuGraphExecMemsetNodeSetParams)(hGraphExec, hNode, memsetParams, ctx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecHostNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5803 * return err * * cdef CUresult _cuGraphExecMemsetNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_MEMSET_NODE_PARAMS* memsetParams, CUcontext ctx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecMemsetNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecMemsetNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5812 * return err * * cdef CUresult _cuGraphExecHostNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecHostNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecHostNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUDA_HOST_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecHostNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5814 * cdef CUresult _cuGraphExecHostNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecHostNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecHostNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5814, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5815 * global __cuGraphExecHostNodeSetParams * cuPythonInit() * if __cuGraphExecHostNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecHostNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecHostNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5816 * cuPythonInit() * if __cuGraphExecHostNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecHostNodeSetParams" not found') * err = ( __cuGraphExecHostNodeSetParams)(hGraphExec, hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5817 * if __cuGraphExecHostNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecHostNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecHostNodeSetParams)(hGraphExec, hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecHostNodeSetP}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5817, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5817, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5816 * cuPythonInit() * if __cuGraphExecHostNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecHostNodeSetParams" not found') * err = ( __cuGraphExecHostNodeSetParams)(hGraphExec, hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5815 * global __cuGraphExecHostNodeSetParams * cuPythonInit() * if __cuGraphExecHostNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecHostNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5818 * with gil: * raise RuntimeError('Function "cuGraphExecHostNodeSetParams" not found') * err = ( __cuGraphExecHostNodeSetParams)(hGraphExec, hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUDA_HOST_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecHostNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5818, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5819 * raise RuntimeError('Function "cuGraphExecHostNodeSetParams" not found') * err = ( __cuGraphExecHostNodeSetParams)(hGraphExec, hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecChildGraphNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5812 * return err * * cdef CUresult _cuGraphExecHostNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_HOST_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecHostNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecHostNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5821 * return err * * cdef CUresult _cuGraphExecChildGraphNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecChildGraphNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecChildGraphNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUgraph __pyx_v_childGraph) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecChildGraphNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5823 * cdef CUresult _cuGraphExecChildGraphNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecChildGraphNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecChildGraphNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5823, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5824 * global __cuGraphExecChildGraphNodeSetParams * cuPythonInit() * if __cuGraphExecChildGraphNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecChildGraphNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecChildGraphNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5825 * cuPythonInit() * if __cuGraphExecChildGraphNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecChildGraphNodeSetParams" not found') * err = ( __cuGraphExecChildGraphNodeSetParams)(hGraphExec, hNode, childGraph) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5826 * if __cuGraphExecChildGraphNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecChildGraphNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecChildGraphNodeSetParams)(hGraphExec, hNode, childGraph) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecChildGraphNo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5826, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5826, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5825 * cuPythonInit() * if __cuGraphExecChildGraphNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecChildGraphNodeSetParams" not found') * err = ( __cuGraphExecChildGraphNodeSetParams)(hGraphExec, hNode, childGraph) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5824 * global __cuGraphExecChildGraphNodeSetParams * cuPythonInit() * if __cuGraphExecChildGraphNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecChildGraphNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5827 * with gil: * raise RuntimeError('Function "cuGraphExecChildGraphNodeSetParams" not found') * err = ( __cuGraphExecChildGraphNodeSetParams)(hGraphExec, hNode, childGraph) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUgraph))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecChildGraphNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_childGraph); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5827, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5828 * raise RuntimeError('Function "cuGraphExecChildGraphNodeSetParams" not found') * err = ( __cuGraphExecChildGraphNodeSetParams)(hGraphExec, hNode, childGraph) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecEventRecordNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5821 * return err * * cdef CUresult _cuGraphExecChildGraphNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraph childGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecChildGraphNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecChildGraphNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5830 * return err * * cdef CUresult _cuGraphExecEventRecordNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecEventRecordNodeSetEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecEventRecordNodeSetEvent(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUevent __pyx_v_event) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecEventRecordNodeSetEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5832 * cdef CUresult _cuGraphExecEventRecordNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecEventRecordNodeSetEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecEventRecordNodeSetEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5832, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5833 * global __cuGraphExecEventRecordNodeSetEvent * cuPythonInit() * if __cuGraphExecEventRecordNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecEventRecordNodeSetEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventRecordNodeSetEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5834 * cuPythonInit() * if __cuGraphExecEventRecordNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecEventRecordNodeSetEvent" not found') * err = ( __cuGraphExecEventRecordNodeSetEvent)(hGraphExec, hNode, event) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5835 * if __cuGraphExecEventRecordNodeSetEvent == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecEventRecordNodeSetEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecEventRecordNodeSetEvent)(hGraphExec, hNode, event) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecEventRecordN}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5835, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5835, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5834 * cuPythonInit() * if __cuGraphExecEventRecordNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecEventRecordNodeSetEvent" not found') * err = ( __cuGraphExecEventRecordNodeSetEvent)(hGraphExec, hNode, event) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5833 * global __cuGraphExecEventRecordNodeSetEvent * cuPythonInit() * if __cuGraphExecEventRecordNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecEventRecordNodeSetEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5836 * with gil: * raise RuntimeError('Function "cuGraphExecEventRecordNodeSetEvent" not found') * err = ( __cuGraphExecEventRecordNodeSetEvent)(hGraphExec, hNode, event) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventRecordNodeSetEvent)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_event); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5836, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5837 * raise RuntimeError('Function "cuGraphExecEventRecordNodeSetEvent" not found') * err = ( __cuGraphExecEventRecordNodeSetEvent)(hGraphExec, hNode, event) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecEventWaitNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5830 * return err * * cdef CUresult _cuGraphExecEventRecordNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecEventRecordNodeSetEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecEventRecordNodeSetEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5839 * return err * * cdef CUresult _cuGraphExecEventWaitNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecEventWaitNodeSetEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecEventWaitNodeSetEvent(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUevent __pyx_v_event) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecEventWaitNodeSetEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5841 * cdef CUresult _cuGraphExecEventWaitNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecEventWaitNodeSetEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecEventWaitNodeSetEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5841, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5842 * global __cuGraphExecEventWaitNodeSetEvent * cuPythonInit() * if __cuGraphExecEventWaitNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecEventWaitNodeSetEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventWaitNodeSetEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5843 * cuPythonInit() * if __cuGraphExecEventWaitNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecEventWaitNodeSetEvent" not found') * err = ( __cuGraphExecEventWaitNodeSetEvent)(hGraphExec, hNode, event) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5844 * if __cuGraphExecEventWaitNodeSetEvent == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecEventWaitNodeSetEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecEventWaitNodeSetEvent)(hGraphExec, hNode, event) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecEventWaitNod}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5844, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5844, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5843 * cuPythonInit() * if __cuGraphExecEventWaitNodeSetEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecEventWaitNodeSetEvent" not found') * err = ( __cuGraphExecEventWaitNodeSetEvent)(hGraphExec, hNode, event) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5842 * global __cuGraphExecEventWaitNodeSetEvent * cuPythonInit() * if __cuGraphExecEventWaitNodeSetEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecEventWaitNodeSetEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5845 * with gil: * raise RuntimeError('Function "cuGraphExecEventWaitNodeSetEvent" not found') * err = ( __cuGraphExecEventWaitNodeSetEvent)(hGraphExec, hNode, event) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventWaitNodeSetEvent)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_event); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5845, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5846 * raise RuntimeError('Function "cuGraphExecEventWaitNodeSetEvent" not found') * err = ( __cuGraphExecEventWaitNodeSetEvent)(hGraphExec, hNode, event) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecExternalSemaphoresSignalNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5839 * return err * * cdef CUresult _cuGraphExecEventWaitNodeSetEvent(CUgraphExec hGraphExec, CUgraphNode hNode, CUevent event) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecEventWaitNodeSetEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecEventWaitNodeSetEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5848 * return err * * cdef CUresult _cuGraphExecExternalSemaphoresSignalNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecExternalSemaphoresSignalNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecExternalSemaphoresSignalNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5850 * cdef CUresult _cuGraphExecExternalSemaphoresSignalNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecExternalSemaphoresSignalNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5850, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5851 * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * cuPythonInit() * if __cuGraphExecExternalSemaphoresSignalNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresSignalNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresSignalNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5852 * cuPythonInit() * if __cuGraphExecExternalSemaphoresSignalNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresSignalNodeSetParams)(hGraphExec, hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5853 * if __cuGraphExecExternalSemaphoresSignalNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresSignalNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecExternalSemaphoresSignalNodeSetParams)(hGraphExec, hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecExternalSema}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5853, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5853, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5852 * cuPythonInit() * if __cuGraphExecExternalSemaphoresSignalNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresSignalNodeSetParams)(hGraphExec, hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5851 * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * cuPythonInit() * if __cuGraphExecExternalSemaphoresSignalNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresSignalNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5854 * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresSignalNodeSetParams)(hGraphExec, hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresSignalNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5854, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5855 * raise RuntimeError('Function "cuGraphExecExternalSemaphoresSignalNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresSignalNodeSetParams)(hGraphExec, hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecExternalSemaphoresWaitNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5848 * return err * * cdef CUresult _cuGraphExecExternalSemaphoresSignalNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_SIGNAL_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecExternalSemaphoresSignalNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5857 * return err * * cdef CUresult _cuGraphExecExternalSemaphoresWaitNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecExternalSemaphoresWaitNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecExternalSemaphoresWaitNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5859 * cdef CUresult _cuGraphExecExternalSemaphoresWaitNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecExternalSemaphoresWaitNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5859, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5860 * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * cuPythonInit() * if __cuGraphExecExternalSemaphoresWaitNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresWaitNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresWaitNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5861 * cuPythonInit() * if __cuGraphExecExternalSemaphoresWaitNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresWaitNodeSetParams)(hGraphExec, hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5862 * if __cuGraphExecExternalSemaphoresWaitNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresWaitNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecExternalSemaphoresWaitNodeSetParams)(hGraphExec, hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecExternalSema_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5862, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5862, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5861 * cuPythonInit() * if __cuGraphExecExternalSemaphoresWaitNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresWaitNodeSetParams)(hGraphExec, hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5860 * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * cuPythonInit() * if __cuGraphExecExternalSemaphoresWaitNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresWaitNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5863 * with gil: * raise RuntimeError('Function "cuGraphExecExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresWaitNodeSetParams)(hGraphExec, hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresWaitNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5863, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5864 * raise RuntimeError('Function "cuGraphExecExternalSemaphoresWaitNodeSetParams" not found') * err = ( __cuGraphExecExternalSemaphoresWaitNodeSetParams)(hGraphExec, hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeSetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5857 * return err * * cdef CUresult _cuGraphExecExternalSemaphoresWaitNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, const CUDA_EXT_SEM_WAIT_NODE_PARAMS* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecExternalSemaphoresWaitNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5866 * return err * * cdef CUresult _cuGraphNodeSetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeSetEnabled * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeSetEnabled(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, unsigned int __pyx_v_isEnabled) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeSetEnabled", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5868 * cdef CUresult _cuGraphNodeSetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeSetEnabled * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeSetEnabled == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5868, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5869 * global __cuGraphNodeSetEnabled * cuPythonInit() * if __cuGraphNodeSetEnabled == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeSetEnabled" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetEnabled == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5870 * cuPythonInit() * if __cuGraphNodeSetEnabled == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeSetEnabled" not found') * err = ( __cuGraphNodeSetEnabled)(hGraphExec, hNode, isEnabled) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5871 * if __cuGraphNodeSetEnabled == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeSetEnabled" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeSetEnabled)(hGraphExec, hNode, isEnabled) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeSetEnabled_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5871, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5871, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5870 * cuPythonInit() * if __cuGraphNodeSetEnabled == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeSetEnabled" not found') * err = ( __cuGraphNodeSetEnabled)(hGraphExec, hNode, isEnabled) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5869 * global __cuGraphNodeSetEnabled * cuPythonInit() * if __cuGraphNodeSetEnabled == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeSetEnabled" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5872 * with gil: * raise RuntimeError('Function "cuGraphNodeSetEnabled" not found') * err = ( __cuGraphNodeSetEnabled)(hGraphExec, hNode, isEnabled) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetEnabled)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_isEnabled); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5872, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5873 * raise RuntimeError('Function "cuGraphNodeSetEnabled" not found') * err = ( __cuGraphNodeSetEnabled)(hGraphExec, hNode, isEnabled) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeGetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int* isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5866 * return err * * cdef CUresult _cuGraphNodeSetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeSetEnabled * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeSetEnabled", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5875 * return err * * cdef CUresult _cuGraphNodeGetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int* isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetEnabled * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetEnabled(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, unsigned int *__pyx_v_isEnabled) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeGetEnabled", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5877 * cdef CUresult _cuGraphNodeGetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int* isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeGetEnabled * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeGetEnabled == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5877, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5878 * global __cuGraphNodeGetEnabled * cuPythonInit() * if __cuGraphNodeGetEnabled == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetEnabled" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetEnabled == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5879 * cuPythonInit() * if __cuGraphNodeGetEnabled == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetEnabled" not found') * err = ( __cuGraphNodeGetEnabled)(hGraphExec, hNode, isEnabled) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5880 * if __cuGraphNodeGetEnabled == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeGetEnabled" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeGetEnabled)(hGraphExec, hNode, isEnabled) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeGetEnabled_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5880, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5880, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5879 * cuPythonInit() * if __cuGraphNodeGetEnabled == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeGetEnabled" not found') * err = ( __cuGraphNodeGetEnabled)(hGraphExec, hNode, isEnabled) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5878 * global __cuGraphNodeGetEnabled * cuPythonInit() * if __cuGraphNodeGetEnabled == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeGetEnabled" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5881 * with gil: * raise RuntimeError('Function "cuGraphNodeGetEnabled" not found') * err = ( __cuGraphNodeGetEnabled)(hGraphExec, hNode, isEnabled) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, unsigned int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetEnabled)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_isEnabled); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5881, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5882 * raise RuntimeError('Function "cuGraphNodeGetEnabled" not found') * err = ( __cuGraphNodeGetEnabled)(hGraphExec, hNode, isEnabled) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphUpload(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5875 * return err * * cdef CUresult _cuGraphNodeGetEnabled(CUgraphExec hGraphExec, CUgraphNode hNode, unsigned int* isEnabled) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeGetEnabled * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeGetEnabled", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5884 * return err * * cdef CUresult _cuGraphUpload(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphUpload * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphUpload(CUgraphExec __pyx_v_hGraphExec, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphUpload", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5886 * cdef CUresult _cuGraphUpload(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphUpload * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphUpload == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5886, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5887 * global __cuGraphUpload * cuPythonInit() * if __cuGraphUpload == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphUpload" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5888 * cuPythonInit() * if __cuGraphUpload == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphUpload" not found') * err = ( __cuGraphUpload)(hGraphExec, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5889 * if __cuGraphUpload == NULL: * with gil: * raise RuntimeError('Function "cuGraphUpload" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphUpload)(hGraphExec, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphUpload_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5889, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5889, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5888 * cuPythonInit() * if __cuGraphUpload == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphUpload" not found') * err = ( __cuGraphUpload)(hGraphExec, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5887 * global __cuGraphUpload * cuPythonInit() * if __cuGraphUpload == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphUpload" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5890 * with gil: * raise RuntimeError('Function "cuGraphUpload" not found') * err = ( __cuGraphUpload)(hGraphExec, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload)(__pyx_v_hGraphExec, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5890, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5891 * raise RuntimeError('Function "cuGraphUpload" not found') * err = ( __cuGraphUpload)(hGraphExec, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphLaunch(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5884 * return err * * cdef CUresult _cuGraphUpload(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphUpload * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphUpload", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5893 * return err * * cdef CUresult _cuGraphLaunch(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphLaunch * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphLaunch(CUgraphExec __pyx_v_hGraphExec, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphLaunch", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5895 * cdef CUresult _cuGraphLaunch(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphLaunch * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphLaunch == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5895, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5896 * global __cuGraphLaunch * cuPythonInit() * if __cuGraphLaunch == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphLaunch" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5897 * cuPythonInit() * if __cuGraphLaunch == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphLaunch" not found') * err = ( __cuGraphLaunch)(hGraphExec, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5898 * if __cuGraphLaunch == NULL: * with gil: * raise RuntimeError('Function "cuGraphLaunch" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphLaunch)(hGraphExec, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphLaunch_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5898, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5898, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5897 * cuPythonInit() * if __cuGraphLaunch == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphLaunch" not found') * err = ( __cuGraphLaunch)(hGraphExec, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5896 * global __cuGraphLaunch * cuPythonInit() * if __cuGraphLaunch == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphLaunch" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5899 * with gil: * raise RuntimeError('Function "cuGraphLaunch" not found') * err = ( __cuGraphLaunch)(hGraphExec, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch)(__pyx_v_hGraphExec, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5899, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5900 * raise RuntimeError('Function "cuGraphLaunch" not found') * err = ( __cuGraphLaunch)(hGraphExec, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecDestroy(CUgraphExec hGraphExec) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5893 * return err * * cdef CUresult _cuGraphLaunch(CUgraphExec hGraphExec, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphLaunch * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphLaunch", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5902 * return err * * cdef CUresult _cuGraphExecDestroy(CUgraphExec hGraphExec) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecDestroy(CUgraphExec __pyx_v_hGraphExec) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5904 * cdef CUresult _cuGraphExecDestroy(CUgraphExec hGraphExec) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5904, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5905 * global __cuGraphExecDestroy * cuPythonInit() * if __cuGraphExecDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5906 * cuPythonInit() * if __cuGraphExecDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecDestroy" not found') * err = ( __cuGraphExecDestroy)(hGraphExec) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5907 * if __cuGraphExecDestroy == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecDestroy)(hGraphExec) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecDestroy_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5907, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5907, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5906 * cuPythonInit() * if __cuGraphExecDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecDestroy" not found') * err = ( __cuGraphExecDestroy)(hGraphExec) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5905 * global __cuGraphExecDestroy * cuPythonInit() * if __cuGraphExecDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5908 * with gil: * raise RuntimeError('Function "cuGraphExecDestroy" not found') * err = ( __cuGraphExecDestroy)(hGraphExec) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecDestroy)(__pyx_v_hGraphExec); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5908, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5909 * raise RuntimeError('Function "cuGraphExecDestroy" not found') * err = ( __cuGraphExecDestroy)(hGraphExec) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphDestroy(CUgraph hGraph) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5902 * return err * * cdef CUresult _cuGraphExecDestroy(CUgraphExec hGraphExec) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5911 * return err * * cdef CUresult _cuGraphDestroy(CUgraph hGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphDestroy(CUgraph __pyx_v_hGraph) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5913 * cdef CUresult _cuGraphDestroy(CUgraph hGraph) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5913, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5914 * global __cuGraphDestroy * cuPythonInit() * if __cuGraphDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5915 * cuPythonInit() * if __cuGraphDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphDestroy" not found') * err = ( __cuGraphDestroy)(hGraph) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5916 * if __cuGraphDestroy == NULL: * with gil: * raise RuntimeError('Function "cuGraphDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphDestroy)(hGraph) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphDestroy_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5916, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5916, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5915 * cuPythonInit() * if __cuGraphDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphDestroy" not found') * err = ( __cuGraphDestroy)(hGraph) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5914 * global __cuGraphDestroy * cuPythonInit() * if __cuGraphDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5917 * with gil: * raise RuntimeError('Function "cuGraphDestroy" not found') * err = ( __cuGraphDestroy)(hGraph) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroy)(__pyx_v_hGraph); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5917, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5918 * raise RuntimeError('Function "cuGraphDestroy" not found') * err = ( __cuGraphDestroy)(hGraph) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecUpdate_v2(CUgraphExec hGraphExec, CUgraph hGraph, CUgraphExecUpdateResultInfo* resultInfo) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5911 * return err * * cdef CUresult _cuGraphDestroy(CUgraph hGraph) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5920 * return err * * cdef CUresult _cuGraphExecUpdate_v2(CUgraphExec hGraphExec, CUgraph hGraph, CUgraphExecUpdateResultInfo* resultInfo) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecUpdate_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecUpdate_v2(CUgraphExec __pyx_v_hGraphExec, CUgraph __pyx_v_hGraph, CUgraphExecUpdateResultInfo *__pyx_v_resultInfo) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecUpdate_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5922 * cdef CUresult _cuGraphExecUpdate_v2(CUgraphExec hGraphExec, CUgraph hGraph, CUgraphExecUpdateResultInfo* resultInfo) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecUpdate_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecUpdate_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5922, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5923 * global __cuGraphExecUpdate_v2 * cuPythonInit() * if __cuGraphExecUpdate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecUpdate_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecUpdate_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5924 * cuPythonInit() * if __cuGraphExecUpdate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecUpdate_v2" not found') * err = ( __cuGraphExecUpdate_v2)(hGraphExec, hGraph, resultInfo) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5925 * if __cuGraphExecUpdate_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecUpdate_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecUpdate_v2)(hGraphExec, hGraph, resultInfo) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecUpdate_v2_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5925, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5925, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5924 * cuPythonInit() * if __cuGraphExecUpdate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecUpdate_v2" not found') * err = ( __cuGraphExecUpdate_v2)(hGraphExec, hGraph, resultInfo) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5923 * global __cuGraphExecUpdate_v2 * cuPythonInit() * if __cuGraphExecUpdate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecUpdate_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5926 * with gil: * raise RuntimeError('Function "cuGraphExecUpdate_v2" not found') * err = ( __cuGraphExecUpdate_v2)(hGraphExec, hGraph, resultInfo) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraph, CUgraphExecUpdateResultInfo *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecUpdate_v2)(__pyx_v_hGraphExec, __pyx_v_hGraph, __pyx_v_resultInfo); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5926, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5927 * raise RuntimeError('Function "cuGraphExecUpdate_v2" not found') * err = ( __cuGraphExecUpdate_v2)(hGraphExec, hGraph, resultInfo) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphKernelNodeCopyAttributes(CUgraphNode dst, CUgraphNode src) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5920 * return err * * cdef CUresult _cuGraphExecUpdate_v2(CUgraphExec hGraphExec, CUgraph hGraph, CUgraphExecUpdateResultInfo* resultInfo) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecUpdate_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecUpdate_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5929 * return err * * cdef CUresult _cuGraphKernelNodeCopyAttributes(CUgraphNode dst, CUgraphNode src) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeCopyAttributes * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeCopyAttributes(CUgraphNode __pyx_v_dst, CUgraphNode __pyx_v_src) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphKernelNodeCopyAttributes", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5931 * cdef CUresult _cuGraphKernelNodeCopyAttributes(CUgraphNode dst, CUgraphNode src) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphKernelNodeCopyAttributes * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphKernelNodeCopyAttributes == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5931, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5932 * global __cuGraphKernelNodeCopyAttributes * cuPythonInit() * if __cuGraphKernelNodeCopyAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeCopyAttributes" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeCopyAttributes == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5933 * cuPythonInit() * if __cuGraphKernelNodeCopyAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeCopyAttributes" not found') * err = ( __cuGraphKernelNodeCopyAttributes)(dst, src) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5934 * if __cuGraphKernelNodeCopyAttributes == NULL: * with gil: * raise RuntimeError('Function "cuGraphKernelNodeCopyAttributes" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphKernelNodeCopyAttributes)(dst, src) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphKernelNodeCopyAt}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5934, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5934, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5933 * cuPythonInit() * if __cuGraphKernelNodeCopyAttributes == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeCopyAttributes" not found') * err = ( __cuGraphKernelNodeCopyAttributes)(dst, src) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5932 * global __cuGraphKernelNodeCopyAttributes * cuPythonInit() * if __cuGraphKernelNodeCopyAttributes == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeCopyAttributes" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5935 * with gil: * raise RuntimeError('Function "cuGraphKernelNodeCopyAttributes" not found') * err = ( __cuGraphKernelNodeCopyAttributes)(dst, src) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraphNode))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeCopyAttributes)(__pyx_v_dst, __pyx_v_src); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5935, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5936 * raise RuntimeError('Function "cuGraphKernelNodeCopyAttributes" not found') * err = ( __cuGraphKernelNodeCopyAttributes)(dst, src) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphKernelNodeGetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, CUkernelNodeAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5929 * return err * * cdef CUresult _cuGraphKernelNodeCopyAttributes(CUgraphNode dst, CUgraphNode src) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeCopyAttributes * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphKernelNodeCopyAttributes", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5938 * return err * * cdef CUresult _cuGraphKernelNodeGetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, CUkernelNodeAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeGetAttribute(CUgraphNode __pyx_v_hNode, CUkernelNodeAttrID __pyx_v_attr, CUkernelNodeAttrValue *__pyx_v_value_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphKernelNodeGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5940 * cdef CUresult _cuGraphKernelNodeGetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, CUkernelNodeAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphKernelNodeGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphKernelNodeGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5940, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5941 * global __cuGraphKernelNodeGetAttribute * cuPythonInit() * if __cuGraphKernelNodeGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5942 * cuPythonInit() * if __cuGraphKernelNodeGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeGetAttribute" not found') * err = ( __cuGraphKernelNodeGetAttribute)(hNode, attr, value_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5943 * if __cuGraphKernelNodeGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphKernelNodeGetAttribute)(hNode, attr, value_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphKernelNodeGetAtt}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5943, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5943, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5942 * cuPythonInit() * if __cuGraphKernelNodeGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeGetAttribute" not found') * err = ( __cuGraphKernelNodeGetAttribute)(hNode, attr, value_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5941 * global __cuGraphKernelNodeGetAttribute * cuPythonInit() * if __cuGraphKernelNodeGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5944 * with gil: * raise RuntimeError('Function "cuGraphKernelNodeGetAttribute" not found') * err = ( __cuGraphKernelNodeGetAttribute)(hNode, attr, value_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUkernelNodeAttrID, CUkernelNodeAttrValue *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetAttribute)(__pyx_v_hNode, __pyx_v_attr, __pyx_v_value_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5944, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5945 * raise RuntimeError('Function "cuGraphKernelNodeGetAttribute" not found') * err = ( __cuGraphKernelNodeGetAttribute)(hNode, attr, value_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphKernelNodeSetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, const CUkernelNodeAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5938 * return err * * cdef CUresult _cuGraphKernelNodeGetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, CUkernelNodeAttrValue* value_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphKernelNodeGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5947 * return err * * cdef CUresult _cuGraphKernelNodeSetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, const CUkernelNodeAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeSetAttribute(CUgraphNode __pyx_v_hNode, CUkernelNodeAttrID __pyx_v_attr, CUkernelNodeAttrValue const *__pyx_v_value) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphKernelNodeSetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5949 * cdef CUresult _cuGraphKernelNodeSetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, const CUkernelNodeAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphKernelNodeSetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphKernelNodeSetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5949, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5950 * global __cuGraphKernelNodeSetAttribute * cuPythonInit() * if __cuGraphKernelNodeSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5951 * cuPythonInit() * if __cuGraphKernelNodeSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeSetAttribute" not found') * err = ( __cuGraphKernelNodeSetAttribute)(hNode, attr, value) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5952 * if __cuGraphKernelNodeSetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphKernelNodeSetAttribute)(hNode, attr, value) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphKernelNodeSetAtt}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5952, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5952, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5951 * cuPythonInit() * if __cuGraphKernelNodeSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphKernelNodeSetAttribute" not found') * err = ( __cuGraphKernelNodeSetAttribute)(hNode, attr, value) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5950 * global __cuGraphKernelNodeSetAttribute * cuPythonInit() * if __cuGraphKernelNodeSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5953 * with gil: * raise RuntimeError('Function "cuGraphKernelNodeSetAttribute" not found') * err = ( __cuGraphKernelNodeSetAttribute)(hNode, attr, value) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUkernelNodeAttrID, CUkernelNodeAttrValue const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetAttribute)(__pyx_v_hNode, __pyx_v_attr, __pyx_v_value); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5953, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5954 * raise RuntimeError('Function "cuGraphKernelNodeSetAttribute" not found') * err = ( __cuGraphKernelNodeSetAttribute)(hNode, attr, value) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphDebugDotPrint(CUgraph hGraph, const char* path, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5947 * return err * * cdef CUresult _cuGraphKernelNodeSetAttribute(CUgraphNode hNode, CUkernelNodeAttrID attr, const CUkernelNodeAttrValue* value) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphKernelNodeSetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5956 * return err * * cdef CUresult _cuGraphDebugDotPrint(CUgraph hGraph, const char* path, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphDebugDotPrint * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphDebugDotPrint(CUgraph __pyx_v_hGraph, char const *__pyx_v_path, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphDebugDotPrint", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5958 * cdef CUresult _cuGraphDebugDotPrint(CUgraph hGraph, const char* path, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphDebugDotPrint * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphDebugDotPrint == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5958, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5959 * global __cuGraphDebugDotPrint * cuPythonInit() * if __cuGraphDebugDotPrint == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphDebugDotPrint" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDebugDotPrint == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5960 * cuPythonInit() * if __cuGraphDebugDotPrint == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphDebugDotPrint" not found') * err = ( __cuGraphDebugDotPrint)(hGraph, path, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5961 * if __cuGraphDebugDotPrint == NULL: * with gil: * raise RuntimeError('Function "cuGraphDebugDotPrint" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphDebugDotPrint)(hGraph, path, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphDebugDotPrint_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5961, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5961, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5960 * cuPythonInit() * if __cuGraphDebugDotPrint == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphDebugDotPrint" not found') * err = ( __cuGraphDebugDotPrint)(hGraph, path, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5959 * global __cuGraphDebugDotPrint * cuPythonInit() * if __cuGraphDebugDotPrint == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphDebugDotPrint" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5962 * with gil: * raise RuntimeError('Function "cuGraphDebugDotPrint" not found') * err = ( __cuGraphDebugDotPrint)(hGraph, path, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, char const *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDebugDotPrint)(__pyx_v_hGraph, __pyx_v_path, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5962, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5963 * raise RuntimeError('Function "cuGraphDebugDotPrint" not found') * err = ( __cuGraphDebugDotPrint)(hGraph, path, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuUserObjectCreate(CUuserObject* object_out, void* ptr, CUhostFn destroy, unsigned int initialRefcount, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5956 * return err * * cdef CUresult _cuGraphDebugDotPrint(CUgraph hGraph, const char* path, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphDebugDotPrint * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphDebugDotPrint", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5965 * return err * * cdef CUresult _cuUserObjectCreate(CUuserObject* object_out, void* ptr, CUhostFn destroy, unsigned int initialRefcount, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuUserObjectCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuUserObjectCreate(CUuserObject *__pyx_v_object_out, void *__pyx_v_ptr, CUhostFn __pyx_v_destroy, unsigned int __pyx_v_initialRefcount, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuUserObjectCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5967 * cdef CUresult _cuUserObjectCreate(CUuserObject* object_out, void* ptr, CUhostFn destroy, unsigned int initialRefcount, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuUserObjectCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuUserObjectCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5967, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5968 * global __cuUserObjectCreate * cuPythonInit() * if __cuUserObjectCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuUserObjectCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5969 * cuPythonInit() * if __cuUserObjectCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuUserObjectCreate" not found') * err = ( __cuUserObjectCreate)(object_out, ptr, destroy, initialRefcount, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5970 * if __cuUserObjectCreate == NULL: * with gil: * raise RuntimeError('Function "cuUserObjectCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuUserObjectCreate)(object_out, ptr, destroy, initialRefcount, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuUserObjectCreate_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5970, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5970, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5969 * cuPythonInit() * if __cuUserObjectCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuUserObjectCreate" not found') * err = ( __cuUserObjectCreate)(object_out, ptr, destroy, initialRefcount, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5968 * global __cuUserObjectCreate * cuPythonInit() * if __cuUserObjectCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuUserObjectCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5971 * with gil: * raise RuntimeError('Function "cuUserObjectCreate" not found') * err = ( __cuUserObjectCreate)(object_out, ptr, destroy, initialRefcount, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUuserObject *, void *, CUhostFn, unsigned int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectCreate)(__pyx_v_object_out, __pyx_v_ptr, __pyx_v_destroy, __pyx_v_initialRefcount, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5971, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5972 * raise RuntimeError('Function "cuUserObjectCreate" not found') * err = ( __cuUserObjectCreate)(object_out, ptr, destroy, initialRefcount, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuUserObjectRetain(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5965 * return err * * cdef CUresult _cuUserObjectCreate(CUuserObject* object_out, void* ptr, CUhostFn destroy, unsigned int initialRefcount, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuUserObjectCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuUserObjectCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5974 * return err * * cdef CUresult _cuUserObjectRetain(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuUserObjectRetain * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuUserObjectRetain(CUuserObject __pyx_v_object, unsigned int __pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuUserObjectRetain", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5976 * cdef CUresult _cuUserObjectRetain(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuUserObjectRetain * cuPythonInit() # <<<<<<<<<<<<<< * if __cuUserObjectRetain == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5976, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5977 * global __cuUserObjectRetain * cuPythonInit() * if __cuUserObjectRetain == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuUserObjectRetain" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRetain == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5978 * cuPythonInit() * if __cuUserObjectRetain == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuUserObjectRetain" not found') * err = ( __cuUserObjectRetain)(object, count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5979 * if __cuUserObjectRetain == NULL: * with gil: * raise RuntimeError('Function "cuUserObjectRetain" not found') # <<<<<<<<<<<<<< * err = ( __cuUserObjectRetain)(object, count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuUserObjectRetain_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5979, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5979, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5978 * cuPythonInit() * if __cuUserObjectRetain == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuUserObjectRetain" not found') * err = ( __cuUserObjectRetain)(object, count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5977 * global __cuUserObjectRetain * cuPythonInit() * if __cuUserObjectRetain == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuUserObjectRetain" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5980 * with gil: * raise RuntimeError('Function "cuUserObjectRetain" not found') * err = ( __cuUserObjectRetain)(object, count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUuserObject, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRetain)(__pyx_v_object, __pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5980, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5981 * raise RuntimeError('Function "cuUserObjectRetain" not found') * err = ( __cuUserObjectRetain)(object, count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuUserObjectRelease(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5974 * return err * * cdef CUresult _cuUserObjectRetain(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuUserObjectRetain * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuUserObjectRetain", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5983 * return err * * cdef CUresult _cuUserObjectRelease(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuUserObjectRelease * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuUserObjectRelease(CUuserObject __pyx_v_object, unsigned int __pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuUserObjectRelease", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5985 * cdef CUresult _cuUserObjectRelease(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuUserObjectRelease * cuPythonInit() # <<<<<<<<<<<<<< * if __cuUserObjectRelease == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5985, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5986 * global __cuUserObjectRelease * cuPythonInit() * if __cuUserObjectRelease == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuUserObjectRelease" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRelease == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5987 * cuPythonInit() * if __cuUserObjectRelease == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuUserObjectRelease" not found') * err = ( __cuUserObjectRelease)(object, count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5988 * if __cuUserObjectRelease == NULL: * with gil: * raise RuntimeError('Function "cuUserObjectRelease" not found') # <<<<<<<<<<<<<< * err = ( __cuUserObjectRelease)(object, count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuUserObjectRelease_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5988, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5988, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5987 * cuPythonInit() * if __cuUserObjectRelease == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuUserObjectRelease" not found') * err = ( __cuUserObjectRelease)(object, count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5986 * global __cuUserObjectRelease * cuPythonInit() * if __cuUserObjectRelease == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuUserObjectRelease" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5989 * with gil: * raise RuntimeError('Function "cuUserObjectRelease" not found') * err = ( __cuUserObjectRelease)(object, count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUuserObject, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRelease)(__pyx_v_object, __pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5989, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5990 * raise RuntimeError('Function "cuUserObjectRelease" not found') * err = ( __cuUserObjectRelease)(object, count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphRetainUserObject(CUgraph graph, CUuserObject object, unsigned int count, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5983 * return err * * cdef CUresult _cuUserObjectRelease(CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuUserObjectRelease * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuUserObjectRelease", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":5992 * return err * * cdef CUresult _cuGraphRetainUserObject(CUgraph graph, CUuserObject object, unsigned int count, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphRetainUserObject * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphRetainUserObject(CUgraph __pyx_v_graph, CUuserObject __pyx_v_object, unsigned int __pyx_v_count, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphRetainUserObject", 1); /* "cuda/bindings/_bindings/cydriver.pyx":5994 * cdef CUresult _cuGraphRetainUserObject(CUgraph graph, CUuserObject object, unsigned int count, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphRetainUserObject * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphRetainUserObject == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 5994, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":5995 * global __cuGraphRetainUserObject * cuPythonInit() * if __cuGraphRetainUserObject == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphRetainUserObject" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRetainUserObject == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":5996 * cuPythonInit() * if __cuGraphRetainUserObject == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphRetainUserObject" not found') * err = ( __cuGraphRetainUserObject)(graph, object, count, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":5997 * if __cuGraphRetainUserObject == NULL: * with gil: * raise RuntimeError('Function "cuGraphRetainUserObject" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphRetainUserObject)(graph, object, count, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphRetainUserObject}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5997, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 5997, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":5996 * cuPythonInit() * if __cuGraphRetainUserObject == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphRetainUserObject" not found') * err = ( __cuGraphRetainUserObject)(graph, object, count, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":5995 * global __cuGraphRetainUserObject * cuPythonInit() * if __cuGraphRetainUserObject == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphRetainUserObject" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":5998 * with gil: * raise RuntimeError('Function "cuGraphRetainUserObject" not found') * err = ( __cuGraphRetainUserObject)(graph, object, count, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUuserObject, unsigned int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRetainUserObject)(__pyx_v_graph, __pyx_v_object, __pyx_v_count, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 5998, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":5999 * raise RuntimeError('Function "cuGraphRetainUserObject" not found') * err = ( __cuGraphRetainUserObject)(graph, object, count, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphReleaseUserObject(CUgraph graph, CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":5992 * return err * * cdef CUresult _cuGraphRetainUserObject(CUgraph graph, CUuserObject object, unsigned int count, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphRetainUserObject * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphRetainUserObject", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6001 * return err * * cdef CUresult _cuGraphReleaseUserObject(CUgraph graph, CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphReleaseUserObject * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphReleaseUserObject(CUgraph __pyx_v_graph, CUuserObject __pyx_v_object, unsigned int __pyx_v_count) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphReleaseUserObject", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6003 * cdef CUresult _cuGraphReleaseUserObject(CUgraph graph, CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphReleaseUserObject * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphReleaseUserObject == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6003, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6004 * global __cuGraphReleaseUserObject * cuPythonInit() * if __cuGraphReleaseUserObject == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphReleaseUserObject" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphReleaseUserObject == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6005 * cuPythonInit() * if __cuGraphReleaseUserObject == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphReleaseUserObject" not found') * err = ( __cuGraphReleaseUserObject)(graph, object, count) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6006 * if __cuGraphReleaseUserObject == NULL: * with gil: * raise RuntimeError('Function "cuGraphReleaseUserObject" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphReleaseUserObject)(graph, object, count) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphReleaseUserObjec}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6006, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6006, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6005 * cuPythonInit() * if __cuGraphReleaseUserObject == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphReleaseUserObject" not found') * err = ( __cuGraphReleaseUserObject)(graph, object, count) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6004 * global __cuGraphReleaseUserObject * cuPythonInit() * if __cuGraphReleaseUserObject == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphReleaseUserObject" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6007 * with gil: * raise RuntimeError('Function "cuGraphReleaseUserObject" not found') * err = ( __cuGraphReleaseUserObject)(graph, object, count) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraph, CUuserObject, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphReleaseUserObject)(__pyx_v_graph, __pyx_v_object, __pyx_v_count); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6007, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6008 * raise RuntimeError('Function "cuGraphReleaseUserObject" not found') * err = ( __cuGraphReleaseUserObject)(graph, object, count) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6001 * return err * * cdef CUresult _cuGraphReleaseUserObject(CUgraph graph, CUuserObject object, unsigned int count) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphReleaseUserObject * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphReleaseUserObject", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6010 * return err * * cdef CUresult _cuGraphAddNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddNode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddNode(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, size_t __pyx_v_numDependencies, CUgraphNodeParams *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddNode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6012 * cdef CUresult _cuGraphAddNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddNode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddNode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6012, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6013 * global __cuGraphAddNode * cuPythonInit() * if __cuGraphAddNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddNode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6014 * cuPythonInit() * if __cuGraphAddNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddNode" not found') * err = ( __cuGraphAddNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6015 * if __cuGraphAddNode == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddNode" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddNode_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6015, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6015, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6014 * cuPythonInit() * if __cuGraphAddNode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddNode" not found') * err = ( __cuGraphAddNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6013 * global __cuGraphAddNode * cuPythonInit() * if __cuGraphAddNode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddNode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6016 * with gil: * raise RuntimeError('Function "cuGraphAddNode" not found') * err = ( __cuGraphAddNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUgraphNodeParams *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6016, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6017 * raise RuntimeError('Function "cuGraphAddNode" not found') * err = ( __cuGraphAddNode)(phGraphNode, hGraph, dependencies, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphAddNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6010 * return err * * cdef CUresult _cuGraphAddNode(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddNode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddNode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6019 * return err * * cdef CUresult _cuGraphAddNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddNode_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddNode_v2(CUgraphNode *__pyx_v_phGraphNode, CUgraph __pyx_v_hGraph, CUgraphNode const *__pyx_v_dependencies, CUgraphEdgeData const *__pyx_v_dependencyData, size_t __pyx_v_numDependencies, CUgraphNodeParams *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphAddNode_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6021 * cdef CUresult _cuGraphAddNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphAddNode_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphAddNode_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6021, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6022 * global __cuGraphAddNode_v2 * cuPythonInit() * if __cuGraphAddNode_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddNode_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6023 * cuPythonInit() * if __cuGraphAddNode_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddNode_v2" not found') * err = ( __cuGraphAddNode_v2)(phGraphNode, hGraph, dependencies, dependencyData, numDependencies, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6024 * if __cuGraphAddNode_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphAddNode_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphAddNode_v2)(phGraphNode, hGraph, dependencies, dependencyData, numDependencies, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphAddNode_v2_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6024, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6024, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6023 * cuPythonInit() * if __cuGraphAddNode_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphAddNode_v2" not found') * err = ( __cuGraphAddNode_v2)(phGraphNode, hGraph, dependencies, dependencyData, numDependencies, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6022 * global __cuGraphAddNode_v2 * cuPythonInit() * if __cuGraphAddNode_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphAddNode_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6025 * with gil: * raise RuntimeError('Function "cuGraphAddNode_v2" not found') * err = ( __cuGraphAddNode_v2)(phGraphNode, hGraph, dependencies, dependencyData, numDependencies, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode *, CUgraph, CUgraphNode const *, CUgraphEdgeData const *, size_t, CUgraphNodeParams *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode_v2)(__pyx_v_phGraphNode, __pyx_v_hGraph, __pyx_v_dependencies, __pyx_v_dependencyData, __pyx_v_numDependencies, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6025, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6026 * raise RuntimeError('Function "cuGraphAddNode_v2" not found') * err = ( __cuGraphAddNode_v2)(phGraphNode, hGraph, dependencies, dependencyData, numDependencies, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphNodeSetParams(CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6019 * return err * * cdef CUresult _cuGraphAddNode_v2(CUgraphNode* phGraphNode, CUgraph hGraph, const CUgraphNode* dependencies, const CUgraphEdgeData* dependencyData, size_t numDependencies, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphAddNode_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphAddNode_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6028 * return err * * cdef CUresult _cuGraphNodeSetParams(CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeSetParams(CUgraphNode __pyx_v_hNode, CUgraphNodeParams *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6030 * cdef CUresult _cuGraphNodeSetParams(CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6030, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6031 * global __cuGraphNodeSetParams * cuPythonInit() * if __cuGraphNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6032 * cuPythonInit() * if __cuGraphNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeSetParams" not found') * err = ( __cuGraphNodeSetParams)(hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6033 * if __cuGraphNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphNodeSetParams)(hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphNodeSetParams_no}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6033, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6033, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6032 * cuPythonInit() * if __cuGraphNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphNodeSetParams" not found') * err = ( __cuGraphNodeSetParams)(hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6031 * global __cuGraphNodeSetParams * cuPythonInit() * if __cuGraphNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6034 * with gil: * raise RuntimeError('Function "cuGraphNodeSetParams" not found') * err = ( __cuGraphNodeSetParams)(hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphNode, CUgraphNodeParams *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetParams)(__pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6034, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6035 * raise RuntimeError('Function "cuGraphNodeSetParams" not found') * err = ( __cuGraphNodeSetParams)(hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphExecNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6028 * return err * * cdef CUresult _cuGraphNodeSetParams(CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6037 * return err * * cdef CUresult _cuGraphExecNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecNodeSetParams * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecNodeSetParams(CUgraphExec __pyx_v_hGraphExec, CUgraphNode __pyx_v_hNode, CUgraphNodeParams *__pyx_v_nodeParams) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphExecNodeSetParams", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6039 * cdef CUresult _cuGraphExecNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphExecNodeSetParams * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphExecNodeSetParams == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6039, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6040 * global __cuGraphExecNodeSetParams * cuPythonInit() * if __cuGraphExecNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecNodeSetParams" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecNodeSetParams == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6041 * cuPythonInit() * if __cuGraphExecNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecNodeSetParams" not found') * err = ( __cuGraphExecNodeSetParams)(hGraphExec, hNode, nodeParams) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6042 * if __cuGraphExecNodeSetParams == NULL: * with gil: * raise RuntimeError('Function "cuGraphExecNodeSetParams" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphExecNodeSetParams)(hGraphExec, hNode, nodeParams) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphExecNodeSetParam}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6042, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6042, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6041 * cuPythonInit() * if __cuGraphExecNodeSetParams == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphExecNodeSetParams" not found') * err = ( __cuGraphExecNodeSetParams)(hGraphExec, hNode, nodeParams) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6040 * global __cuGraphExecNodeSetParams * cuPythonInit() * if __cuGraphExecNodeSetParams == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphExecNodeSetParams" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6043 * with gil: * raise RuntimeError('Function "cuGraphExecNodeSetParams" not found') * err = ( __cuGraphExecNodeSetParams)(hGraphExec, hNode, nodeParams) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphExec, CUgraphNode, CUgraphNodeParams *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecNodeSetParams)(__pyx_v_hGraphExec, __pyx_v_hNode, __pyx_v_nodeParams); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6043, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6044 * raise RuntimeError('Function "cuGraphExecNodeSetParams" not found') * err = ( __cuGraphExecNodeSetParams)(hGraphExec, hNode, nodeParams) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphConditionalHandleCreate(CUgraphConditionalHandle* pHandle_out, CUgraph hGraph, CUcontext ctx, unsigned int defaultLaunchValue, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6037 * return err * * cdef CUresult _cuGraphExecNodeSetParams(CUgraphExec hGraphExec, CUgraphNode hNode, CUgraphNodeParams* nodeParams) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphExecNodeSetParams * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphExecNodeSetParams", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6046 * return err * * cdef CUresult _cuGraphConditionalHandleCreate(CUgraphConditionalHandle* pHandle_out, CUgraph hGraph, CUcontext ctx, unsigned int defaultLaunchValue, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphConditionalHandleCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphConditionalHandleCreate(CUgraphConditionalHandle *__pyx_v_pHandle_out, CUgraph __pyx_v_hGraph, CUcontext __pyx_v_ctx, unsigned int __pyx_v_defaultLaunchValue, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphConditionalHandleCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6048 * cdef CUresult _cuGraphConditionalHandleCreate(CUgraphConditionalHandle* pHandle_out, CUgraph hGraph, CUcontext ctx, unsigned int defaultLaunchValue, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphConditionalHandleCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphConditionalHandleCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6048, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6049 * global __cuGraphConditionalHandleCreate * cuPythonInit() * if __cuGraphConditionalHandleCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphConditionalHandleCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphConditionalHandleCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6050 * cuPythonInit() * if __cuGraphConditionalHandleCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphConditionalHandleCreate" not found') * err = ( __cuGraphConditionalHandleCreate)(pHandle_out, hGraph, ctx, defaultLaunchValue, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6051 * if __cuGraphConditionalHandleCreate == NULL: * with gil: * raise RuntimeError('Function "cuGraphConditionalHandleCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphConditionalHandleCreate)(pHandle_out, hGraph, ctx, defaultLaunchValue, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphConditionalHandl}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6051, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6051, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6050 * cuPythonInit() * if __cuGraphConditionalHandleCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphConditionalHandleCreate" not found') * err = ( __cuGraphConditionalHandleCreate)(pHandle_out, hGraph, ctx, defaultLaunchValue, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6049 * global __cuGraphConditionalHandleCreate * cuPythonInit() * if __cuGraphConditionalHandleCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphConditionalHandleCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6052 * with gil: * raise RuntimeError('Function "cuGraphConditionalHandleCreate" not found') * err = ( __cuGraphConditionalHandleCreate)(pHandle_out, hGraph, ctx, defaultLaunchValue, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphConditionalHandle *, CUgraph, CUcontext, unsigned int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphConditionalHandleCreate)(__pyx_v_pHandle_out, __pyx_v_hGraph, __pyx_v_ctx, __pyx_v_defaultLaunchValue, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6052, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6053 * raise RuntimeError('Function "cuGraphConditionalHandleCreate" not found') * err = ( __cuGraphConditionalHandleCreate)(pHandle_out, hGraph, ctx, defaultLaunchValue, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessor(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6046 * return err * * cdef CUresult _cuGraphConditionalHandleCreate(CUgraphConditionalHandle* pHandle_out, CUgraph hGraph, CUcontext ctx, unsigned int defaultLaunchValue, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphConditionalHandleCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphConditionalHandleCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6055 * return err * * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessor(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxActiveBlocksPerMultiprocessor(int *__pyx_v_numBlocks, CUfunction __pyx_v_func, int __pyx_v_blockSize, size_t __pyx_v_dynamicSMemSize) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuOccupancyMaxActiveBlocksPerMultiprocessor", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6057 * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessor(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * cuPythonInit() # <<<<<<<<<<<<<< * if __cuOccupancyMaxActiveBlocksPerMultiprocessor == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6057, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6058 * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessor == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessor" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessor == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6059 * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessor == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessor" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessor)(numBlocks, func, blockSize, dynamicSMemSize) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6060 * if __cuOccupancyMaxActiveBlocksPerMultiprocessor == NULL: * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessor" not found') # <<<<<<<<<<<<<< * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessor)(numBlocks, func, blockSize, dynamicSMemSize) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuOccupancyMaxActiveBlo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6060, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6060, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6059 * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessor == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessor" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessor)(numBlocks, func, blockSize, dynamicSMemSize) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6058 * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessor == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessor" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6061 * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessor" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessor)(numBlocks, func, blockSize, dynamicSMemSize) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUfunction, int, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessor)(__pyx_v_numBlocks, __pyx_v_func, __pyx_v_blockSize, __pyx_v_dynamicSMemSize); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6061, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6062 * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessor" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessor)(numBlocks, func, blockSize, dynamicSMemSize) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6055 * return err * * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessor(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuOccupancyMaxActiveBlocksPerMultiprocessor", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6064 * return err * * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int *__pyx_v_numBlocks, CUfunction __pyx_v_func, int __pyx_v_blockSize, size_t __pyx_v_dynamicSMemSize, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6066 * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6066, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6067 * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6068 * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(numBlocks, func, blockSize, dynamicSMemSize, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6069 * if __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags == NULL: * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(numBlocks, func, blockSize, dynamicSMemSize, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuOccupancyMaxActiveBlo_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6069, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6069, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6068 * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(numBlocks, func, blockSize, dynamicSMemSize, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6067 * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * cuPythonInit() * if __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6070 * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(numBlocks, func, blockSize, dynamicSMemSize, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUfunction, int, size_t, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(__pyx_v_numBlocks, __pyx_v_func, __pyx_v_blockSize, __pyx_v_dynamicSMemSize, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6070, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6071 * raise RuntimeError('Function "cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags" not found') * err = ( __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)(numBlocks, func, blockSize, dynamicSMemSize, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuOccupancyMaxPotentialBlockSize(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6064 * return err * * cdef CUresult _cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int* numBlocks, CUfunction func, int blockSize, size_t dynamicSMemSize, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6073 * return err * * cdef CUresult _cuOccupancyMaxPotentialBlockSize(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSize * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxPotentialBlockSize(int *__pyx_v_minGridSize, int *__pyx_v_blockSize, CUfunction __pyx_v_func, CUoccupancyB2DSize __pyx_v_blockSizeToDynamicSMemSize, size_t __pyx_v_dynamicSMemSize, int __pyx_v_blockSizeLimit) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuOccupancyMaxPotentialBlockSize", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6075 * cdef CUresult _cuOccupancyMaxPotentialBlockSize(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuOccupancyMaxPotentialBlockSize * cuPythonInit() # <<<<<<<<<<<<<< * if __cuOccupancyMaxPotentialBlockSize == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6075, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6076 * global __cuOccupancyMaxPotentialBlockSize * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSize" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSize == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6077 * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSize" not found') * err = ( __cuOccupancyMaxPotentialBlockSize)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6078 * if __cuOccupancyMaxPotentialBlockSize == NULL: * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSize" not found') # <<<<<<<<<<<<<< * err = ( __cuOccupancyMaxPotentialBlockSize)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuOccupancyMaxPotential}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6078, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6078, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6077 * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSize" not found') * err = ( __cuOccupancyMaxPotentialBlockSize)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6076 * global __cuOccupancyMaxPotentialBlockSize * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSize" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6079 * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSize" not found') * err = ( __cuOccupancyMaxPotentialBlockSize)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, int *, CUfunction, CUoccupancyB2DSize, size_t, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSize)(__pyx_v_minGridSize, __pyx_v_blockSize, __pyx_v_func, __pyx_v_blockSizeToDynamicSMemSize, __pyx_v_dynamicSMemSize, __pyx_v_blockSizeLimit); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6079, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6080 * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSize" not found') * err = ( __cuOccupancyMaxPotentialBlockSize)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuOccupancyMaxPotentialBlockSizeWithFlags(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6073 * return err * * cdef CUresult _cuOccupancyMaxPotentialBlockSize(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSize * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuOccupancyMaxPotentialBlockSize", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6082 * return err * * cdef CUresult _cuOccupancyMaxPotentialBlockSizeWithFlags(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSizeWithFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxPotentialBlockSizeWithFlags(int *__pyx_v_minGridSize, int *__pyx_v_blockSize, CUfunction __pyx_v_func, CUoccupancyB2DSize __pyx_v_blockSizeToDynamicSMemSize, size_t __pyx_v_dynamicSMemSize, int __pyx_v_blockSizeLimit, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuOccupancyMaxPotentialBlockSizeWithFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6084 * cdef CUresult _cuOccupancyMaxPotentialBlockSizeWithFlags(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuOccupancyMaxPotentialBlockSizeWithFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuOccupancyMaxPotentialBlockSizeWithFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6084, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6085 * global __cuOccupancyMaxPotentialBlockSizeWithFlags * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSizeWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSizeWithFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSizeWithFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6086 * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSizeWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSizeWithFlags" not found') * err = ( __cuOccupancyMaxPotentialBlockSizeWithFlags)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6087 * if __cuOccupancyMaxPotentialBlockSizeWithFlags == NULL: * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSizeWithFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuOccupancyMaxPotentialBlockSizeWithFlags)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuOccupancyMaxPotential_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6087, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6087, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6086 * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSizeWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSizeWithFlags" not found') * err = ( __cuOccupancyMaxPotentialBlockSizeWithFlags)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6085 * global __cuOccupancyMaxPotentialBlockSizeWithFlags * cuPythonInit() * if __cuOccupancyMaxPotentialBlockSizeWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSizeWithFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6088 * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSizeWithFlags" not found') * err = ( __cuOccupancyMaxPotentialBlockSizeWithFlags)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, int *, CUfunction, CUoccupancyB2DSize, size_t, int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSizeWithFlags)(__pyx_v_minGridSize, __pyx_v_blockSize, __pyx_v_func, __pyx_v_blockSizeToDynamicSMemSize, __pyx_v_dynamicSMemSize, __pyx_v_blockSizeLimit, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6088, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6089 * raise RuntimeError('Function "cuOccupancyMaxPotentialBlockSizeWithFlags" not found') * err = ( __cuOccupancyMaxPotentialBlockSizeWithFlags)(minGridSize, blockSize, func, blockSizeToDynamicSMemSize, dynamicSMemSize, blockSizeLimit, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuOccupancyAvailableDynamicSMemPerBlock(size_t* dynamicSmemSize, CUfunction func, int numBlocks, int blockSize) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6082 * return err * * cdef CUresult _cuOccupancyMaxPotentialBlockSizeWithFlags(int* minGridSize, int* blockSize, CUfunction func, CUoccupancyB2DSize blockSizeToDynamicSMemSize, size_t dynamicSMemSize, int blockSizeLimit, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSizeWithFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuOccupancyMaxPotentialBlockSizeWithFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6091 * return err * * cdef CUresult _cuOccupancyAvailableDynamicSMemPerBlock(size_t* dynamicSmemSize, CUfunction func, int numBlocks, int blockSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyAvailableDynamicSMemPerBlock * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyAvailableDynamicSMemPerBlock(size_t *__pyx_v_dynamicSmemSize, CUfunction __pyx_v_func, int __pyx_v_numBlocks, int __pyx_v_blockSize) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuOccupancyAvailableDynamicSMemPerBlock", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6093 * cdef CUresult _cuOccupancyAvailableDynamicSMemPerBlock(size_t* dynamicSmemSize, CUfunction func, int numBlocks, int blockSize) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuOccupancyAvailableDynamicSMemPerBlock * cuPythonInit() # <<<<<<<<<<<<<< * if __cuOccupancyAvailableDynamicSMemPerBlock == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6093, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6094 * global __cuOccupancyAvailableDynamicSMemPerBlock * cuPythonInit() * if __cuOccupancyAvailableDynamicSMemPerBlock == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyAvailableDynamicSMemPerBlock" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyAvailableDynamicSMemPerBlock == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6095 * cuPythonInit() * if __cuOccupancyAvailableDynamicSMemPerBlock == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyAvailableDynamicSMemPerBlock" not found') * err = ( __cuOccupancyAvailableDynamicSMemPerBlock)(dynamicSmemSize, func, numBlocks, blockSize) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6096 * if __cuOccupancyAvailableDynamicSMemPerBlock == NULL: * with gil: * raise RuntimeError('Function "cuOccupancyAvailableDynamicSMemPerBlock" not found') # <<<<<<<<<<<<<< * err = ( __cuOccupancyAvailableDynamicSMemPerBlock)(dynamicSmemSize, func, numBlocks, blockSize) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuOccupancyAvailableDyn}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6096, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6096, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6095 * cuPythonInit() * if __cuOccupancyAvailableDynamicSMemPerBlock == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyAvailableDynamicSMemPerBlock" not found') * err = ( __cuOccupancyAvailableDynamicSMemPerBlock)(dynamicSmemSize, func, numBlocks, blockSize) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6094 * global __cuOccupancyAvailableDynamicSMemPerBlock * cuPythonInit() * if __cuOccupancyAvailableDynamicSMemPerBlock == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyAvailableDynamicSMemPerBlock" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6097 * with gil: * raise RuntimeError('Function "cuOccupancyAvailableDynamicSMemPerBlock" not found') * err = ( __cuOccupancyAvailableDynamicSMemPerBlock)(dynamicSmemSize, func, numBlocks, blockSize) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, CUfunction, int, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyAvailableDynamicSMemPerBlock)(__pyx_v_dynamicSmemSize, __pyx_v_func, __pyx_v_numBlocks, __pyx_v_blockSize); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6097, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6098 * raise RuntimeError('Function "cuOccupancyAvailableDynamicSMemPerBlock" not found') * err = ( __cuOccupancyAvailableDynamicSMemPerBlock)(dynamicSmemSize, func, numBlocks, blockSize) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuOccupancyMaxPotentialClusterSize(int* clusterSize, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6091 * return err * * cdef CUresult _cuOccupancyAvailableDynamicSMemPerBlock(size_t* dynamicSmemSize, CUfunction func, int numBlocks, int blockSize) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyAvailableDynamicSMemPerBlock * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuOccupancyAvailableDynamicSMemPerBlock", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6100 * return err * * cdef CUresult _cuOccupancyMaxPotentialClusterSize(int* clusterSize, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialClusterSize * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxPotentialClusterSize(int *__pyx_v_clusterSize, CUfunction __pyx_v_func, CUlaunchConfig const *__pyx_v_config) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuOccupancyMaxPotentialClusterSize", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6102 * cdef CUresult _cuOccupancyMaxPotentialClusterSize(int* clusterSize, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuOccupancyMaxPotentialClusterSize * cuPythonInit() # <<<<<<<<<<<<<< * if __cuOccupancyMaxPotentialClusterSize == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6102, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6103 * global __cuOccupancyMaxPotentialClusterSize * cuPythonInit() * if __cuOccupancyMaxPotentialClusterSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialClusterSize" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialClusterSize == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6104 * cuPythonInit() * if __cuOccupancyMaxPotentialClusterSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxPotentialClusterSize" not found') * err = ( __cuOccupancyMaxPotentialClusterSize)(clusterSize, func, config) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6105 * if __cuOccupancyMaxPotentialClusterSize == NULL: * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialClusterSize" not found') # <<<<<<<<<<<<<< * err = ( __cuOccupancyMaxPotentialClusterSize)(clusterSize, func, config) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuOccupancyMaxPotential_3}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6105, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6105, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6104 * cuPythonInit() * if __cuOccupancyMaxPotentialClusterSize == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxPotentialClusterSize" not found') * err = ( __cuOccupancyMaxPotentialClusterSize)(clusterSize, func, config) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6103 * global __cuOccupancyMaxPotentialClusterSize * cuPythonInit() * if __cuOccupancyMaxPotentialClusterSize == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialClusterSize" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6106 * with gil: * raise RuntimeError('Function "cuOccupancyMaxPotentialClusterSize" not found') * err = ( __cuOccupancyMaxPotentialClusterSize)(clusterSize, func, config) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUfunction, CUlaunchConfig const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialClusterSize)(__pyx_v_clusterSize, __pyx_v_func, __pyx_v_config); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6106, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6107 * raise RuntimeError('Function "cuOccupancyMaxPotentialClusterSize" not found') * err = ( __cuOccupancyMaxPotentialClusterSize)(clusterSize, func, config) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuOccupancyMaxActiveClusters(int* numClusters, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6100 * return err * * cdef CUresult _cuOccupancyMaxPotentialClusterSize(int* clusterSize, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialClusterSize * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuOccupancyMaxPotentialClusterSize", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6109 * return err * * cdef CUresult _cuOccupancyMaxActiveClusters(int* numClusters, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveClusters * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxActiveClusters(int *__pyx_v_numClusters, CUfunction __pyx_v_func, CUlaunchConfig const *__pyx_v_config) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuOccupancyMaxActiveClusters", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6111 * cdef CUresult _cuOccupancyMaxActiveClusters(int* numClusters, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuOccupancyMaxActiveClusters * cuPythonInit() # <<<<<<<<<<<<<< * if __cuOccupancyMaxActiveClusters == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6111, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6112 * global __cuOccupancyMaxActiveClusters * cuPythonInit() * if __cuOccupancyMaxActiveClusters == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveClusters" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveClusters == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6113 * cuPythonInit() * if __cuOccupancyMaxActiveClusters == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxActiveClusters" not found') * err = ( __cuOccupancyMaxActiveClusters)(numClusters, func, config) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6114 * if __cuOccupancyMaxActiveClusters == NULL: * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveClusters" not found') # <<<<<<<<<<<<<< * err = ( __cuOccupancyMaxActiveClusters)(numClusters, func, config) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuOccupancyMaxActiveClu}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6114, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6114, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6113 * cuPythonInit() * if __cuOccupancyMaxActiveClusters == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuOccupancyMaxActiveClusters" not found') * err = ( __cuOccupancyMaxActiveClusters)(numClusters, func, config) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6112 * global __cuOccupancyMaxActiveClusters * cuPythonInit() * if __cuOccupancyMaxActiveClusters == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveClusters" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6115 * with gil: * raise RuntimeError('Function "cuOccupancyMaxActiveClusters" not found') * err = ( __cuOccupancyMaxActiveClusters)(numClusters, func, config) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUfunction, CUlaunchConfig const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveClusters)(__pyx_v_numClusters, __pyx_v_func, __pyx_v_config); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6115, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6116 * raise RuntimeError('Function "cuOccupancyMaxActiveClusters" not found') * err = ( __cuOccupancyMaxActiveClusters)(numClusters, func, config) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetArray(CUtexref hTexRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6109 * return err * * cdef CUresult _cuOccupancyMaxActiveClusters(int* numClusters, CUfunction func, const CUlaunchConfig* config) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveClusters * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuOccupancyMaxActiveClusters", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6118 * return err * * cdef CUresult _cuTexRefSetArray(CUtexref hTexRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetArray(CUtexref __pyx_v_hTexRef, CUarray __pyx_v_hArray, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6120 * cdef CUresult _cuTexRefSetArray(CUtexref hTexRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6120, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6121 * global __cuTexRefSetArray * cuPythonInit() * if __cuTexRefSetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6122 * cuPythonInit() * if __cuTexRefSetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetArray" not found') * err = ( __cuTexRefSetArray)(hTexRef, hArray, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6123 * if __cuTexRefSetArray == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetArray" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetArray)(hTexRef, hArray, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetArray_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6123, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6123, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6122 * cuPythonInit() * if __cuTexRefSetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetArray" not found') * err = ( __cuTexRefSetArray)(hTexRef, hArray, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6121 * global __cuTexRefSetArray * cuPythonInit() * if __cuTexRefSetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6124 * with gil: * raise RuntimeError('Function "cuTexRefSetArray" not found') * err = ( __cuTexRefSetArray)(hTexRef, hArray, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, CUarray, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetArray)(__pyx_v_hTexRef, __pyx_v_hArray, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6124, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6125 * raise RuntimeError('Function "cuTexRefSetArray" not found') * err = ( __cuTexRefSetArray)(hTexRef, hArray, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetMipmappedArray(CUtexref hTexRef, CUmipmappedArray hMipmappedArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6118 * return err * * cdef CUresult _cuTexRefSetArray(CUtexref hTexRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6127 * return err * * cdef CUresult _cuTexRefSetMipmappedArray(CUtexref hTexRef, CUmipmappedArray hMipmappedArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmappedArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmappedArray(CUtexref __pyx_v_hTexRef, CUmipmappedArray __pyx_v_hMipmappedArray, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetMipmappedArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6129 * cdef CUresult _cuTexRefSetMipmappedArray(CUtexref hTexRef, CUmipmappedArray hMipmappedArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetMipmappedArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetMipmappedArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6129, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6130 * global __cuTexRefSetMipmappedArray * cuPythonInit() * if __cuTexRefSetMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmappedArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmappedArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6131 * cuPythonInit() * if __cuTexRefSetMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmappedArray" not found') * err = ( __cuTexRefSetMipmappedArray)(hTexRef, hMipmappedArray, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6132 * if __cuTexRefSetMipmappedArray == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetMipmappedArray" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetMipmappedArray)(hTexRef, hMipmappedArray, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetMipmappedArr}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6132, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6132, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6131 * cuPythonInit() * if __cuTexRefSetMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmappedArray" not found') * err = ( __cuTexRefSetMipmappedArray)(hTexRef, hMipmappedArray, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6130 * global __cuTexRefSetMipmappedArray * cuPythonInit() * if __cuTexRefSetMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmappedArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6133 * with gil: * raise RuntimeError('Function "cuTexRefSetMipmappedArray" not found') * err = ( __cuTexRefSetMipmappedArray)(hTexRef, hMipmappedArray, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, CUmipmappedArray, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmappedArray)(__pyx_v_hTexRef, __pyx_v_hMipmappedArray, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6133, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6134 * raise RuntimeError('Function "cuTexRefSetMipmappedArray" not found') * err = ( __cuTexRefSetMipmappedArray)(hTexRef, hMipmappedArray, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetAddress_v2(size_t* ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, size_t numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6127 * return err * * cdef CUresult _cuTexRefSetMipmappedArray(CUtexref hTexRef, CUmipmappedArray hMipmappedArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmappedArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetMipmappedArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6136 * return err * * cdef CUresult _cuTexRefSetAddress_v2(size_t* ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, size_t numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetAddress_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetAddress_v2(size_t *__pyx_v_ByteOffset, CUtexref __pyx_v_hTexRef, CUdeviceptr __pyx_v_dptr, size_t __pyx_v_numbytes) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetAddress_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6138 * cdef CUresult _cuTexRefSetAddress_v2(size_t* ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, size_t numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetAddress_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetAddress_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6138, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6139 * global __cuTexRefSetAddress_v2 * cuPythonInit() * if __cuTexRefSetAddress_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetAddress_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6140 * cuPythonInit() * if __cuTexRefSetAddress_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetAddress_v2" not found') * err = ( __cuTexRefSetAddress_v2)(ByteOffset, hTexRef, dptr, numbytes) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6141 * if __cuTexRefSetAddress_v2 == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetAddress_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetAddress_v2)(ByteOffset, hTexRef, dptr, numbytes) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetAddress_v2_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6141, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6141, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6140 * cuPythonInit() * if __cuTexRefSetAddress_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetAddress_v2" not found') * err = ( __cuTexRefSetAddress_v2)(ByteOffset, hTexRef, dptr, numbytes) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6139 * global __cuTexRefSetAddress_v2 * cuPythonInit() * if __cuTexRefSetAddress_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetAddress_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6142 * with gil: * raise RuntimeError('Function "cuTexRefSetAddress_v2" not found') * err = ( __cuTexRefSetAddress_v2)(ByteOffset, hTexRef, dptr, numbytes) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(size_t *, CUtexref, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress_v2)(__pyx_v_ByteOffset, __pyx_v_hTexRef, __pyx_v_dptr, __pyx_v_numbytes); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6142, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6143 * raise RuntimeError('Function "cuTexRefSetAddress_v2" not found') * err = ( __cuTexRefSetAddress_v2)(ByteOffset, hTexRef, dptr, numbytes) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetAddress2D_v3(CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR* desc, CUdeviceptr dptr, size_t Pitch) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6136 * return err * * cdef CUresult _cuTexRefSetAddress_v2(size_t* ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, size_t numbytes) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetAddress_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetAddress_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6145 * return err * * cdef CUresult _cuTexRefSetAddress2D_v3(CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR* desc, CUdeviceptr dptr, size_t Pitch) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetAddress2D_v3 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetAddress2D_v3(CUtexref __pyx_v_hTexRef, CUDA_ARRAY_DESCRIPTOR const *__pyx_v_desc, CUdeviceptr __pyx_v_dptr, size_t __pyx_v_Pitch) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetAddress2D_v3", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6147 * cdef CUresult _cuTexRefSetAddress2D_v3(CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR* desc, CUdeviceptr dptr, size_t Pitch) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetAddress2D_v3 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetAddress2D_v3 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6147, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6148 * global __cuTexRefSetAddress2D_v3 * cuPythonInit() * if __cuTexRefSetAddress2D_v3 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetAddress2D_v3" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress2D_v3 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6149 * cuPythonInit() * if __cuTexRefSetAddress2D_v3 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetAddress2D_v3" not found') * err = ( __cuTexRefSetAddress2D_v3)(hTexRef, desc, dptr, Pitch) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6150 * if __cuTexRefSetAddress2D_v3 == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetAddress2D_v3" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetAddress2D_v3)(hTexRef, desc, dptr, Pitch) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetAddress2D_v3}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6150, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6150, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6149 * cuPythonInit() * if __cuTexRefSetAddress2D_v3 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetAddress2D_v3" not found') * err = ( __cuTexRefSetAddress2D_v3)(hTexRef, desc, dptr, Pitch) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6148 * global __cuTexRefSetAddress2D_v3 * cuPythonInit() * if __cuTexRefSetAddress2D_v3 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetAddress2D_v3" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6151 * with gil: * raise RuntimeError('Function "cuTexRefSetAddress2D_v3" not found') * err = ( __cuTexRefSetAddress2D_v3)(hTexRef, desc, dptr, Pitch) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, CUDA_ARRAY_DESCRIPTOR const *, CUdeviceptr, size_t))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress2D_v3)(__pyx_v_hTexRef, __pyx_v_desc, __pyx_v_dptr, __pyx_v_Pitch); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6151, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6152 * raise RuntimeError('Function "cuTexRefSetAddress2D_v3" not found') * err = ( __cuTexRefSetAddress2D_v3)(hTexRef, desc, dptr, Pitch) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetFormat(CUtexref hTexRef, CUarray_format fmt, int NumPackedComponents) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6145 * return err * * cdef CUresult _cuTexRefSetAddress2D_v3(CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR* desc, CUdeviceptr dptr, size_t Pitch) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetAddress2D_v3 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetAddress2D_v3", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6154 * return err * * cdef CUresult _cuTexRefSetFormat(CUtexref hTexRef, CUarray_format fmt, int NumPackedComponents) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetFormat * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetFormat(CUtexref __pyx_v_hTexRef, CUarray_format __pyx_v_fmt, int __pyx_v_NumPackedComponents) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetFormat", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6156 * cdef CUresult _cuTexRefSetFormat(CUtexref hTexRef, CUarray_format fmt, int NumPackedComponents) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetFormat * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetFormat == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6156, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6157 * global __cuTexRefSetFormat * cuPythonInit() * if __cuTexRefSetFormat == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetFormat" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFormat == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6158 * cuPythonInit() * if __cuTexRefSetFormat == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetFormat" not found') * err = ( __cuTexRefSetFormat)(hTexRef, fmt, NumPackedComponents) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6159 * if __cuTexRefSetFormat == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetFormat" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetFormat)(hTexRef, fmt, NumPackedComponents) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetFormat_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6159, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6159, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6158 * cuPythonInit() * if __cuTexRefSetFormat == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetFormat" not found') * err = ( __cuTexRefSetFormat)(hTexRef, fmt, NumPackedComponents) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6157 * global __cuTexRefSetFormat * cuPythonInit() * if __cuTexRefSetFormat == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetFormat" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6160 * with gil: * raise RuntimeError('Function "cuTexRefSetFormat" not found') * err = ( __cuTexRefSetFormat)(hTexRef, fmt, NumPackedComponents) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, CUarray_format, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFormat)(__pyx_v_hTexRef, __pyx_v_fmt, __pyx_v_NumPackedComponents); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6160, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6161 * raise RuntimeError('Function "cuTexRefSetFormat" not found') * err = ( __cuTexRefSetFormat)(hTexRef, fmt, NumPackedComponents) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetAddressMode(CUtexref hTexRef, int dim, CUaddress_mode am) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6154 * return err * * cdef CUresult _cuTexRefSetFormat(CUtexref hTexRef, CUarray_format fmt, int NumPackedComponents) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetFormat * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetFormat", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6163 * return err * * cdef CUresult _cuTexRefSetAddressMode(CUtexref hTexRef, int dim, CUaddress_mode am) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetAddressMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetAddressMode(CUtexref __pyx_v_hTexRef, int __pyx_v_dim, CUaddress_mode __pyx_v_am) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetAddressMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6165 * cdef CUresult _cuTexRefSetAddressMode(CUtexref hTexRef, int dim, CUaddress_mode am) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetAddressMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetAddressMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6165, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6166 * global __cuTexRefSetAddressMode * cuPythonInit() * if __cuTexRefSetAddressMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetAddressMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddressMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6167 * cuPythonInit() * if __cuTexRefSetAddressMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetAddressMode" not found') * err = ( __cuTexRefSetAddressMode)(hTexRef, dim, am) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6168 * if __cuTexRefSetAddressMode == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetAddressMode" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetAddressMode)(hTexRef, dim, am) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetAddressMode}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6168, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6168, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6167 * cuPythonInit() * if __cuTexRefSetAddressMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetAddressMode" not found') * err = ( __cuTexRefSetAddressMode)(hTexRef, dim, am) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6166 * global __cuTexRefSetAddressMode * cuPythonInit() * if __cuTexRefSetAddressMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetAddressMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6169 * with gil: * raise RuntimeError('Function "cuTexRefSetAddressMode" not found') * err = ( __cuTexRefSetAddressMode)(hTexRef, dim, am) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, int, CUaddress_mode))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddressMode)(__pyx_v_hTexRef, __pyx_v_dim, __pyx_v_am); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6169, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6170 * raise RuntimeError('Function "cuTexRefSetAddressMode" not found') * err = ( __cuTexRefSetAddressMode)(hTexRef, dim, am) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6163 * return err * * cdef CUresult _cuTexRefSetAddressMode(CUtexref hTexRef, int dim, CUaddress_mode am) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetAddressMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetAddressMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6172 * return err * * cdef CUresult _cuTexRefSetFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetFilterMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetFilterMode(CUtexref __pyx_v_hTexRef, CUfilter_mode __pyx_v_fm) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetFilterMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6174 * cdef CUresult _cuTexRefSetFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetFilterMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetFilterMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6174, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6175 * global __cuTexRefSetFilterMode * cuPythonInit() * if __cuTexRefSetFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetFilterMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFilterMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6176 * cuPythonInit() * if __cuTexRefSetFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetFilterMode" not found') * err = ( __cuTexRefSetFilterMode)(hTexRef, fm) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6177 * if __cuTexRefSetFilterMode == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetFilterMode" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetFilterMode)(hTexRef, fm) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetFilterMode_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6177, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6177, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6176 * cuPythonInit() * if __cuTexRefSetFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetFilterMode" not found') * err = ( __cuTexRefSetFilterMode)(hTexRef, fm) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6175 * global __cuTexRefSetFilterMode * cuPythonInit() * if __cuTexRefSetFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetFilterMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6178 * with gil: * raise RuntimeError('Function "cuTexRefSetFilterMode" not found') * err = ( __cuTexRefSetFilterMode)(hTexRef, fm) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, CUfilter_mode))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFilterMode)(__pyx_v_hTexRef, __pyx_v_fm); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6178, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6179 * raise RuntimeError('Function "cuTexRefSetFilterMode" not found') * err = ( __cuTexRefSetFilterMode)(hTexRef, fm) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetMipmapFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6172 * return err * * cdef CUresult _cuTexRefSetFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetFilterMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetFilterMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6181 * return err * * cdef CUresult _cuTexRefSetMipmapFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapFilterMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmapFilterMode(CUtexref __pyx_v_hTexRef, CUfilter_mode __pyx_v_fm) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetMipmapFilterMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6183 * cdef CUresult _cuTexRefSetMipmapFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetMipmapFilterMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetMipmapFilterMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6183, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6184 * global __cuTexRefSetMipmapFilterMode * cuPythonInit() * if __cuTexRefSetMipmapFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapFilterMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapFilterMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6185 * cuPythonInit() * if __cuTexRefSetMipmapFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmapFilterMode" not found') * err = ( __cuTexRefSetMipmapFilterMode)(hTexRef, fm) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6186 * if __cuTexRefSetMipmapFilterMode == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapFilterMode" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetMipmapFilterMode)(hTexRef, fm) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetMipmapFilter}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6186, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6186, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6185 * cuPythonInit() * if __cuTexRefSetMipmapFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmapFilterMode" not found') * err = ( __cuTexRefSetMipmapFilterMode)(hTexRef, fm) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6184 * global __cuTexRefSetMipmapFilterMode * cuPythonInit() * if __cuTexRefSetMipmapFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapFilterMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6187 * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapFilterMode" not found') * err = ( __cuTexRefSetMipmapFilterMode)(hTexRef, fm) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, CUfilter_mode))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapFilterMode)(__pyx_v_hTexRef, __pyx_v_fm); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6187, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6188 * raise RuntimeError('Function "cuTexRefSetMipmapFilterMode" not found') * err = ( __cuTexRefSetMipmapFilterMode)(hTexRef, fm) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetMipmapLevelBias(CUtexref hTexRef, float bias) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6181 * return err * * cdef CUresult _cuTexRefSetMipmapFilterMode(CUtexref hTexRef, CUfilter_mode fm) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapFilterMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetMipmapFilterMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6190 * return err * * cdef CUresult _cuTexRefSetMipmapLevelBias(CUtexref hTexRef, float bias) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelBias * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmapLevelBias(CUtexref __pyx_v_hTexRef, float __pyx_v_bias) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetMipmapLevelBias", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6192 * cdef CUresult _cuTexRefSetMipmapLevelBias(CUtexref hTexRef, float bias) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetMipmapLevelBias * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetMipmapLevelBias == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6192, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6193 * global __cuTexRefSetMipmapLevelBias * cuPythonInit() * if __cuTexRefSetMipmapLevelBias == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelBias" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelBias == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6194 * cuPythonInit() * if __cuTexRefSetMipmapLevelBias == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmapLevelBias" not found') * err = ( __cuTexRefSetMipmapLevelBias)(hTexRef, bias) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6195 * if __cuTexRefSetMipmapLevelBias == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelBias" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetMipmapLevelBias)(hTexRef, bias) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetMipmapLevelB}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6195, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6195, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6194 * cuPythonInit() * if __cuTexRefSetMipmapLevelBias == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmapLevelBias" not found') * err = ( __cuTexRefSetMipmapLevelBias)(hTexRef, bias) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6193 * global __cuTexRefSetMipmapLevelBias * cuPythonInit() * if __cuTexRefSetMipmapLevelBias == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelBias" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6196 * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelBias" not found') * err = ( __cuTexRefSetMipmapLevelBias)(hTexRef, bias) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, float))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelBias)(__pyx_v_hTexRef, __pyx_v_bias); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6196, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6197 * raise RuntimeError('Function "cuTexRefSetMipmapLevelBias" not found') * err = ( __cuTexRefSetMipmapLevelBias)(hTexRef, bias) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetMipmapLevelClamp(CUtexref hTexRef, float minMipmapLevelClamp, float maxMipmapLevelClamp) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6190 * return err * * cdef CUresult _cuTexRefSetMipmapLevelBias(CUtexref hTexRef, float bias) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelBias * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetMipmapLevelBias", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6199 * return err * * cdef CUresult _cuTexRefSetMipmapLevelClamp(CUtexref hTexRef, float minMipmapLevelClamp, float maxMipmapLevelClamp) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelClamp * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmapLevelClamp(CUtexref __pyx_v_hTexRef, float __pyx_v_minMipmapLevelClamp, float __pyx_v_maxMipmapLevelClamp) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetMipmapLevelClamp", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6201 * cdef CUresult _cuTexRefSetMipmapLevelClamp(CUtexref hTexRef, float minMipmapLevelClamp, float maxMipmapLevelClamp) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetMipmapLevelClamp * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetMipmapLevelClamp == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6201, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6202 * global __cuTexRefSetMipmapLevelClamp * cuPythonInit() * if __cuTexRefSetMipmapLevelClamp == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelClamp" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelClamp == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6203 * cuPythonInit() * if __cuTexRefSetMipmapLevelClamp == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmapLevelClamp" not found') * err = ( __cuTexRefSetMipmapLevelClamp)(hTexRef, minMipmapLevelClamp, maxMipmapLevelClamp) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6204 * if __cuTexRefSetMipmapLevelClamp == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelClamp" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetMipmapLevelClamp)(hTexRef, minMipmapLevelClamp, maxMipmapLevelClamp) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetMipmapLevelC}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6204, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6204, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6203 * cuPythonInit() * if __cuTexRefSetMipmapLevelClamp == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMipmapLevelClamp" not found') * err = ( __cuTexRefSetMipmapLevelClamp)(hTexRef, minMipmapLevelClamp, maxMipmapLevelClamp) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6202 * global __cuTexRefSetMipmapLevelClamp * cuPythonInit() * if __cuTexRefSetMipmapLevelClamp == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelClamp" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6205 * with gil: * raise RuntimeError('Function "cuTexRefSetMipmapLevelClamp" not found') * err = ( __cuTexRefSetMipmapLevelClamp)(hTexRef, minMipmapLevelClamp, maxMipmapLevelClamp) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, float, float))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelClamp)(__pyx_v_hTexRef, __pyx_v_minMipmapLevelClamp, __pyx_v_maxMipmapLevelClamp); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6205, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6206 * raise RuntimeError('Function "cuTexRefSetMipmapLevelClamp" not found') * err = ( __cuTexRefSetMipmapLevelClamp)(hTexRef, minMipmapLevelClamp, maxMipmapLevelClamp) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetMaxAnisotropy(CUtexref hTexRef, unsigned int maxAniso) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6199 * return err * * cdef CUresult _cuTexRefSetMipmapLevelClamp(CUtexref hTexRef, float minMipmapLevelClamp, float maxMipmapLevelClamp) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelClamp * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetMipmapLevelClamp", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6208 * return err * * cdef CUresult _cuTexRefSetMaxAnisotropy(CUtexref hTexRef, unsigned int maxAniso) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMaxAnisotropy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMaxAnisotropy(CUtexref __pyx_v_hTexRef, unsigned int __pyx_v_maxAniso) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetMaxAnisotropy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6210 * cdef CUresult _cuTexRefSetMaxAnisotropy(CUtexref hTexRef, unsigned int maxAniso) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetMaxAnisotropy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetMaxAnisotropy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6210, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6211 * global __cuTexRefSetMaxAnisotropy * cuPythonInit() * if __cuTexRefSetMaxAnisotropy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMaxAnisotropy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMaxAnisotropy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6212 * cuPythonInit() * if __cuTexRefSetMaxAnisotropy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMaxAnisotropy" not found') * err = ( __cuTexRefSetMaxAnisotropy)(hTexRef, maxAniso) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6213 * if __cuTexRefSetMaxAnisotropy == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetMaxAnisotropy" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetMaxAnisotropy)(hTexRef, maxAniso) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetMaxAnisotrop}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6213, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6213, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6212 * cuPythonInit() * if __cuTexRefSetMaxAnisotropy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetMaxAnisotropy" not found') * err = ( __cuTexRefSetMaxAnisotropy)(hTexRef, maxAniso) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6211 * global __cuTexRefSetMaxAnisotropy * cuPythonInit() * if __cuTexRefSetMaxAnisotropy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetMaxAnisotropy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6214 * with gil: * raise RuntimeError('Function "cuTexRefSetMaxAnisotropy" not found') * err = ( __cuTexRefSetMaxAnisotropy)(hTexRef, maxAniso) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMaxAnisotropy)(__pyx_v_hTexRef, __pyx_v_maxAniso); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6214, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6215 * raise RuntimeError('Function "cuTexRefSetMaxAnisotropy" not found') * err = ( __cuTexRefSetMaxAnisotropy)(hTexRef, maxAniso) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetBorderColor(CUtexref hTexRef, float* pBorderColor) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6208 * return err * * cdef CUresult _cuTexRefSetMaxAnisotropy(CUtexref hTexRef, unsigned int maxAniso) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetMaxAnisotropy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetMaxAnisotropy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6217 * return err * * cdef CUresult _cuTexRefSetBorderColor(CUtexref hTexRef, float* pBorderColor) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetBorderColor * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetBorderColor(CUtexref __pyx_v_hTexRef, float *__pyx_v_pBorderColor) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetBorderColor", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6219 * cdef CUresult _cuTexRefSetBorderColor(CUtexref hTexRef, float* pBorderColor) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetBorderColor * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetBorderColor == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6219, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6220 * global __cuTexRefSetBorderColor * cuPythonInit() * if __cuTexRefSetBorderColor == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetBorderColor" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetBorderColor == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6221 * cuPythonInit() * if __cuTexRefSetBorderColor == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetBorderColor" not found') * err = ( __cuTexRefSetBorderColor)(hTexRef, pBorderColor) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6222 * if __cuTexRefSetBorderColor == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetBorderColor" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetBorderColor)(hTexRef, pBorderColor) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetBorderColor}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6222, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6222, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6221 * cuPythonInit() * if __cuTexRefSetBorderColor == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetBorderColor" not found') * err = ( __cuTexRefSetBorderColor)(hTexRef, pBorderColor) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6220 * global __cuTexRefSetBorderColor * cuPythonInit() * if __cuTexRefSetBorderColor == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetBorderColor" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6223 * with gil: * raise RuntimeError('Function "cuTexRefSetBorderColor" not found') * err = ( __cuTexRefSetBorderColor)(hTexRef, pBorderColor) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, float *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetBorderColor)(__pyx_v_hTexRef, __pyx_v_pBorderColor); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6223, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6224 * raise RuntimeError('Function "cuTexRefSetBorderColor" not found') * err = ( __cuTexRefSetBorderColor)(hTexRef, pBorderColor) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefSetFlags(CUtexref hTexRef, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6217 * return err * * cdef CUresult _cuTexRefSetBorderColor(CUtexref hTexRef, float* pBorderColor) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetBorderColor * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetBorderColor", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6226 * return err * * cdef CUresult _cuTexRefSetFlags(CUtexref hTexRef, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetFlags(CUtexref __pyx_v_hTexRef, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefSetFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6228 * cdef CUresult _cuTexRefSetFlags(CUtexref hTexRef, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefSetFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefSetFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6228, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6229 * global __cuTexRefSetFlags * cuPythonInit() * if __cuTexRefSetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6230 * cuPythonInit() * if __cuTexRefSetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetFlags" not found') * err = ( __cuTexRefSetFlags)(hTexRef, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6231 * if __cuTexRefSetFlags == NULL: * with gil: * raise RuntimeError('Function "cuTexRefSetFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefSetFlags)(hTexRef, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefSetFlags_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6231, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6231, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6230 * cuPythonInit() * if __cuTexRefSetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefSetFlags" not found') * err = ( __cuTexRefSetFlags)(hTexRef, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6229 * global __cuTexRefSetFlags * cuPythonInit() * if __cuTexRefSetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefSetFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6232 * with gil: * raise RuntimeError('Function "cuTexRefSetFlags" not found') * err = ( __cuTexRefSetFlags)(hTexRef, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFlags)(__pyx_v_hTexRef, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6232, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6233 * raise RuntimeError('Function "cuTexRefSetFlags" not found') * err = ( __cuTexRefSetFlags)(hTexRef, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetAddress_v2(CUdeviceptr* pdptr, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6226 * return err * * cdef CUresult _cuTexRefSetFlags(CUtexref hTexRef, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefSetFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefSetFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6235 * return err * * cdef CUresult _cuTexRefGetAddress_v2(CUdeviceptr* pdptr, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetAddress_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetAddress_v2(CUdeviceptr *__pyx_v_pdptr, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetAddress_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6237 * cdef CUresult _cuTexRefGetAddress_v2(CUdeviceptr* pdptr, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetAddress_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetAddress_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6237, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6238 * global __cuTexRefGetAddress_v2 * cuPythonInit() * if __cuTexRefGetAddress_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetAddress_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddress_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6239 * cuPythonInit() * if __cuTexRefGetAddress_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetAddress_v2" not found') * err = ( __cuTexRefGetAddress_v2)(pdptr, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6240 * if __cuTexRefGetAddress_v2 == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetAddress_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetAddress_v2)(pdptr, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetAddress_v2_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6240, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6240, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6239 * cuPythonInit() * if __cuTexRefGetAddress_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetAddress_v2" not found') * err = ( __cuTexRefGetAddress_v2)(pdptr, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6238 * global __cuTexRefGetAddress_v2 * cuPythonInit() * if __cuTexRefGetAddress_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetAddress_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6241 * with gil: * raise RuntimeError('Function "cuTexRefGetAddress_v2" not found') * err = ( __cuTexRefGetAddress_v2)(pdptr, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddress_v2)(__pyx_v_pdptr, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6241, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6242 * raise RuntimeError('Function "cuTexRefGetAddress_v2" not found') * err = ( __cuTexRefGetAddress_v2)(pdptr, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetArray(CUarray* phArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6235 * return err * * cdef CUresult _cuTexRefGetAddress_v2(CUdeviceptr* pdptr, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetAddress_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetAddress_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6244 * return err * * cdef CUresult _cuTexRefGetArray(CUarray* phArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetArray(CUarray *__pyx_v_phArray, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6246 * cdef CUresult _cuTexRefGetArray(CUarray* phArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6246, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6247 * global __cuTexRefGetArray * cuPythonInit() * if __cuTexRefGetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6248 * cuPythonInit() * if __cuTexRefGetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetArray" not found') * err = ( __cuTexRefGetArray)(phArray, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6249 * if __cuTexRefGetArray == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetArray" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetArray)(phArray, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetArray_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6249, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6249, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6248 * cuPythonInit() * if __cuTexRefGetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetArray" not found') * err = ( __cuTexRefGetArray)(phArray, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6247 * global __cuTexRefGetArray * cuPythonInit() * if __cuTexRefGetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6250 * with gil: * raise RuntimeError('Function "cuTexRefGetArray" not found') * err = ( __cuTexRefGetArray)(phArray, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetArray)(__pyx_v_phArray, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6250, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6251 * raise RuntimeError('Function "cuTexRefGetArray" not found') * err = ( __cuTexRefGetArray)(phArray, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetMipmappedArray(CUmipmappedArray* phMipmappedArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6244 * return err * * cdef CUresult _cuTexRefGetArray(CUarray* phArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6253 * return err * * cdef CUresult _cuTexRefGetMipmappedArray(CUmipmappedArray* phMipmappedArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmappedArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmappedArray(CUmipmappedArray *__pyx_v_phMipmappedArray, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetMipmappedArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6255 * cdef CUresult _cuTexRefGetMipmappedArray(CUmipmappedArray* phMipmappedArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetMipmappedArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetMipmappedArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6255, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6256 * global __cuTexRefGetMipmappedArray * cuPythonInit() * if __cuTexRefGetMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmappedArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmappedArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6257 * cuPythonInit() * if __cuTexRefGetMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmappedArray" not found') * err = ( __cuTexRefGetMipmappedArray)(phMipmappedArray, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6258 * if __cuTexRefGetMipmappedArray == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetMipmappedArray" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetMipmappedArray)(phMipmappedArray, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetMipmappedArr}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6258, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6258, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6257 * cuPythonInit() * if __cuTexRefGetMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmappedArray" not found') * err = ( __cuTexRefGetMipmappedArray)(phMipmappedArray, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6256 * global __cuTexRefGetMipmappedArray * cuPythonInit() * if __cuTexRefGetMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmappedArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6259 * with gil: * raise RuntimeError('Function "cuTexRefGetMipmappedArray" not found') * err = ( __cuTexRefGetMipmappedArray)(phMipmappedArray, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmipmappedArray *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmappedArray)(__pyx_v_phMipmappedArray, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6259, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6260 * raise RuntimeError('Function "cuTexRefGetMipmappedArray" not found') * err = ( __cuTexRefGetMipmappedArray)(phMipmappedArray, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetAddressMode(CUaddress_mode* pam, CUtexref hTexRef, int dim) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6253 * return err * * cdef CUresult _cuTexRefGetMipmappedArray(CUmipmappedArray* phMipmappedArray, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmappedArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetMipmappedArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6262 * return err * * cdef CUresult _cuTexRefGetAddressMode(CUaddress_mode* pam, CUtexref hTexRef, int dim) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetAddressMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetAddressMode(CUaddress_mode *__pyx_v_pam, CUtexref __pyx_v_hTexRef, int __pyx_v_dim) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetAddressMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6264 * cdef CUresult _cuTexRefGetAddressMode(CUaddress_mode* pam, CUtexref hTexRef, int dim) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetAddressMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetAddressMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6264, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6265 * global __cuTexRefGetAddressMode * cuPythonInit() * if __cuTexRefGetAddressMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetAddressMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddressMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6266 * cuPythonInit() * if __cuTexRefGetAddressMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetAddressMode" not found') * err = ( __cuTexRefGetAddressMode)(pam, hTexRef, dim) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6267 * if __cuTexRefGetAddressMode == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetAddressMode" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetAddressMode)(pam, hTexRef, dim) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetAddressMode}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6267, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6267, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6266 * cuPythonInit() * if __cuTexRefGetAddressMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetAddressMode" not found') * err = ( __cuTexRefGetAddressMode)(pam, hTexRef, dim) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6265 * global __cuTexRefGetAddressMode * cuPythonInit() * if __cuTexRefGetAddressMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetAddressMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6268 * with gil: * raise RuntimeError('Function "cuTexRefGetAddressMode" not found') * err = ( __cuTexRefGetAddressMode)(pam, hTexRef, dim) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUaddress_mode *, CUtexref, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddressMode)(__pyx_v_pam, __pyx_v_hTexRef, __pyx_v_dim); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6268, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6269 * raise RuntimeError('Function "cuTexRefGetAddressMode" not found') * err = ( __cuTexRefGetAddressMode)(pam, hTexRef, dim) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6262 * return err * * cdef CUresult _cuTexRefGetAddressMode(CUaddress_mode* pam, CUtexref hTexRef, int dim) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetAddressMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetAddressMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6271 * return err * * cdef CUresult _cuTexRefGetFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetFilterMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetFilterMode(CUfilter_mode *__pyx_v_pfm, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetFilterMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6273 * cdef CUresult _cuTexRefGetFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetFilterMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetFilterMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6273, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6274 * global __cuTexRefGetFilterMode * cuPythonInit() * if __cuTexRefGetFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetFilterMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFilterMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6275 * cuPythonInit() * if __cuTexRefGetFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetFilterMode" not found') * err = ( __cuTexRefGetFilterMode)(pfm, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6276 * if __cuTexRefGetFilterMode == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetFilterMode" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetFilterMode)(pfm, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetFilterMode_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6276, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6276, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6275 * cuPythonInit() * if __cuTexRefGetFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetFilterMode" not found') * err = ( __cuTexRefGetFilterMode)(pfm, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6274 * global __cuTexRefGetFilterMode * cuPythonInit() * if __cuTexRefGetFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetFilterMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6277 * with gil: * raise RuntimeError('Function "cuTexRefGetFilterMode" not found') * err = ( __cuTexRefGetFilterMode)(pfm, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfilter_mode *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFilterMode)(__pyx_v_pfm, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6277, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6278 * raise RuntimeError('Function "cuTexRefGetFilterMode" not found') * err = ( __cuTexRefGetFilterMode)(pfm, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetFormat(CUarray_format* pFormat, int* pNumChannels, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6271 * return err * * cdef CUresult _cuTexRefGetFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetFilterMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetFilterMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6280 * return err * * cdef CUresult _cuTexRefGetFormat(CUarray_format* pFormat, int* pNumChannels, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetFormat * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetFormat(CUarray_format *__pyx_v_pFormat, int *__pyx_v_pNumChannels, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetFormat", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6282 * cdef CUresult _cuTexRefGetFormat(CUarray_format* pFormat, int* pNumChannels, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetFormat * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetFormat == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6282, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6283 * global __cuTexRefGetFormat * cuPythonInit() * if __cuTexRefGetFormat == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetFormat" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFormat == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6284 * cuPythonInit() * if __cuTexRefGetFormat == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetFormat" not found') * err = ( __cuTexRefGetFormat)(pFormat, pNumChannels, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6285 * if __cuTexRefGetFormat == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetFormat" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetFormat)(pFormat, pNumChannels, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetFormat_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6285, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6285, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6284 * cuPythonInit() * if __cuTexRefGetFormat == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetFormat" not found') * err = ( __cuTexRefGetFormat)(pFormat, pNumChannels, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6283 * global __cuTexRefGetFormat * cuPythonInit() * if __cuTexRefGetFormat == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetFormat" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6286 * with gil: * raise RuntimeError('Function "cuTexRefGetFormat" not found') * err = ( __cuTexRefGetFormat)(pFormat, pNumChannels, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray_format *, int *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFormat)(__pyx_v_pFormat, __pyx_v_pNumChannels, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6286, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6287 * raise RuntimeError('Function "cuTexRefGetFormat" not found') * err = ( __cuTexRefGetFormat)(pFormat, pNumChannels, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetMipmapFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6280 * return err * * cdef CUresult _cuTexRefGetFormat(CUarray_format* pFormat, int* pNumChannels, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetFormat * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetFormat", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6289 * return err * * cdef CUresult _cuTexRefGetMipmapFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapFilterMode * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmapFilterMode(CUfilter_mode *__pyx_v_pfm, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetMipmapFilterMode", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6291 * cdef CUresult _cuTexRefGetMipmapFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetMipmapFilterMode * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetMipmapFilterMode == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6291, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6292 * global __cuTexRefGetMipmapFilterMode * cuPythonInit() * if __cuTexRefGetMipmapFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapFilterMode" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapFilterMode == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6293 * cuPythonInit() * if __cuTexRefGetMipmapFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmapFilterMode" not found') * err = ( __cuTexRefGetMipmapFilterMode)(pfm, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6294 * if __cuTexRefGetMipmapFilterMode == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapFilterMode" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetMipmapFilterMode)(pfm, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetMipmapFilter}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6294, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6294, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6293 * cuPythonInit() * if __cuTexRefGetMipmapFilterMode == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmapFilterMode" not found') * err = ( __cuTexRefGetMipmapFilterMode)(pfm, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6292 * global __cuTexRefGetMipmapFilterMode * cuPythonInit() * if __cuTexRefGetMipmapFilterMode == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapFilterMode" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6295 * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapFilterMode" not found') * err = ( __cuTexRefGetMipmapFilterMode)(pfm, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUfilter_mode *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapFilterMode)(__pyx_v_pfm, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6295, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6296 * raise RuntimeError('Function "cuTexRefGetMipmapFilterMode" not found') * err = ( __cuTexRefGetMipmapFilterMode)(pfm, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetMipmapLevelBias(float* pbias, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6289 * return err * * cdef CUresult _cuTexRefGetMipmapFilterMode(CUfilter_mode* pfm, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapFilterMode * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetMipmapFilterMode", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6298 * return err * * cdef CUresult _cuTexRefGetMipmapLevelBias(float* pbias, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelBias * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmapLevelBias(float *__pyx_v_pbias, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetMipmapLevelBias", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6300 * cdef CUresult _cuTexRefGetMipmapLevelBias(float* pbias, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetMipmapLevelBias * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetMipmapLevelBias == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6300, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6301 * global __cuTexRefGetMipmapLevelBias * cuPythonInit() * if __cuTexRefGetMipmapLevelBias == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelBias" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelBias == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6302 * cuPythonInit() * if __cuTexRefGetMipmapLevelBias == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmapLevelBias" not found') * err = ( __cuTexRefGetMipmapLevelBias)(pbias, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6303 * if __cuTexRefGetMipmapLevelBias == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelBias" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetMipmapLevelBias)(pbias, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetMipmapLevelB}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6303, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6303, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6302 * cuPythonInit() * if __cuTexRefGetMipmapLevelBias == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmapLevelBias" not found') * err = ( __cuTexRefGetMipmapLevelBias)(pbias, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6301 * global __cuTexRefGetMipmapLevelBias * cuPythonInit() * if __cuTexRefGetMipmapLevelBias == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelBias" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6304 * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelBias" not found') * err = ( __cuTexRefGetMipmapLevelBias)(pbias, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(float *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelBias)(__pyx_v_pbias, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6304, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6305 * raise RuntimeError('Function "cuTexRefGetMipmapLevelBias" not found') * err = ( __cuTexRefGetMipmapLevelBias)(pbias, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetMipmapLevelClamp(float* pminMipmapLevelClamp, float* pmaxMipmapLevelClamp, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6298 * return err * * cdef CUresult _cuTexRefGetMipmapLevelBias(float* pbias, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelBias * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetMipmapLevelBias", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6307 * return err * * cdef CUresult _cuTexRefGetMipmapLevelClamp(float* pminMipmapLevelClamp, float* pmaxMipmapLevelClamp, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelClamp * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmapLevelClamp(float *__pyx_v_pminMipmapLevelClamp, float *__pyx_v_pmaxMipmapLevelClamp, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetMipmapLevelClamp", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6309 * cdef CUresult _cuTexRefGetMipmapLevelClamp(float* pminMipmapLevelClamp, float* pmaxMipmapLevelClamp, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetMipmapLevelClamp * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetMipmapLevelClamp == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6309, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6310 * global __cuTexRefGetMipmapLevelClamp * cuPythonInit() * if __cuTexRefGetMipmapLevelClamp == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelClamp" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelClamp == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6311 * cuPythonInit() * if __cuTexRefGetMipmapLevelClamp == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmapLevelClamp" not found') * err = ( __cuTexRefGetMipmapLevelClamp)(pminMipmapLevelClamp, pmaxMipmapLevelClamp, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6312 * if __cuTexRefGetMipmapLevelClamp == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelClamp" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetMipmapLevelClamp)(pminMipmapLevelClamp, pmaxMipmapLevelClamp, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetMipmapLevelC}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6312, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6312, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6311 * cuPythonInit() * if __cuTexRefGetMipmapLevelClamp == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMipmapLevelClamp" not found') * err = ( __cuTexRefGetMipmapLevelClamp)(pminMipmapLevelClamp, pmaxMipmapLevelClamp, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6310 * global __cuTexRefGetMipmapLevelClamp * cuPythonInit() * if __cuTexRefGetMipmapLevelClamp == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelClamp" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6313 * with gil: * raise RuntimeError('Function "cuTexRefGetMipmapLevelClamp" not found') * err = ( __cuTexRefGetMipmapLevelClamp)(pminMipmapLevelClamp, pmaxMipmapLevelClamp, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(float *, float *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelClamp)(__pyx_v_pminMipmapLevelClamp, __pyx_v_pmaxMipmapLevelClamp, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6313, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6314 * raise RuntimeError('Function "cuTexRefGetMipmapLevelClamp" not found') * err = ( __cuTexRefGetMipmapLevelClamp)(pminMipmapLevelClamp, pmaxMipmapLevelClamp, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetMaxAnisotropy(int* pmaxAniso, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6307 * return err * * cdef CUresult _cuTexRefGetMipmapLevelClamp(float* pminMipmapLevelClamp, float* pmaxMipmapLevelClamp, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelClamp * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetMipmapLevelClamp", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6316 * return err * * cdef CUresult _cuTexRefGetMaxAnisotropy(int* pmaxAniso, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMaxAnisotropy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMaxAnisotropy(int *__pyx_v_pmaxAniso, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetMaxAnisotropy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6318 * cdef CUresult _cuTexRefGetMaxAnisotropy(int* pmaxAniso, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetMaxAnisotropy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetMaxAnisotropy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6318, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6319 * global __cuTexRefGetMaxAnisotropy * cuPythonInit() * if __cuTexRefGetMaxAnisotropy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMaxAnisotropy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMaxAnisotropy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6320 * cuPythonInit() * if __cuTexRefGetMaxAnisotropy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMaxAnisotropy" not found') * err = ( __cuTexRefGetMaxAnisotropy)(pmaxAniso, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6321 * if __cuTexRefGetMaxAnisotropy == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetMaxAnisotropy" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetMaxAnisotropy)(pmaxAniso, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetMaxAnisotrop}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6321, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6321, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6320 * cuPythonInit() * if __cuTexRefGetMaxAnisotropy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetMaxAnisotropy" not found') * err = ( __cuTexRefGetMaxAnisotropy)(pmaxAniso, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6319 * global __cuTexRefGetMaxAnisotropy * cuPythonInit() * if __cuTexRefGetMaxAnisotropy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetMaxAnisotropy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6322 * with gil: * raise RuntimeError('Function "cuTexRefGetMaxAnisotropy" not found') * err = ( __cuTexRefGetMaxAnisotropy)(pmaxAniso, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMaxAnisotropy)(__pyx_v_pmaxAniso, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6322, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6323 * raise RuntimeError('Function "cuTexRefGetMaxAnisotropy" not found') * err = ( __cuTexRefGetMaxAnisotropy)(pmaxAniso, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetBorderColor(float* pBorderColor, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6316 * return err * * cdef CUresult _cuTexRefGetMaxAnisotropy(int* pmaxAniso, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetMaxAnisotropy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetMaxAnisotropy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6325 * return err * * cdef CUresult _cuTexRefGetBorderColor(float* pBorderColor, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetBorderColor * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetBorderColor(float *__pyx_v_pBorderColor, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetBorderColor", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6327 * cdef CUresult _cuTexRefGetBorderColor(float* pBorderColor, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetBorderColor * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetBorderColor == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6327, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6328 * global __cuTexRefGetBorderColor * cuPythonInit() * if __cuTexRefGetBorderColor == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetBorderColor" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetBorderColor == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6329 * cuPythonInit() * if __cuTexRefGetBorderColor == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetBorderColor" not found') * err = ( __cuTexRefGetBorderColor)(pBorderColor, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6330 * if __cuTexRefGetBorderColor == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetBorderColor" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetBorderColor)(pBorderColor, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetBorderColor}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6330, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6330, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6329 * cuPythonInit() * if __cuTexRefGetBorderColor == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetBorderColor" not found') * err = ( __cuTexRefGetBorderColor)(pBorderColor, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6328 * global __cuTexRefGetBorderColor * cuPythonInit() * if __cuTexRefGetBorderColor == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetBorderColor" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6331 * with gil: * raise RuntimeError('Function "cuTexRefGetBorderColor" not found') * err = ( __cuTexRefGetBorderColor)(pBorderColor, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(float *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetBorderColor)(__pyx_v_pBorderColor, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6331, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6332 * raise RuntimeError('Function "cuTexRefGetBorderColor" not found') * err = ( __cuTexRefGetBorderColor)(pBorderColor, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefGetFlags(unsigned int* pFlags, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6325 * return err * * cdef CUresult _cuTexRefGetBorderColor(float* pBorderColor, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetBorderColor * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetBorderColor", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6334 * return err * * cdef CUresult _cuTexRefGetFlags(unsigned int* pFlags, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetFlags(unsigned int *__pyx_v_pFlags, CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefGetFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6336 * cdef CUresult _cuTexRefGetFlags(unsigned int* pFlags, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefGetFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefGetFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6336, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6337 * global __cuTexRefGetFlags * cuPythonInit() * if __cuTexRefGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6338 * cuPythonInit() * if __cuTexRefGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetFlags" not found') * err = ( __cuTexRefGetFlags)(pFlags, hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6339 * if __cuTexRefGetFlags == NULL: * with gil: * raise RuntimeError('Function "cuTexRefGetFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefGetFlags)(pFlags, hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefGetFlags_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6339, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6339, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6338 * cuPythonInit() * if __cuTexRefGetFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefGetFlags" not found') * err = ( __cuTexRefGetFlags)(pFlags, hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6337 * global __cuTexRefGetFlags * cuPythonInit() * if __cuTexRefGetFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefGetFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6340 * with gil: * raise RuntimeError('Function "cuTexRefGetFlags" not found') * err = ( __cuTexRefGetFlags)(pFlags, hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int *, CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFlags)(__pyx_v_pFlags, __pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6340, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6341 * raise RuntimeError('Function "cuTexRefGetFlags" not found') * err = ( __cuTexRefGetFlags)(pFlags, hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefCreate(CUtexref* pTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6334 * return err * * cdef CUresult _cuTexRefGetFlags(unsigned int* pFlags, CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefGetFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefGetFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6343 * return err * * cdef CUresult _cuTexRefCreate(CUtexref* pTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefCreate(CUtexref *__pyx_v_pTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6345 * cdef CUresult _cuTexRefCreate(CUtexref* pTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6345, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6346 * global __cuTexRefCreate * cuPythonInit() * if __cuTexRefCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6347 * cuPythonInit() * if __cuTexRefCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefCreate" not found') * err = ( __cuTexRefCreate)(pTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6348 * if __cuTexRefCreate == NULL: * with gil: * raise RuntimeError('Function "cuTexRefCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefCreate)(pTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefCreate_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6348, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6348, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6347 * cuPythonInit() * if __cuTexRefCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefCreate" not found') * err = ( __cuTexRefCreate)(pTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6346 * global __cuTexRefCreate * cuPythonInit() * if __cuTexRefCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6349 * with gil: * raise RuntimeError('Function "cuTexRefCreate" not found') * err = ( __cuTexRefCreate)(pTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefCreate)(__pyx_v_pTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6349, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6350 * raise RuntimeError('Function "cuTexRefCreate" not found') * err = ( __cuTexRefCreate)(pTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexRefDestroy(CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6343 * return err * * cdef CUresult _cuTexRefCreate(CUtexref* pTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6352 * return err * * cdef CUresult _cuTexRefDestroy(CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefDestroy(CUtexref __pyx_v_hTexRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexRefDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6354 * cdef CUresult _cuTexRefDestroy(CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexRefDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexRefDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6354, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6355 * global __cuTexRefDestroy * cuPythonInit() * if __cuTexRefDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6356 * cuPythonInit() * if __cuTexRefDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefDestroy" not found') * err = ( __cuTexRefDestroy)(hTexRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6357 * if __cuTexRefDestroy == NULL: * with gil: * raise RuntimeError('Function "cuTexRefDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuTexRefDestroy)(hTexRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexRefDestroy_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6357, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6357, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6356 * cuPythonInit() * if __cuTexRefDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexRefDestroy" not found') * err = ( __cuTexRefDestroy)(hTexRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6355 * global __cuTexRefDestroy * cuPythonInit() * if __cuTexRefDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexRefDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6358 * with gil: * raise RuntimeError('Function "cuTexRefDestroy" not found') * err = ( __cuTexRefDestroy)(hTexRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefDestroy)(__pyx_v_hTexRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6358, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6359 * raise RuntimeError('Function "cuTexRefDestroy" not found') * err = ( __cuTexRefDestroy)(hTexRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuSurfRefSetArray(CUsurfref hSurfRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6352 * return err * * cdef CUresult _cuTexRefDestroy(CUtexref hTexRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexRefDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexRefDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6361 * return err * * cdef CUresult _cuSurfRefSetArray(CUsurfref hSurfRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfRefSetArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfRefSetArray(CUsurfref __pyx_v_hSurfRef, CUarray __pyx_v_hArray, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuSurfRefSetArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6363 * cdef CUresult _cuSurfRefSetArray(CUsurfref hSurfRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuSurfRefSetArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuSurfRefSetArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6363, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6364 * global __cuSurfRefSetArray * cuPythonInit() * if __cuSurfRefSetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfRefSetArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefSetArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6365 * cuPythonInit() * if __cuSurfRefSetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfRefSetArray" not found') * err = ( __cuSurfRefSetArray)(hSurfRef, hArray, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6366 * if __cuSurfRefSetArray == NULL: * with gil: * raise RuntimeError('Function "cuSurfRefSetArray" not found') # <<<<<<<<<<<<<< * err = ( __cuSurfRefSetArray)(hSurfRef, hArray, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuSurfRefSetArray_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6366, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6366, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6365 * cuPythonInit() * if __cuSurfRefSetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfRefSetArray" not found') * err = ( __cuSurfRefSetArray)(hSurfRef, hArray, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6364 * global __cuSurfRefSetArray * cuPythonInit() * if __cuSurfRefSetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfRefSetArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6367 * with gil: * raise RuntimeError('Function "cuSurfRefSetArray" not found') * err = ( __cuSurfRefSetArray)(hSurfRef, hArray, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUsurfref, CUarray, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefSetArray)(__pyx_v_hSurfRef, __pyx_v_hArray, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6367, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6368 * raise RuntimeError('Function "cuSurfRefSetArray" not found') * err = ( __cuSurfRefSetArray)(hSurfRef, hArray, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuSurfRefGetArray(CUarray* phArray, CUsurfref hSurfRef) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6361 * return err * * cdef CUresult _cuSurfRefSetArray(CUsurfref hSurfRef, CUarray hArray, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfRefSetArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuSurfRefSetArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6370 * return err * * cdef CUresult _cuSurfRefGetArray(CUarray* phArray, CUsurfref hSurfRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfRefGetArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfRefGetArray(CUarray *__pyx_v_phArray, CUsurfref __pyx_v_hSurfRef) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuSurfRefGetArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6372 * cdef CUresult _cuSurfRefGetArray(CUarray* phArray, CUsurfref hSurfRef) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuSurfRefGetArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuSurfRefGetArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6372, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6373 * global __cuSurfRefGetArray * cuPythonInit() * if __cuSurfRefGetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfRefGetArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefGetArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6374 * cuPythonInit() * if __cuSurfRefGetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfRefGetArray" not found') * err = ( __cuSurfRefGetArray)(phArray, hSurfRef) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6375 * if __cuSurfRefGetArray == NULL: * with gil: * raise RuntimeError('Function "cuSurfRefGetArray" not found') # <<<<<<<<<<<<<< * err = ( __cuSurfRefGetArray)(phArray, hSurfRef) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuSurfRefGetArray_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6375, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6375, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6374 * cuPythonInit() * if __cuSurfRefGetArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfRefGetArray" not found') * err = ( __cuSurfRefGetArray)(phArray, hSurfRef) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6373 * global __cuSurfRefGetArray * cuPythonInit() * if __cuSurfRefGetArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfRefGetArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6376 * with gil: * raise RuntimeError('Function "cuSurfRefGetArray" not found') * err = ( __cuSurfRefGetArray)(phArray, hSurfRef) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray *, CUsurfref))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefGetArray)(__pyx_v_phArray, __pyx_v_hSurfRef); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6376, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6377 * raise RuntimeError('Function "cuSurfRefGetArray" not found') * err = ( __cuSurfRefGetArray)(phArray, hSurfRef) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexObjectCreate(CUtexObject* pTexObject, const CUDA_RESOURCE_DESC* pResDesc, const CUDA_TEXTURE_DESC* pTexDesc, const CUDA_RESOURCE_VIEW_DESC* pResViewDesc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6370 * return err * * cdef CUresult _cuSurfRefGetArray(CUarray* phArray, CUsurfref hSurfRef) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfRefGetArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuSurfRefGetArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6379 * return err * * cdef CUresult _cuTexObjectCreate(CUtexObject* pTexObject, const CUDA_RESOURCE_DESC* pResDesc, const CUDA_TEXTURE_DESC* pTexDesc, const CUDA_RESOURCE_VIEW_DESC* pResViewDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectCreate(CUtexObject *__pyx_v_pTexObject, CUDA_RESOURCE_DESC const *__pyx_v_pResDesc, CUDA_TEXTURE_DESC const *__pyx_v_pTexDesc, CUDA_RESOURCE_VIEW_DESC const *__pyx_v_pResViewDesc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexObjectCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6381 * cdef CUresult _cuTexObjectCreate(CUtexObject* pTexObject, const CUDA_RESOURCE_DESC* pResDesc, const CUDA_TEXTURE_DESC* pTexDesc, const CUDA_RESOURCE_VIEW_DESC* pResViewDesc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexObjectCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexObjectCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6381, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6382 * global __cuTexObjectCreate * cuPythonInit() * if __cuTexObjectCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6383 * cuPythonInit() * if __cuTexObjectCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectCreate" not found') * err = ( __cuTexObjectCreate)(pTexObject, pResDesc, pTexDesc, pResViewDesc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6384 * if __cuTexObjectCreate == NULL: * with gil: * raise RuntimeError('Function "cuTexObjectCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuTexObjectCreate)(pTexObject, pResDesc, pTexDesc, pResViewDesc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexObjectCreate_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6384, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6384, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6383 * cuPythonInit() * if __cuTexObjectCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectCreate" not found') * err = ( __cuTexObjectCreate)(pTexObject, pResDesc, pTexDesc, pResViewDesc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6382 * global __cuTexObjectCreate * cuPythonInit() * if __cuTexObjectCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6385 * with gil: * raise RuntimeError('Function "cuTexObjectCreate" not found') * err = ( __cuTexObjectCreate)(pTexObject, pResDesc, pTexDesc, pResViewDesc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexObject *, CUDA_RESOURCE_DESC const *, CUDA_TEXTURE_DESC const *, CUDA_RESOURCE_VIEW_DESC const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectCreate)(__pyx_v_pTexObject, __pyx_v_pResDesc, __pyx_v_pTexDesc, __pyx_v_pResViewDesc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6385, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6386 * raise RuntimeError('Function "cuTexObjectCreate" not found') * err = ( __cuTexObjectCreate)(pTexObject, pResDesc, pTexDesc, pResViewDesc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexObjectDestroy(CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6379 * return err * * cdef CUresult _cuTexObjectCreate(CUtexObject* pTexObject, const CUDA_RESOURCE_DESC* pResDesc, const CUDA_TEXTURE_DESC* pTexDesc, const CUDA_RESOURCE_VIEW_DESC* pResViewDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexObjectCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6388 * return err * * cdef CUresult _cuTexObjectDestroy(CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectDestroy(CUtexObject __pyx_v_texObject) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexObjectDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6390 * cdef CUresult _cuTexObjectDestroy(CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexObjectDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexObjectDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6390, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6391 * global __cuTexObjectDestroy * cuPythonInit() * if __cuTexObjectDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6392 * cuPythonInit() * if __cuTexObjectDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectDestroy" not found') * err = ( __cuTexObjectDestroy)(texObject) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6393 * if __cuTexObjectDestroy == NULL: * with gil: * raise RuntimeError('Function "cuTexObjectDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuTexObjectDestroy)(texObject) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexObjectDestroy_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6393, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6393, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6392 * cuPythonInit() * if __cuTexObjectDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectDestroy" not found') * err = ( __cuTexObjectDestroy)(texObject) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6391 * global __cuTexObjectDestroy * cuPythonInit() * if __cuTexObjectDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6394 * with gil: * raise RuntimeError('Function "cuTexObjectDestroy" not found') * err = ( __cuTexObjectDestroy)(texObject) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtexObject))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectDestroy)(__pyx_v_texObject); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6394, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6395 * raise RuntimeError('Function "cuTexObjectDestroy" not found') * err = ( __cuTexObjectDestroy)(texObject) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6388 * return err * * cdef CUresult _cuTexObjectDestroy(CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexObjectDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6397 * return err * * cdef CUresult _cuTexObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceDesc * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectGetResourceDesc(CUDA_RESOURCE_DESC *__pyx_v_pResDesc, CUtexObject __pyx_v_texObject) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexObjectGetResourceDesc", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6399 * cdef CUresult _cuTexObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexObjectGetResourceDesc * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexObjectGetResourceDesc == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6399, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6400 * global __cuTexObjectGetResourceDesc * cuPythonInit() * if __cuTexObjectGetResourceDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceDesc" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceDesc == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6401 * cuPythonInit() * if __cuTexObjectGetResourceDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectGetResourceDesc" not found') * err = ( __cuTexObjectGetResourceDesc)(pResDesc, texObject) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6402 * if __cuTexObjectGetResourceDesc == NULL: * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceDesc" not found') # <<<<<<<<<<<<<< * err = ( __cuTexObjectGetResourceDesc)(pResDesc, texObject) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexObjectGetResourceD}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6402, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6402, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6401 * cuPythonInit() * if __cuTexObjectGetResourceDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectGetResourceDesc" not found') * err = ( __cuTexObjectGetResourceDesc)(pResDesc, texObject) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6400 * global __cuTexObjectGetResourceDesc * cuPythonInit() * if __cuTexObjectGetResourceDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceDesc" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6403 * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceDesc" not found') * err = ( __cuTexObjectGetResourceDesc)(pResDesc, texObject) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_RESOURCE_DESC *, CUtexObject))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceDesc)(__pyx_v_pResDesc, __pyx_v_texObject); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6403, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6404 * raise RuntimeError('Function "cuTexObjectGetResourceDesc" not found') * err = ( __cuTexObjectGetResourceDesc)(pResDesc, texObject) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexObjectGetTextureDesc(CUDA_TEXTURE_DESC* pTexDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6397 * return err * * cdef CUresult _cuTexObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceDesc * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexObjectGetResourceDesc", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6406 * return err * * cdef CUresult _cuTexObjectGetTextureDesc(CUDA_TEXTURE_DESC* pTexDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectGetTextureDesc * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectGetTextureDesc(CUDA_TEXTURE_DESC *__pyx_v_pTexDesc, CUtexObject __pyx_v_texObject) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexObjectGetTextureDesc", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6408 * cdef CUresult _cuTexObjectGetTextureDesc(CUDA_TEXTURE_DESC* pTexDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexObjectGetTextureDesc * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexObjectGetTextureDesc == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6408, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6409 * global __cuTexObjectGetTextureDesc * cuPythonInit() * if __cuTexObjectGetTextureDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectGetTextureDesc" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetTextureDesc == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6410 * cuPythonInit() * if __cuTexObjectGetTextureDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectGetTextureDesc" not found') * err = ( __cuTexObjectGetTextureDesc)(pTexDesc, texObject) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6411 * if __cuTexObjectGetTextureDesc == NULL: * with gil: * raise RuntimeError('Function "cuTexObjectGetTextureDesc" not found') # <<<<<<<<<<<<<< * err = ( __cuTexObjectGetTextureDesc)(pTexDesc, texObject) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexObjectGetTextureDe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6411, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6411, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6410 * cuPythonInit() * if __cuTexObjectGetTextureDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectGetTextureDesc" not found') * err = ( __cuTexObjectGetTextureDesc)(pTexDesc, texObject) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6409 * global __cuTexObjectGetTextureDesc * cuPythonInit() * if __cuTexObjectGetTextureDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectGetTextureDesc" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6412 * with gil: * raise RuntimeError('Function "cuTexObjectGetTextureDesc" not found') * err = ( __cuTexObjectGetTextureDesc)(pTexDesc, texObject) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_TEXTURE_DESC *, CUtexObject))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetTextureDesc)(__pyx_v_pTexDesc, __pyx_v_texObject); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6412, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6413 * raise RuntimeError('Function "cuTexObjectGetTextureDesc" not found') * err = ( __cuTexObjectGetTextureDesc)(pTexDesc, texObject) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTexObjectGetResourceViewDesc(CUDA_RESOURCE_VIEW_DESC* pResViewDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6406 * return err * * cdef CUresult _cuTexObjectGetTextureDesc(CUDA_TEXTURE_DESC* pTexDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectGetTextureDesc * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexObjectGetTextureDesc", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6415 * return err * * cdef CUresult _cuTexObjectGetResourceViewDesc(CUDA_RESOURCE_VIEW_DESC* pResViewDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceViewDesc * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectGetResourceViewDesc(CUDA_RESOURCE_VIEW_DESC *__pyx_v_pResViewDesc, CUtexObject __pyx_v_texObject) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTexObjectGetResourceViewDesc", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6417 * cdef CUresult _cuTexObjectGetResourceViewDesc(CUDA_RESOURCE_VIEW_DESC* pResViewDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTexObjectGetResourceViewDesc * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTexObjectGetResourceViewDesc == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6417, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6418 * global __cuTexObjectGetResourceViewDesc * cuPythonInit() * if __cuTexObjectGetResourceViewDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceViewDesc" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceViewDesc == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6419 * cuPythonInit() * if __cuTexObjectGetResourceViewDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectGetResourceViewDesc" not found') * err = ( __cuTexObjectGetResourceViewDesc)(pResViewDesc, texObject) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6420 * if __cuTexObjectGetResourceViewDesc == NULL: * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceViewDesc" not found') # <<<<<<<<<<<<<< * err = ( __cuTexObjectGetResourceViewDesc)(pResViewDesc, texObject) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTexObjectGetResourceV}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6420, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6420, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6419 * cuPythonInit() * if __cuTexObjectGetResourceViewDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTexObjectGetResourceViewDesc" not found') * err = ( __cuTexObjectGetResourceViewDesc)(pResViewDesc, texObject) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6418 * global __cuTexObjectGetResourceViewDesc * cuPythonInit() * if __cuTexObjectGetResourceViewDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceViewDesc" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6421 * with gil: * raise RuntimeError('Function "cuTexObjectGetResourceViewDesc" not found') * err = ( __cuTexObjectGetResourceViewDesc)(pResViewDesc, texObject) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_RESOURCE_VIEW_DESC *, CUtexObject))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceViewDesc)(__pyx_v_pResViewDesc, __pyx_v_texObject); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6421, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6422 * raise RuntimeError('Function "cuTexObjectGetResourceViewDesc" not found') * err = ( __cuTexObjectGetResourceViewDesc)(pResViewDesc, texObject) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuSurfObjectCreate(CUsurfObject* pSurfObject, const CUDA_RESOURCE_DESC* pResDesc) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6415 * return err * * cdef CUresult _cuTexObjectGetResourceViewDesc(CUDA_RESOURCE_VIEW_DESC* pResViewDesc, CUtexObject texObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceViewDesc * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTexObjectGetResourceViewDesc", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6424 * return err * * cdef CUresult _cuSurfObjectCreate(CUsurfObject* pSurfObject, const CUDA_RESOURCE_DESC* pResDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfObjectCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfObjectCreate(CUsurfObject *__pyx_v_pSurfObject, CUDA_RESOURCE_DESC const *__pyx_v_pResDesc) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuSurfObjectCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6426 * cdef CUresult _cuSurfObjectCreate(CUsurfObject* pSurfObject, const CUDA_RESOURCE_DESC* pResDesc) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuSurfObjectCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuSurfObjectCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6426, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6427 * global __cuSurfObjectCreate * cuPythonInit() * if __cuSurfObjectCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfObjectCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6428 * cuPythonInit() * if __cuSurfObjectCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfObjectCreate" not found') * err = ( __cuSurfObjectCreate)(pSurfObject, pResDesc) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6429 * if __cuSurfObjectCreate == NULL: * with gil: * raise RuntimeError('Function "cuSurfObjectCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuSurfObjectCreate)(pSurfObject, pResDesc) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuSurfObjectCreate_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6429, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6429, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6428 * cuPythonInit() * if __cuSurfObjectCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfObjectCreate" not found') * err = ( __cuSurfObjectCreate)(pSurfObject, pResDesc) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6427 * global __cuSurfObjectCreate * cuPythonInit() * if __cuSurfObjectCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfObjectCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6430 * with gil: * raise RuntimeError('Function "cuSurfObjectCreate" not found') * err = ( __cuSurfObjectCreate)(pSurfObject, pResDesc) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUsurfObject *, CUDA_RESOURCE_DESC const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectCreate)(__pyx_v_pSurfObject, __pyx_v_pResDesc); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6430, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6431 * raise RuntimeError('Function "cuSurfObjectCreate" not found') * err = ( __cuSurfObjectCreate)(pSurfObject, pResDesc) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuSurfObjectDestroy(CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6424 * return err * * cdef CUresult _cuSurfObjectCreate(CUsurfObject* pSurfObject, const CUDA_RESOURCE_DESC* pResDesc) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfObjectCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuSurfObjectCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6433 * return err * * cdef CUresult _cuSurfObjectDestroy(CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfObjectDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfObjectDestroy(CUsurfObject __pyx_v_surfObject) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuSurfObjectDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6435 * cdef CUresult _cuSurfObjectDestroy(CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuSurfObjectDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuSurfObjectDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6435, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6436 * global __cuSurfObjectDestroy * cuPythonInit() * if __cuSurfObjectDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfObjectDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6437 * cuPythonInit() * if __cuSurfObjectDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfObjectDestroy" not found') * err = ( __cuSurfObjectDestroy)(surfObject) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6438 * if __cuSurfObjectDestroy == NULL: * with gil: * raise RuntimeError('Function "cuSurfObjectDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuSurfObjectDestroy)(surfObject) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuSurfObjectDestroy_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6438, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6438, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6437 * cuPythonInit() * if __cuSurfObjectDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfObjectDestroy" not found') * err = ( __cuSurfObjectDestroy)(surfObject) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6436 * global __cuSurfObjectDestroy * cuPythonInit() * if __cuSurfObjectDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfObjectDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6439 * with gil: * raise RuntimeError('Function "cuSurfObjectDestroy" not found') * err = ( __cuSurfObjectDestroy)(surfObject) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUsurfObject))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectDestroy)(__pyx_v_surfObject); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6439, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6440 * raise RuntimeError('Function "cuSurfObjectDestroy" not found') * err = ( __cuSurfObjectDestroy)(surfObject) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuSurfObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6433 * return err * * cdef CUresult _cuSurfObjectDestroy(CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfObjectDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuSurfObjectDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6442 * return err * * cdef CUresult _cuSurfObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfObjectGetResourceDesc * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfObjectGetResourceDesc(CUDA_RESOURCE_DESC *__pyx_v_pResDesc, CUsurfObject __pyx_v_surfObject) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuSurfObjectGetResourceDesc", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6444 * cdef CUresult _cuSurfObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuSurfObjectGetResourceDesc * cuPythonInit() # <<<<<<<<<<<<<< * if __cuSurfObjectGetResourceDesc == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6444, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6445 * global __cuSurfObjectGetResourceDesc * cuPythonInit() * if __cuSurfObjectGetResourceDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfObjectGetResourceDesc" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectGetResourceDesc == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6446 * cuPythonInit() * if __cuSurfObjectGetResourceDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfObjectGetResourceDesc" not found') * err = ( __cuSurfObjectGetResourceDesc)(pResDesc, surfObject) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6447 * if __cuSurfObjectGetResourceDesc == NULL: * with gil: * raise RuntimeError('Function "cuSurfObjectGetResourceDesc" not found') # <<<<<<<<<<<<<< * err = ( __cuSurfObjectGetResourceDesc)(pResDesc, surfObject) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuSurfObjectGetResource}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6447, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6447, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6446 * cuPythonInit() * if __cuSurfObjectGetResourceDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuSurfObjectGetResourceDesc" not found') * err = ( __cuSurfObjectGetResourceDesc)(pResDesc, surfObject) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6445 * global __cuSurfObjectGetResourceDesc * cuPythonInit() * if __cuSurfObjectGetResourceDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuSurfObjectGetResourceDesc" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6448 * with gil: * raise RuntimeError('Function "cuSurfObjectGetResourceDesc" not found') * err = ( __cuSurfObjectGetResourceDesc)(pResDesc, surfObject) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUDA_RESOURCE_DESC *, CUsurfObject))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectGetResourceDesc)(__pyx_v_pResDesc, __pyx_v_surfObject); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6448, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6449 * raise RuntimeError('Function "cuSurfObjectGetResourceDesc" not found') * err = ( __cuSurfObjectGetResourceDesc)(pResDesc, surfObject) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTensorMapEncodeTiled(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const cuuint32_t* boxDim, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6442 * return err * * cdef CUresult _cuSurfObjectGetResourceDesc(CUDA_RESOURCE_DESC* pResDesc, CUsurfObject surfObject) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuSurfObjectGetResourceDesc * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuSurfObjectGetResourceDesc", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6451 * return err * * cdef CUresult _cuTensorMapEncodeTiled(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const cuuint32_t* boxDim, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapEncodeTiled * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapEncodeTiled(CUtensorMap *__pyx_v_tensorMap, CUtensorMapDataType __pyx_v_tensorDataType, cuuint32_t __pyx_v_tensorRank, void *__pyx_v_globalAddress, cuuint64_t const *__pyx_v_globalDim, cuuint64_t const *__pyx_v_globalStrides, cuuint32_t const *__pyx_v_boxDim, cuuint32_t const *__pyx_v_elementStrides, CUtensorMapInterleave __pyx_v_interleave, CUtensorMapSwizzle __pyx_v_swizzle, CUtensorMapL2promotion __pyx_v_l2Promotion, CUtensorMapFloatOOBfill __pyx_v_oobFill) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTensorMapEncodeTiled", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6453 * cdef CUresult _cuTensorMapEncodeTiled(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const cuuint32_t* boxDim, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTensorMapEncodeTiled * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTensorMapEncodeTiled == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6453, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6454 * global __cuTensorMapEncodeTiled * cuPythonInit() * if __cuTensorMapEncodeTiled == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapEncodeTiled" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeTiled == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6455 * cuPythonInit() * if __cuTensorMapEncodeTiled == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapEncodeTiled" not found') * err = ( __cuTensorMapEncodeTiled)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, boxDim, elementStrides, interleave, swizzle, l2Promotion, oobFill) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6456 * if __cuTensorMapEncodeTiled == NULL: * with gil: * raise RuntimeError('Function "cuTensorMapEncodeTiled" not found') # <<<<<<<<<<<<<< * err = ( __cuTensorMapEncodeTiled)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, boxDim, elementStrides, interleave, swizzle, l2Promotion, oobFill) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTensorMapEncodeTiled}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6456, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6456, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6455 * cuPythonInit() * if __cuTensorMapEncodeTiled == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapEncodeTiled" not found') * err = ( __cuTensorMapEncodeTiled)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, boxDim, elementStrides, interleave, swizzle, l2Promotion, oobFill) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6454 * global __cuTensorMapEncodeTiled * cuPythonInit() * if __cuTensorMapEncodeTiled == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapEncodeTiled" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6457 * with gil: * raise RuntimeError('Function "cuTensorMapEncodeTiled" not found') * err = ( __cuTensorMapEncodeTiled)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, boxDim, elementStrides, interleave, swizzle, l2Promotion, oobFill) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtensorMap *, CUtensorMapDataType, cuuint32_t, void *, cuuint64_t const *, cuuint64_t const *, cuuint32_t const *, cuuint32_t const *, CUtensorMapInterleave, CUtensorMapSwizzle, CUtensorMapL2promotion, CUtensorMapFloatOOBfill))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeTiled)(__pyx_v_tensorMap, __pyx_v_tensorDataType, __pyx_v_tensorRank, __pyx_v_globalAddress, __pyx_v_globalDim, __pyx_v_globalStrides, __pyx_v_boxDim, __pyx_v_elementStrides, __pyx_v_interleave, __pyx_v_swizzle, __pyx_v_l2Promotion, __pyx_v_oobFill); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6457, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6458 * raise RuntimeError('Function "cuTensorMapEncodeTiled" not found') * err = ( __cuTensorMapEncodeTiled)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, boxDim, elementStrides, interleave, swizzle, l2Promotion, oobFill) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTensorMapEncodeIm2col(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const int* pixelBoxLowerCorner, const int* pixelBoxUpperCorner, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6451 * return err * * cdef CUresult _cuTensorMapEncodeTiled(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const cuuint32_t* boxDim, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapEncodeTiled * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTensorMapEncodeTiled", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6460 * return err * * cdef CUresult _cuTensorMapEncodeIm2col(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const int* pixelBoxLowerCorner, const int* pixelBoxUpperCorner, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2col * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapEncodeIm2col(CUtensorMap *__pyx_v_tensorMap, CUtensorMapDataType __pyx_v_tensorDataType, cuuint32_t __pyx_v_tensorRank, void *__pyx_v_globalAddress, cuuint64_t const *__pyx_v_globalDim, cuuint64_t const *__pyx_v_globalStrides, int const *__pyx_v_pixelBoxLowerCorner, int const *__pyx_v_pixelBoxUpperCorner, cuuint32_t __pyx_v_channelsPerPixel, cuuint32_t __pyx_v_pixelsPerColumn, cuuint32_t const *__pyx_v_elementStrides, CUtensorMapInterleave __pyx_v_interleave, CUtensorMapSwizzle __pyx_v_swizzle, CUtensorMapL2promotion __pyx_v_l2Promotion, CUtensorMapFloatOOBfill __pyx_v_oobFill) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTensorMapEncodeIm2col", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6462 * cdef CUresult _cuTensorMapEncodeIm2col(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const int* pixelBoxLowerCorner, const int* pixelBoxUpperCorner, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTensorMapEncodeIm2col * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTensorMapEncodeIm2col == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6462, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6463 * global __cuTensorMapEncodeIm2col * cuPythonInit() * if __cuTensorMapEncodeIm2col == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2col" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2col == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6464 * cuPythonInit() * if __cuTensorMapEncodeIm2col == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapEncodeIm2col" not found') * err = ( __cuTensorMapEncodeIm2col)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCorner, pixelBoxUpperCorner, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, swizzle, l2Promotion, oobFill) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6465 * if __cuTensorMapEncodeIm2col == NULL: * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2col" not found') # <<<<<<<<<<<<<< * err = ( __cuTensorMapEncodeIm2col)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCorner, pixelBoxUpperCorner, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, swizzle, l2Promotion, oobFill) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTensorMapEncodeIm2col}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6465, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6465, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6464 * cuPythonInit() * if __cuTensorMapEncodeIm2col == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapEncodeIm2col" not found') * err = ( __cuTensorMapEncodeIm2col)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCorner, pixelBoxUpperCorner, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, swizzle, l2Promotion, oobFill) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6463 * global __cuTensorMapEncodeIm2col * cuPythonInit() * if __cuTensorMapEncodeIm2col == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2col" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6466 * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2col" not found') * err = ( __cuTensorMapEncodeIm2col)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCorner, pixelBoxUpperCorner, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, swizzle, l2Promotion, oobFill) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtensorMap *, CUtensorMapDataType, cuuint32_t, void *, cuuint64_t const *, cuuint64_t const *, int const *, int const *, cuuint32_t, cuuint32_t, cuuint32_t const *, CUtensorMapInterleave, CUtensorMapSwizzle, CUtensorMapL2promotion, CUtensorMapFloatOOBfill))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2col)(__pyx_v_tensorMap, __pyx_v_tensorDataType, __pyx_v_tensorRank, __pyx_v_globalAddress, __pyx_v_globalDim, __pyx_v_globalStrides, __pyx_v_pixelBoxLowerCorner, __pyx_v_pixelBoxUpperCorner, __pyx_v_channelsPerPixel, __pyx_v_pixelsPerColumn, __pyx_v_elementStrides, __pyx_v_interleave, __pyx_v_swizzle, __pyx_v_l2Promotion, __pyx_v_oobFill); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6466, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6467 * raise RuntimeError('Function "cuTensorMapEncodeIm2col" not found') * err = ( __cuTensorMapEncodeIm2col)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCorner, pixelBoxUpperCorner, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, swizzle, l2Promotion, oobFill) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTensorMapEncodeIm2colWide(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, int pixelBoxLowerCornerWidth, int pixelBoxUpperCornerWidth, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapIm2ColWideMode mode, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6460 * return err * * cdef CUresult _cuTensorMapEncodeIm2col(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, const int* pixelBoxLowerCorner, const int* pixelBoxUpperCorner, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2col * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTensorMapEncodeIm2col", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6469 * return err * * cdef CUresult _cuTensorMapEncodeIm2colWide(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, int pixelBoxLowerCornerWidth, int pixelBoxUpperCornerWidth, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapIm2ColWideMode mode, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2colWide * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapEncodeIm2colWide(CUtensorMap *__pyx_v_tensorMap, CUtensorMapDataType __pyx_v_tensorDataType, cuuint32_t __pyx_v_tensorRank, void *__pyx_v_globalAddress, cuuint64_t const *__pyx_v_globalDim, cuuint64_t const *__pyx_v_globalStrides, int __pyx_v_pixelBoxLowerCornerWidth, int __pyx_v_pixelBoxUpperCornerWidth, cuuint32_t __pyx_v_channelsPerPixel, cuuint32_t __pyx_v_pixelsPerColumn, cuuint32_t const *__pyx_v_elementStrides, CUtensorMapInterleave __pyx_v_interleave, CUtensorMapIm2ColWideMode __pyx_v_mode, CUtensorMapSwizzle __pyx_v_swizzle, CUtensorMapL2promotion __pyx_v_l2Promotion, CUtensorMapFloatOOBfill __pyx_v_oobFill) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTensorMapEncodeIm2colWide", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6471 * cdef CUresult _cuTensorMapEncodeIm2colWide(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, int pixelBoxLowerCornerWidth, int pixelBoxUpperCornerWidth, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapIm2ColWideMode mode, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTensorMapEncodeIm2colWide * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTensorMapEncodeIm2colWide == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6471, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6472 * global __cuTensorMapEncodeIm2colWide * cuPythonInit() * if __cuTensorMapEncodeIm2colWide == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2colWide" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2colWide == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6473 * cuPythonInit() * if __cuTensorMapEncodeIm2colWide == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapEncodeIm2colWide" not found') * err = ( __cuTensorMapEncodeIm2colWide)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCornerWidth, pixelBoxUpperCornerWidth, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, mode, swizzle, l2Promotion, oobFill) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6474 * if __cuTensorMapEncodeIm2colWide == NULL: * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2colWide" not found') # <<<<<<<<<<<<<< * err = ( __cuTensorMapEncodeIm2colWide)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCornerWidth, pixelBoxUpperCornerWidth, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, mode, swizzle, l2Promotion, oobFill) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTensorMapEncodeIm2col_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6474, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6474, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6473 * cuPythonInit() * if __cuTensorMapEncodeIm2colWide == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapEncodeIm2colWide" not found') * err = ( __cuTensorMapEncodeIm2colWide)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCornerWidth, pixelBoxUpperCornerWidth, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, mode, swizzle, l2Promotion, oobFill) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6472 * global __cuTensorMapEncodeIm2colWide * cuPythonInit() * if __cuTensorMapEncodeIm2colWide == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2colWide" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6475 * with gil: * raise RuntimeError('Function "cuTensorMapEncodeIm2colWide" not found') * err = ( __cuTensorMapEncodeIm2colWide)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCornerWidth, pixelBoxUpperCornerWidth, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, mode, swizzle, l2Promotion, oobFill) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtensorMap *, CUtensorMapDataType, cuuint32_t, void *, cuuint64_t const *, cuuint64_t const *, int, int, cuuint32_t, cuuint32_t, cuuint32_t const *, CUtensorMapInterleave, CUtensorMapIm2ColWideMode, CUtensorMapSwizzle, CUtensorMapL2promotion, CUtensorMapFloatOOBfill))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2colWide)(__pyx_v_tensorMap, __pyx_v_tensorDataType, __pyx_v_tensorRank, __pyx_v_globalAddress, __pyx_v_globalDim, __pyx_v_globalStrides, __pyx_v_pixelBoxLowerCornerWidth, __pyx_v_pixelBoxUpperCornerWidth, __pyx_v_channelsPerPixel, __pyx_v_pixelsPerColumn, __pyx_v_elementStrides, __pyx_v_interleave, __pyx_v_mode, __pyx_v_swizzle, __pyx_v_l2Promotion, __pyx_v_oobFill); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6475, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6476 * raise RuntimeError('Function "cuTensorMapEncodeIm2colWide" not found') * err = ( __cuTensorMapEncodeIm2colWide)(tensorMap, tensorDataType, tensorRank, globalAddress, globalDim, globalStrides, pixelBoxLowerCornerWidth, pixelBoxUpperCornerWidth, channelsPerPixel, pixelsPerColumn, elementStrides, interleave, mode, swizzle, l2Promotion, oobFill) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuTensorMapReplaceAddress(CUtensorMap* tensorMap, void* globalAddress) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6469 * return err * * cdef CUresult _cuTensorMapEncodeIm2colWide(CUtensorMap* tensorMap, CUtensorMapDataType tensorDataType, cuuint32_t tensorRank, void* globalAddress, const cuuint64_t* globalDim, const cuuint64_t* globalStrides, int pixelBoxLowerCornerWidth, int pixelBoxUpperCornerWidth, cuuint32_t channelsPerPixel, cuuint32_t pixelsPerColumn, const cuuint32_t* elementStrides, CUtensorMapInterleave interleave, CUtensorMapIm2ColWideMode mode, CUtensorMapSwizzle swizzle, CUtensorMapL2promotion l2Promotion, CUtensorMapFloatOOBfill oobFill) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2colWide * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTensorMapEncodeIm2colWide", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6478 * return err * * cdef CUresult _cuTensorMapReplaceAddress(CUtensorMap* tensorMap, void* globalAddress) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapReplaceAddress * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapReplaceAddress(CUtensorMap *__pyx_v_tensorMap, void *__pyx_v_globalAddress) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuTensorMapReplaceAddress", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6480 * cdef CUresult _cuTensorMapReplaceAddress(CUtensorMap* tensorMap, void* globalAddress) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuTensorMapReplaceAddress * cuPythonInit() # <<<<<<<<<<<<<< * if __cuTensorMapReplaceAddress == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6480, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6481 * global __cuTensorMapReplaceAddress * cuPythonInit() * if __cuTensorMapReplaceAddress == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapReplaceAddress" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapReplaceAddress == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6482 * cuPythonInit() * if __cuTensorMapReplaceAddress == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapReplaceAddress" not found') * err = ( __cuTensorMapReplaceAddress)(tensorMap, globalAddress) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6483 * if __cuTensorMapReplaceAddress == NULL: * with gil: * raise RuntimeError('Function "cuTensorMapReplaceAddress" not found') # <<<<<<<<<<<<<< * err = ( __cuTensorMapReplaceAddress)(tensorMap, globalAddress) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuTensorMapReplaceAddre}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6483, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6483, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6482 * cuPythonInit() * if __cuTensorMapReplaceAddress == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuTensorMapReplaceAddress" not found') * err = ( __cuTensorMapReplaceAddress)(tensorMap, globalAddress) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6481 * global __cuTensorMapReplaceAddress * cuPythonInit() * if __cuTensorMapReplaceAddress == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuTensorMapReplaceAddress" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6484 * with gil: * raise RuntimeError('Function "cuTensorMapReplaceAddress" not found') * err = ( __cuTensorMapReplaceAddress)(tensorMap, globalAddress) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUtensorMap *, void *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapReplaceAddress)(__pyx_v_tensorMap, __pyx_v_globalAddress); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6484, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6485 * raise RuntimeError('Function "cuTensorMapReplaceAddress" not found') * err = ( __cuTensorMapReplaceAddress)(tensorMap, globalAddress) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceCanAccessPeer(int* canAccessPeer, CUdevice dev, CUdevice peerDev) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6478 * return err * * cdef CUresult _cuTensorMapReplaceAddress(CUtensorMap* tensorMap, void* globalAddress) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuTensorMapReplaceAddress * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuTensorMapReplaceAddress", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6487 * return err * * cdef CUresult _cuDeviceCanAccessPeer(int* canAccessPeer, CUdevice dev, CUdevice peerDev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceCanAccessPeer * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceCanAccessPeer(int *__pyx_v_canAccessPeer, CUdevice __pyx_v_dev, CUdevice __pyx_v_peerDev) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceCanAccessPeer", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6489 * cdef CUresult _cuDeviceCanAccessPeer(int* canAccessPeer, CUdevice dev, CUdevice peerDev) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceCanAccessPeer * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceCanAccessPeer == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6489, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6490 * global __cuDeviceCanAccessPeer * cuPythonInit() * if __cuDeviceCanAccessPeer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceCanAccessPeer" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceCanAccessPeer == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6491 * cuPythonInit() * if __cuDeviceCanAccessPeer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceCanAccessPeer" not found') * err = ( __cuDeviceCanAccessPeer)(canAccessPeer, dev, peerDev) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6492 * if __cuDeviceCanAccessPeer == NULL: * with gil: * raise RuntimeError('Function "cuDeviceCanAccessPeer" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceCanAccessPeer)(canAccessPeer, dev, peerDev) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceCanAccessPeer_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6492, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6492, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6491 * cuPythonInit() * if __cuDeviceCanAccessPeer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceCanAccessPeer" not found') * err = ( __cuDeviceCanAccessPeer)(canAccessPeer, dev, peerDev) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6490 * global __cuDeviceCanAccessPeer * cuPythonInit() * if __cuDeviceCanAccessPeer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceCanAccessPeer" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6493 * with gil: * raise RuntimeError('Function "cuDeviceCanAccessPeer" not found') * err = ( __cuDeviceCanAccessPeer)(canAccessPeer, dev, peerDev) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUdevice, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceCanAccessPeer)(__pyx_v_canAccessPeer, __pyx_v_dev, __pyx_v_peerDev); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6493, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6494 * raise RuntimeError('Function "cuDeviceCanAccessPeer" not found') * err = ( __cuDeviceCanAccessPeer)(canAccessPeer, dev, peerDev) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxEnablePeerAccess(CUcontext peerContext, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6487 * return err * * cdef CUresult _cuDeviceCanAccessPeer(int* canAccessPeer, CUdevice dev, CUdevice peerDev) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceCanAccessPeer * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceCanAccessPeer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6496 * return err * * cdef CUresult _cuCtxEnablePeerAccess(CUcontext peerContext, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxEnablePeerAccess * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxEnablePeerAccess(CUcontext __pyx_v_peerContext, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxEnablePeerAccess", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6498 * cdef CUresult _cuCtxEnablePeerAccess(CUcontext peerContext, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxEnablePeerAccess * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxEnablePeerAccess == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6498, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6499 * global __cuCtxEnablePeerAccess * cuPythonInit() * if __cuCtxEnablePeerAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxEnablePeerAccess" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxEnablePeerAccess == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6500 * cuPythonInit() * if __cuCtxEnablePeerAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxEnablePeerAccess" not found') * err = ( __cuCtxEnablePeerAccess)(peerContext, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6501 * if __cuCtxEnablePeerAccess == NULL: * with gil: * raise RuntimeError('Function "cuCtxEnablePeerAccess" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxEnablePeerAccess)(peerContext, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxEnablePeerAccess_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6501, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6501, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6500 * cuPythonInit() * if __cuCtxEnablePeerAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxEnablePeerAccess" not found') * err = ( __cuCtxEnablePeerAccess)(peerContext, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6499 * global __cuCtxEnablePeerAccess * cuPythonInit() * if __cuCtxEnablePeerAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxEnablePeerAccess" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6502 * with gil: * raise RuntimeError('Function "cuCtxEnablePeerAccess" not found') * err = ( __cuCtxEnablePeerAccess)(peerContext, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxEnablePeerAccess)(__pyx_v_peerContext, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6502, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6503 * raise RuntimeError('Function "cuCtxEnablePeerAccess" not found') * err = ( __cuCtxEnablePeerAccess)(peerContext, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxDisablePeerAccess(CUcontext peerContext) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6496 * return err * * cdef CUresult _cuCtxEnablePeerAccess(CUcontext peerContext, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxEnablePeerAccess * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxEnablePeerAccess", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6505 * return err * * cdef CUresult _cuCtxDisablePeerAccess(CUcontext peerContext) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxDisablePeerAccess * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxDisablePeerAccess(CUcontext __pyx_v_peerContext) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxDisablePeerAccess", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6507 * cdef CUresult _cuCtxDisablePeerAccess(CUcontext peerContext) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxDisablePeerAccess * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxDisablePeerAccess == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6507, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6508 * global __cuCtxDisablePeerAccess * cuPythonInit() * if __cuCtxDisablePeerAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxDisablePeerAccess" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDisablePeerAccess == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6509 * cuPythonInit() * if __cuCtxDisablePeerAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxDisablePeerAccess" not found') * err = ( __cuCtxDisablePeerAccess)(peerContext) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6510 * if __cuCtxDisablePeerAccess == NULL: * with gil: * raise RuntimeError('Function "cuCtxDisablePeerAccess" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxDisablePeerAccess)(peerContext) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxDisablePeerAccess}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6510, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6510, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6509 * cuPythonInit() * if __cuCtxDisablePeerAccess == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxDisablePeerAccess" not found') * err = ( __cuCtxDisablePeerAccess)(peerContext) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6508 * global __cuCtxDisablePeerAccess * cuPythonInit() * if __cuCtxDisablePeerAccess == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxDisablePeerAccess" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6511 * with gil: * raise RuntimeError('Function "cuCtxDisablePeerAccess" not found') * err = ( __cuCtxDisablePeerAccess)(peerContext) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDisablePeerAccess)(__pyx_v_peerContext); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6511, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6512 * raise RuntimeError('Function "cuCtxDisablePeerAccess" not found') * err = ( __cuCtxDisablePeerAccess)(peerContext) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetP2PAttribute(int* value, CUdevice_P2PAttribute attrib, CUdevice srcDevice, CUdevice dstDevice) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6505 * return err * * cdef CUresult _cuCtxDisablePeerAccess(CUcontext peerContext) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxDisablePeerAccess * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxDisablePeerAccess", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6514 * return err * * cdef CUresult _cuDeviceGetP2PAttribute(int* value, CUdevice_P2PAttribute attrib, CUdevice srcDevice, CUdevice dstDevice) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetP2PAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetP2PAttribute(int *__pyx_v_value, CUdevice_P2PAttribute __pyx_v_attrib, CUdevice __pyx_v_srcDevice, CUdevice __pyx_v_dstDevice) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetP2PAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6516 * cdef CUresult _cuDeviceGetP2PAttribute(int* value, CUdevice_P2PAttribute attrib, CUdevice srcDevice, CUdevice dstDevice) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetP2PAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetP2PAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6516, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6517 * global __cuDeviceGetP2PAttribute * cuPythonInit() * if __cuDeviceGetP2PAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetP2PAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetP2PAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6518 * cuPythonInit() * if __cuDeviceGetP2PAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetP2PAttribute" not found') * err = ( __cuDeviceGetP2PAttribute)(value, attrib, srcDevice, dstDevice) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6519 * if __cuDeviceGetP2PAttribute == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetP2PAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetP2PAttribute)(value, attrib, srcDevice, dstDevice) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetP2PAttribute}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6519, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6519, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6518 * cuPythonInit() * if __cuDeviceGetP2PAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetP2PAttribute" not found') * err = ( __cuDeviceGetP2PAttribute)(value, attrib, srcDevice, dstDevice) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6517 * global __cuDeviceGetP2PAttribute * cuPythonInit() * if __cuDeviceGetP2PAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetP2PAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6520 * with gil: * raise RuntimeError('Function "cuDeviceGetP2PAttribute" not found') * err = ( __cuDeviceGetP2PAttribute)(value, attrib, srcDevice, dstDevice) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int *, CUdevice_P2PAttribute, CUdevice, CUdevice))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetP2PAttribute)(__pyx_v_value, __pyx_v_attrib, __pyx_v_srcDevice, __pyx_v_dstDevice); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6520, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6521 * raise RuntimeError('Function "cuDeviceGetP2PAttribute" not found') * err = ( __cuDeviceGetP2PAttribute)(value, attrib, srcDevice, dstDevice) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsUnregisterResource(CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6514 * return err * * cdef CUresult _cuDeviceGetP2PAttribute(int* value, CUdevice_P2PAttribute attrib, CUdevice srcDevice, CUdevice dstDevice) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetP2PAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetP2PAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6523 * return err * * cdef CUresult _cuGraphicsUnregisterResource(CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsUnregisterResource * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsUnregisterResource(CUgraphicsResource __pyx_v_resource) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsUnregisterResource", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6525 * cdef CUresult _cuGraphicsUnregisterResource(CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsUnregisterResource * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsUnregisterResource == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6525, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6526 * global __cuGraphicsUnregisterResource * cuPythonInit() * if __cuGraphicsUnregisterResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsUnregisterResource" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnregisterResource == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6527 * cuPythonInit() * if __cuGraphicsUnregisterResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsUnregisterResource" not found') * err = ( __cuGraphicsUnregisterResource)(resource) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6528 * if __cuGraphicsUnregisterResource == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsUnregisterResource" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsUnregisterResource)(resource) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsUnregisterRes}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6528, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6528, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6527 * cuPythonInit() * if __cuGraphicsUnregisterResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsUnregisterResource" not found') * err = ( __cuGraphicsUnregisterResource)(resource) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6526 * global __cuGraphicsUnregisterResource * cuPythonInit() * if __cuGraphicsUnregisterResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsUnregisterResource" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6529 * with gil: * raise RuntimeError('Function "cuGraphicsUnregisterResource" not found') * err = ( __cuGraphicsUnregisterResource)(resource) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphicsResource))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnregisterResource)(__pyx_v_resource); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6529, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6530 * raise RuntimeError('Function "cuGraphicsUnregisterResource" not found') * err = ( __cuGraphicsUnregisterResource)(resource) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsSubResourceGetMappedArray(CUarray* pArray, CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6523 * return err * * cdef CUresult _cuGraphicsUnregisterResource(CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsUnregisterResource * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsUnregisterResource", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6532 * return err * * cdef CUresult _cuGraphicsSubResourceGetMappedArray(CUarray* pArray, CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsSubResourceGetMappedArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsSubResourceGetMappedArray(CUarray *__pyx_v_pArray, CUgraphicsResource __pyx_v_resource, unsigned int __pyx_v_arrayIndex, unsigned int __pyx_v_mipLevel) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsSubResourceGetMappedArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6534 * cdef CUresult _cuGraphicsSubResourceGetMappedArray(CUarray* pArray, CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsSubResourceGetMappedArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsSubResourceGetMappedArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6534, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6535 * global __cuGraphicsSubResourceGetMappedArray * cuPythonInit() * if __cuGraphicsSubResourceGetMappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsSubResourceGetMappedArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsSubResourceGetMappedArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6536 * cuPythonInit() * if __cuGraphicsSubResourceGetMappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsSubResourceGetMappedArray" not found') * err = ( __cuGraphicsSubResourceGetMappedArray)(pArray, resource, arrayIndex, mipLevel) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6537 * if __cuGraphicsSubResourceGetMappedArray == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsSubResourceGetMappedArray" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsSubResourceGetMappedArray)(pArray, resource, arrayIndex, mipLevel) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsSubResourceGe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6537, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6537, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6536 * cuPythonInit() * if __cuGraphicsSubResourceGetMappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsSubResourceGetMappedArray" not found') * err = ( __cuGraphicsSubResourceGetMappedArray)(pArray, resource, arrayIndex, mipLevel) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6535 * global __cuGraphicsSubResourceGetMappedArray * cuPythonInit() * if __cuGraphicsSubResourceGetMappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsSubResourceGetMappedArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6538 * with gil: * raise RuntimeError('Function "cuGraphicsSubResourceGetMappedArray" not found') * err = ( __cuGraphicsSubResourceGetMappedArray)(pArray, resource, arrayIndex, mipLevel) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUarray *, CUgraphicsResource, unsigned int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsSubResourceGetMappedArray)(__pyx_v_pArray, __pyx_v_resource, __pyx_v_arrayIndex, __pyx_v_mipLevel); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6538, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6539 * raise RuntimeError('Function "cuGraphicsSubResourceGetMappedArray" not found') * err = ( __cuGraphicsSubResourceGetMappedArray)(pArray, resource, arrayIndex, mipLevel) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray* pMipmappedArray, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6532 * return err * * cdef CUresult _cuGraphicsSubResourceGetMappedArray(CUarray* pArray, CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsSubResourceGetMappedArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsSubResourceGetMappedArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6541 * return err * * cdef CUresult _cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray* pMipmappedArray, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedMipmappedArray * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray *__pyx_v_pMipmappedArray, CUgraphicsResource __pyx_v_resource) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsResourceGetMappedMipmappedArray", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6543 * cdef CUresult _cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray* pMipmappedArray, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsResourceGetMappedMipmappedArray * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsResourceGetMappedMipmappedArray == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6543, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6544 * global __cuGraphicsResourceGetMappedMipmappedArray * cuPythonInit() * if __cuGraphicsResourceGetMappedMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedMipmappedArray" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedMipmappedArray == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6545 * cuPythonInit() * if __cuGraphicsResourceGetMappedMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceGetMappedMipmappedArray" not found') * err = ( __cuGraphicsResourceGetMappedMipmappedArray)(pMipmappedArray, resource) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6546 * if __cuGraphicsResourceGetMappedMipmappedArray == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedMipmappedArray" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsResourceGetMappedMipmappedArray)(pMipmappedArray, resource) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsResourceGetMa}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6546, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6546, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6545 * cuPythonInit() * if __cuGraphicsResourceGetMappedMipmappedArray == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceGetMappedMipmappedArray" not found') * err = ( __cuGraphicsResourceGetMappedMipmappedArray)(pMipmappedArray, resource) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6544 * global __cuGraphicsResourceGetMappedMipmappedArray * cuPythonInit() * if __cuGraphicsResourceGetMappedMipmappedArray == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedMipmappedArray" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6547 * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedMipmappedArray" not found') * err = ( __cuGraphicsResourceGetMappedMipmappedArray)(pMipmappedArray, resource) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUmipmappedArray *, CUgraphicsResource))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedMipmappedArray)(__pyx_v_pMipmappedArray, __pyx_v_resource); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6547, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6548 * raise RuntimeError('Function "cuGraphicsResourceGetMappedMipmappedArray" not found') * err = ( __cuGraphicsResourceGetMappedMipmappedArray)(pMipmappedArray, resource) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsResourceGetMappedPointer_v2(CUdeviceptr* pDevPtr, size_t* pSize, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6541 * return err * * cdef CUresult _cuGraphicsResourceGetMappedMipmappedArray(CUmipmappedArray* pMipmappedArray, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedMipmappedArray * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsResourceGetMappedMipmappedArray", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6550 * return err * * cdef CUresult _cuGraphicsResourceGetMappedPointer_v2(CUdeviceptr* pDevPtr, size_t* pSize, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedPointer_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceGetMappedPointer_v2(CUdeviceptr *__pyx_v_pDevPtr, size_t *__pyx_v_pSize, CUgraphicsResource __pyx_v_resource) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsResourceGetMappedPointer_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6552 * cdef CUresult _cuGraphicsResourceGetMappedPointer_v2(CUdeviceptr* pDevPtr, size_t* pSize, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsResourceGetMappedPointer_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsResourceGetMappedPointer_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6552, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6553 * global __cuGraphicsResourceGetMappedPointer_v2 * cuPythonInit() * if __cuGraphicsResourceGetMappedPointer_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedPointer_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedPointer_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6554 * cuPythonInit() * if __cuGraphicsResourceGetMappedPointer_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceGetMappedPointer_v2" not found') * err = ( __cuGraphicsResourceGetMappedPointer_v2)(pDevPtr, pSize, resource) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6555 * if __cuGraphicsResourceGetMappedPointer_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedPointer_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsResourceGetMappedPointer_v2)(pDevPtr, pSize, resource) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsResourceGetMa_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6555, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6555, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6554 * cuPythonInit() * if __cuGraphicsResourceGetMappedPointer_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceGetMappedPointer_v2" not found') * err = ( __cuGraphicsResourceGetMappedPointer_v2)(pDevPtr, pSize, resource) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6553 * global __cuGraphicsResourceGetMappedPointer_v2 * cuPythonInit() * if __cuGraphicsResourceGetMappedPointer_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedPointer_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6556 * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedPointer_v2" not found') * err = ( __cuGraphicsResourceGetMappedPointer_v2)(pDevPtr, pSize, resource) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdeviceptr *, size_t *, CUgraphicsResource))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedPointer_v2)(__pyx_v_pDevPtr, __pyx_v_pSize, __pyx_v_resource); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6556, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6557 * raise RuntimeError('Function "cuGraphicsResourceGetMappedPointer_v2" not found') * err = ( __cuGraphicsResourceGetMappedPointer_v2)(pDevPtr, pSize, resource) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsResourceSetMapFlags_v2(CUgraphicsResource resource, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6550 * return err * * cdef CUresult _cuGraphicsResourceGetMappedPointer_v2(CUdeviceptr* pDevPtr, size_t* pSize, CUgraphicsResource resource) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedPointer_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsResourceGetMappedPointer_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6559 * return err * * cdef CUresult _cuGraphicsResourceSetMapFlags_v2(CUgraphicsResource resource, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceSetMapFlags_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceSetMapFlags_v2(CUgraphicsResource __pyx_v_resource, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsResourceSetMapFlags_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6561 * cdef CUresult _cuGraphicsResourceSetMapFlags_v2(CUgraphicsResource resource, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsResourceSetMapFlags_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsResourceSetMapFlags_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6561, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6562 * global __cuGraphicsResourceSetMapFlags_v2 * cuPythonInit() * if __cuGraphicsResourceSetMapFlags_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceSetMapFlags_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceSetMapFlags_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6563 * cuPythonInit() * if __cuGraphicsResourceSetMapFlags_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceSetMapFlags_v2" not found') * err = ( __cuGraphicsResourceSetMapFlags_v2)(resource, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6564 * if __cuGraphicsResourceSetMapFlags_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsResourceSetMapFlags_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsResourceSetMapFlags_v2)(resource, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsResourceSetMa}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6564, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6564, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6563 * cuPythonInit() * if __cuGraphicsResourceSetMapFlags_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceSetMapFlags_v2" not found') * err = ( __cuGraphicsResourceSetMapFlags_v2)(resource, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6562 * global __cuGraphicsResourceSetMapFlags_v2 * cuPythonInit() * if __cuGraphicsResourceSetMapFlags_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceSetMapFlags_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6565 * with gil: * raise RuntimeError('Function "cuGraphicsResourceSetMapFlags_v2" not found') * err = ( __cuGraphicsResourceSetMapFlags_v2)(resource, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphicsResource, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceSetMapFlags_v2)(__pyx_v_resource, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6565, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6566 * raise RuntimeError('Function "cuGraphicsResourceSetMapFlags_v2" not found') * err = ( __cuGraphicsResourceSetMapFlags_v2)(resource, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsMapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6559 * return err * * cdef CUresult _cuGraphicsResourceSetMapFlags_v2(CUgraphicsResource resource, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceSetMapFlags_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsResourceSetMapFlags_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6568 * return err * * cdef CUresult _cuGraphicsMapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsMapResources * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsMapResources(unsigned int __pyx_v_count, CUgraphicsResource *__pyx_v_resources, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsMapResources", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6570 * cdef CUresult _cuGraphicsMapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsMapResources * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsMapResources == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6570, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6571 * global __cuGraphicsMapResources * cuPythonInit() * if __cuGraphicsMapResources == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsMapResources" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6572 * cuPythonInit() * if __cuGraphicsMapResources == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsMapResources" not found') * err = ( __cuGraphicsMapResources)(count, resources, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6573 * if __cuGraphicsMapResources == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsMapResources" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsMapResources)(count, resources, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsMapResources}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6573, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6573, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6572 * cuPythonInit() * if __cuGraphicsMapResources == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsMapResources" not found') * err = ( __cuGraphicsMapResources)(count, resources, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6571 * global __cuGraphicsMapResources * cuPythonInit() * if __cuGraphicsMapResources == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsMapResources" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6574 * with gil: * raise RuntimeError('Function "cuGraphicsMapResources" not found') * err = ( __cuGraphicsMapResources)(count, resources, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int, CUgraphicsResource *, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources)(__pyx_v_count, __pyx_v_resources, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6574, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6575 * raise RuntimeError('Function "cuGraphicsMapResources" not found') * err = ( __cuGraphicsMapResources)(count, resources, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsUnmapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6568 * return err * * cdef CUresult _cuGraphicsMapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsMapResources * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsMapResources", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6577 * return err * * cdef CUresult _cuGraphicsUnmapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsUnmapResources * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsUnmapResources(unsigned int __pyx_v_count, CUgraphicsResource *__pyx_v_resources, CUstream __pyx_v_hStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsUnmapResources", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6579 * cdef CUresult _cuGraphicsUnmapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsUnmapResources * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsUnmapResources == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6579, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6580 * global __cuGraphicsUnmapResources * cuPythonInit() * if __cuGraphicsUnmapResources == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsUnmapResources" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6581 * cuPythonInit() * if __cuGraphicsUnmapResources == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsUnmapResources" not found') * err = ( __cuGraphicsUnmapResources)(count, resources, hStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6582 * if __cuGraphicsUnmapResources == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsUnmapResources" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsUnmapResources)(count, resources, hStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsUnmapResource}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6582, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6582, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6581 * cuPythonInit() * if __cuGraphicsUnmapResources == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsUnmapResources" not found') * err = ( __cuGraphicsUnmapResources)(count, resources, hStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6580 * global __cuGraphicsUnmapResources * cuPythonInit() * if __cuGraphicsUnmapResources == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsUnmapResources" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6583 * with gil: * raise RuntimeError('Function "cuGraphicsUnmapResources" not found') * err = ( __cuGraphicsUnmapResources)(count, resources, hStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int, CUgraphicsResource *, CUstream))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources)(__pyx_v_count, __pyx_v_resources, __pyx_v_hStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6583, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6584 * raise RuntimeError('Function "cuGraphicsUnmapResources" not found') * err = ( __cuGraphicsUnmapResources)(count, resources, hStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGetProcAddress_v2(const char* symbol, void** pfn, int cudaVersion, cuuint64_t flags, CUdriverProcAddressQueryResult* symbolStatus) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6577 * return err * * cdef CUresult _cuGraphicsUnmapResources(unsigned int count, CUgraphicsResource* resources, CUstream hStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsUnmapResources * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsUnmapResources", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6586 * return err * * cdef CUresult _cuGetProcAddress_v2(const char* symbol, void** pfn, int cudaVersion, cuuint64_t flags, CUdriverProcAddressQueryResult* symbolStatus) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetProcAddress_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetProcAddress_v2(char const *__pyx_v_symbol, void **__pyx_v_pfn, int __pyx_v_cudaVersion, cuuint64_t __pyx_v_flags, CUdriverProcAddressQueryResult *__pyx_v_symbolStatus) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGetProcAddress_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6588 * cdef CUresult _cuGetProcAddress_v2(const char* symbol, void** pfn, int cudaVersion, cuuint64_t flags, CUdriverProcAddressQueryResult* symbolStatus) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGetProcAddress_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGetProcAddress_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6588, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6589 * global __cuGetProcAddress_v2 * cuPythonInit() * if __cuGetProcAddress_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetProcAddress_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6590 * cuPythonInit() * if __cuGetProcAddress_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetProcAddress_v2" not found') * err = ( __cuGetProcAddress_v2)(symbol, pfn, cudaVersion, flags, symbolStatus) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6591 * if __cuGetProcAddress_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGetProcAddress_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGetProcAddress_v2)(symbol, pfn, cudaVersion, flags, symbolStatus) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGetProcAddress_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6591, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6591, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6590 * cuPythonInit() * if __cuGetProcAddress_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetProcAddress_v2" not found') * err = ( __cuGetProcAddress_v2)(symbol, pfn, cudaVersion, flags, symbolStatus) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6589 * global __cuGetProcAddress_v2 * cuPythonInit() * if __cuGetProcAddress_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetProcAddress_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6592 * with gil: * raise RuntimeError('Function "cuGetProcAddress_v2" not found') * err = ( __cuGetProcAddress_v2)(symbol, pfn, cudaVersion, flags, symbolStatus) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(char const *, void **, int, cuuint64_t, CUdriverProcAddressQueryResult *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2)(__pyx_v_symbol, __pyx_v_pfn, __pyx_v_cudaVersion, __pyx_v_flags, __pyx_v_symbolStatus); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6592, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6593 * raise RuntimeError('Function "cuGetProcAddress_v2" not found') * err = ( __cuGetProcAddress_v2)(symbol, pfn, cudaVersion, flags, symbolStatus) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCoredumpGetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6586 * return err * * cdef CUresult _cuGetProcAddress_v2(const char* symbol, void** pfn, int cudaVersion, cuuint64_t flags, CUdriverProcAddressQueryResult* symbolStatus) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetProcAddress_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGetProcAddress_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6595 * return err * * cdef CUresult _cuCoredumpGetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpGetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpGetAttribute(CUcoredumpSettings __pyx_v_attrib, void *__pyx_v_value, size_t *__pyx_v_size) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCoredumpGetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6597 * cdef CUresult _cuCoredumpGetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCoredumpGetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCoredumpGetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6597, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6598 * global __cuCoredumpGetAttribute * cuPythonInit() * if __cuCoredumpGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpGetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6599 * cuPythonInit() * if __cuCoredumpGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpGetAttribute" not found') * err = ( __cuCoredumpGetAttribute)(attrib, value, size) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6600 * if __cuCoredumpGetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuCoredumpGetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuCoredumpGetAttribute)(attrib, value, size) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCoredumpGetAttribute}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6600, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6600, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6599 * cuPythonInit() * if __cuCoredumpGetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpGetAttribute" not found') * err = ( __cuCoredumpGetAttribute)(attrib, value, size) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6598 * global __cuCoredumpGetAttribute * cuPythonInit() * if __cuCoredumpGetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpGetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6601 * with gil: * raise RuntimeError('Function "cuCoredumpGetAttribute" not found') * err = ( __cuCoredumpGetAttribute)(attrib, value, size) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcoredumpSettings, void *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttribute)(__pyx_v_attrib, __pyx_v_value, __pyx_v_size); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6601, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6602 * raise RuntimeError('Function "cuCoredumpGetAttribute" not found') * err = ( __cuCoredumpGetAttribute)(attrib, value, size) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCoredumpGetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6595 * return err * * cdef CUresult _cuCoredumpGetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpGetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCoredumpGetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6604 * return err * * cdef CUresult _cuCoredumpGetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpGetAttributeGlobal * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpGetAttributeGlobal(CUcoredumpSettings __pyx_v_attrib, void *__pyx_v_value, size_t *__pyx_v_size) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCoredumpGetAttributeGlobal", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6606 * cdef CUresult _cuCoredumpGetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCoredumpGetAttributeGlobal * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCoredumpGetAttributeGlobal == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6606, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6607 * global __cuCoredumpGetAttributeGlobal * cuPythonInit() * if __cuCoredumpGetAttributeGlobal == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpGetAttributeGlobal" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttributeGlobal == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6608 * cuPythonInit() * if __cuCoredumpGetAttributeGlobal == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpGetAttributeGlobal" not found') * err = ( __cuCoredumpGetAttributeGlobal)(attrib, value, size) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6609 * if __cuCoredumpGetAttributeGlobal == NULL: * with gil: * raise RuntimeError('Function "cuCoredumpGetAttributeGlobal" not found') # <<<<<<<<<<<<<< * err = ( __cuCoredumpGetAttributeGlobal)(attrib, value, size) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCoredumpGetAttributeG}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6609, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6609, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6608 * cuPythonInit() * if __cuCoredumpGetAttributeGlobal == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpGetAttributeGlobal" not found') * err = ( __cuCoredumpGetAttributeGlobal)(attrib, value, size) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6607 * global __cuCoredumpGetAttributeGlobal * cuPythonInit() * if __cuCoredumpGetAttributeGlobal == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpGetAttributeGlobal" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6610 * with gil: * raise RuntimeError('Function "cuCoredumpGetAttributeGlobal" not found') * err = ( __cuCoredumpGetAttributeGlobal)(attrib, value, size) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcoredumpSettings, void *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttributeGlobal)(__pyx_v_attrib, __pyx_v_value, __pyx_v_size); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6610, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6611 * raise RuntimeError('Function "cuCoredumpGetAttributeGlobal" not found') * err = ( __cuCoredumpGetAttributeGlobal)(attrib, value, size) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCoredumpSetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6604 * return err * * cdef CUresult _cuCoredumpGetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpGetAttributeGlobal * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCoredumpGetAttributeGlobal", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6613 * return err * * cdef CUresult _cuCoredumpSetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpSetAttribute * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpSetAttribute(CUcoredumpSettings __pyx_v_attrib, void *__pyx_v_value, size_t *__pyx_v_size) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCoredumpSetAttribute", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6615 * cdef CUresult _cuCoredumpSetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCoredumpSetAttribute * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCoredumpSetAttribute == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6615, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6616 * global __cuCoredumpSetAttribute * cuPythonInit() * if __cuCoredumpSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpSetAttribute" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttribute == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6617 * cuPythonInit() * if __cuCoredumpSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpSetAttribute" not found') * err = ( __cuCoredumpSetAttribute)(attrib, value, size) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6618 * if __cuCoredumpSetAttribute == NULL: * with gil: * raise RuntimeError('Function "cuCoredumpSetAttribute" not found') # <<<<<<<<<<<<<< * err = ( __cuCoredumpSetAttribute)(attrib, value, size) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCoredumpSetAttribute}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6618, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6618, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6617 * cuPythonInit() * if __cuCoredumpSetAttribute == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpSetAttribute" not found') * err = ( __cuCoredumpSetAttribute)(attrib, value, size) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6616 * global __cuCoredumpSetAttribute * cuPythonInit() * if __cuCoredumpSetAttribute == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpSetAttribute" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6619 * with gil: * raise RuntimeError('Function "cuCoredumpSetAttribute" not found') * err = ( __cuCoredumpSetAttribute)(attrib, value, size) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcoredumpSettings, void *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttribute)(__pyx_v_attrib, __pyx_v_value, __pyx_v_size); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6619, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6620 * raise RuntimeError('Function "cuCoredumpSetAttribute" not found') * err = ( __cuCoredumpSetAttribute)(attrib, value, size) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCoredumpSetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6613 * return err * * cdef CUresult _cuCoredumpSetAttribute(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpSetAttribute * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCoredumpSetAttribute", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6622 * return err * * cdef CUresult _cuCoredumpSetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpSetAttributeGlobal * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpSetAttributeGlobal(CUcoredumpSettings __pyx_v_attrib, void *__pyx_v_value, size_t *__pyx_v_size) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCoredumpSetAttributeGlobal", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6624 * cdef CUresult _cuCoredumpSetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCoredumpSetAttributeGlobal * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCoredumpSetAttributeGlobal == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6624, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6625 * global __cuCoredumpSetAttributeGlobal * cuPythonInit() * if __cuCoredumpSetAttributeGlobal == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpSetAttributeGlobal" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttributeGlobal == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6626 * cuPythonInit() * if __cuCoredumpSetAttributeGlobal == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpSetAttributeGlobal" not found') * err = ( __cuCoredumpSetAttributeGlobal)(attrib, value, size) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6627 * if __cuCoredumpSetAttributeGlobal == NULL: * with gil: * raise RuntimeError('Function "cuCoredumpSetAttributeGlobal" not found') # <<<<<<<<<<<<<< * err = ( __cuCoredumpSetAttributeGlobal)(attrib, value, size) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCoredumpSetAttributeG}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6627, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6627, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6626 * cuPythonInit() * if __cuCoredumpSetAttributeGlobal == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCoredumpSetAttributeGlobal" not found') * err = ( __cuCoredumpSetAttributeGlobal)(attrib, value, size) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6625 * global __cuCoredumpSetAttributeGlobal * cuPythonInit() * if __cuCoredumpSetAttributeGlobal == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCoredumpSetAttributeGlobal" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6628 * with gil: * raise RuntimeError('Function "cuCoredumpSetAttributeGlobal" not found') * err = ( __cuCoredumpSetAttributeGlobal)(attrib, value, size) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcoredumpSettings, void *, size_t *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttributeGlobal)(__pyx_v_attrib, __pyx_v_value, __pyx_v_size); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6628, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6629 * raise RuntimeError('Function "cuCoredumpSetAttributeGlobal" not found') * err = ( __cuCoredumpSetAttributeGlobal)(attrib, value, size) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGetExportTable(const void** ppExportTable, const CUuuid* pExportTableId) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6622 * return err * * cdef CUresult _cuCoredumpSetAttributeGlobal(CUcoredumpSettings attrib, void* value, size_t* size) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCoredumpSetAttributeGlobal * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCoredumpSetAttributeGlobal", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6631 * return err * * cdef CUresult _cuGetExportTable(const void** ppExportTable, const CUuuid* pExportTableId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetExportTable * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetExportTable(void const **__pyx_v_ppExportTable, CUuuid const *__pyx_v_pExportTableId) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGetExportTable", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6633 * cdef CUresult _cuGetExportTable(const void** ppExportTable, const CUuuid* pExportTableId) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGetExportTable * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGetExportTable == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6633, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6634 * global __cuGetExportTable * cuPythonInit() * if __cuGetExportTable == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetExportTable" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetExportTable == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6635 * cuPythonInit() * if __cuGetExportTable == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetExportTable" not found') * err = ( __cuGetExportTable)(ppExportTable, pExportTableId) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6636 * if __cuGetExportTable == NULL: * with gil: * raise RuntimeError('Function "cuGetExportTable" not found') # <<<<<<<<<<<<<< * err = ( __cuGetExportTable)(ppExportTable, pExportTableId) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGetExportTable_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6636, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6636, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6635 * cuPythonInit() * if __cuGetExportTable == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGetExportTable" not found') * err = ( __cuGetExportTable)(ppExportTable, pExportTableId) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6634 * global __cuGetExportTable * cuPythonInit() * if __cuGetExportTable == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGetExportTable" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6637 * with gil: * raise RuntimeError('Function "cuGetExportTable" not found') * err = ( __cuGetExportTable)(ppExportTable, pExportTableId) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void const **, CUuuid const *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetExportTable)(__pyx_v_ppExportTable, __pyx_v_pExportTableId); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6637, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6638 * raise RuntimeError('Function "cuGetExportTable" not found') * err = ( __cuGetExportTable)(ppExportTable, pExportTableId) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGreenCtxCreate(CUgreenCtx* phCtx, CUdevResourceDesc desc, CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6631 * return err * * cdef CUresult _cuGetExportTable(const void** ppExportTable, const CUuuid* pExportTableId) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGetExportTable * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGetExportTable", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6640 * return err * * cdef CUresult _cuGreenCtxCreate(CUgreenCtx* phCtx, CUdevResourceDesc desc, CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxCreate(CUgreenCtx *__pyx_v_phCtx, CUdevResourceDesc __pyx_v_desc, CUdevice __pyx_v_dev, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGreenCtxCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6642 * cdef CUresult _cuGreenCtxCreate(CUgreenCtx* phCtx, CUdevResourceDesc desc, CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGreenCtxCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGreenCtxCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6642, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6643 * global __cuGreenCtxCreate * cuPythonInit() * if __cuGreenCtxCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6644 * cuPythonInit() * if __cuGreenCtxCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxCreate" not found') * err = ( __cuGreenCtxCreate)(phCtx, desc, dev, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6645 * if __cuGreenCtxCreate == NULL: * with gil: * raise RuntimeError('Function "cuGreenCtxCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuGreenCtxCreate)(phCtx, desc, dev, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGreenCtxCreate_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6645, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6645, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6644 * cuPythonInit() * if __cuGreenCtxCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxCreate" not found') * err = ( __cuGreenCtxCreate)(phCtx, desc, dev, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6643 * global __cuGreenCtxCreate * cuPythonInit() * if __cuGreenCtxCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6646 * with gil: * raise RuntimeError('Function "cuGreenCtxCreate" not found') * err = ( __cuGreenCtxCreate)(phCtx, desc, dev, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgreenCtx *, CUdevResourceDesc, CUdevice, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxCreate)(__pyx_v_phCtx, __pyx_v_desc, __pyx_v_dev, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6646, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6647 * raise RuntimeError('Function "cuGreenCtxCreate" not found') * err = ( __cuGreenCtxCreate)(phCtx, desc, dev, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGreenCtxDestroy(CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6640 * return err * * cdef CUresult _cuGreenCtxCreate(CUgreenCtx* phCtx, CUdevResourceDesc desc, CUdevice dev, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGreenCtxCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6649 * return err * * cdef CUresult _cuGreenCtxDestroy(CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxDestroy * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxDestroy(CUgreenCtx __pyx_v_hCtx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGreenCtxDestroy", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6651 * cdef CUresult _cuGreenCtxDestroy(CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGreenCtxDestroy * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGreenCtxDestroy == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6651, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6652 * global __cuGreenCtxDestroy * cuPythonInit() * if __cuGreenCtxDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxDestroy" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxDestroy == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6653 * cuPythonInit() * if __cuGreenCtxDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxDestroy" not found') * err = ( __cuGreenCtxDestroy)(hCtx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6654 * if __cuGreenCtxDestroy == NULL: * with gil: * raise RuntimeError('Function "cuGreenCtxDestroy" not found') # <<<<<<<<<<<<<< * err = ( __cuGreenCtxDestroy)(hCtx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGreenCtxDestroy_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6654, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6654, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6653 * cuPythonInit() * if __cuGreenCtxDestroy == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxDestroy" not found') * err = ( __cuGreenCtxDestroy)(hCtx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6652 * global __cuGreenCtxDestroy * cuPythonInit() * if __cuGreenCtxDestroy == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxDestroy" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6655 * with gil: * raise RuntimeError('Function "cuGreenCtxDestroy" not found') * err = ( __cuGreenCtxDestroy)(hCtx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgreenCtx))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxDestroy)(__pyx_v_hCtx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6655, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6656 * raise RuntimeError('Function "cuGreenCtxDestroy" not found') * err = ( __cuGreenCtxDestroy)(hCtx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxFromGreenCtx(CUcontext* pContext, CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6649 * return err * * cdef CUresult _cuGreenCtxDestroy(CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxDestroy * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGreenCtxDestroy", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6658 * return err * * cdef CUresult _cuCtxFromGreenCtx(CUcontext* pContext, CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxFromGreenCtx * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxFromGreenCtx(CUcontext *__pyx_v_pContext, CUgreenCtx __pyx_v_hCtx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxFromGreenCtx", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6660 * cdef CUresult _cuCtxFromGreenCtx(CUcontext* pContext, CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxFromGreenCtx * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxFromGreenCtx == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6660, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6661 * global __cuCtxFromGreenCtx * cuPythonInit() * if __cuCtxFromGreenCtx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxFromGreenCtx" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxFromGreenCtx == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6662 * cuPythonInit() * if __cuCtxFromGreenCtx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxFromGreenCtx" not found') * err = ( __cuCtxFromGreenCtx)(pContext, hCtx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6663 * if __cuCtxFromGreenCtx == NULL: * with gil: * raise RuntimeError('Function "cuCtxFromGreenCtx" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxFromGreenCtx)(pContext, hCtx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxFromGreenCtx_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6663, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6663, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6662 * cuPythonInit() * if __cuCtxFromGreenCtx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxFromGreenCtx" not found') * err = ( __cuCtxFromGreenCtx)(pContext, hCtx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6661 * global __cuCtxFromGreenCtx * cuPythonInit() * if __cuCtxFromGreenCtx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxFromGreenCtx" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6664 * with gil: * raise RuntimeError('Function "cuCtxFromGreenCtx" not found') * err = ( __cuCtxFromGreenCtx)(pContext, hCtx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *, CUgreenCtx))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxFromGreenCtx)(__pyx_v_pContext, __pyx_v_hCtx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6664, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6665 * raise RuntimeError('Function "cuCtxFromGreenCtx" not found') * err = ( __cuCtxFromGreenCtx)(pContext, hCtx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDeviceGetDevResource(CUdevice device, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6658 * return err * * cdef CUresult _cuCtxFromGreenCtx(CUcontext* pContext, CUgreenCtx hCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxFromGreenCtx * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxFromGreenCtx", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6667 * return err * * cdef CUresult _cuDeviceGetDevResource(CUdevice device, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetDevResource * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetDevResource(CUdevice __pyx_v_device, CUdevResource *__pyx_v_resource, CUdevResourceType __pyx_v_typename) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDeviceGetDevResource", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6669 * cdef CUresult _cuDeviceGetDevResource(CUdevice device, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDeviceGetDevResource * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDeviceGetDevResource == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6669, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6670 * global __cuDeviceGetDevResource * cuPythonInit() * if __cuDeviceGetDevResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetDevResource" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDevResource == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6671 * cuPythonInit() * if __cuDeviceGetDevResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetDevResource" not found') * err = ( __cuDeviceGetDevResource)(device, resource, typename) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6672 * if __cuDeviceGetDevResource == NULL: * with gil: * raise RuntimeError('Function "cuDeviceGetDevResource" not found') # <<<<<<<<<<<<<< * err = ( __cuDeviceGetDevResource)(device, resource, typename) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDeviceGetDevResource}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6672, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6672, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6671 * cuPythonInit() * if __cuDeviceGetDevResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDeviceGetDevResource" not found') * err = ( __cuDeviceGetDevResource)(device, resource, typename) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6670 * global __cuDeviceGetDevResource * cuPythonInit() * if __cuDeviceGetDevResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDeviceGetDevResource" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6673 * with gil: * raise RuntimeError('Function "cuDeviceGetDevResource" not found') * err = ( __cuDeviceGetDevResource)(device, resource, typename) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice, CUdevResource *, CUdevResourceType))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDevResource)(__pyx_v_device, __pyx_v_resource, __pyx_v_typename); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6673, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6674 * raise RuntimeError('Function "cuDeviceGetDevResource" not found') * err = ( __cuDeviceGetDevResource)(device, resource, typename) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCtxGetDevResource(CUcontext hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6667 * return err * * cdef CUresult _cuDeviceGetDevResource(CUdevice device, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDeviceGetDevResource * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDeviceGetDevResource", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6676 * return err * * cdef CUresult _cuCtxGetDevResource(CUcontext hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetDevResource * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetDevResource(CUcontext __pyx_v_hCtx, CUdevResource *__pyx_v_resource, CUdevResourceType __pyx_v_typename) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCtxGetDevResource", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6678 * cdef CUresult _cuCtxGetDevResource(CUcontext hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCtxGetDevResource * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCtxGetDevResource == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6678, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6679 * global __cuCtxGetDevResource * cuPythonInit() * if __cuCtxGetDevResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetDevResource" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevResource == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6680 * cuPythonInit() * if __cuCtxGetDevResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetDevResource" not found') * err = ( __cuCtxGetDevResource)(hCtx, resource, typename) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6681 * if __cuCtxGetDevResource == NULL: * with gil: * raise RuntimeError('Function "cuCtxGetDevResource" not found') # <<<<<<<<<<<<<< * err = ( __cuCtxGetDevResource)(hCtx, resource, typename) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCtxGetDevResource_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6681, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6681, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6680 * cuPythonInit() * if __cuCtxGetDevResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCtxGetDevResource" not found') * err = ( __cuCtxGetDevResource)(hCtx, resource, typename) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6679 * global __cuCtxGetDevResource * cuPythonInit() * if __cuCtxGetDevResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCtxGetDevResource" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6682 * with gil: * raise RuntimeError('Function "cuCtxGetDevResource" not found') * err = ( __cuCtxGetDevResource)(hCtx, resource, typename) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext, CUdevResource *, CUdevResourceType))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevResource)(__pyx_v_hCtx, __pyx_v_resource, __pyx_v_typename); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6682, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6683 * raise RuntimeError('Function "cuCtxGetDevResource" not found') * err = ( __cuCtxGetDevResource)(hCtx, resource, typename) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGreenCtxGetDevResource(CUgreenCtx hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6676 * return err * * cdef CUresult _cuCtxGetDevResource(CUcontext hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCtxGetDevResource * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCtxGetDevResource", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6685 * return err * * cdef CUresult _cuGreenCtxGetDevResource(CUgreenCtx hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxGetDevResource * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxGetDevResource(CUgreenCtx __pyx_v_hCtx, CUdevResource *__pyx_v_resource, CUdevResourceType __pyx_v_typename) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGreenCtxGetDevResource", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6687 * cdef CUresult _cuGreenCtxGetDevResource(CUgreenCtx hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGreenCtxGetDevResource * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGreenCtxGetDevResource == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6687, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6688 * global __cuGreenCtxGetDevResource * cuPythonInit() * if __cuGreenCtxGetDevResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxGetDevResource" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxGetDevResource == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6689 * cuPythonInit() * if __cuGreenCtxGetDevResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxGetDevResource" not found') * err = ( __cuGreenCtxGetDevResource)(hCtx, resource, typename) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6690 * if __cuGreenCtxGetDevResource == NULL: * with gil: * raise RuntimeError('Function "cuGreenCtxGetDevResource" not found') # <<<<<<<<<<<<<< * err = ( __cuGreenCtxGetDevResource)(hCtx, resource, typename) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGreenCtxGetDevResourc}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6690, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6690, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6689 * cuPythonInit() * if __cuGreenCtxGetDevResource == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxGetDevResource" not found') * err = ( __cuGreenCtxGetDevResource)(hCtx, resource, typename) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6688 * global __cuGreenCtxGetDevResource * cuPythonInit() * if __cuGreenCtxGetDevResource == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxGetDevResource" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6691 * with gil: * raise RuntimeError('Function "cuGreenCtxGetDevResource" not found') * err = ( __cuGreenCtxGetDevResource)(hCtx, resource, typename) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgreenCtx, CUdevResource *, CUdevResourceType))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxGetDevResource)(__pyx_v_hCtx, __pyx_v_resource, __pyx_v_typename); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6691, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6692 * raise RuntimeError('Function "cuGreenCtxGetDevResource" not found') * err = ( __cuGreenCtxGetDevResource)(hCtx, resource, typename) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remaining, unsigned int useFlags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6685 * return err * * cdef CUresult _cuGreenCtxGetDevResource(CUgreenCtx hCtx, CUdevResource* resource, CUdevResourceType typename) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxGetDevResource * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGreenCtxGetDevResource", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6694 * return err * * cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remaining, unsigned int useFlags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevSmResourceSplitByCount * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevSmResourceSplitByCount(CUdevResource *__pyx_v_result, unsigned int *__pyx_v_nbGroups, CUdevResource const *__pyx_v_input, CUdevResource *__pyx_v_remaining, unsigned int __pyx_v_useFlags, unsigned int __pyx_v_minCount) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDevSmResourceSplitByCount", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6696 * cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remaining, unsigned int useFlags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDevSmResourceSplitByCount * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDevSmResourceSplitByCount == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6696, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6697 * global __cuDevSmResourceSplitByCount * cuPythonInit() * if __cuDevSmResourceSplitByCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevSmResourceSplitByCount == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6698 * cuPythonInit() * if __cuDevSmResourceSplitByCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found') * err = ( __cuDevSmResourceSplitByCount)(result, nbGroups, input, remaining, useFlags, minCount) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6699 * if __cuDevSmResourceSplitByCount == NULL: * with gil: * raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found') # <<<<<<<<<<<<<< * err = ( __cuDevSmResourceSplitByCount)(result, nbGroups, input, remaining, useFlags, minCount) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDevSmResourceSplitByC}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6699, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6699, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6698 * cuPythonInit() * if __cuDevSmResourceSplitByCount == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found') * err = ( __cuDevSmResourceSplitByCount)(result, nbGroups, input, remaining, useFlags, minCount) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6697 * global __cuDevSmResourceSplitByCount * cuPythonInit() * if __cuDevSmResourceSplitByCount == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6700 * with gil: * raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found') * err = ( __cuDevSmResourceSplitByCount)(result, nbGroups, input, remaining, useFlags, minCount) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevResource *, unsigned int *, CUdevResource const *, CUdevResource *, unsigned int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevSmResourceSplitByCount)(__pyx_v_result, __pyx_v_nbGroups, __pyx_v_input, __pyx_v_remaining, __pyx_v_useFlags, __pyx_v_minCount); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6700, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6701 * raise RuntimeError('Function "cuDevSmResourceSplitByCount" not found') * err = ( __cuDevSmResourceSplitByCount)(result, nbGroups, input, remaining, useFlags, minCount) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuDevResourceGenerateDesc(CUdevResourceDesc* phDesc, CUdevResource* resources, unsigned int nbResources) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6694 * return err * * cdef CUresult _cuDevSmResourceSplitByCount(CUdevResource* result, unsigned int* nbGroups, const CUdevResource* input, CUdevResource* remaining, unsigned int useFlags, unsigned int minCount) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevSmResourceSplitByCount * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDevSmResourceSplitByCount", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6703 * return err * * cdef CUresult _cuDevResourceGenerateDesc(CUdevResourceDesc* phDesc, CUdevResource* resources, unsigned int nbResources) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevResourceGenerateDesc * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevResourceGenerateDesc(CUdevResourceDesc *__pyx_v_phDesc, CUdevResource *__pyx_v_resources, unsigned int __pyx_v_nbResources) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuDevResourceGenerateDesc", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6705 * cdef CUresult _cuDevResourceGenerateDesc(CUdevResourceDesc* phDesc, CUdevResource* resources, unsigned int nbResources) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuDevResourceGenerateDesc * cuPythonInit() # <<<<<<<<<<<<<< * if __cuDevResourceGenerateDesc == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6705, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6706 * global __cuDevResourceGenerateDesc * cuPythonInit() * if __cuDevResourceGenerateDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevResourceGenerateDesc" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevResourceGenerateDesc == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6707 * cuPythonInit() * if __cuDevResourceGenerateDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevResourceGenerateDesc" not found') * err = ( __cuDevResourceGenerateDesc)(phDesc, resources, nbResources) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6708 * if __cuDevResourceGenerateDesc == NULL: * with gil: * raise RuntimeError('Function "cuDevResourceGenerateDesc" not found') # <<<<<<<<<<<<<< * err = ( __cuDevResourceGenerateDesc)(phDesc, resources, nbResources) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuDevResourceGenerateDe}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6708, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6708, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6707 * cuPythonInit() * if __cuDevResourceGenerateDesc == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuDevResourceGenerateDesc" not found') * err = ( __cuDevResourceGenerateDesc)(phDesc, resources, nbResources) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6706 * global __cuDevResourceGenerateDesc * cuPythonInit() * if __cuDevResourceGenerateDesc == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuDevResourceGenerateDesc" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6709 * with gil: * raise RuntimeError('Function "cuDevResourceGenerateDesc" not found') * err = ( __cuDevResourceGenerateDesc)(phDesc, resources, nbResources) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevResourceDesc *, CUdevResource *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevResourceGenerateDesc)(__pyx_v_phDesc, __pyx_v_resources, __pyx_v_nbResources); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6709, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6710 * raise RuntimeError('Function "cuDevResourceGenerateDesc" not found') * err = ( __cuDevResourceGenerateDesc)(phDesc, resources, nbResources) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGreenCtxRecordEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6703 * return err * * cdef CUresult _cuDevResourceGenerateDesc(CUdevResourceDesc* phDesc, CUdevResource* resources, unsigned int nbResources) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuDevResourceGenerateDesc * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuDevResourceGenerateDesc", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6712 * return err * * cdef CUresult _cuGreenCtxRecordEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxRecordEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxRecordEvent(CUgreenCtx __pyx_v_hCtx, CUevent __pyx_v_hEvent) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGreenCtxRecordEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6714 * cdef CUresult _cuGreenCtxRecordEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGreenCtxRecordEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGreenCtxRecordEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6714, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6715 * global __cuGreenCtxRecordEvent * cuPythonInit() * if __cuGreenCtxRecordEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxRecordEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxRecordEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6716 * cuPythonInit() * if __cuGreenCtxRecordEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxRecordEvent" not found') * err = ( __cuGreenCtxRecordEvent)(hCtx, hEvent) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6717 * if __cuGreenCtxRecordEvent == NULL: * with gil: * raise RuntimeError('Function "cuGreenCtxRecordEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGreenCtxRecordEvent)(hCtx, hEvent) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGreenCtxRecordEvent_n}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6717, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6717, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6716 * cuPythonInit() * if __cuGreenCtxRecordEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxRecordEvent" not found') * err = ( __cuGreenCtxRecordEvent)(hCtx, hEvent) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6715 * global __cuGreenCtxRecordEvent * cuPythonInit() * if __cuGreenCtxRecordEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxRecordEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6718 * with gil: * raise RuntimeError('Function "cuGreenCtxRecordEvent" not found') * err = ( __cuGreenCtxRecordEvent)(hCtx, hEvent) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgreenCtx, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxRecordEvent)(__pyx_v_hCtx, __pyx_v_hEvent); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6718, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6719 * raise RuntimeError('Function "cuGreenCtxRecordEvent" not found') * err = ( __cuGreenCtxRecordEvent)(hCtx, hEvent) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGreenCtxWaitEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6712 * return err * * cdef CUresult _cuGreenCtxRecordEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxRecordEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGreenCtxRecordEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6721 * return err * * cdef CUresult _cuGreenCtxWaitEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxWaitEvent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxWaitEvent(CUgreenCtx __pyx_v_hCtx, CUevent __pyx_v_hEvent) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGreenCtxWaitEvent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6723 * cdef CUresult _cuGreenCtxWaitEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGreenCtxWaitEvent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGreenCtxWaitEvent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6723, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6724 * global __cuGreenCtxWaitEvent * cuPythonInit() * if __cuGreenCtxWaitEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxWaitEvent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxWaitEvent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6725 * cuPythonInit() * if __cuGreenCtxWaitEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxWaitEvent" not found') * err = ( __cuGreenCtxWaitEvent)(hCtx, hEvent) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6726 * if __cuGreenCtxWaitEvent == NULL: * with gil: * raise RuntimeError('Function "cuGreenCtxWaitEvent" not found') # <<<<<<<<<<<<<< * err = ( __cuGreenCtxWaitEvent)(hCtx, hEvent) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGreenCtxWaitEvent_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6726, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6726, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6725 * cuPythonInit() * if __cuGreenCtxWaitEvent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxWaitEvent" not found') * err = ( __cuGreenCtxWaitEvent)(hCtx, hEvent) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6724 * global __cuGreenCtxWaitEvent * cuPythonInit() * if __cuGreenCtxWaitEvent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxWaitEvent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6727 * with gil: * raise RuntimeError('Function "cuGreenCtxWaitEvent" not found') * err = ( __cuGreenCtxWaitEvent)(hCtx, hEvent) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgreenCtx, CUevent))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxWaitEvent)(__pyx_v_hCtx, __pyx_v_hEvent); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6727, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6728 * raise RuntimeError('Function "cuGreenCtxWaitEvent" not found') * err = ( __cuGreenCtxWaitEvent)(hCtx, hEvent) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuStreamGetGreenCtx(CUstream hStream, CUgreenCtx* phCtx) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6721 * return err * * cdef CUresult _cuGreenCtxWaitEvent(CUgreenCtx hCtx, CUevent hEvent) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxWaitEvent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGreenCtxWaitEvent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6730 * return err * * cdef CUresult _cuStreamGetGreenCtx(CUstream hStream, CUgreenCtx* phCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetGreenCtx * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetGreenCtx(CUstream __pyx_v_hStream, CUgreenCtx *__pyx_v_phCtx) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuStreamGetGreenCtx", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6732 * cdef CUresult _cuStreamGetGreenCtx(CUstream hStream, CUgreenCtx* phCtx) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuStreamGetGreenCtx * cuPythonInit() # <<<<<<<<<<<<<< * if __cuStreamGetGreenCtx == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6732, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6733 * global __cuStreamGetGreenCtx * cuPythonInit() * if __cuStreamGetGreenCtx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetGreenCtx" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetGreenCtx == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6734 * cuPythonInit() * if __cuStreamGetGreenCtx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetGreenCtx" not found') * err = ( __cuStreamGetGreenCtx)(hStream, phCtx) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6735 * if __cuStreamGetGreenCtx == NULL: * with gil: * raise RuntimeError('Function "cuStreamGetGreenCtx" not found') # <<<<<<<<<<<<<< * err = ( __cuStreamGetGreenCtx)(hStream, phCtx) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuStreamGetGreenCtx_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6735, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6735, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6734 * cuPythonInit() * if __cuStreamGetGreenCtx == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuStreamGetGreenCtx" not found') * err = ( __cuStreamGetGreenCtx)(hStream, phCtx) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6733 * global __cuStreamGetGreenCtx * cuPythonInit() * if __cuStreamGetGreenCtx == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuStreamGetGreenCtx" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6736 * with gil: * raise RuntimeError('Function "cuStreamGetGreenCtx" not found') * err = ( __cuStreamGetGreenCtx)(hStream, phCtx) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream, CUgreenCtx *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetGreenCtx)(__pyx_v_hStream, __pyx_v_phCtx); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6736, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6737 * raise RuntimeError('Function "cuStreamGetGreenCtx" not found') * err = ( __cuStreamGetGreenCtx)(hStream, phCtx) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGreenCtxStreamCreate(CUstream* phStream, CUgreenCtx greenCtx, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6730 * return err * * cdef CUresult _cuStreamGetGreenCtx(CUstream hStream, CUgreenCtx* phCtx) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuStreamGetGreenCtx * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuStreamGetGreenCtx", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6739 * return err * * cdef CUresult _cuGreenCtxStreamCreate(CUstream* phStream, CUgreenCtx greenCtx, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxStreamCreate * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxStreamCreate(CUstream *__pyx_v_phStream, CUgreenCtx __pyx_v_greenCtx, unsigned int __pyx_v_flags, int __pyx_v_priority) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGreenCtxStreamCreate", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6741 * cdef CUresult _cuGreenCtxStreamCreate(CUstream* phStream, CUgreenCtx greenCtx, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGreenCtxStreamCreate * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGreenCtxStreamCreate == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6741, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6742 * global __cuGreenCtxStreamCreate * cuPythonInit() * if __cuGreenCtxStreamCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxStreamCreate" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxStreamCreate == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6743 * cuPythonInit() * if __cuGreenCtxStreamCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxStreamCreate" not found') * err = ( __cuGreenCtxStreamCreate)(phStream, greenCtx, flags, priority) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6744 * if __cuGreenCtxStreamCreate == NULL: * with gil: * raise RuntimeError('Function "cuGreenCtxStreamCreate" not found') # <<<<<<<<<<<<<< * err = ( __cuGreenCtxStreamCreate)(phStream, greenCtx, flags, priority) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGreenCtxStreamCreate}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6744, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6744, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6743 * cuPythonInit() * if __cuGreenCtxStreamCreate == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGreenCtxStreamCreate" not found') * err = ( __cuGreenCtxStreamCreate)(phStream, greenCtx, flags, priority) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6742 * global __cuGreenCtxStreamCreate * cuPythonInit() * if __cuGreenCtxStreamCreate == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGreenCtxStreamCreate" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6745 * with gil: * raise RuntimeError('Function "cuGreenCtxStreamCreate" not found') * err = ( __cuGreenCtxStreamCreate)(phStream, greenCtx, flags, priority) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUstream *, CUgreenCtx, unsigned int, int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxStreamCreate)(__pyx_v_phStream, __pyx_v_greenCtx, __pyx_v_flags, __pyx_v_priority); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6745, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6746 * raise RuntimeError('Function "cuGreenCtxStreamCreate" not found') * err = ( __cuGreenCtxStreamCreate)(phStream, greenCtx, flags, priority) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLogsRegisterCallback(CUlogsCallback callbackFunc, void* userData, CUlogsCallbackHandle* callback_out) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6739 * return err * * cdef CUresult _cuGreenCtxStreamCreate(CUstream* phStream, CUgreenCtx greenCtx, unsigned int flags, int priority) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGreenCtxStreamCreate * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGreenCtxStreamCreate", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6748 * return err * * cdef CUresult _cuLogsRegisterCallback(CUlogsCallback callbackFunc, void* userData, CUlogsCallbackHandle* callback_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsRegisterCallback * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsRegisterCallback(CUlogsCallback __pyx_v_callbackFunc, void *__pyx_v_userData, CUlogsCallbackHandle *__pyx_v_callback_out) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLogsRegisterCallback", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6750 * cdef CUresult _cuLogsRegisterCallback(CUlogsCallback callbackFunc, void* userData, CUlogsCallbackHandle* callback_out) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLogsRegisterCallback * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLogsRegisterCallback == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6750, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6751 * global __cuLogsRegisterCallback * cuPythonInit() * if __cuLogsRegisterCallback == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsRegisterCallback" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsRegisterCallback == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6752 * cuPythonInit() * if __cuLogsRegisterCallback == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsRegisterCallback" not found') * err = ( __cuLogsRegisterCallback)(callbackFunc, userData, callback_out) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6753 * if __cuLogsRegisterCallback == NULL: * with gil: * raise RuntimeError('Function "cuLogsRegisterCallback" not found') # <<<<<<<<<<<<<< * err = ( __cuLogsRegisterCallback)(callbackFunc, userData, callback_out) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLogsRegisterCallback}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6753, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6753, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6752 * cuPythonInit() * if __cuLogsRegisterCallback == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsRegisterCallback" not found') * err = ( __cuLogsRegisterCallback)(callbackFunc, userData, callback_out) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6751 * global __cuLogsRegisterCallback * cuPythonInit() * if __cuLogsRegisterCallback == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsRegisterCallback" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6754 * with gil: * raise RuntimeError('Function "cuLogsRegisterCallback" not found') * err = ( __cuLogsRegisterCallback)(callbackFunc, userData, callback_out) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlogsCallback, void *, CUlogsCallbackHandle *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsRegisterCallback)(__pyx_v_callbackFunc, __pyx_v_userData, __pyx_v_callback_out); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6754, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6755 * raise RuntimeError('Function "cuLogsRegisterCallback" not found') * err = ( __cuLogsRegisterCallback)(callbackFunc, userData, callback_out) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLogsUnregisterCallback(CUlogsCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6748 * return err * * cdef CUresult _cuLogsRegisterCallback(CUlogsCallback callbackFunc, void* userData, CUlogsCallbackHandle* callback_out) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsRegisterCallback * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLogsRegisterCallback", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6757 * return err * * cdef CUresult _cuLogsUnregisterCallback(CUlogsCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsUnregisterCallback * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsUnregisterCallback(CUlogsCallbackHandle __pyx_v_callback) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLogsUnregisterCallback", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6759 * cdef CUresult _cuLogsUnregisterCallback(CUlogsCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLogsUnregisterCallback * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLogsUnregisterCallback == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6759, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6760 * global __cuLogsUnregisterCallback * cuPythonInit() * if __cuLogsUnregisterCallback == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsUnregisterCallback" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsUnregisterCallback == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6761 * cuPythonInit() * if __cuLogsUnregisterCallback == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsUnregisterCallback" not found') * err = ( __cuLogsUnregisterCallback)(callback) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6762 * if __cuLogsUnregisterCallback == NULL: * with gil: * raise RuntimeError('Function "cuLogsUnregisterCallback" not found') # <<<<<<<<<<<<<< * err = ( __cuLogsUnregisterCallback)(callback) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLogsUnregisterCallbac}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6762, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6762, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6761 * cuPythonInit() * if __cuLogsUnregisterCallback == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsUnregisterCallback" not found') * err = ( __cuLogsUnregisterCallback)(callback) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6760 * global __cuLogsUnregisterCallback * cuPythonInit() * if __cuLogsUnregisterCallback == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsUnregisterCallback" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6763 * with gil: * raise RuntimeError('Function "cuLogsUnregisterCallback" not found') * err = ( __cuLogsUnregisterCallback)(callback) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlogsCallbackHandle))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsUnregisterCallback)(__pyx_v_callback); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6763, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6764 * raise RuntimeError('Function "cuLogsUnregisterCallback" not found') * err = ( __cuLogsUnregisterCallback)(callback) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLogsCurrent(CUlogIterator* iterator_out, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6757 * return err * * cdef CUresult _cuLogsUnregisterCallback(CUlogsCallbackHandle callback) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsUnregisterCallback * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLogsUnregisterCallback", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6766 * return err * * cdef CUresult _cuLogsCurrent(CUlogIterator* iterator_out, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsCurrent * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsCurrent(CUlogIterator *__pyx_v_iterator_out, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLogsCurrent", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6768 * cdef CUresult _cuLogsCurrent(CUlogIterator* iterator_out, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLogsCurrent * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLogsCurrent == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6768, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6769 * global __cuLogsCurrent * cuPythonInit() * if __cuLogsCurrent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsCurrent" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsCurrent == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6770 * cuPythonInit() * if __cuLogsCurrent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsCurrent" not found') * err = ( __cuLogsCurrent)(iterator_out, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6771 * if __cuLogsCurrent == NULL: * with gil: * raise RuntimeError('Function "cuLogsCurrent" not found') # <<<<<<<<<<<<<< * err = ( __cuLogsCurrent)(iterator_out, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLogsCurrent_not_found}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6771, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6771, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6770 * cuPythonInit() * if __cuLogsCurrent == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsCurrent" not found') * err = ( __cuLogsCurrent)(iterator_out, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6769 * global __cuLogsCurrent * cuPythonInit() * if __cuLogsCurrent == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsCurrent" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6772 * with gil: * raise RuntimeError('Function "cuLogsCurrent" not found') * err = ( __cuLogsCurrent)(iterator_out, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlogIterator *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsCurrent)(__pyx_v_iterator_out, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6772, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6773 * raise RuntimeError('Function "cuLogsCurrent" not found') * err = ( __cuLogsCurrent)(iterator_out, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLogsDumpToFile(CUlogIterator* iterator, const char* pathToFile, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6766 * return err * * cdef CUresult _cuLogsCurrent(CUlogIterator* iterator_out, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsCurrent * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLogsCurrent", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6775 * return err * * cdef CUresult _cuLogsDumpToFile(CUlogIterator* iterator, const char* pathToFile, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsDumpToFile * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsDumpToFile(CUlogIterator *__pyx_v_iterator, char const *__pyx_v_pathToFile, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLogsDumpToFile", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6777 * cdef CUresult _cuLogsDumpToFile(CUlogIterator* iterator, const char* pathToFile, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLogsDumpToFile * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLogsDumpToFile == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6777, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6778 * global __cuLogsDumpToFile * cuPythonInit() * if __cuLogsDumpToFile == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsDumpToFile" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToFile == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6779 * cuPythonInit() * if __cuLogsDumpToFile == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsDumpToFile" not found') * err = ( __cuLogsDumpToFile)(iterator, pathToFile, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6780 * if __cuLogsDumpToFile == NULL: * with gil: * raise RuntimeError('Function "cuLogsDumpToFile" not found') # <<<<<<<<<<<<<< * err = ( __cuLogsDumpToFile)(iterator, pathToFile, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLogsDumpToFile_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6780, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6780, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6779 * cuPythonInit() * if __cuLogsDumpToFile == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsDumpToFile" not found') * err = ( __cuLogsDumpToFile)(iterator, pathToFile, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6778 * global __cuLogsDumpToFile * cuPythonInit() * if __cuLogsDumpToFile == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsDumpToFile" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6781 * with gil: * raise RuntimeError('Function "cuLogsDumpToFile" not found') * err = ( __cuLogsDumpToFile)(iterator, pathToFile, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlogIterator *, char const *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToFile)(__pyx_v_iterator, __pyx_v_pathToFile, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6781, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6782 * raise RuntimeError('Function "cuLogsDumpToFile" not found') * err = ( __cuLogsDumpToFile)(iterator, pathToFile, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuLogsDumpToMemory(CUlogIterator* iterator, char* buffer, size_t* size, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6775 * return err * * cdef CUresult _cuLogsDumpToFile(CUlogIterator* iterator, const char* pathToFile, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsDumpToFile * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLogsDumpToFile", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6784 * return err * * cdef CUresult _cuLogsDumpToMemory(CUlogIterator* iterator, char* buffer, size_t* size, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsDumpToMemory * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsDumpToMemory(CUlogIterator *__pyx_v_iterator, char *__pyx_v_buffer, size_t *__pyx_v_size, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuLogsDumpToMemory", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6786 * cdef CUresult _cuLogsDumpToMemory(CUlogIterator* iterator, char* buffer, size_t* size, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuLogsDumpToMemory * cuPythonInit() # <<<<<<<<<<<<<< * if __cuLogsDumpToMemory == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6786, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6787 * global __cuLogsDumpToMemory * cuPythonInit() * if __cuLogsDumpToMemory == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsDumpToMemory" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToMemory == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6788 * cuPythonInit() * if __cuLogsDumpToMemory == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsDumpToMemory" not found') * err = ( __cuLogsDumpToMemory)(iterator, buffer, size, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6789 * if __cuLogsDumpToMemory == NULL: * with gil: * raise RuntimeError('Function "cuLogsDumpToMemory" not found') # <<<<<<<<<<<<<< * err = ( __cuLogsDumpToMemory)(iterator, buffer, size, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuLogsDumpToMemory_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6789, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6789, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6788 * cuPythonInit() * if __cuLogsDumpToMemory == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuLogsDumpToMemory" not found') * err = ( __cuLogsDumpToMemory)(iterator, buffer, size, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6787 * global __cuLogsDumpToMemory * cuPythonInit() * if __cuLogsDumpToMemory == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuLogsDumpToMemory" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6790 * with gil: * raise RuntimeError('Function "cuLogsDumpToMemory" not found') * err = ( __cuLogsDumpToMemory)(iterator, buffer, size, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUlogIterator *, char *, size_t *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToMemory)(__pyx_v_iterator, __pyx_v_buffer, __pyx_v_size, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6790, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6791 * raise RuntimeError('Function "cuLogsDumpToMemory" not found') * err = ( __cuLogsDumpToMemory)(iterator, buffer, size, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCheckpointProcessGetRestoreThreadId(int pid, int* tid) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6784 * return err * * cdef CUresult _cuLogsDumpToMemory(CUlogIterator* iterator, char* buffer, size_t* size, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuLogsDumpToMemory * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuLogsDumpToMemory", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6793 * return err * * cdef CUresult _cuCheckpointProcessGetRestoreThreadId(int pid, int* tid) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetRestoreThreadId * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessGetRestoreThreadId(int __pyx_v_pid, int *__pyx_v_tid) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCheckpointProcessGetRestoreThreadId", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6795 * cdef CUresult _cuCheckpointProcessGetRestoreThreadId(int pid, int* tid) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCheckpointProcessGetRestoreThreadId * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCheckpointProcessGetRestoreThreadId == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6795, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6796 * global __cuCheckpointProcessGetRestoreThreadId * cuPythonInit() * if __cuCheckpointProcessGetRestoreThreadId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetRestoreThreadId" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetRestoreThreadId == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6797 * cuPythonInit() * if __cuCheckpointProcessGetRestoreThreadId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessGetRestoreThreadId" not found') * err = ( __cuCheckpointProcessGetRestoreThreadId)(pid, tid) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6798 * if __cuCheckpointProcessGetRestoreThreadId == NULL: * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetRestoreThreadId" not found') # <<<<<<<<<<<<<< * err = ( __cuCheckpointProcessGetRestoreThreadId)(pid, tid) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCheckpointProcessGetR}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6798, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6798, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6797 * cuPythonInit() * if __cuCheckpointProcessGetRestoreThreadId == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessGetRestoreThreadId" not found') * err = ( __cuCheckpointProcessGetRestoreThreadId)(pid, tid) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6796 * global __cuCheckpointProcessGetRestoreThreadId * cuPythonInit() * if __cuCheckpointProcessGetRestoreThreadId == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetRestoreThreadId" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6799 * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetRestoreThreadId" not found') * err = ( __cuCheckpointProcessGetRestoreThreadId)(pid, tid) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int, int *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetRestoreThreadId)(__pyx_v_pid, __pyx_v_tid); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6799, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6800 * raise RuntimeError('Function "cuCheckpointProcessGetRestoreThreadId" not found') * err = ( __cuCheckpointProcessGetRestoreThreadId)(pid, tid) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCheckpointProcessGetState(int pid, CUprocessState* state) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6793 * return err * * cdef CUresult _cuCheckpointProcessGetRestoreThreadId(int pid, int* tid) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetRestoreThreadId * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCheckpointProcessGetRestoreThreadId", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6802 * return err * * cdef CUresult _cuCheckpointProcessGetState(int pid, CUprocessState* state) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetState * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessGetState(int __pyx_v_pid, CUprocessState *__pyx_v_state) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCheckpointProcessGetState", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6804 * cdef CUresult _cuCheckpointProcessGetState(int pid, CUprocessState* state) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCheckpointProcessGetState * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCheckpointProcessGetState == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6804, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6805 * global __cuCheckpointProcessGetState * cuPythonInit() * if __cuCheckpointProcessGetState == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetState" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetState == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6806 * cuPythonInit() * if __cuCheckpointProcessGetState == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessGetState" not found') * err = ( __cuCheckpointProcessGetState)(pid, state) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6807 * if __cuCheckpointProcessGetState == NULL: * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetState" not found') # <<<<<<<<<<<<<< * err = ( __cuCheckpointProcessGetState)(pid, state) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCheckpointProcessGetS}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6807, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6807, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6806 * cuPythonInit() * if __cuCheckpointProcessGetState == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessGetState" not found') * err = ( __cuCheckpointProcessGetState)(pid, state) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6805 * global __cuCheckpointProcessGetState * cuPythonInit() * if __cuCheckpointProcessGetState == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetState" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6808 * with gil: * raise RuntimeError('Function "cuCheckpointProcessGetState" not found') * err = ( __cuCheckpointProcessGetState)(pid, state) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int, CUprocessState *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetState)(__pyx_v_pid, __pyx_v_state); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6808, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6809 * raise RuntimeError('Function "cuCheckpointProcessGetState" not found') * err = ( __cuCheckpointProcessGetState)(pid, state) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCheckpointProcessLock(int pid, CUcheckpointLockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6802 * return err * * cdef CUresult _cuCheckpointProcessGetState(int pid, CUprocessState* state) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetState * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCheckpointProcessGetState", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6811 * return err * * cdef CUresult _cuCheckpointProcessLock(int pid, CUcheckpointLockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessLock * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessLock(int __pyx_v_pid, CUcheckpointLockArgs *__pyx_v_args) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCheckpointProcessLock", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6813 * cdef CUresult _cuCheckpointProcessLock(int pid, CUcheckpointLockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCheckpointProcessLock * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCheckpointProcessLock == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6813, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6814 * global __cuCheckpointProcessLock * cuPythonInit() * if __cuCheckpointProcessLock == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessLock" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessLock == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6815 * cuPythonInit() * if __cuCheckpointProcessLock == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessLock" not found') * err = ( __cuCheckpointProcessLock)(pid, args) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6816 * if __cuCheckpointProcessLock == NULL: * with gil: * raise RuntimeError('Function "cuCheckpointProcessLock" not found') # <<<<<<<<<<<<<< * err = ( __cuCheckpointProcessLock)(pid, args) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCheckpointProcessLock}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6816, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6816, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6815 * cuPythonInit() * if __cuCheckpointProcessLock == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessLock" not found') * err = ( __cuCheckpointProcessLock)(pid, args) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6814 * global __cuCheckpointProcessLock * cuPythonInit() * if __cuCheckpointProcessLock == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessLock" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6817 * with gil: * raise RuntimeError('Function "cuCheckpointProcessLock" not found') * err = ( __cuCheckpointProcessLock)(pid, args) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int, CUcheckpointLockArgs *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessLock)(__pyx_v_pid, __pyx_v_args); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6817, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6818 * raise RuntimeError('Function "cuCheckpointProcessLock" not found') * err = ( __cuCheckpointProcessLock)(pid, args) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCheckpointProcessCheckpoint(int pid, CUcheckpointCheckpointArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6811 * return err * * cdef CUresult _cuCheckpointProcessLock(int pid, CUcheckpointLockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessLock * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCheckpointProcessLock", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6820 * return err * * cdef CUresult _cuCheckpointProcessCheckpoint(int pid, CUcheckpointCheckpointArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessCheckpoint * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessCheckpoint(int __pyx_v_pid, CUcheckpointCheckpointArgs *__pyx_v_args) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCheckpointProcessCheckpoint", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6822 * cdef CUresult _cuCheckpointProcessCheckpoint(int pid, CUcheckpointCheckpointArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCheckpointProcessCheckpoint * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCheckpointProcessCheckpoint == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6822, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6823 * global __cuCheckpointProcessCheckpoint * cuPythonInit() * if __cuCheckpointProcessCheckpoint == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessCheckpoint" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessCheckpoint == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6824 * cuPythonInit() * if __cuCheckpointProcessCheckpoint == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessCheckpoint" not found') * err = ( __cuCheckpointProcessCheckpoint)(pid, args) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6825 * if __cuCheckpointProcessCheckpoint == NULL: * with gil: * raise RuntimeError('Function "cuCheckpointProcessCheckpoint" not found') # <<<<<<<<<<<<<< * err = ( __cuCheckpointProcessCheckpoint)(pid, args) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCheckpointProcessChec}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6825, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6825, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6824 * cuPythonInit() * if __cuCheckpointProcessCheckpoint == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessCheckpoint" not found') * err = ( __cuCheckpointProcessCheckpoint)(pid, args) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6823 * global __cuCheckpointProcessCheckpoint * cuPythonInit() * if __cuCheckpointProcessCheckpoint == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessCheckpoint" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6826 * with gil: * raise RuntimeError('Function "cuCheckpointProcessCheckpoint" not found') * err = ( __cuCheckpointProcessCheckpoint)(pid, args) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int, CUcheckpointCheckpointArgs *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessCheckpoint)(__pyx_v_pid, __pyx_v_args); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6826, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6827 * raise RuntimeError('Function "cuCheckpointProcessCheckpoint" not found') * err = ( __cuCheckpointProcessCheckpoint)(pid, args) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCheckpointProcessRestore(int pid, CUcheckpointRestoreArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6820 * return err * * cdef CUresult _cuCheckpointProcessCheckpoint(int pid, CUcheckpointCheckpointArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessCheckpoint * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCheckpointProcessCheckpoint", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6829 * return err * * cdef CUresult _cuCheckpointProcessRestore(int pid, CUcheckpointRestoreArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessRestore * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessRestore(int __pyx_v_pid, CUcheckpointRestoreArgs *__pyx_v_args) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCheckpointProcessRestore", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6831 * cdef CUresult _cuCheckpointProcessRestore(int pid, CUcheckpointRestoreArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCheckpointProcessRestore * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCheckpointProcessRestore == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6831, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6832 * global __cuCheckpointProcessRestore * cuPythonInit() * if __cuCheckpointProcessRestore == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessRestore" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessRestore == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6833 * cuPythonInit() * if __cuCheckpointProcessRestore == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessRestore" not found') * err = ( __cuCheckpointProcessRestore)(pid, args) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6834 * if __cuCheckpointProcessRestore == NULL: * with gil: * raise RuntimeError('Function "cuCheckpointProcessRestore" not found') # <<<<<<<<<<<<<< * err = ( __cuCheckpointProcessRestore)(pid, args) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCheckpointProcessRest}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6834, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6834, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6833 * cuPythonInit() * if __cuCheckpointProcessRestore == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessRestore" not found') * err = ( __cuCheckpointProcessRestore)(pid, args) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6832 * global __cuCheckpointProcessRestore * cuPythonInit() * if __cuCheckpointProcessRestore == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessRestore" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6835 * with gil: * raise RuntimeError('Function "cuCheckpointProcessRestore" not found') * err = ( __cuCheckpointProcessRestore)(pid, args) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int, CUcheckpointRestoreArgs *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessRestore)(__pyx_v_pid, __pyx_v_args); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6835, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6836 * raise RuntimeError('Function "cuCheckpointProcessRestore" not found') * err = ( __cuCheckpointProcessRestore)(pid, args) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuCheckpointProcessUnlock(int pid, CUcheckpointUnlockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6829 * return err * * cdef CUresult _cuCheckpointProcessRestore(int pid, CUcheckpointRestoreArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessRestore * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCheckpointProcessRestore", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6838 * return err * * cdef CUresult _cuCheckpointProcessUnlock(int pid, CUcheckpointUnlockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessUnlock * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessUnlock(int __pyx_v_pid, CUcheckpointUnlockArgs *__pyx_v_args) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuCheckpointProcessUnlock", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6840 * cdef CUresult _cuCheckpointProcessUnlock(int pid, CUcheckpointUnlockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuCheckpointProcessUnlock * cuPythonInit() # <<<<<<<<<<<<<< * if __cuCheckpointProcessUnlock == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6840, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6841 * global __cuCheckpointProcessUnlock * cuPythonInit() * if __cuCheckpointProcessUnlock == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessUnlock" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessUnlock == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6842 * cuPythonInit() * if __cuCheckpointProcessUnlock == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessUnlock" not found') * err = ( __cuCheckpointProcessUnlock)(pid, args) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6843 * if __cuCheckpointProcessUnlock == NULL: * with gil: * raise RuntimeError('Function "cuCheckpointProcessUnlock" not found') # <<<<<<<<<<<<<< * err = ( __cuCheckpointProcessUnlock)(pid, args) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuCheckpointProcessUnlo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6843, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6843, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6842 * cuPythonInit() * if __cuCheckpointProcessUnlock == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuCheckpointProcessUnlock" not found') * err = ( __cuCheckpointProcessUnlock)(pid, args) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6841 * global __cuCheckpointProcessUnlock * cuPythonInit() * if __cuCheckpointProcessUnlock == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuCheckpointProcessUnlock" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6844 * with gil: * raise RuntimeError('Function "cuCheckpointProcessUnlock" not found') * err = ( __cuCheckpointProcessUnlock)(pid, args) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(int, CUcheckpointUnlockArgs *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessUnlock)(__pyx_v_pid, __pyx_v_args); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6844, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6845 * raise RuntimeError('Function "cuCheckpointProcessUnlock" not found') * err = ( __cuCheckpointProcessUnlock)(pid, args) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuProfilerStart() except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6838 * return err * * cdef CUresult _cuCheckpointProcessUnlock(int pid, CUcheckpointUnlockArgs* args) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuCheckpointProcessUnlock * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuCheckpointProcessUnlock", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6847 * return err * * cdef CUresult _cuProfilerStart() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuProfilerStart * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuProfilerStart(void) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuProfilerStart", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6849 * cdef CUresult _cuProfilerStart() except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuProfilerStart * cuPythonInit() # <<<<<<<<<<<<<< * if __cuProfilerStart == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6849, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6850 * global __cuProfilerStart * cuPythonInit() * if __cuProfilerStart == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuProfilerStart" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStart == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6851 * cuPythonInit() * if __cuProfilerStart == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuProfilerStart" not found') * err = ( __cuProfilerStart)() */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6852 * if __cuProfilerStart == NULL: * with gil: * raise RuntimeError('Function "cuProfilerStart" not found') # <<<<<<<<<<<<<< * err = ( __cuProfilerStart)() * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuProfilerStart_not_fou}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6852, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6852, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6851 * cuPythonInit() * if __cuProfilerStart == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuProfilerStart" not found') * err = ( __cuProfilerStart)() */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6850 * global __cuProfilerStart * cuPythonInit() * if __cuProfilerStart == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuProfilerStart" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6853 * with gil: * raise RuntimeError('Function "cuProfilerStart" not found') * err = ( __cuProfilerStart)() # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStart)(); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6853, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6854 * raise RuntimeError('Function "cuProfilerStart" not found') * err = ( __cuProfilerStart)() * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuProfilerStop() except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6847 * return err * * cdef CUresult _cuProfilerStart() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuProfilerStart * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuProfilerStart", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6856 * return err * * cdef CUresult _cuProfilerStop() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuProfilerStop * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuProfilerStop(void) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuProfilerStop", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6858 * cdef CUresult _cuProfilerStop() except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuProfilerStop * cuPythonInit() # <<<<<<<<<<<<<< * if __cuProfilerStop == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6858, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6859 * global __cuProfilerStop * cuPythonInit() * if __cuProfilerStop == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuProfilerStop" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStop == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6860 * cuPythonInit() * if __cuProfilerStop == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuProfilerStop" not found') * err = ( __cuProfilerStop)() */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6861 * if __cuProfilerStop == NULL: * with gil: * raise RuntimeError('Function "cuProfilerStop" not found') # <<<<<<<<<<<<<< * err = ( __cuProfilerStop)() * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuProfilerStop_not_foun}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6861, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6861, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6860 * cuPythonInit() * if __cuProfilerStop == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuProfilerStop" not found') * err = ( __cuProfilerStop)() */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6859 * global __cuProfilerStop * cuPythonInit() * if __cuProfilerStop == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuProfilerStop" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6862 * with gil: * raise RuntimeError('Function "cuProfilerStop" not found') * err = ( __cuProfilerStop)() # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(void))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStop)(); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6862, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6863 * raise RuntimeError('Function "cuProfilerStop" not found') * err = ( __cuProfilerStop)() * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsEGLRegisterImage(CUgraphicsResource* pCudaResource, EGLImageKHR image, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6856 * return err * * cdef CUresult _cuProfilerStop() except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuProfilerStop * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuProfilerStop", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6865 * return err * * cdef CUresult _cuGraphicsEGLRegisterImage(CUgraphicsResource* pCudaResource, EGLImageKHR image, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsEGLRegisterImage * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsEGLRegisterImage(CUgraphicsResource *__pyx_v_pCudaResource, __pyx_t_4cuda_8bindings_8cydriver_EGLImageKHR __pyx_v_image, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsEGLRegisterImage", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6867 * cdef CUresult _cuGraphicsEGLRegisterImage(CUgraphicsResource* pCudaResource, EGLImageKHR image, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsEGLRegisterImage * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsEGLRegisterImage == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6867, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6868 * global __cuGraphicsEGLRegisterImage * cuPythonInit() * if __cuGraphicsEGLRegisterImage == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsEGLRegisterImage" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsEGLRegisterImage == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6869 * cuPythonInit() * if __cuGraphicsEGLRegisterImage == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsEGLRegisterImage" not found') * err = ( __cuGraphicsEGLRegisterImage)(pCudaResource, image, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6870 * if __cuGraphicsEGLRegisterImage == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsEGLRegisterImage" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsEGLRegisterImage)(pCudaResource, image, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsEGLRegisterIm}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6870, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6870, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6869 * cuPythonInit() * if __cuGraphicsEGLRegisterImage == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsEGLRegisterImage" not found') * err = ( __cuGraphicsEGLRegisterImage)(pCudaResource, image, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6868 * global __cuGraphicsEGLRegisterImage * cuPythonInit() * if __cuGraphicsEGLRegisterImage == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsEGLRegisterImage" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6871 * with gil: * raise RuntimeError('Function "cuGraphicsEGLRegisterImage" not found') * err = ( __cuGraphicsEGLRegisterImage)(pCudaResource, image, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_EGLImageKHR, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsEGLRegisterImage)(__pyx_v_pCudaResource, __pyx_v_image, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6871, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6872 * raise RuntimeError('Function "cuGraphicsEGLRegisterImage" not found') * err = ( __cuGraphicsEGLRegisterImage)(pCudaResource, image, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamConsumerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6865 * return err * * cdef CUresult _cuGraphicsEGLRegisterImage(CUgraphicsResource* pCudaResource, EGLImageKHR image, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsEGLRegisterImage * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsEGLRegisterImage", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6874 * return err * * cdef CUresult _cuEGLStreamConsumerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnect * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerConnect(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR __pyx_v_stream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamConsumerConnect", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6876 * cdef CUresult _cuEGLStreamConsumerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamConsumerConnect * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamConsumerConnect == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6876, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6877 * global __cuEGLStreamConsumerConnect * cuPythonInit() * if __cuEGLStreamConsumerConnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnect" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnect == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6878 * cuPythonInit() * if __cuEGLStreamConsumerConnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerConnect" not found') * err = ( __cuEGLStreamConsumerConnect)(conn, stream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6879 * if __cuEGLStreamConsumerConnect == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnect" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamConsumerConnect)(conn, stream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamConsumerConn}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6879, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6879, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6878 * cuPythonInit() * if __cuEGLStreamConsumerConnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerConnect" not found') * err = ( __cuEGLStreamConsumerConnect)(conn, stream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6877 * global __cuEGLStreamConsumerConnect * cuPythonInit() * if __cuEGLStreamConsumerConnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnect" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6880 * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnect" not found') * err = ( __cuEGLStreamConsumerConnect)(conn, stream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnect)(__pyx_v_conn, __pyx_v_stream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6880, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6881 * raise RuntimeError('Function "cuEGLStreamConsumerConnect" not found') * err = ( __cuEGLStreamConsumerConnect)(conn, stream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamConsumerConnectWithFlags(CUeglStreamConnection* conn, EGLStreamKHR stream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6874 * return err * * cdef CUresult _cuEGLStreamConsumerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnect * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamConsumerConnect", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6883 * return err * * cdef CUresult _cuEGLStreamConsumerConnectWithFlags(CUeglStreamConnection* conn, EGLStreamKHR stream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnectWithFlags * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerConnectWithFlags(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR __pyx_v_stream, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamConsumerConnectWithFlags", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6885 * cdef CUresult _cuEGLStreamConsumerConnectWithFlags(CUeglStreamConnection* conn, EGLStreamKHR stream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamConsumerConnectWithFlags * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamConsumerConnectWithFlags == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6885, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6886 * global __cuEGLStreamConsumerConnectWithFlags * cuPythonInit() * if __cuEGLStreamConsumerConnectWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnectWithFlags" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnectWithFlags == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6887 * cuPythonInit() * if __cuEGLStreamConsumerConnectWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerConnectWithFlags" not found') * err = ( __cuEGLStreamConsumerConnectWithFlags)(conn, stream, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6888 * if __cuEGLStreamConsumerConnectWithFlags == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnectWithFlags" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamConsumerConnectWithFlags)(conn, stream, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamConsumerConn_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6888, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6888, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6887 * cuPythonInit() * if __cuEGLStreamConsumerConnectWithFlags == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerConnectWithFlags" not found') * err = ( __cuEGLStreamConsumerConnectWithFlags)(conn, stream, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6886 * global __cuEGLStreamConsumerConnectWithFlags * cuPythonInit() * if __cuEGLStreamConsumerConnectWithFlags == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnectWithFlags" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6889 * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerConnectWithFlags" not found') * err = ( __cuEGLStreamConsumerConnectWithFlags)(conn, stream, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnectWithFlags)(__pyx_v_conn, __pyx_v_stream, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6889, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6890 * raise RuntimeError('Function "cuEGLStreamConsumerConnectWithFlags" not found') * err = ( __cuEGLStreamConsumerConnectWithFlags)(conn, stream, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamConsumerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6883 * return err * * cdef CUresult _cuEGLStreamConsumerConnectWithFlags(CUeglStreamConnection* conn, EGLStreamKHR stream, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnectWithFlags * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamConsumerConnectWithFlags", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6892 * return err * * cdef CUresult _cuEGLStreamConsumerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerDisconnect * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerDisconnect(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamConsumerDisconnect", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6894 * cdef CUresult _cuEGLStreamConsumerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamConsumerDisconnect * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamConsumerDisconnect == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6894, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6895 * global __cuEGLStreamConsumerDisconnect * cuPythonInit() * if __cuEGLStreamConsumerDisconnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerDisconnect" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerDisconnect == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6896 * cuPythonInit() * if __cuEGLStreamConsumerDisconnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerDisconnect" not found') * err = ( __cuEGLStreamConsumerDisconnect)(conn) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6897 * if __cuEGLStreamConsumerDisconnect == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerDisconnect" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamConsumerDisconnect)(conn) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamConsumerDisc}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6897, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6897, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6896 * cuPythonInit() * if __cuEGLStreamConsumerDisconnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerDisconnect" not found') * err = ( __cuEGLStreamConsumerDisconnect)(conn) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6895 * global __cuEGLStreamConsumerDisconnect * cuPythonInit() * if __cuEGLStreamConsumerDisconnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerDisconnect" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6898 * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerDisconnect" not found') * err = ( __cuEGLStreamConsumerDisconnect)(conn) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerDisconnect)(__pyx_v_conn); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6898, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6899 * raise RuntimeError('Function "cuEGLStreamConsumerDisconnect" not found') * err = ( __cuEGLStreamConsumerDisconnect)(conn) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamConsumerAcquireFrame(CUeglStreamConnection* conn, CUgraphicsResource* pCudaResource, CUstream* pStream, unsigned int timeout) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6892 * return err * * cdef CUresult _cuEGLStreamConsumerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerDisconnect * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamConsumerDisconnect", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6901 * return err * * cdef CUresult _cuEGLStreamConsumerAcquireFrame(CUeglStreamConnection* conn, CUgraphicsResource* pCudaResource, CUstream* pStream, unsigned int timeout) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerAcquireFrame * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerAcquireFrame(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn, CUgraphicsResource *__pyx_v_pCudaResource, CUstream *__pyx_v_pStream, unsigned int __pyx_v_timeout) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamConsumerAcquireFrame", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6903 * cdef CUresult _cuEGLStreamConsumerAcquireFrame(CUeglStreamConnection* conn, CUgraphicsResource* pCudaResource, CUstream* pStream, unsigned int timeout) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamConsumerAcquireFrame * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamConsumerAcquireFrame == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6903, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6904 * global __cuEGLStreamConsumerAcquireFrame * cuPythonInit() * if __cuEGLStreamConsumerAcquireFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerAcquireFrame" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerAcquireFrame == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6905 * cuPythonInit() * if __cuEGLStreamConsumerAcquireFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerAcquireFrame" not found') * err = ( __cuEGLStreamConsumerAcquireFrame)(conn, pCudaResource, pStream, timeout) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6906 * if __cuEGLStreamConsumerAcquireFrame == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerAcquireFrame" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamConsumerAcquireFrame)(conn, pCudaResource, pStream, timeout) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamConsumerAcqu}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6906, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6906, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6905 * cuPythonInit() * if __cuEGLStreamConsumerAcquireFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerAcquireFrame" not found') * err = ( __cuEGLStreamConsumerAcquireFrame)(conn, pCudaResource, pStream, timeout) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6904 * global __cuEGLStreamConsumerAcquireFrame * cuPythonInit() * if __cuEGLStreamConsumerAcquireFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerAcquireFrame" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6907 * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerAcquireFrame" not found') * err = ( __cuEGLStreamConsumerAcquireFrame)(conn, pCudaResource, pStream, timeout) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, CUgraphicsResource *, CUstream *, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerAcquireFrame)(__pyx_v_conn, __pyx_v_pCudaResource, __pyx_v_pStream, __pyx_v_timeout); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6907, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6908 * raise RuntimeError('Function "cuEGLStreamConsumerAcquireFrame" not found') * err = ( __cuEGLStreamConsumerAcquireFrame)(conn, pCudaResource, pStream, timeout) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamConsumerReleaseFrame(CUeglStreamConnection* conn, CUgraphicsResource pCudaResource, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6901 * return err * * cdef CUresult _cuEGLStreamConsumerAcquireFrame(CUeglStreamConnection* conn, CUgraphicsResource* pCudaResource, CUstream* pStream, unsigned int timeout) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerAcquireFrame * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamConsumerAcquireFrame", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6910 * return err * * cdef CUresult _cuEGLStreamConsumerReleaseFrame(CUeglStreamConnection* conn, CUgraphicsResource pCudaResource, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerReleaseFrame * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerReleaseFrame(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn, CUgraphicsResource __pyx_v_pCudaResource, CUstream *__pyx_v_pStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamConsumerReleaseFrame", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6912 * cdef CUresult _cuEGLStreamConsumerReleaseFrame(CUeglStreamConnection* conn, CUgraphicsResource pCudaResource, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamConsumerReleaseFrame * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamConsumerReleaseFrame == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6912, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6913 * global __cuEGLStreamConsumerReleaseFrame * cuPythonInit() * if __cuEGLStreamConsumerReleaseFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerReleaseFrame" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerReleaseFrame == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6914 * cuPythonInit() * if __cuEGLStreamConsumerReleaseFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerReleaseFrame" not found') * err = ( __cuEGLStreamConsumerReleaseFrame)(conn, pCudaResource, pStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6915 * if __cuEGLStreamConsumerReleaseFrame == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerReleaseFrame" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamConsumerReleaseFrame)(conn, pCudaResource, pStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamConsumerRele}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6915, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6915, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6914 * cuPythonInit() * if __cuEGLStreamConsumerReleaseFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamConsumerReleaseFrame" not found') * err = ( __cuEGLStreamConsumerReleaseFrame)(conn, pCudaResource, pStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6913 * global __cuEGLStreamConsumerReleaseFrame * cuPythonInit() * if __cuEGLStreamConsumerReleaseFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerReleaseFrame" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6916 * with gil: * raise RuntimeError('Function "cuEGLStreamConsumerReleaseFrame" not found') * err = ( __cuEGLStreamConsumerReleaseFrame)(conn, pCudaResource, pStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, CUgraphicsResource, CUstream *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerReleaseFrame)(__pyx_v_conn, __pyx_v_pCudaResource, __pyx_v_pStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6916, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6917 * raise RuntimeError('Function "cuEGLStreamConsumerReleaseFrame" not found') * err = ( __cuEGLStreamConsumerReleaseFrame)(conn, pCudaResource, pStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamProducerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream, EGLint width, EGLint height) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6910 * return err * * cdef CUresult _cuEGLStreamConsumerReleaseFrame(CUeglStreamConnection* conn, CUgraphicsResource pCudaResource, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerReleaseFrame * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamConsumerReleaseFrame", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6919 * return err * * cdef CUresult _cuEGLStreamProducerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream, EGLint width, EGLint height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerConnect * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerConnect(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR __pyx_v_stream, __pyx_t_4cuda_8bindings_8cydriver_EGLint __pyx_v_width, __pyx_t_4cuda_8bindings_8cydriver_EGLint __pyx_v_height) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamProducerConnect", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6921 * cdef CUresult _cuEGLStreamProducerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream, EGLint width, EGLint height) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamProducerConnect * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamProducerConnect == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6921, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6922 * global __cuEGLStreamProducerConnect * cuPythonInit() * if __cuEGLStreamProducerConnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerConnect" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerConnect == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6923 * cuPythonInit() * if __cuEGLStreamProducerConnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerConnect" not found') * err = ( __cuEGLStreamProducerConnect)(conn, stream, width, height) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6924 * if __cuEGLStreamProducerConnect == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamProducerConnect" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamProducerConnect)(conn, stream, width, height) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamProducerConn}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6924, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6924, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6923 * cuPythonInit() * if __cuEGLStreamProducerConnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerConnect" not found') * err = ( __cuEGLStreamProducerConnect)(conn, stream, width, height) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6922 * global __cuEGLStreamProducerConnect * cuPythonInit() * if __cuEGLStreamProducerConnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerConnect" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6925 * with gil: * raise RuntimeError('Function "cuEGLStreamProducerConnect" not found') * err = ( __cuEGLStreamProducerConnect)(conn, stream, width, height) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR, __pyx_t_4cuda_8bindings_8cydriver_EGLint, __pyx_t_4cuda_8bindings_8cydriver_EGLint))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerConnect)(__pyx_v_conn, __pyx_v_stream, __pyx_v_width, __pyx_v_height); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6925, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6926 * raise RuntimeError('Function "cuEGLStreamProducerConnect" not found') * err = ( __cuEGLStreamProducerConnect)(conn, stream, width, height) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamProducerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6919 * return err * * cdef CUresult _cuEGLStreamProducerConnect(CUeglStreamConnection* conn, EGLStreamKHR stream, EGLint width, EGLint height) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerConnect * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamProducerConnect", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6928 * return err * * cdef CUresult _cuEGLStreamProducerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerDisconnect * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerDisconnect(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamProducerDisconnect", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6930 * cdef CUresult _cuEGLStreamProducerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamProducerDisconnect * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamProducerDisconnect == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6930, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6931 * global __cuEGLStreamProducerDisconnect * cuPythonInit() * if __cuEGLStreamProducerDisconnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerDisconnect" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerDisconnect == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6932 * cuPythonInit() * if __cuEGLStreamProducerDisconnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerDisconnect" not found') * err = ( __cuEGLStreamProducerDisconnect)(conn) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6933 * if __cuEGLStreamProducerDisconnect == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamProducerDisconnect" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamProducerDisconnect)(conn) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamProducerDisc}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6933, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6933, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6932 * cuPythonInit() * if __cuEGLStreamProducerDisconnect == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerDisconnect" not found') * err = ( __cuEGLStreamProducerDisconnect)(conn) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6931 * global __cuEGLStreamProducerDisconnect * cuPythonInit() * if __cuEGLStreamProducerDisconnect == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerDisconnect" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6934 * with gil: * raise RuntimeError('Function "cuEGLStreamProducerDisconnect" not found') * err = ( __cuEGLStreamProducerDisconnect)(conn) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerDisconnect)(__pyx_v_conn); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6934, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6935 * raise RuntimeError('Function "cuEGLStreamProducerDisconnect" not found') * err = ( __cuEGLStreamProducerDisconnect)(conn) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamProducerPresentFrame(CUeglStreamConnection* conn, CUeglFrame eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6928 * return err * * cdef CUresult _cuEGLStreamProducerDisconnect(CUeglStreamConnection* conn) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerDisconnect * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamProducerDisconnect", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6937 * return err * * cdef CUresult _cuEGLStreamProducerPresentFrame(CUeglStreamConnection* conn, CUeglFrame eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerPresentFrame * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerPresentFrame(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn, __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame __pyx_v_eglframe, CUstream *__pyx_v_pStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamProducerPresentFrame", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6939 * cdef CUresult _cuEGLStreamProducerPresentFrame(CUeglStreamConnection* conn, CUeglFrame eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamProducerPresentFrame * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamProducerPresentFrame == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6939, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6940 * global __cuEGLStreamProducerPresentFrame * cuPythonInit() * if __cuEGLStreamProducerPresentFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerPresentFrame" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerPresentFrame == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6941 * cuPythonInit() * if __cuEGLStreamProducerPresentFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerPresentFrame" not found') * err = ( __cuEGLStreamProducerPresentFrame)(conn, eglframe, pStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6942 * if __cuEGLStreamProducerPresentFrame == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamProducerPresentFrame" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamProducerPresentFrame)(conn, eglframe, pStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamProducerPres}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6942, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6942, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6941 * cuPythonInit() * if __cuEGLStreamProducerPresentFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerPresentFrame" not found') * err = ( __cuEGLStreamProducerPresentFrame)(conn, eglframe, pStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6940 * global __cuEGLStreamProducerPresentFrame * cuPythonInit() * if __cuEGLStreamProducerPresentFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerPresentFrame" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6943 * with gil: * raise RuntimeError('Function "cuEGLStreamProducerPresentFrame" not found') * err = ( __cuEGLStreamProducerPresentFrame)(conn, eglframe, pStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame, CUstream *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerPresentFrame)(__pyx_v_conn, __pyx_v_eglframe, __pyx_v_pStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6943, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6944 * raise RuntimeError('Function "cuEGLStreamProducerPresentFrame" not found') * err = ( __cuEGLStreamProducerPresentFrame)(conn, eglframe, pStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEGLStreamProducerReturnFrame(CUeglStreamConnection* conn, CUeglFrame* eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6937 * return err * * cdef CUresult _cuEGLStreamProducerPresentFrame(CUeglStreamConnection* conn, CUeglFrame eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerPresentFrame * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamProducerPresentFrame", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6946 * return err * * cdef CUresult _cuEGLStreamProducerReturnFrame(CUeglStreamConnection* conn, CUeglFrame* eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerReturnFrame * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerReturnFrame(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *__pyx_v_conn, __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame *__pyx_v_eglframe, CUstream *__pyx_v_pStream) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEGLStreamProducerReturnFrame", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6948 * cdef CUresult _cuEGLStreamProducerReturnFrame(CUeglStreamConnection* conn, CUeglFrame* eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEGLStreamProducerReturnFrame * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEGLStreamProducerReturnFrame == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6948, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6949 * global __cuEGLStreamProducerReturnFrame * cuPythonInit() * if __cuEGLStreamProducerReturnFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerReturnFrame" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerReturnFrame == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6950 * cuPythonInit() * if __cuEGLStreamProducerReturnFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerReturnFrame" not found') * err = ( __cuEGLStreamProducerReturnFrame)(conn, eglframe, pStream) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6951 * if __cuEGLStreamProducerReturnFrame == NULL: * with gil: * raise RuntimeError('Function "cuEGLStreamProducerReturnFrame" not found') # <<<<<<<<<<<<<< * err = ( __cuEGLStreamProducerReturnFrame)(conn, eglframe, pStream) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEGLStreamProducerRetu}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6951, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6951, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6950 * cuPythonInit() * if __cuEGLStreamProducerReturnFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEGLStreamProducerReturnFrame" not found') * err = ( __cuEGLStreamProducerReturnFrame)(conn, eglframe, pStream) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6949 * global __cuEGLStreamProducerReturnFrame * cuPythonInit() * if __cuEGLStreamProducerReturnFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEGLStreamProducerReturnFrame" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6952 * with gil: * raise RuntimeError('Function "cuEGLStreamProducerReturnFrame" not found') * err = ( __cuEGLStreamProducerReturnFrame)(conn, eglframe, pStream) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame *, CUstream *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerReturnFrame)(__pyx_v_conn, __pyx_v_eglframe, __pyx_v_pStream); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6952, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6953 * raise RuntimeError('Function "cuEGLStreamProducerReturnFrame" not found') * err = ( __cuEGLStreamProducerReturnFrame)(conn, eglframe, pStream) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsResourceGetMappedEglFrame(CUeglFrame* eglFrame, CUgraphicsResource resource, unsigned int index, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6946 * return err * * cdef CUresult _cuEGLStreamProducerReturnFrame(CUeglStreamConnection* conn, CUeglFrame* eglframe, CUstream* pStream) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEGLStreamProducerReturnFrame * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEGLStreamProducerReturnFrame", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6955 * return err * * cdef CUresult _cuGraphicsResourceGetMappedEglFrame(CUeglFrame* eglFrame, CUgraphicsResource resource, unsigned int index, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedEglFrame * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceGetMappedEglFrame(__pyx_t_4cuda_8bindings_8cydriver_CUeglFrame *__pyx_v_eglFrame, CUgraphicsResource __pyx_v_resource, unsigned int __pyx_v_index, unsigned int __pyx_v_mipLevel) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsResourceGetMappedEglFrame", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6957 * cdef CUresult _cuGraphicsResourceGetMappedEglFrame(CUeglFrame* eglFrame, CUgraphicsResource resource, unsigned int index, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsResourceGetMappedEglFrame * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsResourceGetMappedEglFrame == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6957, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6958 * global __cuGraphicsResourceGetMappedEglFrame * cuPythonInit() * if __cuGraphicsResourceGetMappedEglFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedEglFrame" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedEglFrame == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6959 * cuPythonInit() * if __cuGraphicsResourceGetMappedEglFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceGetMappedEglFrame" not found') * err = ( __cuGraphicsResourceGetMappedEglFrame)(eglFrame, resource, index, mipLevel) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6960 * if __cuGraphicsResourceGetMappedEglFrame == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedEglFrame" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsResourceGetMappedEglFrame)(eglFrame, resource, index, mipLevel) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsResourceGetMa_3}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6960, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6960, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6959 * cuPythonInit() * if __cuGraphicsResourceGetMappedEglFrame == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsResourceGetMappedEglFrame" not found') * err = ( __cuGraphicsResourceGetMappedEglFrame)(eglFrame, resource, index, mipLevel) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6958 * global __cuGraphicsResourceGetMappedEglFrame * cuPythonInit() * if __cuGraphicsResourceGetMappedEglFrame == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedEglFrame" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6961 * with gil: * raise RuntimeError('Function "cuGraphicsResourceGetMappedEglFrame" not found') * err = ( __cuGraphicsResourceGetMappedEglFrame)(eglFrame, resource, index, mipLevel) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(__pyx_t_4cuda_8bindings_8cydriver_CUeglFrame *, CUgraphicsResource, unsigned int, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedEglFrame)(__pyx_v_eglFrame, __pyx_v_resource, __pyx_v_index, __pyx_v_mipLevel); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6961, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6962 * raise RuntimeError('Function "cuGraphicsResourceGetMappedEglFrame" not found') * err = ( __cuGraphicsResourceGetMappedEglFrame)(eglFrame, resource, index, mipLevel) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuEventCreateFromEGLSync(CUevent* phEvent, EGLSyncKHR eglSync, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6955 * return err * * cdef CUresult _cuGraphicsResourceGetMappedEglFrame(CUeglFrame* eglFrame, CUgraphicsResource resource, unsigned int index, unsigned int mipLevel) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedEglFrame * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsResourceGetMappedEglFrame", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6964 * return err * * cdef CUresult _cuEventCreateFromEGLSync(CUevent* phEvent, EGLSyncKHR eglSync, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventCreateFromEGLSync * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventCreateFromEGLSync(CUevent *__pyx_v_phEvent, __pyx_t_4cuda_8bindings_8cydriver_EGLSyncKHR __pyx_v_eglSync, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuEventCreateFromEGLSync", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6966 * cdef CUresult _cuEventCreateFromEGLSync(CUevent* phEvent, EGLSyncKHR eglSync, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuEventCreateFromEGLSync * cuPythonInit() # <<<<<<<<<<<<<< * if __cuEventCreateFromEGLSync == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6966, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6967 * global __cuEventCreateFromEGLSync * cuPythonInit() * if __cuEventCreateFromEGLSync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventCreateFromEGLSync" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreateFromEGLSync == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6968 * cuPythonInit() * if __cuEventCreateFromEGLSync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventCreateFromEGLSync" not found') * err = ( __cuEventCreateFromEGLSync)(phEvent, eglSync, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6969 * if __cuEventCreateFromEGLSync == NULL: * with gil: * raise RuntimeError('Function "cuEventCreateFromEGLSync" not found') # <<<<<<<<<<<<<< * err = ( __cuEventCreateFromEGLSync)(phEvent, eglSync, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuEventCreateFromEGLSyn}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6969, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6969, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6968 * cuPythonInit() * if __cuEventCreateFromEGLSync == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuEventCreateFromEGLSync" not found') * err = ( __cuEventCreateFromEGLSync)(phEvent, eglSync, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6967 * global __cuEventCreateFromEGLSync * cuPythonInit() * if __cuEventCreateFromEGLSync == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuEventCreateFromEGLSync" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6970 * with gil: * raise RuntimeError('Function "cuEventCreateFromEGLSync" not found') * err = ( __cuEventCreateFromEGLSync)(phEvent, eglSync, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUevent *, __pyx_t_4cuda_8bindings_8cydriver_EGLSyncKHR, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreateFromEGLSync)(__pyx_v_phEvent, __pyx_v_eglSync, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6970, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6971 * raise RuntimeError('Function "cuEventCreateFromEGLSync" not found') * err = ( __cuEventCreateFromEGLSync)(phEvent, eglSync, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsGLRegisterBuffer(CUgraphicsResource* pCudaResource, GLuint buffer, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6964 * return err * * cdef CUresult _cuEventCreateFromEGLSync(CUevent* phEvent, EGLSyncKHR eglSync, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuEventCreateFromEGLSync * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuEventCreateFromEGLSync", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6973 * return err * * cdef CUresult _cuGraphicsGLRegisterBuffer(CUgraphicsResource* pCudaResource, GLuint buffer, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterBuffer * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsGLRegisterBuffer(CUgraphicsResource *__pyx_v_pCudaResource, __pyx_t_4cuda_8bindings_8cydriver_GLuint __pyx_v_buffer, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsGLRegisterBuffer", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6975 * cdef CUresult _cuGraphicsGLRegisterBuffer(CUgraphicsResource* pCudaResource, GLuint buffer, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsGLRegisterBuffer * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsGLRegisterBuffer == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6975, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6976 * global __cuGraphicsGLRegisterBuffer * cuPythonInit() * if __cuGraphicsGLRegisterBuffer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterBuffer" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterBuffer == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6977 * cuPythonInit() * if __cuGraphicsGLRegisterBuffer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsGLRegisterBuffer" not found') * err = ( __cuGraphicsGLRegisterBuffer)(pCudaResource, buffer, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6978 * if __cuGraphicsGLRegisterBuffer == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterBuffer" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsGLRegisterBuffer)(pCudaResource, buffer, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsGLRegisterBuf}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6978, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6978, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6977 * cuPythonInit() * if __cuGraphicsGLRegisterBuffer == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsGLRegisterBuffer" not found') * err = ( __cuGraphicsGLRegisterBuffer)(pCudaResource, buffer, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6976 * global __cuGraphicsGLRegisterBuffer * cuPythonInit() * if __cuGraphicsGLRegisterBuffer == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterBuffer" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6979 * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterBuffer" not found') * err = ( __cuGraphicsGLRegisterBuffer)(pCudaResource, buffer, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_GLuint, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterBuffer)(__pyx_v_pCudaResource, __pyx_v_buffer, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6979, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6980 * raise RuntimeError('Function "cuGraphicsGLRegisterBuffer" not found') * err = ( __cuGraphicsGLRegisterBuffer)(pCudaResource, buffer, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsGLRegisterImage(CUgraphicsResource* pCudaResource, GLuint image, GLenum target, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6973 * return err * * cdef CUresult _cuGraphicsGLRegisterBuffer(CUgraphicsResource* pCudaResource, GLuint buffer, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterBuffer * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsGLRegisterBuffer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6982 * return err * * cdef CUresult _cuGraphicsGLRegisterImage(CUgraphicsResource* pCudaResource, GLuint image, GLenum target, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterImage * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsGLRegisterImage(CUgraphicsResource *__pyx_v_pCudaResource, __pyx_t_4cuda_8bindings_8cydriver_GLuint __pyx_v_image, __pyx_t_4cuda_8bindings_8cydriver_GLenum __pyx_v_target, unsigned int __pyx_v_Flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsGLRegisterImage", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6984 * cdef CUresult _cuGraphicsGLRegisterImage(CUgraphicsResource* pCudaResource, GLuint image, GLenum target, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsGLRegisterImage * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsGLRegisterImage == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6984, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6985 * global __cuGraphicsGLRegisterImage * cuPythonInit() * if __cuGraphicsGLRegisterImage == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterImage" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterImage == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6986 * cuPythonInit() * if __cuGraphicsGLRegisterImage == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsGLRegisterImage" not found') * err = ( __cuGraphicsGLRegisterImage)(pCudaResource, image, target, Flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6987 * if __cuGraphicsGLRegisterImage == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterImage" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsGLRegisterImage)(pCudaResource, image, target, Flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsGLRegisterIma}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6987, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6987, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6986 * cuPythonInit() * if __cuGraphicsGLRegisterImage == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsGLRegisterImage" not found') * err = ( __cuGraphicsGLRegisterImage)(pCudaResource, image, target, Flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6985 * global __cuGraphicsGLRegisterImage * cuPythonInit() * if __cuGraphicsGLRegisterImage == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterImage" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6988 * with gil: * raise RuntimeError('Function "cuGraphicsGLRegisterImage" not found') * err = ( __cuGraphicsGLRegisterImage)(pCudaResource, image, target, Flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_GLuint, __pyx_t_4cuda_8bindings_8cydriver_GLenum, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterImage)(__pyx_v_pCudaResource, __pyx_v_image, __pyx_v_target, __pyx_v_Flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6988, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6989 * raise RuntimeError('Function "cuGraphicsGLRegisterImage" not found') * err = ( __cuGraphicsGLRegisterImage)(pCudaResource, image, target, Flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGLGetDevices_v2(unsigned int* pCudaDeviceCount, CUdevice* pCudaDevices, unsigned int cudaDeviceCount, CUGLDeviceList deviceList) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6982 * return err * * cdef CUresult _cuGraphicsGLRegisterImage(CUgraphicsResource* pCudaResource, GLuint image, GLenum target, unsigned int Flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterImage * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsGLRegisterImage", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":6991 * return err * * cdef CUresult _cuGLGetDevices_v2(unsigned int* pCudaDeviceCount, CUdevice* pCudaDevices, unsigned int cudaDeviceCount, CUGLDeviceList deviceList) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGLGetDevices_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGLGetDevices_v2(unsigned int *__pyx_v_pCudaDeviceCount, CUdevice *__pyx_v_pCudaDevices, unsigned int __pyx_v_cudaDeviceCount, __pyx_t_4cuda_8bindings_8cydriver_CUGLDeviceList __pyx_v_deviceList) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGLGetDevices_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":6993 * cdef CUresult _cuGLGetDevices_v2(unsigned int* pCudaDeviceCount, CUdevice* pCudaDevices, unsigned int cudaDeviceCount, CUGLDeviceList deviceList) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGLGetDevices_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGLGetDevices_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 6993, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":6994 * global __cuGLGetDevices_v2 * cuPythonInit() * if __cuGLGetDevices_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGLGetDevices_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGLGetDevices_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":6995 * cuPythonInit() * if __cuGLGetDevices_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGLGetDevices_v2" not found') * err = ( __cuGLGetDevices_v2)(pCudaDeviceCount, pCudaDevices, cudaDeviceCount, deviceList) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":6996 * if __cuGLGetDevices_v2 == NULL: * with gil: * raise RuntimeError('Function "cuGLGetDevices_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuGLGetDevices_v2)(pCudaDeviceCount, pCudaDevices, cudaDeviceCount, deviceList) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGLGetDevices_v2_not_f}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 6996, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 6996, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":6995 * cuPythonInit() * if __cuGLGetDevices_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGLGetDevices_v2" not found') * err = ( __cuGLGetDevices_v2)(pCudaDeviceCount, pCudaDevices, cudaDeviceCount, deviceList) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":6994 * global __cuGLGetDevices_v2 * cuPythonInit() * if __cuGLGetDevices_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGLGetDevices_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":6997 * with gil: * raise RuntimeError('Function "cuGLGetDevices_v2" not found') * err = ( __cuGLGetDevices_v2)(pCudaDeviceCount, pCudaDevices, cudaDeviceCount, deviceList) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(unsigned int *, CUdevice *, unsigned int, __pyx_t_4cuda_8bindings_8cydriver_CUGLDeviceList))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGLGetDevices_v2)(__pyx_v_pCudaDeviceCount, __pyx_v_pCudaDevices, __pyx_v_cudaDeviceCount, __pyx_v_deviceList); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 6997, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":6998 * raise RuntimeError('Function "cuGLGetDevices_v2" not found') * err = ( __cuGLGetDevices_v2)(pCudaDeviceCount, pCudaDevices, cudaDeviceCount, deviceList) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuVDPAUGetDevice(CUdevice* pDevice, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":6991 * return err * * cdef CUresult _cuGLGetDevices_v2(unsigned int* pCudaDeviceCount, CUdevice* pCudaDevices, unsigned int cudaDeviceCount, CUGLDeviceList deviceList) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGLGetDevices_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGLGetDevices_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":7000 * return err * * cdef CUresult _cuVDPAUGetDevice(CUdevice* pDevice, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuVDPAUGetDevice * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuVDPAUGetDevice(CUdevice *__pyx_v_pDevice, __pyx_t_4cuda_8bindings_8cydriver_VdpDevice __pyx_v_vdpDevice, __pyx_t_4cuda_8bindings_8cydriver_VdpGetProcAddress *__pyx_v_vdpGetProcAddress) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuVDPAUGetDevice", 1); /* "cuda/bindings/_bindings/cydriver.pyx":7002 * cdef CUresult _cuVDPAUGetDevice(CUdevice* pDevice, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuVDPAUGetDevice * cuPythonInit() # <<<<<<<<<<<<<< * if __cuVDPAUGetDevice == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 7002, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":7003 * global __cuVDPAUGetDevice * cuPythonInit() * if __cuVDPAUGetDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuVDPAUGetDevice" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUGetDevice == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":7004 * cuPythonInit() * if __cuVDPAUGetDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuVDPAUGetDevice" not found') * err = ( __cuVDPAUGetDevice)(pDevice, vdpDevice, vdpGetProcAddress) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":7005 * if __cuVDPAUGetDevice == NULL: * with gil: * raise RuntimeError('Function "cuVDPAUGetDevice" not found') # <<<<<<<<<<<<<< * err = ( __cuVDPAUGetDevice)(pDevice, vdpDevice, vdpGetProcAddress) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuVDPAUGetDevice_not_fo}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7005, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 7005, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":7004 * cuPythonInit() * if __cuVDPAUGetDevice == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuVDPAUGetDevice" not found') * err = ( __cuVDPAUGetDevice)(pDevice, vdpDevice, vdpGetProcAddress) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":7003 * global __cuVDPAUGetDevice * cuPythonInit() * if __cuVDPAUGetDevice == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuVDPAUGetDevice" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":7006 * with gil: * raise RuntimeError('Function "cuVDPAUGetDevice" not found') * err = ( __cuVDPAUGetDevice)(pDevice, vdpDevice, vdpGetProcAddress) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUdevice *, __pyx_t_4cuda_8bindings_8cydriver_VdpDevice, __pyx_t_4cuda_8bindings_8cydriver_VdpGetProcAddress *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUGetDevice)(__pyx_v_pDevice, __pyx_v_vdpDevice, __pyx_v_vdpGetProcAddress); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 7006, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":7007 * raise RuntimeError('Function "cuVDPAUGetDevice" not found') * err = ( __cuVDPAUGetDevice)(pDevice, vdpDevice, vdpGetProcAddress) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuVDPAUCtxCreate_v2(CUcontext* pCtx, unsigned int flags, CUdevice device, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":7000 * return err * * cdef CUresult _cuVDPAUGetDevice(CUdevice* pDevice, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuVDPAUGetDevice * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuVDPAUGetDevice", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":7009 * return err * * cdef CUresult _cuVDPAUCtxCreate_v2(CUcontext* pCtx, unsigned int flags, CUdevice device, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuVDPAUCtxCreate_v2 * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuVDPAUCtxCreate_v2(CUcontext *__pyx_v_pCtx, unsigned int __pyx_v_flags, CUdevice __pyx_v_device, __pyx_t_4cuda_8bindings_8cydriver_VdpDevice __pyx_v_vdpDevice, __pyx_t_4cuda_8bindings_8cydriver_VdpGetProcAddress *__pyx_v_vdpGetProcAddress) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuVDPAUCtxCreate_v2", 1); /* "cuda/bindings/_bindings/cydriver.pyx":7011 * cdef CUresult _cuVDPAUCtxCreate_v2(CUcontext* pCtx, unsigned int flags, CUdevice device, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuVDPAUCtxCreate_v2 * cuPythonInit() # <<<<<<<<<<<<<< * if __cuVDPAUCtxCreate_v2 == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 7011, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":7012 * global __cuVDPAUCtxCreate_v2 * cuPythonInit() * if __cuVDPAUCtxCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuVDPAUCtxCreate_v2" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUCtxCreate_v2 == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":7013 * cuPythonInit() * if __cuVDPAUCtxCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuVDPAUCtxCreate_v2" not found') * err = ( __cuVDPAUCtxCreate_v2)(pCtx, flags, device, vdpDevice, vdpGetProcAddress) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":7014 * if __cuVDPAUCtxCreate_v2 == NULL: * with gil: * raise RuntimeError('Function "cuVDPAUCtxCreate_v2" not found') # <<<<<<<<<<<<<< * err = ( __cuVDPAUCtxCreate_v2)(pCtx, flags, device, vdpDevice, vdpGetProcAddress) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuVDPAUCtxCreate_v2_not}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7014, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 7014, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":7013 * cuPythonInit() * if __cuVDPAUCtxCreate_v2 == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuVDPAUCtxCreate_v2" not found') * err = ( __cuVDPAUCtxCreate_v2)(pCtx, flags, device, vdpDevice, vdpGetProcAddress) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":7012 * global __cuVDPAUCtxCreate_v2 * cuPythonInit() * if __cuVDPAUCtxCreate_v2 == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuVDPAUCtxCreate_v2" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":7015 * with gil: * raise RuntimeError('Function "cuVDPAUCtxCreate_v2" not found') * err = ( __cuVDPAUCtxCreate_v2)(pCtx, flags, device, vdpDevice, vdpGetProcAddress) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUcontext *, unsigned int, CUdevice, __pyx_t_4cuda_8bindings_8cydriver_VdpDevice, __pyx_t_4cuda_8bindings_8cydriver_VdpGetProcAddress *))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUCtxCreate_v2)(__pyx_v_pCtx, __pyx_v_flags, __pyx_v_device, __pyx_v_vdpDevice, __pyx_v_vdpGetProcAddress); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 7015, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":7016 * raise RuntimeError('Function "cuVDPAUCtxCreate_v2" not found') * err = ( __cuVDPAUCtxCreate_v2)(pCtx, flags, device, vdpDevice, vdpGetProcAddress) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsVDPAURegisterVideoSurface(CUgraphicsResource* pCudaResource, VdpVideoSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":7009 * return err * * cdef CUresult _cuVDPAUCtxCreate_v2(CUcontext* pCtx, unsigned int flags, CUdevice device, VdpDevice vdpDevice, VdpGetProcAddress* vdpGetProcAddress) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuVDPAUCtxCreate_v2 * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuVDPAUCtxCreate_v2", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":7018 * return err * * cdef CUresult _cuGraphicsVDPAURegisterVideoSurface(CUgraphicsResource* pCudaResource, VdpVideoSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterVideoSurface * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsVDPAURegisterVideoSurface(CUgraphicsResource *__pyx_v_pCudaResource, __pyx_t_4cuda_8bindings_8cydriver_VdpVideoSurface __pyx_v_vdpSurface, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsVDPAURegisterVideoSurface", 1); /* "cuda/bindings/_bindings/cydriver.pyx":7020 * cdef CUresult _cuGraphicsVDPAURegisterVideoSurface(CUgraphicsResource* pCudaResource, VdpVideoSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsVDPAURegisterVideoSurface * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsVDPAURegisterVideoSurface == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 7020, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":7021 * global __cuGraphicsVDPAURegisterVideoSurface * cuPythonInit() * if __cuGraphicsVDPAURegisterVideoSurface == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterVideoSurface" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterVideoSurface == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":7022 * cuPythonInit() * if __cuGraphicsVDPAURegisterVideoSurface == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsVDPAURegisterVideoSurface" not found') * err = ( __cuGraphicsVDPAURegisterVideoSurface)(pCudaResource, vdpSurface, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":7023 * if __cuGraphicsVDPAURegisterVideoSurface == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterVideoSurface" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsVDPAURegisterVideoSurface)(pCudaResource, vdpSurface, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsVDPAURegister}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7023, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 7023, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":7022 * cuPythonInit() * if __cuGraphicsVDPAURegisterVideoSurface == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsVDPAURegisterVideoSurface" not found') * err = ( __cuGraphicsVDPAURegisterVideoSurface)(pCudaResource, vdpSurface, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":7021 * global __cuGraphicsVDPAURegisterVideoSurface * cuPythonInit() * if __cuGraphicsVDPAURegisterVideoSurface == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterVideoSurface" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":7024 * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterVideoSurface" not found') * err = ( __cuGraphicsVDPAURegisterVideoSurface)(pCudaResource, vdpSurface, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_VdpVideoSurface, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterVideoSurface)(__pyx_v_pCudaResource, __pyx_v_vdpSurface, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 7024, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":7025 * raise RuntimeError('Function "cuGraphicsVDPAURegisterVideoSurface" not found') * err = ( __cuGraphicsVDPAURegisterVideoSurface)(pCudaResource, vdpSurface, flags) * return err # <<<<<<<<<<<<<< * * cdef CUresult _cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource* pCudaResource, VdpOutputSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":7018 * return err * * cdef CUresult _cuGraphicsVDPAURegisterVideoSurface(CUgraphicsResource* pCudaResource, VdpVideoSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterVideoSurface * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsVDPAURegisterVideoSurface", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":7027 * return err * * cdef CUresult _cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource* pCudaResource, VdpOutputSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterOutputSurface * cuPythonInit() */ static CUresult __pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource *__pyx_v_pCudaResource, __pyx_t_4cuda_8bindings_8cydriver_VdpOutputSurface __pyx_v_vdpSurface, unsigned int __pyx_v_flags) { CUresult __pyx_v_err; CUresult __pyx_r; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; CUresult __pyx_t_7; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyGILState_STATE __pyx_gilstate_save; __Pyx_RefNannySetupContext("_cuGraphicsVDPAURegisterOutputSurface", 1); /* "cuda/bindings/_bindings/cydriver.pyx":7029 * cdef CUresult _cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource* pCudaResource, VdpOutputSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: * global __cuGraphicsVDPAURegisterOutputSurface * cuPythonInit() # <<<<<<<<<<<<<< * if __cuGraphicsVDPAURegisterOutputSurface == NULL: * with gil: */ __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 7029, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":7030 * global __cuGraphicsVDPAURegisterOutputSurface * cuPythonInit() * if __cuGraphicsVDPAURegisterOutputSurface == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterOutputSurface" not found') */ __pyx_t_2 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterOutputSurface == NULL); if (unlikely(__pyx_t_2)) { /* "cuda/bindings/_bindings/cydriver.pyx":7031 * cuPythonInit() * if __cuGraphicsVDPAURegisterOutputSurface == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsVDPAURegisterOutputSurface" not found') * err = ( __cuGraphicsVDPAURegisterOutputSurface)(pCudaResource, vdpSurface, flags) */ { PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); /*try:*/ { /* "cuda/bindings/_bindings/cydriver.pyx":7032 * if __cuGraphicsVDPAURegisterOutputSurface == NULL: * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterOutputSurface" not found') # <<<<<<<<<<<<<< * err = ( __cuGraphicsVDPAURegisterOutputSurface)(pCudaResource, vdpSurface, flags) * return err */ __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_builtin_RuntimeError); __pyx_t_5 = __pyx_builtin_RuntimeError; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Function_cuGraphicsVDPAURegister_2}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7032, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_Raise(__pyx_t_3, 0, 0, 0); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 7032, __pyx_L5_error) } /* "cuda/bindings/_bindings/cydriver.pyx":7031 * cuPythonInit() * if __cuGraphicsVDPAURegisterOutputSurface == NULL: * with gil: # <<<<<<<<<<<<<< * raise RuntimeError('Function "cuGraphicsVDPAURegisterOutputSurface" not found') * err = ( __cuGraphicsVDPAURegisterOutputSurface)(pCudaResource, vdpSurface, flags) */ /*finally:*/ { __pyx_L5_error: { __Pyx_PyGILState_Release(__pyx_gilstate_save); goto __pyx_L1_error; } } } /* "cuda/bindings/_bindings/cydriver.pyx":7030 * global __cuGraphicsVDPAURegisterOutputSurface * cuPythonInit() * if __cuGraphicsVDPAURegisterOutputSurface == NULL: # <<<<<<<<<<<<<< * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterOutputSurface" not found') */ } /* "cuda/bindings/_bindings/cydriver.pyx":7033 * with gil: * raise RuntimeError('Function "cuGraphicsVDPAURegisterOutputSurface" not found') * err = ( __cuGraphicsVDPAURegisterOutputSurface)(pCudaResource, vdpSurface, flags) # <<<<<<<<<<<<<< * return err * */ __pyx_t_7 = ((CUresult (*)(CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_VdpOutputSurface, unsigned int))__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterOutputSurface)(__pyx_v_pCudaResource, __pyx_v_vdpSurface, __pyx_v_flags); if (unlikely(__pyx_t_7 == ((CUresult)CUDA_ERROR_NOT_FOUND) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 7033, __pyx_L1_error) __pyx_v_err = __pyx_t_7; /* "cuda/bindings/_bindings/cydriver.pyx":7034 * raise RuntimeError('Function "cuGraphicsVDPAURegisterOutputSurface" not found') * err = ( __cuGraphicsVDPAURegisterOutputSurface)(pCudaResource, vdpSurface, flags) * return err # <<<<<<<<<<<<<< * * cdef dict func_ptrs = None */ __pyx_r = __pyx_v_err; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":7027 * return err * * cdef CUresult _cuGraphicsVDPAURegisterOutputSurface(CUgraphicsResource* pCudaResource, VdpOutputSurface vdpSurface, unsigned int flags) except ?CUDA_ERROR_NOT_FOUND nogil: # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterOutputSurface * cuPythonInit() */ /* function exit code */ __pyx_L1_error:; __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._cuGraphicsVDPAURegisterOutputSurface", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = CUDA_ERROR_NOT_FOUND; __Pyx_PyGILState_Release(__pyx_gilstate_save); __pyx_L0:; __Pyx_RefNannyFinishContextNogil() return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":7038 * cdef dict func_ptrs = None * * cpdef dict _inspect_function_pointers(): # <<<<<<<<<<<<<< * global func_ptrs * if func_ptrs is not None: */ static PyObject *__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_1_inspect_function_pointers(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/ static PyObject *__pyx_f_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers(CYTHON_UNUSED int __pyx_skip_dispatch) { PyObject *__pyx_v_data = 0; PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations int __pyx_t_1; int __pyx_t_2; PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_inspect_function_pointers", 0); /* "cuda/bindings/_bindings/cydriver.pyx":7040 * cpdef dict _inspect_function_pointers(): * global func_ptrs * if func_ptrs is not None: # <<<<<<<<<<<<<< * return func_ptrs * */ __pyx_t_1 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs != ((PyObject*)Py_None)); if (__pyx_t_1) { /* "cuda/bindings/_bindings/cydriver.pyx":7041 * global func_ptrs * if func_ptrs is not None: * return func_ptrs # <<<<<<<<<<<<<< * * cuPythonInit() */ __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs); __pyx_r = __pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":7040 * cpdef dict _inspect_function_pointers(): * global func_ptrs * if func_ptrs is not None: # <<<<<<<<<<<<<< * return func_ptrs * */ } /* "cuda/bindings/_bindings/cydriver.pyx":7043 * return func_ptrs * * cuPythonInit() # <<<<<<<<<<<<<< * cdef dict data = {} * */ __pyx_t_2 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver_cuPythonInit(); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 7043, __pyx_L1_error) /* "cuda/bindings/_bindings/cydriver.pyx":7044 * * cuPythonInit() * cdef dict data = {} # <<<<<<<<<<<<<< * * global __cuGetErrorString */ __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7044, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_data = ((PyObject*)__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7047 * * global __cuGetErrorString * data["__cuGetErrorString"] = __cuGetErrorString # <<<<<<<<<<<<<< * global __cuGetErrorName * data["__cuGetErrorName"] = __cuGetErrorName */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorString)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7047, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGetErrorString, __pyx_t_3) < 0))) __PYX_ERR(0, 7047, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7049 * data["__cuGetErrorString"] = __cuGetErrorString * global __cuGetErrorName * data["__cuGetErrorName"] = __cuGetErrorName # <<<<<<<<<<<<<< * global __cuInit * data["__cuInit"] = __cuInit */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorName)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7049, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGetErrorName, __pyx_t_3) < 0))) __PYX_ERR(0, 7049, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7051 * data["__cuGetErrorName"] = __cuGetErrorName * global __cuInit * data["__cuInit"] = __cuInit # <<<<<<<<<<<<<< * global __cuDriverGetVersion * data["__cuDriverGetVersion"] = __cuDriverGetVersion */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuInit)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7051, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuInit, __pyx_t_3) < 0))) __PYX_ERR(0, 7051, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7053 * data["__cuInit"] = __cuInit * global __cuDriverGetVersion * data["__cuDriverGetVersion"] = __cuDriverGetVersion # <<<<<<<<<<<<<< * global __cuDeviceGet * data["__cuDeviceGet"] = __cuDeviceGet */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDriverGetVersion)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7053, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDriverGetVersion, __pyx_t_3) < 0))) __PYX_ERR(0, 7053, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7055 * data["__cuDriverGetVersion"] = __cuDriverGetVersion * global __cuDeviceGet * data["__cuDeviceGet"] = __cuDeviceGet # <<<<<<<<<<<<<< * global __cuDeviceGetCount * data["__cuDeviceGetCount"] = __cuDeviceGetCount */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGet)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7055, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGet, __pyx_t_3) < 0))) __PYX_ERR(0, 7055, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7057 * data["__cuDeviceGet"] = __cuDeviceGet * global __cuDeviceGetCount * data["__cuDeviceGetCount"] = __cuDeviceGetCount # <<<<<<<<<<<<<< * global __cuDeviceGetName * data["__cuDeviceGetName"] = __cuDeviceGetName */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetCount)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7057, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetCount, __pyx_t_3) < 0))) __PYX_ERR(0, 7057, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7059 * data["__cuDeviceGetCount"] = __cuDeviceGetCount * global __cuDeviceGetName * data["__cuDeviceGetName"] = __cuDeviceGetName # <<<<<<<<<<<<<< * global __cuDeviceGetUuid * data["__cuDeviceGetUuid"] = __cuDeviceGetUuid */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetName)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7059, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetName, __pyx_t_3) < 0))) __PYX_ERR(0, 7059, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7061 * data["__cuDeviceGetName"] = __cuDeviceGetName * global __cuDeviceGetUuid * data["__cuDeviceGetUuid"] = __cuDeviceGetUuid # <<<<<<<<<<<<<< * global __cuDeviceGetUuid_v2 * data["__cuDeviceGetUuid_v2"] = __cuDeviceGetUuid_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7061, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetUuid, __pyx_t_3) < 0))) __PYX_ERR(0, 7061, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7063 * data["__cuDeviceGetUuid"] = __cuDeviceGetUuid * global __cuDeviceGetUuid_v2 * data["__cuDeviceGetUuid_v2"] = __cuDeviceGetUuid_v2 # <<<<<<<<<<<<<< * global __cuDeviceGetLuid * data["__cuDeviceGetLuid"] = __cuDeviceGetLuid */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetUuid_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7063, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7065 * data["__cuDeviceGetUuid_v2"] = __cuDeviceGetUuid_v2 * global __cuDeviceGetLuid * data["__cuDeviceGetLuid"] = __cuDeviceGetLuid # <<<<<<<<<<<<<< * global __cuDeviceTotalMem_v2 * data["__cuDeviceTotalMem_v2"] = __cuDeviceTotalMem_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetLuid)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7065, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetLuid, __pyx_t_3) < 0))) __PYX_ERR(0, 7065, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7067 * data["__cuDeviceGetLuid"] = __cuDeviceGetLuid * global __cuDeviceTotalMem_v2 * data["__cuDeviceTotalMem_v2"] = __cuDeviceTotalMem_v2 # <<<<<<<<<<<<<< * global __cuDeviceGetTexture1DLinearMaxWidth * data["__cuDeviceGetTexture1DLinearMaxWidth"] = __cuDeviceGetTexture1DLinearMaxWidth */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceTotalMem_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7067, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceTotalMem_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7067, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7069 * data["__cuDeviceTotalMem_v2"] = __cuDeviceTotalMem_v2 * global __cuDeviceGetTexture1DLinearMaxWidth * data["__cuDeviceGetTexture1DLinearMaxWidth"] = __cuDeviceGetTexture1DLinearMaxWidth # <<<<<<<<<<<<<< * global __cuDeviceGetAttribute * data["__cuDeviceGetAttribute"] = __cuDeviceGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetTexture1DLinearMaxWidth)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7069, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetTexture1DLinearMaxW, __pyx_t_3) < 0))) __PYX_ERR(0, 7069, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7071 * data["__cuDeviceGetTexture1DLinearMaxWidth"] = __cuDeviceGetTexture1DLinearMaxWidth * global __cuDeviceGetAttribute * data["__cuDeviceGetAttribute"] = __cuDeviceGetAttribute # <<<<<<<<<<<<<< * global __cuDeviceGetNvSciSyncAttributes * data["__cuDeviceGetNvSciSyncAttributes"] = __cuDeviceGetNvSciSyncAttributes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7071, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7071, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7073 * data["__cuDeviceGetAttribute"] = __cuDeviceGetAttribute * global __cuDeviceGetNvSciSyncAttributes * data["__cuDeviceGetNvSciSyncAttributes"] = __cuDeviceGetNvSciSyncAttributes # <<<<<<<<<<<<<< * global __cuDeviceSetMemPool * data["__cuDeviceSetMemPool"] = __cuDeviceSetMemPool */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetNvSciSyncAttributes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7073, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetNvSciSyncAttributes, __pyx_t_3) < 0))) __PYX_ERR(0, 7073, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7075 * data["__cuDeviceGetNvSciSyncAttributes"] = __cuDeviceGetNvSciSyncAttributes * global __cuDeviceSetMemPool * data["__cuDeviceSetMemPool"] = __cuDeviceSetMemPool # <<<<<<<<<<<<<< * global __cuDeviceGetMemPool * data["__cuDeviceGetMemPool"] = __cuDeviceGetMemPool */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetMemPool)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7075, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceSetMemPool, __pyx_t_3) < 0))) __PYX_ERR(0, 7075, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7077 * data["__cuDeviceSetMemPool"] = __cuDeviceSetMemPool * global __cuDeviceGetMemPool * data["__cuDeviceGetMemPool"] = __cuDeviceGetMemPool # <<<<<<<<<<<<<< * global __cuDeviceGetDefaultMemPool * data["__cuDeviceGetDefaultMemPool"] = __cuDeviceGetDefaultMemPool */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetMemPool)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7077, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetMemPool, __pyx_t_3) < 0))) __PYX_ERR(0, 7077, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7079 * data["__cuDeviceGetMemPool"] = __cuDeviceGetMemPool * global __cuDeviceGetDefaultMemPool * data["__cuDeviceGetDefaultMemPool"] = __cuDeviceGetDefaultMemPool # <<<<<<<<<<<<<< * global __cuDeviceGetExecAffinitySupport * data["__cuDeviceGetExecAffinitySupport"] = __cuDeviceGetExecAffinitySupport */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDefaultMemPool)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7079, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetDefaultMemPool, __pyx_t_3) < 0))) __PYX_ERR(0, 7079, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7081 * data["__cuDeviceGetDefaultMemPool"] = __cuDeviceGetDefaultMemPool * global __cuDeviceGetExecAffinitySupport * data["__cuDeviceGetExecAffinitySupport"] = __cuDeviceGetExecAffinitySupport # <<<<<<<<<<<<<< * global __cuFlushGPUDirectRDMAWrites * data["__cuFlushGPUDirectRDMAWrites"] = __cuFlushGPUDirectRDMAWrites */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetExecAffinitySupport)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7081, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetExecAffinitySupport, __pyx_t_3) < 0))) __PYX_ERR(0, 7081, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7083 * data["__cuDeviceGetExecAffinitySupport"] = __cuDeviceGetExecAffinitySupport * global __cuFlushGPUDirectRDMAWrites * data["__cuFlushGPUDirectRDMAWrites"] = __cuFlushGPUDirectRDMAWrites # <<<<<<<<<<<<<< * global __cuDeviceGetProperties * data["__cuDeviceGetProperties"] = __cuDeviceGetProperties */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFlushGPUDirectRDMAWrites)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7083, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFlushGPUDirectRDMAWrites, __pyx_t_3) < 0))) __PYX_ERR(0, 7083, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7085 * data["__cuFlushGPUDirectRDMAWrites"] = __cuFlushGPUDirectRDMAWrites * global __cuDeviceGetProperties * data["__cuDeviceGetProperties"] = __cuDeviceGetProperties # <<<<<<<<<<<<<< * global __cuDeviceComputeCapability * data["__cuDeviceComputeCapability"] = __cuDeviceComputeCapability */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetProperties)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7085, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetProperties, __pyx_t_3) < 0))) __PYX_ERR(0, 7085, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7087 * data["__cuDeviceGetProperties"] = __cuDeviceGetProperties * global __cuDeviceComputeCapability * data["__cuDeviceComputeCapability"] = __cuDeviceComputeCapability # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRetain * data["__cuDevicePrimaryCtxRetain"] = __cuDevicePrimaryCtxRetain */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceComputeCapability)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceComputeCapability, __pyx_t_3) < 0))) __PYX_ERR(0, 7087, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7089 * data["__cuDeviceComputeCapability"] = __cuDeviceComputeCapability * global __cuDevicePrimaryCtxRetain * data["__cuDevicePrimaryCtxRetain"] = __cuDevicePrimaryCtxRetain # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxRelease_v2 * data["__cuDevicePrimaryCtxRelease_v2"] = __cuDevicePrimaryCtxRelease_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRetain)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7089, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDevicePrimaryCtxRetain, __pyx_t_3) < 0))) __PYX_ERR(0, 7089, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7091 * data["__cuDevicePrimaryCtxRetain"] = __cuDevicePrimaryCtxRetain * global __cuDevicePrimaryCtxRelease_v2 * data["__cuDevicePrimaryCtxRelease_v2"] = __cuDevicePrimaryCtxRelease_v2 # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxSetFlags_v2 * data["__cuDevicePrimaryCtxSetFlags_v2"] = __cuDevicePrimaryCtxSetFlags_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRelease_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7091, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDevicePrimaryCtxRelease_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7091, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7093 * data["__cuDevicePrimaryCtxRelease_v2"] = __cuDevicePrimaryCtxRelease_v2 * global __cuDevicePrimaryCtxSetFlags_v2 * data["__cuDevicePrimaryCtxSetFlags_v2"] = __cuDevicePrimaryCtxSetFlags_v2 # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxGetState * data["__cuDevicePrimaryCtxGetState"] = __cuDevicePrimaryCtxGetState */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxSetFlags_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7093, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDevicePrimaryCtxSetFlags_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7093, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7095 * data["__cuDevicePrimaryCtxSetFlags_v2"] = __cuDevicePrimaryCtxSetFlags_v2 * global __cuDevicePrimaryCtxGetState * data["__cuDevicePrimaryCtxGetState"] = __cuDevicePrimaryCtxGetState # <<<<<<<<<<<<<< * global __cuDevicePrimaryCtxReset_v2 * data["__cuDevicePrimaryCtxReset_v2"] = __cuDevicePrimaryCtxReset_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxGetState)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7095, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDevicePrimaryCtxGetState, __pyx_t_3) < 0))) __PYX_ERR(0, 7095, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7097 * data["__cuDevicePrimaryCtxGetState"] = __cuDevicePrimaryCtxGetState * global __cuDevicePrimaryCtxReset_v2 * data["__cuDevicePrimaryCtxReset_v2"] = __cuDevicePrimaryCtxReset_v2 # <<<<<<<<<<<<<< * global __cuCtxCreate_v2 * data["__cuCtxCreate_v2"] = __cuCtxCreate_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxReset_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7097, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDevicePrimaryCtxReset_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7097, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7099 * data["__cuDevicePrimaryCtxReset_v2"] = __cuDevicePrimaryCtxReset_v2 * global __cuCtxCreate_v2 * data["__cuCtxCreate_v2"] = __cuCtxCreate_v2 # <<<<<<<<<<<<<< * global __cuCtxCreate_v3 * data["__cuCtxCreate_v3"] = __cuCtxCreate_v3 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7099, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxCreate_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7099, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7101 * data["__cuCtxCreate_v2"] = __cuCtxCreate_v2 * global __cuCtxCreate_v3 * data["__cuCtxCreate_v3"] = __cuCtxCreate_v3 # <<<<<<<<<<<<<< * global __cuCtxCreate_v4 * data["__cuCtxCreate_v4"] = __cuCtxCreate_v4 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v3)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7101, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxCreate_v3, __pyx_t_3) < 0))) __PYX_ERR(0, 7101, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7103 * data["__cuCtxCreate_v3"] = __cuCtxCreate_v3 * global __cuCtxCreate_v4 * data["__cuCtxCreate_v4"] = __cuCtxCreate_v4 # <<<<<<<<<<<<<< * global __cuCtxDestroy_v2 * data["__cuCtxDestroy_v2"] = __cuCtxDestroy_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7103, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxCreate_v4, __pyx_t_3) < 0))) __PYX_ERR(0, 7103, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7105 * data["__cuCtxCreate_v4"] = __cuCtxCreate_v4 * global __cuCtxDestroy_v2 * data["__cuCtxDestroy_v2"] = __cuCtxDestroy_v2 # <<<<<<<<<<<<<< * global __cuCtxPushCurrent_v2 * data["__cuCtxPushCurrent_v2"] = __cuCtxPushCurrent_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDestroy_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7105, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxDestroy_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7105, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7107 * data["__cuCtxDestroy_v2"] = __cuCtxDestroy_v2 * global __cuCtxPushCurrent_v2 * data["__cuCtxPushCurrent_v2"] = __cuCtxPushCurrent_v2 # <<<<<<<<<<<<<< * global __cuCtxPopCurrent_v2 * data["__cuCtxPopCurrent_v2"] = __cuCtxPopCurrent_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPushCurrent_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7107, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxPushCurrent_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7107, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7109 * data["__cuCtxPushCurrent_v2"] = __cuCtxPushCurrent_v2 * global __cuCtxPopCurrent_v2 * data["__cuCtxPopCurrent_v2"] = __cuCtxPopCurrent_v2 # <<<<<<<<<<<<<< * global __cuCtxSetCurrent * data["__cuCtxSetCurrent"] = __cuCtxSetCurrent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPopCurrent_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7109, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxPopCurrent_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7109, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7111 * data["__cuCtxPopCurrent_v2"] = __cuCtxPopCurrent_v2 * global __cuCtxSetCurrent * data["__cuCtxSetCurrent"] = __cuCtxSetCurrent # <<<<<<<<<<<<<< * global __cuCtxGetCurrent * data["__cuCtxGetCurrent"] = __cuCtxGetCurrent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCurrent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7111, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxSetCurrent, __pyx_t_3) < 0))) __PYX_ERR(0, 7111, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7113 * data["__cuCtxSetCurrent"] = __cuCtxSetCurrent * global __cuCtxGetCurrent * data["__cuCtxGetCurrent"] = __cuCtxGetCurrent # <<<<<<<<<<<<<< * global __cuCtxGetDevice * data["__cuCtxGetDevice"] = __cuCtxGetDevice */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCurrent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7113, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetCurrent, __pyx_t_3) < 0))) __PYX_ERR(0, 7113, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7115 * data["__cuCtxGetCurrent"] = __cuCtxGetCurrent * global __cuCtxGetDevice * data["__cuCtxGetDevice"] = __cuCtxGetDevice # <<<<<<<<<<<<<< * global __cuCtxGetFlags * data["__cuCtxGetFlags"] = __cuCtxGetFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevice)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7115, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetDevice, __pyx_t_3) < 0))) __PYX_ERR(0, 7115, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7117 * data["__cuCtxGetDevice"] = __cuCtxGetDevice * global __cuCtxGetFlags * data["__cuCtxGetFlags"] = __cuCtxGetFlags # <<<<<<<<<<<<<< * global __cuCtxSetFlags * data["__cuCtxSetFlags"] = __cuCtxSetFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7117, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7117, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7119 * data["__cuCtxGetFlags"] = __cuCtxGetFlags * global __cuCtxSetFlags * data["__cuCtxSetFlags"] = __cuCtxSetFlags # <<<<<<<<<<<<<< * global __cuCtxGetId * data["__cuCtxGetId"] = __cuCtxGetId */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7119, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxSetFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7119, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7121 * data["__cuCtxSetFlags"] = __cuCtxSetFlags * global __cuCtxGetId * data["__cuCtxGetId"] = __cuCtxGetId # <<<<<<<<<<<<<< * global __cuCtxSynchronize * data["__cuCtxSynchronize"] = __cuCtxSynchronize */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetId)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetId, __pyx_t_3) < 0))) __PYX_ERR(0, 7121, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7123 * data["__cuCtxGetId"] = __cuCtxGetId * global __cuCtxSynchronize * data["__cuCtxSynchronize"] = __cuCtxSynchronize # <<<<<<<<<<<<<< * global __cuCtxSetLimit * data["__cuCtxSetLimit"] = __cuCtxSetLimit */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSynchronize)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxSynchronize, __pyx_t_3) < 0))) __PYX_ERR(0, 7123, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7125 * data["__cuCtxSynchronize"] = __cuCtxSynchronize * global __cuCtxSetLimit * data["__cuCtxSetLimit"] = __cuCtxSetLimit # <<<<<<<<<<<<<< * global __cuCtxGetLimit * data["__cuCtxGetLimit"] = __cuCtxGetLimit */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetLimit)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7125, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxSetLimit, __pyx_t_3) < 0))) __PYX_ERR(0, 7125, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7127 * data["__cuCtxSetLimit"] = __cuCtxSetLimit * global __cuCtxGetLimit * data["__cuCtxGetLimit"] = __cuCtxGetLimit # <<<<<<<<<<<<<< * global __cuCtxGetCacheConfig * data["__cuCtxGetCacheConfig"] = __cuCtxGetCacheConfig */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetLimit)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetLimit, __pyx_t_3) < 0))) __PYX_ERR(0, 7127, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7129 * data["__cuCtxGetLimit"] = __cuCtxGetLimit * global __cuCtxGetCacheConfig * data["__cuCtxGetCacheConfig"] = __cuCtxGetCacheConfig # <<<<<<<<<<<<<< * global __cuCtxSetCacheConfig * data["__cuCtxSetCacheConfig"] = __cuCtxSetCacheConfig */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCacheConfig)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7129, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetCacheConfig, __pyx_t_3) < 0))) __PYX_ERR(0, 7129, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7131 * data["__cuCtxGetCacheConfig"] = __cuCtxGetCacheConfig * global __cuCtxSetCacheConfig * data["__cuCtxSetCacheConfig"] = __cuCtxSetCacheConfig # <<<<<<<<<<<<<< * global __cuCtxGetApiVersion * data["__cuCtxGetApiVersion"] = __cuCtxGetApiVersion */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCacheConfig)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxSetCacheConfig, __pyx_t_3) < 0))) __PYX_ERR(0, 7131, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7133 * data["__cuCtxSetCacheConfig"] = __cuCtxSetCacheConfig * global __cuCtxGetApiVersion * data["__cuCtxGetApiVersion"] = __cuCtxGetApiVersion # <<<<<<<<<<<<<< * global __cuCtxGetStreamPriorityRange * data["__cuCtxGetStreamPriorityRange"] = __cuCtxGetStreamPriorityRange */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetApiVersion)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7133, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetApiVersion, __pyx_t_3) < 0))) __PYX_ERR(0, 7133, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7135 * data["__cuCtxGetApiVersion"] = __cuCtxGetApiVersion * global __cuCtxGetStreamPriorityRange * data["__cuCtxGetStreamPriorityRange"] = __cuCtxGetStreamPriorityRange # <<<<<<<<<<<<<< * global __cuCtxResetPersistingL2Cache * data["__cuCtxResetPersistingL2Cache"] = __cuCtxResetPersistingL2Cache */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetStreamPriorityRange)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7135, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetStreamPriorityRange, __pyx_t_3) < 0))) __PYX_ERR(0, 7135, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7137 * data["__cuCtxGetStreamPriorityRange"] = __cuCtxGetStreamPriorityRange * global __cuCtxResetPersistingL2Cache * data["__cuCtxResetPersistingL2Cache"] = __cuCtxResetPersistingL2Cache # <<<<<<<<<<<<<< * global __cuCtxGetExecAffinity * data["__cuCtxGetExecAffinity"] = __cuCtxGetExecAffinity */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxResetPersistingL2Cache)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7137, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxResetPersistingL2Cache, __pyx_t_3) < 0))) __PYX_ERR(0, 7137, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7139 * data["__cuCtxResetPersistingL2Cache"] = __cuCtxResetPersistingL2Cache * global __cuCtxGetExecAffinity * data["__cuCtxGetExecAffinity"] = __cuCtxGetExecAffinity # <<<<<<<<<<<<<< * global __cuCtxRecordEvent * data["__cuCtxRecordEvent"] = __cuCtxRecordEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetExecAffinity)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7139, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetExecAffinity, __pyx_t_3) < 0))) __PYX_ERR(0, 7139, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7141 * data["__cuCtxGetExecAffinity"] = __cuCtxGetExecAffinity * global __cuCtxRecordEvent * data["__cuCtxRecordEvent"] = __cuCtxRecordEvent # <<<<<<<<<<<<<< * global __cuCtxWaitEvent * data["__cuCtxWaitEvent"] = __cuCtxWaitEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxRecordEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7141, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxRecordEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7141, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7143 * data["__cuCtxRecordEvent"] = __cuCtxRecordEvent * global __cuCtxWaitEvent * data["__cuCtxWaitEvent"] = __cuCtxWaitEvent # <<<<<<<<<<<<<< * global __cuCtxAttach * data["__cuCtxAttach"] = __cuCtxAttach */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxWaitEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7143, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxWaitEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7143, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7145 * data["__cuCtxWaitEvent"] = __cuCtxWaitEvent * global __cuCtxAttach * data["__cuCtxAttach"] = __cuCtxAttach # <<<<<<<<<<<<<< * global __cuCtxDetach * data["__cuCtxDetach"] = __cuCtxDetach */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxAttach)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxAttach, __pyx_t_3) < 0))) __PYX_ERR(0, 7145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7147 * data["__cuCtxAttach"] = __cuCtxAttach * global __cuCtxDetach * data["__cuCtxDetach"] = __cuCtxDetach # <<<<<<<<<<<<<< * global __cuCtxGetSharedMemConfig * data["__cuCtxGetSharedMemConfig"] = __cuCtxGetSharedMemConfig */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDetach)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7147, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxDetach, __pyx_t_3) < 0))) __PYX_ERR(0, 7147, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7149 * data["__cuCtxDetach"] = __cuCtxDetach * global __cuCtxGetSharedMemConfig * data["__cuCtxGetSharedMemConfig"] = __cuCtxGetSharedMemConfig # <<<<<<<<<<<<<< * global __cuCtxSetSharedMemConfig * data["__cuCtxSetSharedMemConfig"] = __cuCtxSetSharedMemConfig */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetSharedMemConfig)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7149, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetSharedMemConfig, __pyx_t_3) < 0))) __PYX_ERR(0, 7149, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7151 * data["__cuCtxGetSharedMemConfig"] = __cuCtxGetSharedMemConfig * global __cuCtxSetSharedMemConfig * data["__cuCtxSetSharedMemConfig"] = __cuCtxSetSharedMemConfig # <<<<<<<<<<<<<< * global __cuModuleLoad * data["__cuModuleLoad"] = __cuModuleLoad */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetSharedMemConfig)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7151, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxSetSharedMemConfig, __pyx_t_3) < 0))) __PYX_ERR(0, 7151, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7153 * data["__cuCtxSetSharedMemConfig"] = __cuCtxSetSharedMemConfig * global __cuModuleLoad * data["__cuModuleLoad"] = __cuModuleLoad # <<<<<<<<<<<<<< * global __cuModuleLoadData * data["__cuModuleLoadData"] = __cuModuleLoadData */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoad)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7153, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleLoad, __pyx_t_3) < 0))) __PYX_ERR(0, 7153, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7155 * data["__cuModuleLoad"] = __cuModuleLoad * global __cuModuleLoadData * data["__cuModuleLoadData"] = __cuModuleLoadData # <<<<<<<<<<<<<< * global __cuModuleLoadDataEx * data["__cuModuleLoadDataEx"] = __cuModuleLoadDataEx */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadData)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7155, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleLoadData, __pyx_t_3) < 0))) __PYX_ERR(0, 7155, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7157 * data["__cuModuleLoadData"] = __cuModuleLoadData * global __cuModuleLoadDataEx * data["__cuModuleLoadDataEx"] = __cuModuleLoadDataEx # <<<<<<<<<<<<<< * global __cuModuleLoadFatBinary * data["__cuModuleLoadFatBinary"] = __cuModuleLoadFatBinary */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadDataEx)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7157, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleLoadDataEx, __pyx_t_3) < 0))) __PYX_ERR(0, 7157, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7159 * data["__cuModuleLoadDataEx"] = __cuModuleLoadDataEx * global __cuModuleLoadFatBinary * data["__cuModuleLoadFatBinary"] = __cuModuleLoadFatBinary # <<<<<<<<<<<<<< * global __cuModuleUnload * data["__cuModuleUnload"] = __cuModuleUnload */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadFatBinary)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7159, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleLoadFatBinary, __pyx_t_3) < 0))) __PYX_ERR(0, 7159, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7161 * data["__cuModuleLoadFatBinary"] = __cuModuleLoadFatBinary * global __cuModuleUnload * data["__cuModuleUnload"] = __cuModuleUnload # <<<<<<<<<<<<<< * global __cuModuleGetLoadingMode * data["__cuModuleGetLoadingMode"] = __cuModuleGetLoadingMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleUnload)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7161, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleUnload, __pyx_t_3) < 0))) __PYX_ERR(0, 7161, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7163 * data["__cuModuleUnload"] = __cuModuleUnload * global __cuModuleGetLoadingMode * data["__cuModuleGetLoadingMode"] = __cuModuleGetLoadingMode # <<<<<<<<<<<<<< * global __cuModuleGetFunction * data["__cuModuleGetFunction"] = __cuModuleGetFunction */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetLoadingMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7163, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleGetLoadingMode, __pyx_t_3) < 0))) __PYX_ERR(0, 7163, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7165 * data["__cuModuleGetLoadingMode"] = __cuModuleGetLoadingMode * global __cuModuleGetFunction * data["__cuModuleGetFunction"] = __cuModuleGetFunction # <<<<<<<<<<<<<< * global __cuModuleGetFunctionCount * data["__cuModuleGetFunctionCount"] = __cuModuleGetFunctionCount */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunction)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7165, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleGetFunction, __pyx_t_3) < 0))) __PYX_ERR(0, 7165, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7167 * data["__cuModuleGetFunction"] = __cuModuleGetFunction * global __cuModuleGetFunctionCount * data["__cuModuleGetFunctionCount"] = __cuModuleGetFunctionCount # <<<<<<<<<<<<<< * global __cuModuleEnumerateFunctions * data["__cuModuleEnumerateFunctions"] = __cuModuleEnumerateFunctions */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunctionCount)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7167, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleGetFunctionCount, __pyx_t_3) < 0))) __PYX_ERR(0, 7167, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7169 * data["__cuModuleGetFunctionCount"] = __cuModuleGetFunctionCount * global __cuModuleEnumerateFunctions * data["__cuModuleEnumerateFunctions"] = __cuModuleEnumerateFunctions # <<<<<<<<<<<<<< * global __cuModuleGetGlobal_v2 * data["__cuModuleGetGlobal_v2"] = __cuModuleGetGlobal_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleEnumerateFunctions)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7169, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleEnumerateFunctions, __pyx_t_3) < 0))) __PYX_ERR(0, 7169, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7171 * data["__cuModuleEnumerateFunctions"] = __cuModuleEnumerateFunctions * global __cuModuleGetGlobal_v2 * data["__cuModuleGetGlobal_v2"] = __cuModuleGetGlobal_v2 # <<<<<<<<<<<<<< * global __cuLinkCreate_v2 * data["__cuLinkCreate_v2"] = __cuLinkCreate_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetGlobal_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7171, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleGetGlobal_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7171, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7173 * data["__cuModuleGetGlobal_v2"] = __cuModuleGetGlobal_v2 * global __cuLinkCreate_v2 * data["__cuLinkCreate_v2"] = __cuLinkCreate_v2 # <<<<<<<<<<<<<< * global __cuLinkAddData_v2 * data["__cuLinkAddData_v2"] = __cuLinkAddData_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkCreate_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7173, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLinkCreate_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7173, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7175 * data["__cuLinkCreate_v2"] = __cuLinkCreate_v2 * global __cuLinkAddData_v2 * data["__cuLinkAddData_v2"] = __cuLinkAddData_v2 # <<<<<<<<<<<<<< * global __cuLinkAddFile_v2 * data["__cuLinkAddFile_v2"] = __cuLinkAddFile_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddData_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7175, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLinkAddData_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7175, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7177 * data["__cuLinkAddData_v2"] = __cuLinkAddData_v2 * global __cuLinkAddFile_v2 * data["__cuLinkAddFile_v2"] = __cuLinkAddFile_v2 # <<<<<<<<<<<<<< * global __cuLinkComplete * data["__cuLinkComplete"] = __cuLinkComplete */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddFile_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7177, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLinkAddFile_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7177, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7179 * data["__cuLinkAddFile_v2"] = __cuLinkAddFile_v2 * global __cuLinkComplete * data["__cuLinkComplete"] = __cuLinkComplete # <<<<<<<<<<<<<< * global __cuLinkDestroy * data["__cuLinkDestroy"] = __cuLinkDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkComplete)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7179, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLinkComplete, __pyx_t_3) < 0))) __PYX_ERR(0, 7179, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7181 * data["__cuLinkComplete"] = __cuLinkComplete * global __cuLinkDestroy * data["__cuLinkDestroy"] = __cuLinkDestroy # <<<<<<<<<<<<<< * global __cuModuleGetTexRef * data["__cuModuleGetTexRef"] = __cuModuleGetTexRef */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7181, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLinkDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7181, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7183 * data["__cuLinkDestroy"] = __cuLinkDestroy * global __cuModuleGetTexRef * data["__cuModuleGetTexRef"] = __cuModuleGetTexRef # <<<<<<<<<<<<<< * global __cuModuleGetSurfRef * data["__cuModuleGetSurfRef"] = __cuModuleGetSurfRef */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetTexRef)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7183, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleGetTexRef, __pyx_t_3) < 0))) __PYX_ERR(0, 7183, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7185 * data["__cuModuleGetTexRef"] = __cuModuleGetTexRef * global __cuModuleGetSurfRef * data["__cuModuleGetSurfRef"] = __cuModuleGetSurfRef # <<<<<<<<<<<<<< * global __cuLibraryLoadData * data["__cuLibraryLoadData"] = __cuLibraryLoadData */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetSurfRef)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7185, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuModuleGetSurfRef, __pyx_t_3) < 0))) __PYX_ERR(0, 7185, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7187 * data["__cuModuleGetSurfRef"] = __cuModuleGetSurfRef * global __cuLibraryLoadData * data["__cuLibraryLoadData"] = __cuLibraryLoadData # <<<<<<<<<<<<<< * global __cuLibraryLoadFromFile * data["__cuLibraryLoadFromFile"] = __cuLibraryLoadFromFile */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadData)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7187, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryLoadData, __pyx_t_3) < 0))) __PYX_ERR(0, 7187, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7189 * data["__cuLibraryLoadData"] = __cuLibraryLoadData * global __cuLibraryLoadFromFile * data["__cuLibraryLoadFromFile"] = __cuLibraryLoadFromFile # <<<<<<<<<<<<<< * global __cuLibraryUnload * data["__cuLibraryUnload"] = __cuLibraryUnload */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadFromFile)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryLoadFromFile, __pyx_t_3) < 0))) __PYX_ERR(0, 7189, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7191 * data["__cuLibraryLoadFromFile"] = __cuLibraryLoadFromFile * global __cuLibraryUnload * data["__cuLibraryUnload"] = __cuLibraryUnload # <<<<<<<<<<<<<< * global __cuLibraryGetKernel * data["__cuLibraryGetKernel"] = __cuLibraryGetKernel */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryUnload)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7191, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryUnload, __pyx_t_3) < 0))) __PYX_ERR(0, 7191, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7193 * data["__cuLibraryUnload"] = __cuLibraryUnload * global __cuLibraryGetKernel * data["__cuLibraryGetKernel"] = __cuLibraryGetKernel # <<<<<<<<<<<<<< * global __cuLibraryGetKernelCount * data["__cuLibraryGetKernelCount"] = __cuLibraryGetKernelCount */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernel)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7193, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryGetKernel, __pyx_t_3) < 0))) __PYX_ERR(0, 7193, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7195 * data["__cuLibraryGetKernel"] = __cuLibraryGetKernel * global __cuLibraryGetKernelCount * data["__cuLibraryGetKernelCount"] = __cuLibraryGetKernelCount # <<<<<<<<<<<<<< * global __cuLibraryEnumerateKernels * data["__cuLibraryEnumerateKernels"] = __cuLibraryEnumerateKernels */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernelCount)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7195, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryGetKernelCount, __pyx_t_3) < 0))) __PYX_ERR(0, 7195, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7197 * data["__cuLibraryGetKernelCount"] = __cuLibraryGetKernelCount * global __cuLibraryEnumerateKernels * data["__cuLibraryEnumerateKernels"] = __cuLibraryEnumerateKernels # <<<<<<<<<<<<<< * global __cuLibraryGetModule * data["__cuLibraryGetModule"] = __cuLibraryGetModule */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryEnumerateKernels)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7197, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryEnumerateKernels, __pyx_t_3) < 0))) __PYX_ERR(0, 7197, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7199 * data["__cuLibraryEnumerateKernels"] = __cuLibraryEnumerateKernels * global __cuLibraryGetModule * data["__cuLibraryGetModule"] = __cuLibraryGetModule # <<<<<<<<<<<<<< * global __cuKernelGetFunction * data["__cuKernelGetFunction"] = __cuKernelGetFunction */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetModule)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryGetModule, __pyx_t_3) < 0))) __PYX_ERR(0, 7199, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7201 * data["__cuLibraryGetModule"] = __cuLibraryGetModule * global __cuKernelGetFunction * data["__cuKernelGetFunction"] = __cuKernelGetFunction # <<<<<<<<<<<<<< * global __cuKernelGetLibrary * data["__cuKernelGetLibrary"] = __cuKernelGetLibrary */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetFunction)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7201, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuKernelGetFunction, __pyx_t_3) < 0))) __PYX_ERR(0, 7201, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7203 * data["__cuKernelGetFunction"] = __cuKernelGetFunction * global __cuKernelGetLibrary * data["__cuKernelGetLibrary"] = __cuKernelGetLibrary # <<<<<<<<<<<<<< * global __cuLibraryGetGlobal * data["__cuLibraryGetGlobal"] = __cuLibraryGetGlobal */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetLibrary)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7203, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuKernelGetLibrary, __pyx_t_3) < 0))) __PYX_ERR(0, 7203, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7205 * data["__cuKernelGetLibrary"] = __cuKernelGetLibrary * global __cuLibraryGetGlobal * data["__cuLibraryGetGlobal"] = __cuLibraryGetGlobal # <<<<<<<<<<<<<< * global __cuLibraryGetManaged * data["__cuLibraryGetManaged"] = __cuLibraryGetManaged */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetGlobal)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryGetGlobal, __pyx_t_3) < 0))) __PYX_ERR(0, 7205, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7207 * data["__cuLibraryGetGlobal"] = __cuLibraryGetGlobal * global __cuLibraryGetManaged * data["__cuLibraryGetManaged"] = __cuLibraryGetManaged # <<<<<<<<<<<<<< * global __cuLibraryGetUnifiedFunction * data["__cuLibraryGetUnifiedFunction"] = __cuLibraryGetUnifiedFunction */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetManaged)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7207, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryGetManaged, __pyx_t_3) < 0))) __PYX_ERR(0, 7207, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7209 * data["__cuLibraryGetManaged"] = __cuLibraryGetManaged * global __cuLibraryGetUnifiedFunction * data["__cuLibraryGetUnifiedFunction"] = __cuLibraryGetUnifiedFunction # <<<<<<<<<<<<<< * global __cuKernelGetAttribute * data["__cuKernelGetAttribute"] = __cuKernelGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetUnifiedFunction)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7209, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLibraryGetUnifiedFunction, __pyx_t_3) < 0))) __PYX_ERR(0, 7209, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7211 * data["__cuLibraryGetUnifiedFunction"] = __cuLibraryGetUnifiedFunction * global __cuKernelGetAttribute * data["__cuKernelGetAttribute"] = __cuKernelGetAttribute # <<<<<<<<<<<<<< * global __cuKernelSetAttribute * data["__cuKernelSetAttribute"] = __cuKernelSetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7211, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuKernelGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7211, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7213 * data["__cuKernelGetAttribute"] = __cuKernelGetAttribute * global __cuKernelSetAttribute * data["__cuKernelSetAttribute"] = __cuKernelSetAttribute # <<<<<<<<<<<<<< * global __cuKernelSetCacheConfig * data["__cuKernelSetCacheConfig"] = __cuKernelSetCacheConfig */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7213, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuKernelSetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7213, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7215 * data["__cuKernelSetAttribute"] = __cuKernelSetAttribute * global __cuKernelSetCacheConfig * data["__cuKernelSetCacheConfig"] = __cuKernelSetCacheConfig # <<<<<<<<<<<<<< * global __cuKernelGetName * data["__cuKernelGetName"] = __cuKernelGetName */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetCacheConfig)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7215, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuKernelSetCacheConfig, __pyx_t_3) < 0))) __PYX_ERR(0, 7215, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7217 * data["__cuKernelSetCacheConfig"] = __cuKernelSetCacheConfig * global __cuKernelGetName * data["__cuKernelGetName"] = __cuKernelGetName # <<<<<<<<<<<<<< * global __cuKernelGetParamInfo * data["__cuKernelGetParamInfo"] = __cuKernelGetParamInfo */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetName)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7217, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuKernelGetName, __pyx_t_3) < 0))) __PYX_ERR(0, 7217, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7219 * data["__cuKernelGetName"] = __cuKernelGetName * global __cuKernelGetParamInfo * data["__cuKernelGetParamInfo"] = __cuKernelGetParamInfo # <<<<<<<<<<<<<< * global __cuMemGetInfo_v2 * data["__cuMemGetInfo_v2"] = __cuMemGetInfo_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetParamInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7219, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuKernelGetParamInfo, __pyx_t_3) < 0))) __PYX_ERR(0, 7219, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7221 * data["__cuKernelGetParamInfo"] = __cuKernelGetParamInfo * global __cuMemGetInfo_v2 * data["__cuMemGetInfo_v2"] = __cuMemGetInfo_v2 # <<<<<<<<<<<<<< * global __cuMemAlloc_v2 * data["__cuMemAlloc_v2"] = __cuMemAlloc_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetInfo_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7221, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemGetInfo_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7221, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7223 * data["__cuMemGetInfo_v2"] = __cuMemGetInfo_v2 * global __cuMemAlloc_v2 * data["__cuMemAlloc_v2"] = __cuMemAlloc_v2 # <<<<<<<<<<<<<< * global __cuMemAllocPitch_v2 * data["__cuMemAllocPitch_v2"] = __cuMemAllocPitch_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAlloc_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7223, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAlloc_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7223, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7225 * data["__cuMemAlloc_v2"] = __cuMemAlloc_v2 * global __cuMemAllocPitch_v2 * data["__cuMemAllocPitch_v2"] = __cuMemAllocPitch_v2 # <<<<<<<<<<<<<< * global __cuMemFree_v2 * data["__cuMemFree_v2"] = __cuMemFree_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocPitch_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7225, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAllocPitch_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7225, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7227 * data["__cuMemAllocPitch_v2"] = __cuMemAllocPitch_v2 * global __cuMemFree_v2 * data["__cuMemFree_v2"] = __cuMemFree_v2 # <<<<<<<<<<<<<< * global __cuMemGetAddressRange_v2 * data["__cuMemGetAddressRange_v2"] = __cuMemGetAddressRange_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFree_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7227, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemFree_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7227, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7229 * data["__cuMemFree_v2"] = __cuMemFree_v2 * global __cuMemGetAddressRange_v2 * data["__cuMemGetAddressRange_v2"] = __cuMemGetAddressRange_v2 # <<<<<<<<<<<<<< * global __cuMemAllocHost_v2 * data["__cuMemAllocHost_v2"] = __cuMemAllocHost_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAddressRange_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7229, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemGetAddressRange_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7229, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7231 * data["__cuMemGetAddressRange_v2"] = __cuMemGetAddressRange_v2 * global __cuMemAllocHost_v2 * data["__cuMemAllocHost_v2"] = __cuMemAllocHost_v2 # <<<<<<<<<<<<<< * global __cuMemFreeHost * data["__cuMemFreeHost"] = __cuMemFreeHost */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocHost_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7231, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAllocHost_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7231, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7233 * data["__cuMemAllocHost_v2"] = __cuMemAllocHost_v2 * global __cuMemFreeHost * data["__cuMemFreeHost"] = __cuMemFreeHost # <<<<<<<<<<<<<< * global __cuMemHostAlloc * data["__cuMemHostAlloc"] = __cuMemHostAlloc */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeHost)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7233, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemFreeHost, __pyx_t_3) < 0))) __PYX_ERR(0, 7233, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7235 * data["__cuMemFreeHost"] = __cuMemFreeHost * global __cuMemHostAlloc * data["__cuMemHostAlloc"] = __cuMemHostAlloc # <<<<<<<<<<<<<< * global __cuMemHostGetDevicePointer_v2 * data["__cuMemHostGetDevicePointer_v2"] = __cuMemHostGetDevicePointer_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostAlloc)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7235, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemHostAlloc, __pyx_t_3) < 0))) __PYX_ERR(0, 7235, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7237 * data["__cuMemHostAlloc"] = __cuMemHostAlloc * global __cuMemHostGetDevicePointer_v2 * data["__cuMemHostGetDevicePointer_v2"] = __cuMemHostGetDevicePointer_v2 # <<<<<<<<<<<<<< * global __cuMemHostGetFlags * data["__cuMemHostGetFlags"] = __cuMemHostGetFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetDevicePointer_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7237, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemHostGetDevicePointer_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7237, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7239 * data["__cuMemHostGetDevicePointer_v2"] = __cuMemHostGetDevicePointer_v2 * global __cuMemHostGetFlags * data["__cuMemHostGetFlags"] = __cuMemHostGetFlags # <<<<<<<<<<<<<< * global __cuMemAllocManaged * data["__cuMemAllocManaged"] = __cuMemAllocManaged */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7239, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemHostGetFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7239, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7241 * data["__cuMemHostGetFlags"] = __cuMemHostGetFlags * global __cuMemAllocManaged * data["__cuMemAllocManaged"] = __cuMemAllocManaged # <<<<<<<<<<<<<< * global __cuDeviceRegisterAsyncNotification * data["__cuDeviceRegisterAsyncNotification"] = __cuDeviceRegisterAsyncNotification */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocManaged)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7241, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAllocManaged, __pyx_t_3) < 0))) __PYX_ERR(0, 7241, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7243 * data["__cuMemAllocManaged"] = __cuMemAllocManaged * global __cuDeviceRegisterAsyncNotification * data["__cuDeviceRegisterAsyncNotification"] = __cuDeviceRegisterAsyncNotification # <<<<<<<<<<<<<< * global __cuDeviceUnregisterAsyncNotification * data["__cuDeviceUnregisterAsyncNotification"] = __cuDeviceUnregisterAsyncNotification */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceRegisterAsyncNotification)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7243, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceRegisterAsyncNotificat, __pyx_t_3) < 0))) __PYX_ERR(0, 7243, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7245 * data["__cuDeviceRegisterAsyncNotification"] = __cuDeviceRegisterAsyncNotification * global __cuDeviceUnregisterAsyncNotification * data["__cuDeviceUnregisterAsyncNotification"] = __cuDeviceUnregisterAsyncNotification # <<<<<<<<<<<<<< * global __cuDeviceGetByPCIBusId * data["__cuDeviceGetByPCIBusId"] = __cuDeviceGetByPCIBusId */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceUnregisterAsyncNotification)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7245, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceUnregisterAsyncNotific, __pyx_t_3) < 0))) __PYX_ERR(0, 7245, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7247 * data["__cuDeviceUnregisterAsyncNotification"] = __cuDeviceUnregisterAsyncNotification * global __cuDeviceGetByPCIBusId * data["__cuDeviceGetByPCIBusId"] = __cuDeviceGetByPCIBusId # <<<<<<<<<<<<<< * global __cuDeviceGetPCIBusId * data["__cuDeviceGetPCIBusId"] = __cuDeviceGetPCIBusId */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetByPCIBusId)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7247, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetByPCIBusId, __pyx_t_3) < 0))) __PYX_ERR(0, 7247, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7249 * data["__cuDeviceGetByPCIBusId"] = __cuDeviceGetByPCIBusId * global __cuDeviceGetPCIBusId * data["__cuDeviceGetPCIBusId"] = __cuDeviceGetPCIBusId # <<<<<<<<<<<<<< * global __cuIpcGetEventHandle * data["__cuIpcGetEventHandle"] = __cuIpcGetEventHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetPCIBusId)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7249, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetPCIBusId, __pyx_t_3) < 0))) __PYX_ERR(0, 7249, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7251 * data["__cuDeviceGetPCIBusId"] = __cuDeviceGetPCIBusId * global __cuIpcGetEventHandle * data["__cuIpcGetEventHandle"] = __cuIpcGetEventHandle # <<<<<<<<<<<<<< * global __cuIpcOpenEventHandle * data["__cuIpcOpenEventHandle"] = __cuIpcOpenEventHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetEventHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuIpcGetEventHandle, __pyx_t_3) < 0))) __PYX_ERR(0, 7251, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7253 * data["__cuIpcGetEventHandle"] = __cuIpcGetEventHandle * global __cuIpcOpenEventHandle * data["__cuIpcOpenEventHandle"] = __cuIpcOpenEventHandle # <<<<<<<<<<<<<< * global __cuIpcGetMemHandle * data["__cuIpcGetMemHandle"] = __cuIpcGetMemHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenEventHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7253, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuIpcOpenEventHandle, __pyx_t_3) < 0))) __PYX_ERR(0, 7253, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7255 * data["__cuIpcOpenEventHandle"] = __cuIpcOpenEventHandle * global __cuIpcGetMemHandle * data["__cuIpcGetMemHandle"] = __cuIpcGetMemHandle # <<<<<<<<<<<<<< * global __cuIpcOpenMemHandle_v2 * data["__cuIpcOpenMemHandle_v2"] = __cuIpcOpenMemHandle_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetMemHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7255, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuIpcGetMemHandle, __pyx_t_3) < 0))) __PYX_ERR(0, 7255, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7257 * data["__cuIpcGetMemHandle"] = __cuIpcGetMemHandle * global __cuIpcOpenMemHandle_v2 * data["__cuIpcOpenMemHandle_v2"] = __cuIpcOpenMemHandle_v2 # <<<<<<<<<<<<<< * global __cuIpcCloseMemHandle * data["__cuIpcCloseMemHandle"] = __cuIpcCloseMemHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenMemHandle_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7257, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuIpcOpenMemHandle_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7257, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7259 * data["__cuIpcOpenMemHandle_v2"] = __cuIpcOpenMemHandle_v2 * global __cuIpcCloseMemHandle * data["__cuIpcCloseMemHandle"] = __cuIpcCloseMemHandle # <<<<<<<<<<<<<< * global __cuMemHostRegister_v2 * data["__cuMemHostRegister_v2"] = __cuMemHostRegister_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcCloseMemHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuIpcCloseMemHandle, __pyx_t_3) < 0))) __PYX_ERR(0, 7259, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7261 * data["__cuIpcCloseMemHandle"] = __cuIpcCloseMemHandle * global __cuMemHostRegister_v2 * data["__cuMemHostRegister_v2"] = __cuMemHostRegister_v2 # <<<<<<<<<<<<<< * global __cuMemHostUnregister * data["__cuMemHostUnregister"] = __cuMemHostUnregister */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostRegister_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7261, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemHostRegister_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7261, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7263 * data["__cuMemHostRegister_v2"] = __cuMemHostRegister_v2 * global __cuMemHostUnregister * data["__cuMemHostUnregister"] = __cuMemHostUnregister # <<<<<<<<<<<<<< * global __cuMemcpy * data["__cuMemcpy"] = __cuMemcpy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostUnregister)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7263, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemHostUnregister, __pyx_t_3) < 0))) __PYX_ERR(0, 7263, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7265 * data["__cuMemHostUnregister"] = __cuMemHostUnregister * global __cuMemcpy * data["__cuMemcpy"] = __cuMemcpy # <<<<<<<<<<<<<< * global __cuMemcpyPeer * data["__cuMemcpyPeer"] = __cuMemcpyPeer */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7265, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy, __pyx_t_3) < 0))) __PYX_ERR(0, 7265, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7267 * data["__cuMemcpy"] = __cuMemcpy * global __cuMemcpyPeer * data["__cuMemcpyPeer"] = __cuMemcpyPeer # <<<<<<<<<<<<<< * global __cuMemcpyHtoD_v2 * data["__cuMemcpyHtoD_v2"] = __cuMemcpyHtoD_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyPeer, __pyx_t_3) < 0))) __PYX_ERR(0, 7267, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7269 * data["__cuMemcpyPeer"] = __cuMemcpyPeer * global __cuMemcpyHtoD_v2 * data["__cuMemcpyHtoD_v2"] = __cuMemcpyHtoD_v2 # <<<<<<<<<<<<<< * global __cuMemcpyDtoH_v2 * data["__cuMemcpyDtoH_v2"] = __cuMemcpyDtoH_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7269, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyHtoD_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7269, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7271 * data["__cuMemcpyHtoD_v2"] = __cuMemcpyHtoD_v2 * global __cuMemcpyDtoH_v2 * data["__cuMemcpyDtoH_v2"] = __cuMemcpyDtoH_v2 # <<<<<<<<<<<<<< * global __cuMemcpyDtoD_v2 * data["__cuMemcpyDtoD_v2"] = __cuMemcpyDtoD_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7271, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyDtoH_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7271, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7273 * data["__cuMemcpyDtoH_v2"] = __cuMemcpyDtoH_v2 * global __cuMemcpyDtoD_v2 * data["__cuMemcpyDtoD_v2"] = __cuMemcpyDtoD_v2 # <<<<<<<<<<<<<< * global __cuMemcpyDtoA_v2 * data["__cuMemcpyDtoA_v2"] = __cuMemcpyDtoA_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7273, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyDtoD_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7273, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7275 * data["__cuMemcpyDtoD_v2"] = __cuMemcpyDtoD_v2 * global __cuMemcpyDtoA_v2 * data["__cuMemcpyDtoA_v2"] = __cuMemcpyDtoA_v2 # <<<<<<<<<<<<<< * global __cuMemcpyAtoD_v2 * data["__cuMemcpyAtoD_v2"] = __cuMemcpyAtoD_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7275, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyDtoA_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7275, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7277 * data["__cuMemcpyDtoA_v2"] = __cuMemcpyDtoA_v2 * global __cuMemcpyAtoD_v2 * data["__cuMemcpyAtoD_v2"] = __cuMemcpyAtoD_v2 # <<<<<<<<<<<<<< * global __cuMemcpyHtoA_v2 * data["__cuMemcpyHtoA_v2"] = __cuMemcpyHtoA_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7277, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyAtoD_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7277, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7279 * data["__cuMemcpyAtoD_v2"] = __cuMemcpyAtoD_v2 * global __cuMemcpyHtoA_v2 * data["__cuMemcpyHtoA_v2"] = __cuMemcpyHtoA_v2 # <<<<<<<<<<<<<< * global __cuMemcpyAtoH_v2 * data["__cuMemcpyAtoH_v2"] = __cuMemcpyAtoH_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7279, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyHtoA_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7279, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7281 * data["__cuMemcpyHtoA_v2"] = __cuMemcpyHtoA_v2 * global __cuMemcpyAtoH_v2 * data["__cuMemcpyAtoH_v2"] = __cuMemcpyAtoH_v2 # <<<<<<<<<<<<<< * global __cuMemcpyAtoA_v2 * data["__cuMemcpyAtoA_v2"] = __cuMemcpyAtoA_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7281, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyAtoH_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7281, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7283 * data["__cuMemcpyAtoH_v2"] = __cuMemcpyAtoH_v2 * global __cuMemcpyAtoA_v2 * data["__cuMemcpyAtoA_v2"] = __cuMemcpyAtoA_v2 # <<<<<<<<<<<<<< * global __cuMemcpy2D_v2 * data["__cuMemcpy2D_v2"] = __cuMemcpy2D_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7283, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyAtoA_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7283, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7285 * data["__cuMemcpyAtoA_v2"] = __cuMemcpyAtoA_v2 * global __cuMemcpy2D_v2 * data["__cuMemcpy2D_v2"] = __cuMemcpy2D_v2 # <<<<<<<<<<<<<< * global __cuMemcpy2DUnaligned_v2 * data["__cuMemcpy2DUnaligned_v2"] = __cuMemcpy2DUnaligned_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7285, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy2D_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7285, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7287 * data["__cuMemcpy2D_v2"] = __cuMemcpy2D_v2 * global __cuMemcpy2DUnaligned_v2 * data["__cuMemcpy2DUnaligned_v2"] = __cuMemcpy2DUnaligned_v2 # <<<<<<<<<<<<<< * global __cuMemcpy3D_v2 * data["__cuMemcpy3D_v2"] = __cuMemcpy3D_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7287, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy2DUnaligned_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7287, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7289 * data["__cuMemcpy2DUnaligned_v2"] = __cuMemcpy2DUnaligned_v2 * global __cuMemcpy3D_v2 * data["__cuMemcpy3D_v2"] = __cuMemcpy3D_v2 # <<<<<<<<<<<<<< * global __cuMemcpy3DPeer * data["__cuMemcpy3DPeer"] = __cuMemcpy3DPeer */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7289, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy3D_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7289, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7291 * data["__cuMemcpy3D_v2"] = __cuMemcpy3D_v2 * global __cuMemcpy3DPeer * data["__cuMemcpy3DPeer"] = __cuMemcpy3DPeer # <<<<<<<<<<<<<< * global __cuMemcpyAsync * data["__cuMemcpyAsync"] = __cuMemcpyAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7291, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy3DPeer, __pyx_t_3) < 0))) __PYX_ERR(0, 7291, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7293 * data["__cuMemcpy3DPeer"] = __cuMemcpy3DPeer * global __cuMemcpyAsync * data["__cuMemcpyAsync"] = __cuMemcpyAsync # <<<<<<<<<<<<<< * global __cuMemcpyPeerAsync * data["__cuMemcpyPeerAsync"] = __cuMemcpyPeerAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7293, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7295 * data["__cuMemcpyAsync"] = __cuMemcpyAsync * global __cuMemcpyPeerAsync * data["__cuMemcpyPeerAsync"] = __cuMemcpyPeerAsync # <<<<<<<<<<<<<< * global __cuMemcpyHtoDAsync_v2 * data["__cuMemcpyHtoDAsync_v2"] = __cuMemcpyHtoDAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyPeerAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7297 * data["__cuMemcpyPeerAsync"] = __cuMemcpyPeerAsync * global __cuMemcpyHtoDAsync_v2 * data["__cuMemcpyHtoDAsync_v2"] = __cuMemcpyHtoDAsync_v2 # <<<<<<<<<<<<<< * global __cuMemcpyDtoHAsync_v2 * data["__cuMemcpyDtoHAsync_v2"] = __cuMemcpyDtoHAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7297, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyHtoDAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7297, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7299 * data["__cuMemcpyHtoDAsync_v2"] = __cuMemcpyHtoDAsync_v2 * global __cuMemcpyDtoHAsync_v2 * data["__cuMemcpyDtoHAsync_v2"] = __cuMemcpyDtoHAsync_v2 # <<<<<<<<<<<<<< * global __cuMemcpyDtoDAsync_v2 * data["__cuMemcpyDtoDAsync_v2"] = __cuMemcpyDtoDAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7299, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyDtoHAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7299, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7301 * data["__cuMemcpyDtoHAsync_v2"] = __cuMemcpyDtoHAsync_v2 * global __cuMemcpyDtoDAsync_v2 * data["__cuMemcpyDtoDAsync_v2"] = __cuMemcpyDtoDAsync_v2 # <<<<<<<<<<<<<< * global __cuMemcpyHtoAAsync_v2 * data["__cuMemcpyHtoAAsync_v2"] = __cuMemcpyHtoAAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7301, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyDtoDAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7301, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7303 * data["__cuMemcpyDtoDAsync_v2"] = __cuMemcpyDtoDAsync_v2 * global __cuMemcpyHtoAAsync_v2 * data["__cuMemcpyHtoAAsync_v2"] = __cuMemcpyHtoAAsync_v2 # <<<<<<<<<<<<<< * global __cuMemcpyAtoHAsync_v2 * data["__cuMemcpyAtoHAsync_v2"] = __cuMemcpyAtoHAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7303, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyHtoAAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7303, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7305 * data["__cuMemcpyHtoAAsync_v2"] = __cuMemcpyHtoAAsync_v2 * global __cuMemcpyAtoHAsync_v2 * data["__cuMemcpyAtoHAsync_v2"] = __cuMemcpyAtoHAsync_v2 # <<<<<<<<<<<<<< * global __cuMemcpy2DAsync_v2 * data["__cuMemcpy2DAsync_v2"] = __cuMemcpy2DAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7305, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyAtoHAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7305, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7307 * data["__cuMemcpyAtoHAsync_v2"] = __cuMemcpyAtoHAsync_v2 * global __cuMemcpy2DAsync_v2 * data["__cuMemcpy2DAsync_v2"] = __cuMemcpy2DAsync_v2 # <<<<<<<<<<<<<< * global __cuMemcpy3DAsync_v2 * data["__cuMemcpy3DAsync_v2"] = __cuMemcpy3DAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7307, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy2DAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7307, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7309 * data["__cuMemcpy2DAsync_v2"] = __cuMemcpy2DAsync_v2 * global __cuMemcpy3DAsync_v2 * data["__cuMemcpy3DAsync_v2"] = __cuMemcpy3DAsync_v2 # <<<<<<<<<<<<<< * global __cuMemcpy3DPeerAsync * data["__cuMemcpy3DPeerAsync"] = __cuMemcpy3DPeerAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7309, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy3DAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7309, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7311 * data["__cuMemcpy3DAsync_v2"] = __cuMemcpy3DAsync_v2 * global __cuMemcpy3DPeerAsync * data["__cuMemcpy3DPeerAsync"] = __cuMemcpy3DPeerAsync # <<<<<<<<<<<<<< * global __cuMemcpyBatchAsync * data["__cuMemcpyBatchAsync"] = __cuMemcpyBatchAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7311, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy3DPeerAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7311, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7313 * data["__cuMemcpy3DPeerAsync"] = __cuMemcpy3DPeerAsync * global __cuMemcpyBatchAsync * data["__cuMemcpyBatchAsync"] = __cuMemcpyBatchAsync # <<<<<<<<<<<<<< * global __cuMemcpy3DBatchAsync * data["__cuMemcpy3DBatchAsync"] = __cuMemcpy3DBatchAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7313, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpyBatchAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7313, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7315 * data["__cuMemcpyBatchAsync"] = __cuMemcpyBatchAsync * global __cuMemcpy3DBatchAsync * data["__cuMemcpy3DBatchAsync"] = __cuMemcpy3DBatchAsync # <<<<<<<<<<<<<< * global __cuMemsetD8_v2 * data["__cuMemsetD8_v2"] = __cuMemsetD8_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7315, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemcpy3DBatchAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7315, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7317 * data["__cuMemcpy3DBatchAsync"] = __cuMemcpy3DBatchAsync * global __cuMemsetD8_v2 * data["__cuMemsetD8_v2"] = __cuMemsetD8_v2 # <<<<<<<<<<<<<< * global __cuMemsetD16_v2 * data["__cuMemsetD16_v2"] = __cuMemsetD16_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7317, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD8_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7317, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7319 * data["__cuMemsetD8_v2"] = __cuMemsetD8_v2 * global __cuMemsetD16_v2 * data["__cuMemsetD16_v2"] = __cuMemsetD16_v2 # <<<<<<<<<<<<<< * global __cuMemsetD32_v2 * data["__cuMemsetD32_v2"] = __cuMemsetD32_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD16_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7319, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7321 * data["__cuMemsetD16_v2"] = __cuMemsetD16_v2 * global __cuMemsetD32_v2 * data["__cuMemsetD32_v2"] = __cuMemsetD32_v2 # <<<<<<<<<<<<<< * global __cuMemsetD2D8_v2 * data["__cuMemsetD2D8_v2"] = __cuMemsetD2D8_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7321, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD32_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7321, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7323 * data["__cuMemsetD32_v2"] = __cuMemsetD32_v2 * global __cuMemsetD2D8_v2 * data["__cuMemsetD2D8_v2"] = __cuMemsetD2D8_v2 # <<<<<<<<<<<<<< * global __cuMemsetD2D16_v2 * data["__cuMemsetD2D16_v2"] = __cuMemsetD2D16_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7323, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD2D8_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7323, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7325 * data["__cuMemsetD2D8_v2"] = __cuMemsetD2D8_v2 * global __cuMemsetD2D16_v2 * data["__cuMemsetD2D16_v2"] = __cuMemsetD2D16_v2 # <<<<<<<<<<<<<< * global __cuMemsetD2D32_v2 * data["__cuMemsetD2D32_v2"] = __cuMemsetD2D32_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7325, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD2D16_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7325, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7327 * data["__cuMemsetD2D16_v2"] = __cuMemsetD2D16_v2 * global __cuMemsetD2D32_v2 * data["__cuMemsetD2D32_v2"] = __cuMemsetD2D32_v2 # <<<<<<<<<<<<<< * global __cuMemsetD8Async * data["__cuMemsetD8Async"] = __cuMemsetD8Async */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7327, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD2D32_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7327, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7329 * data["__cuMemsetD2D32_v2"] = __cuMemsetD2D32_v2 * global __cuMemsetD8Async * data["__cuMemsetD8Async"] = __cuMemsetD8Async # <<<<<<<<<<<<<< * global __cuMemsetD16Async * data["__cuMemsetD16Async"] = __cuMemsetD16Async */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7329, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD8Async, __pyx_t_3) < 0))) __PYX_ERR(0, 7329, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7331 * data["__cuMemsetD8Async"] = __cuMemsetD8Async * global __cuMemsetD16Async * data["__cuMemsetD16Async"] = __cuMemsetD16Async # <<<<<<<<<<<<<< * global __cuMemsetD32Async * data["__cuMemsetD32Async"] = __cuMemsetD32Async */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD16Async, __pyx_t_3) < 0))) __PYX_ERR(0, 7331, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7333 * data["__cuMemsetD16Async"] = __cuMemsetD16Async * global __cuMemsetD32Async * data["__cuMemsetD32Async"] = __cuMemsetD32Async # <<<<<<<<<<<<<< * global __cuMemsetD2D8Async * data["__cuMemsetD2D8Async"] = __cuMemsetD2D8Async */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7333, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD32Async, __pyx_t_3) < 0))) __PYX_ERR(0, 7333, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7335 * data["__cuMemsetD32Async"] = __cuMemsetD32Async * global __cuMemsetD2D8Async * data["__cuMemsetD2D8Async"] = __cuMemsetD2D8Async # <<<<<<<<<<<<<< * global __cuMemsetD2D16Async * data["__cuMemsetD2D16Async"] = __cuMemsetD2D16Async */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7335, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD2D8Async, __pyx_t_3) < 0))) __PYX_ERR(0, 7335, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7337 * data["__cuMemsetD2D8Async"] = __cuMemsetD2D8Async * global __cuMemsetD2D16Async * data["__cuMemsetD2D16Async"] = __cuMemsetD2D16Async # <<<<<<<<<<<<<< * global __cuMemsetD2D32Async * data["__cuMemsetD2D32Async"] = __cuMemsetD2D32Async */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7337, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD2D16Async, __pyx_t_3) < 0))) __PYX_ERR(0, 7337, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7339 * data["__cuMemsetD2D16Async"] = __cuMemsetD2D16Async * global __cuMemsetD2D32Async * data["__cuMemsetD2D32Async"] = __cuMemsetD2D32Async # <<<<<<<<<<<<<< * global __cuArrayCreate_v2 * data["__cuArrayCreate_v2"] = __cuArrayCreate_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7339, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemsetD2D32Async, __pyx_t_3) < 0))) __PYX_ERR(0, 7339, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7341 * data["__cuMemsetD2D32Async"] = __cuMemsetD2D32Async * global __cuArrayCreate_v2 * data["__cuArrayCreate_v2"] = __cuArrayCreate_v2 # <<<<<<<<<<<<<< * global __cuArrayGetDescriptor_v2 * data["__cuArrayGetDescriptor_v2"] = __cuArrayGetDescriptor_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayCreate_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArrayCreate_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7341, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7343 * data["__cuArrayCreate_v2"] = __cuArrayCreate_v2 * global __cuArrayGetDescriptor_v2 * data["__cuArrayGetDescriptor_v2"] = __cuArrayGetDescriptor_v2 # <<<<<<<<<<<<<< * global __cuArrayGetSparseProperties * data["__cuArrayGetSparseProperties"] = __cuArrayGetSparseProperties */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetDescriptor_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7343, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArrayGetDescriptor_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7343, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7345 * data["__cuArrayGetDescriptor_v2"] = __cuArrayGetDescriptor_v2 * global __cuArrayGetSparseProperties * data["__cuArrayGetSparseProperties"] = __cuArrayGetSparseProperties # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetSparseProperties * data["__cuMipmappedArrayGetSparseProperties"] = __cuMipmappedArrayGetSparseProperties */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetSparseProperties)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7345, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArrayGetSparseProperties, __pyx_t_3) < 0))) __PYX_ERR(0, 7345, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7347 * data["__cuArrayGetSparseProperties"] = __cuArrayGetSparseProperties * global __cuMipmappedArrayGetSparseProperties * data["__cuMipmappedArrayGetSparseProperties"] = __cuMipmappedArrayGetSparseProperties # <<<<<<<<<<<<<< * global __cuArrayGetMemoryRequirements * data["__cuArrayGetMemoryRequirements"] = __cuArrayGetMemoryRequirements */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetSparseProperties)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7347, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMipmappedArrayGetSparsePrope, __pyx_t_3) < 0))) __PYX_ERR(0, 7347, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7349 * data["__cuMipmappedArrayGetSparseProperties"] = __cuMipmappedArrayGetSparseProperties * global __cuArrayGetMemoryRequirements * data["__cuArrayGetMemoryRequirements"] = __cuArrayGetMemoryRequirements # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetMemoryRequirements * data["__cuMipmappedArrayGetMemoryRequirements"] = __cuMipmappedArrayGetMemoryRequirements */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetMemoryRequirements)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7349, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArrayGetMemoryRequirements, __pyx_t_3) < 0))) __PYX_ERR(0, 7349, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7351 * data["__cuArrayGetMemoryRequirements"] = __cuArrayGetMemoryRequirements * global __cuMipmappedArrayGetMemoryRequirements * data["__cuMipmappedArrayGetMemoryRequirements"] = __cuMipmappedArrayGetMemoryRequirements # <<<<<<<<<<<<<< * global __cuArrayGetPlane * data["__cuArrayGetPlane"] = __cuArrayGetPlane */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetMemoryRequirements)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7351, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMipmappedArrayGetMemoryRequi, __pyx_t_3) < 0))) __PYX_ERR(0, 7351, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7353 * data["__cuMipmappedArrayGetMemoryRequirements"] = __cuMipmappedArrayGetMemoryRequirements * global __cuArrayGetPlane * data["__cuArrayGetPlane"] = __cuArrayGetPlane # <<<<<<<<<<<<<< * global __cuArrayDestroy * data["__cuArrayDestroy"] = __cuArrayDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetPlane)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7353, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArrayGetPlane, __pyx_t_3) < 0))) __PYX_ERR(0, 7353, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7355 * data["__cuArrayGetPlane"] = __cuArrayGetPlane * global __cuArrayDestroy * data["__cuArrayDestroy"] = __cuArrayDestroy # <<<<<<<<<<<<<< * global __cuArray3DCreate_v2 * data["__cuArray3DCreate_v2"] = __cuArray3DCreate_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7355, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArrayDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7355, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7357 * data["__cuArrayDestroy"] = __cuArrayDestroy * global __cuArray3DCreate_v2 * data["__cuArray3DCreate_v2"] = __cuArray3DCreate_v2 # <<<<<<<<<<<<<< * global __cuArray3DGetDescriptor_v2 * data["__cuArray3DGetDescriptor_v2"] = __cuArray3DGetDescriptor_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DCreate_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7357, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArray3DCreate_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7357, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7359 * data["__cuArray3DCreate_v2"] = __cuArray3DCreate_v2 * global __cuArray3DGetDescriptor_v2 * data["__cuArray3DGetDescriptor_v2"] = __cuArray3DGetDescriptor_v2 # <<<<<<<<<<<<<< * global __cuMipmappedArrayCreate * data["__cuMipmappedArrayCreate"] = __cuMipmappedArrayCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DGetDescriptor_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7359, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuArray3DGetDescriptor_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7359, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7361 * data["__cuArray3DGetDescriptor_v2"] = __cuArray3DGetDescriptor_v2 * global __cuMipmappedArrayCreate * data["__cuMipmappedArrayCreate"] = __cuMipmappedArrayCreate # <<<<<<<<<<<<<< * global __cuMipmappedArrayGetLevel * data["__cuMipmappedArrayGetLevel"] = __cuMipmappedArrayGetLevel */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7361, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMipmappedArrayCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7361, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7363 * data["__cuMipmappedArrayCreate"] = __cuMipmappedArrayCreate * global __cuMipmappedArrayGetLevel * data["__cuMipmappedArrayGetLevel"] = __cuMipmappedArrayGetLevel # <<<<<<<<<<<<<< * global __cuMipmappedArrayDestroy * data["__cuMipmappedArrayDestroy"] = __cuMipmappedArrayDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetLevel)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7363, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMipmappedArrayGetLevel, __pyx_t_3) < 0))) __PYX_ERR(0, 7363, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7365 * data["__cuMipmappedArrayGetLevel"] = __cuMipmappedArrayGetLevel * global __cuMipmappedArrayDestroy * data["__cuMipmappedArrayDestroy"] = __cuMipmappedArrayDestroy # <<<<<<<<<<<<<< * global __cuMemGetHandleForAddressRange * data["__cuMemGetHandleForAddressRange"] = __cuMemGetHandleForAddressRange */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7365, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMipmappedArrayDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7365, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7367 * data["__cuMipmappedArrayDestroy"] = __cuMipmappedArrayDestroy * global __cuMemGetHandleForAddressRange * data["__cuMemGetHandleForAddressRange"] = __cuMemGetHandleForAddressRange # <<<<<<<<<<<<<< * global __cuMemBatchDecompressAsync * data["__cuMemBatchDecompressAsync"] = __cuMemBatchDecompressAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetHandleForAddressRange)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7367, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemGetHandleForAddressRange, __pyx_t_3) < 0))) __PYX_ERR(0, 7367, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7369 * data["__cuMemGetHandleForAddressRange"] = __cuMemGetHandleForAddressRange * global __cuMemBatchDecompressAsync * data["__cuMemBatchDecompressAsync"] = __cuMemBatchDecompressAsync # <<<<<<<<<<<<<< * global __cuMemAddressReserve * data["__cuMemAddressReserve"] = __cuMemAddressReserve */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7369, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemBatchDecompressAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7369, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7371 * data["__cuMemBatchDecompressAsync"] = __cuMemBatchDecompressAsync * global __cuMemAddressReserve * data["__cuMemAddressReserve"] = __cuMemAddressReserve # <<<<<<<<<<<<<< * global __cuMemAddressFree * data["__cuMemAddressFree"] = __cuMemAddressFree */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressReserve)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7371, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAddressReserve, __pyx_t_3) < 0))) __PYX_ERR(0, 7371, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7373 * data["__cuMemAddressReserve"] = __cuMemAddressReserve * global __cuMemAddressFree * data["__cuMemAddressFree"] = __cuMemAddressFree # <<<<<<<<<<<<<< * global __cuMemCreate * data["__cuMemCreate"] = __cuMemCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressFree)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7373, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAddressFree, __pyx_t_3) < 0))) __PYX_ERR(0, 7373, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7375 * data["__cuMemAddressFree"] = __cuMemAddressFree * global __cuMemCreate * data["__cuMemCreate"] = __cuMemCreate # <<<<<<<<<<<<<< * global __cuMemRelease * data["__cuMemRelease"] = __cuMemRelease */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7375, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7375, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7377 * data["__cuMemCreate"] = __cuMemCreate * global __cuMemRelease * data["__cuMemRelease"] = __cuMemRelease # <<<<<<<<<<<<<< * global __cuMemMap * data["__cuMemMap"] = __cuMemMap */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRelease)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7377, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemRelease, __pyx_t_3) < 0))) __PYX_ERR(0, 7377, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7379 * data["__cuMemRelease"] = __cuMemRelease * global __cuMemMap * data["__cuMemMap"] = __cuMemMap # <<<<<<<<<<<<<< * global __cuMemMapArrayAsync * data["__cuMemMapArrayAsync"] = __cuMemMapArrayAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMap)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7379, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemMap, __pyx_t_3) < 0))) __PYX_ERR(0, 7379, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7381 * data["__cuMemMap"] = __cuMemMap * global __cuMemMapArrayAsync * data["__cuMemMapArrayAsync"] = __cuMemMapArrayAsync # <<<<<<<<<<<<<< * global __cuMemUnmap * data["__cuMemUnmap"] = __cuMemUnmap */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7381, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemMapArrayAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7381, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7383 * data["__cuMemMapArrayAsync"] = __cuMemMapArrayAsync * global __cuMemUnmap * data["__cuMemUnmap"] = __cuMemUnmap # <<<<<<<<<<<<<< * global __cuMemSetAccess * data["__cuMemSetAccess"] = __cuMemSetAccess */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemUnmap)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7383, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemUnmap, __pyx_t_3) < 0))) __PYX_ERR(0, 7383, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7385 * data["__cuMemUnmap"] = __cuMemUnmap * global __cuMemSetAccess * data["__cuMemSetAccess"] = __cuMemSetAccess # <<<<<<<<<<<<<< * global __cuMemGetAccess * data["__cuMemGetAccess"] = __cuMemGetAccess */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemSetAccess)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7385, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemSetAccess, __pyx_t_3) < 0))) __PYX_ERR(0, 7385, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7387 * data["__cuMemSetAccess"] = __cuMemSetAccess * global __cuMemGetAccess * data["__cuMemGetAccess"] = __cuMemGetAccess # <<<<<<<<<<<<<< * global __cuMemExportToShareableHandle * data["__cuMemExportToShareableHandle"] = __cuMemExportToShareableHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAccess)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7387, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemGetAccess, __pyx_t_3) < 0))) __PYX_ERR(0, 7387, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7389 * data["__cuMemGetAccess"] = __cuMemGetAccess * global __cuMemExportToShareableHandle * data["__cuMemExportToShareableHandle"] = __cuMemExportToShareableHandle # <<<<<<<<<<<<<< * global __cuMemImportFromShareableHandle * data["__cuMemImportFromShareableHandle"] = __cuMemImportFromShareableHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemExportToShareableHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7389, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemExportToShareableHandle, __pyx_t_3) < 0))) __PYX_ERR(0, 7389, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7391 * data["__cuMemExportToShareableHandle"] = __cuMemExportToShareableHandle * global __cuMemImportFromShareableHandle * data["__cuMemImportFromShareableHandle"] = __cuMemImportFromShareableHandle # <<<<<<<<<<<<<< * global __cuMemGetAllocationGranularity * data["__cuMemGetAllocationGranularity"] = __cuMemGetAllocationGranularity */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemImportFromShareableHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7391, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemImportFromShareableHandle, __pyx_t_3) < 0))) __PYX_ERR(0, 7391, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7393 * data["__cuMemImportFromShareableHandle"] = __cuMemImportFromShareableHandle * global __cuMemGetAllocationGranularity * data["__cuMemGetAllocationGranularity"] = __cuMemGetAllocationGranularity # <<<<<<<<<<<<<< * global __cuMemGetAllocationPropertiesFromHandle * data["__cuMemGetAllocationPropertiesFromHandle"] = __cuMemGetAllocationPropertiesFromHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationGranularity)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7393, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemGetAllocationGranularity, __pyx_t_3) < 0))) __PYX_ERR(0, 7393, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7395 * data["__cuMemGetAllocationGranularity"] = __cuMemGetAllocationGranularity * global __cuMemGetAllocationPropertiesFromHandle * data["__cuMemGetAllocationPropertiesFromHandle"] = __cuMemGetAllocationPropertiesFromHandle # <<<<<<<<<<<<<< * global __cuMemRetainAllocationHandle * data["__cuMemRetainAllocationHandle"] = __cuMemRetainAllocationHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationPropertiesFromHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7395, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemGetAllocationPropertiesFr, __pyx_t_3) < 0))) __PYX_ERR(0, 7395, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7397 * data["__cuMemGetAllocationPropertiesFromHandle"] = __cuMemGetAllocationPropertiesFromHandle * global __cuMemRetainAllocationHandle * data["__cuMemRetainAllocationHandle"] = __cuMemRetainAllocationHandle # <<<<<<<<<<<<<< * global __cuMemFreeAsync * data["__cuMemFreeAsync"] = __cuMemFreeAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRetainAllocationHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7397, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemRetainAllocationHandle, __pyx_t_3) < 0))) __PYX_ERR(0, 7397, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7399 * data["__cuMemRetainAllocationHandle"] = __cuMemRetainAllocationHandle * global __cuMemFreeAsync * data["__cuMemFreeAsync"] = __cuMemFreeAsync # <<<<<<<<<<<<<< * global __cuMemAllocAsync * data["__cuMemAllocAsync"] = __cuMemAllocAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7399, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemFreeAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7399, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7401 * data["__cuMemFreeAsync"] = __cuMemFreeAsync * global __cuMemAllocAsync * data["__cuMemAllocAsync"] = __cuMemAllocAsync # <<<<<<<<<<<<<< * global __cuMemPoolTrimTo * data["__cuMemPoolTrimTo"] = __cuMemPoolTrimTo */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAllocAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7401, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7403 * data["__cuMemAllocAsync"] = __cuMemAllocAsync * global __cuMemPoolTrimTo * data["__cuMemPoolTrimTo"] = __cuMemPoolTrimTo # <<<<<<<<<<<<<< * global __cuMemPoolSetAttribute * data["__cuMemPoolSetAttribute"] = __cuMemPoolSetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolTrimTo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7403, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolTrimTo, __pyx_t_3) < 0))) __PYX_ERR(0, 7403, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7405 * data["__cuMemPoolTrimTo"] = __cuMemPoolTrimTo * global __cuMemPoolSetAttribute * data["__cuMemPoolSetAttribute"] = __cuMemPoolSetAttribute # <<<<<<<<<<<<<< * global __cuMemPoolGetAttribute * data["__cuMemPoolGetAttribute"] = __cuMemPoolGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7405, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolSetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7405, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7407 * data["__cuMemPoolSetAttribute"] = __cuMemPoolSetAttribute * global __cuMemPoolGetAttribute * data["__cuMemPoolGetAttribute"] = __cuMemPoolGetAttribute # <<<<<<<<<<<<<< * global __cuMemPoolSetAccess * data["__cuMemPoolSetAccess"] = __cuMemPoolSetAccess */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7407, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7407, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7409 * data["__cuMemPoolGetAttribute"] = __cuMemPoolGetAttribute * global __cuMemPoolSetAccess * data["__cuMemPoolSetAccess"] = __cuMemPoolSetAccess # <<<<<<<<<<<<<< * global __cuMemPoolGetAccess * data["__cuMemPoolGetAccess"] = __cuMemPoolGetAccess */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAccess)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7409, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolSetAccess, __pyx_t_3) < 0))) __PYX_ERR(0, 7409, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7411 * data["__cuMemPoolSetAccess"] = __cuMemPoolSetAccess * global __cuMemPoolGetAccess * data["__cuMemPoolGetAccess"] = __cuMemPoolGetAccess # <<<<<<<<<<<<<< * global __cuMemPoolCreate * data["__cuMemPoolCreate"] = __cuMemPoolCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAccess)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7411, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolGetAccess, __pyx_t_3) < 0))) __PYX_ERR(0, 7411, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7413 * data["__cuMemPoolGetAccess"] = __cuMemPoolGetAccess * global __cuMemPoolCreate * data["__cuMemPoolCreate"] = __cuMemPoolCreate # <<<<<<<<<<<<<< * global __cuMemPoolDestroy * data["__cuMemPoolDestroy"] = __cuMemPoolDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7413, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7413, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7415 * data["__cuMemPoolCreate"] = __cuMemPoolCreate * global __cuMemPoolDestroy * data["__cuMemPoolDestroy"] = __cuMemPoolDestroy # <<<<<<<<<<<<<< * global __cuMemAllocFromPoolAsync * data["__cuMemAllocFromPoolAsync"] = __cuMemAllocFromPoolAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7415, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7415, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7417 * data["__cuMemPoolDestroy"] = __cuMemPoolDestroy * global __cuMemAllocFromPoolAsync * data["__cuMemAllocFromPoolAsync"] = __cuMemAllocFromPoolAsync # <<<<<<<<<<<<<< * global __cuMemPoolExportToShareableHandle * data["__cuMemPoolExportToShareableHandle"] = __cuMemPoolExportToShareableHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAllocFromPoolAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7417, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7419 * data["__cuMemAllocFromPoolAsync"] = __cuMemAllocFromPoolAsync * global __cuMemPoolExportToShareableHandle * data["__cuMemPoolExportToShareableHandle"] = __cuMemPoolExportToShareableHandle # <<<<<<<<<<<<<< * global __cuMemPoolImportFromShareableHandle * data["__cuMemPoolImportFromShareableHandle"] = __cuMemPoolImportFromShareableHandle */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportToShareableHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7419, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolExportToShareableHand, __pyx_t_3) < 0))) __PYX_ERR(0, 7419, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7421 * data["__cuMemPoolExportToShareableHandle"] = __cuMemPoolExportToShareableHandle * global __cuMemPoolImportFromShareableHandle * data["__cuMemPoolImportFromShareableHandle"] = __cuMemPoolImportFromShareableHandle # <<<<<<<<<<<<<< * global __cuMemPoolExportPointer * data["__cuMemPoolExportPointer"] = __cuMemPoolExportPointer */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportFromShareableHandle)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7421, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolImportFromShareableHa, __pyx_t_3) < 0))) __PYX_ERR(0, 7421, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7423 * data["__cuMemPoolImportFromShareableHandle"] = __cuMemPoolImportFromShareableHandle * global __cuMemPoolExportPointer * data["__cuMemPoolExportPointer"] = __cuMemPoolExportPointer # <<<<<<<<<<<<<< * global __cuMemPoolImportPointer * data["__cuMemPoolImportPointer"] = __cuMemPoolImportPointer */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportPointer)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7423, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolExportPointer, __pyx_t_3) < 0))) __PYX_ERR(0, 7423, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7425 * data["__cuMemPoolExportPointer"] = __cuMemPoolExportPointer * global __cuMemPoolImportPointer * data["__cuMemPoolImportPointer"] = __cuMemPoolImportPointer # <<<<<<<<<<<<<< * global __cuMulticastCreate * data["__cuMulticastCreate"] = __cuMulticastCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportPointer)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7425, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPoolImportPointer, __pyx_t_3) < 0))) __PYX_ERR(0, 7425, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7427 * data["__cuMemPoolImportPointer"] = __cuMemPoolImportPointer * global __cuMulticastCreate * data["__cuMulticastCreate"] = __cuMulticastCreate # <<<<<<<<<<<<<< * global __cuMulticastAddDevice * data["__cuMulticastAddDevice"] = __cuMulticastAddDevice */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7427, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMulticastCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7427, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7429 * data["__cuMulticastCreate"] = __cuMulticastCreate * global __cuMulticastAddDevice * data["__cuMulticastAddDevice"] = __cuMulticastAddDevice # <<<<<<<<<<<<<< * global __cuMulticastBindMem * data["__cuMulticastBindMem"] = __cuMulticastBindMem */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastAddDevice)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7429, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMulticastAddDevice, __pyx_t_3) < 0))) __PYX_ERR(0, 7429, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7431 * data["__cuMulticastAddDevice"] = __cuMulticastAddDevice * global __cuMulticastBindMem * data["__cuMulticastBindMem"] = __cuMulticastBindMem # <<<<<<<<<<<<<< * global __cuMulticastBindAddr * data["__cuMulticastBindAddr"] = __cuMulticastBindAddr */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindMem)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7431, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMulticastBindMem, __pyx_t_3) < 0))) __PYX_ERR(0, 7431, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7433 * data["__cuMulticastBindMem"] = __cuMulticastBindMem * global __cuMulticastBindAddr * data["__cuMulticastBindAddr"] = __cuMulticastBindAddr # <<<<<<<<<<<<<< * global __cuMulticastUnbind * data["__cuMulticastUnbind"] = __cuMulticastUnbind */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindAddr)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7433, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMulticastBindAddr, __pyx_t_3) < 0))) __PYX_ERR(0, 7433, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7435 * data["__cuMulticastBindAddr"] = __cuMulticastBindAddr * global __cuMulticastUnbind * data["__cuMulticastUnbind"] = __cuMulticastUnbind # <<<<<<<<<<<<<< * global __cuMulticastGetGranularity * data["__cuMulticastGetGranularity"] = __cuMulticastGetGranularity */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastUnbind)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7435, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMulticastUnbind, __pyx_t_3) < 0))) __PYX_ERR(0, 7435, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7437 * data["__cuMulticastUnbind"] = __cuMulticastUnbind * global __cuMulticastGetGranularity * data["__cuMulticastGetGranularity"] = __cuMulticastGetGranularity # <<<<<<<<<<<<<< * global __cuPointerGetAttribute * data["__cuPointerGetAttribute"] = __cuPointerGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastGetGranularity)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7437, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMulticastGetGranularity, __pyx_t_3) < 0))) __PYX_ERR(0, 7437, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7439 * data["__cuMulticastGetGranularity"] = __cuMulticastGetGranularity * global __cuPointerGetAttribute * data["__cuPointerGetAttribute"] = __cuPointerGetAttribute # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync * data["__cuMemPrefetchAsync"] = __cuMemPrefetchAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7439, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuPointerGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7439, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7441 * data["__cuPointerGetAttribute"] = __cuPointerGetAttribute * global __cuMemPrefetchAsync * data["__cuMemPrefetchAsync"] = __cuMemPrefetchAsync # <<<<<<<<<<<<<< * global __cuMemPrefetchAsync_v2 * data["__cuMemPrefetchAsync_v2"] = __cuMemPrefetchAsync_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7441, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPrefetchAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7441, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7443 * data["__cuMemPrefetchAsync"] = __cuMemPrefetchAsync * global __cuMemPrefetchAsync_v2 * data["__cuMemPrefetchAsync_v2"] = __cuMemPrefetchAsync_v2 # <<<<<<<<<<<<<< * global __cuMemAdvise * data["__cuMemAdvise"] = __cuMemAdvise */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7443, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemPrefetchAsync_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7443, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7445 * data["__cuMemPrefetchAsync_v2"] = __cuMemPrefetchAsync_v2 * global __cuMemAdvise * data["__cuMemAdvise"] = __cuMemAdvise # <<<<<<<<<<<<<< * global __cuMemAdvise_v2 * data["__cuMemAdvise_v2"] = __cuMemAdvise_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAdvise, __pyx_t_3) < 0))) __PYX_ERR(0, 7445, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7447 * data["__cuMemAdvise"] = __cuMemAdvise * global __cuMemAdvise_v2 * data["__cuMemAdvise_v2"] = __cuMemAdvise_v2 # <<<<<<<<<<<<<< * global __cuMemRangeGetAttribute * data["__cuMemRangeGetAttribute"] = __cuMemRangeGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7447, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemAdvise_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7447, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7449 * data["__cuMemAdvise_v2"] = __cuMemAdvise_v2 * global __cuMemRangeGetAttribute * data["__cuMemRangeGetAttribute"] = __cuMemRangeGetAttribute # <<<<<<<<<<<<<< * global __cuMemRangeGetAttributes * data["__cuMemRangeGetAttributes"] = __cuMemRangeGetAttributes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7449, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemRangeGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7449, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7451 * data["__cuMemRangeGetAttribute"] = __cuMemRangeGetAttribute * global __cuMemRangeGetAttributes * data["__cuMemRangeGetAttributes"] = __cuMemRangeGetAttributes # <<<<<<<<<<<<<< * global __cuPointerSetAttribute * data["__cuPointerSetAttribute"] = __cuPointerSetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttributes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7451, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuMemRangeGetAttributes, __pyx_t_3) < 0))) __PYX_ERR(0, 7451, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7453 * data["__cuMemRangeGetAttributes"] = __cuMemRangeGetAttributes * global __cuPointerSetAttribute * data["__cuPointerSetAttribute"] = __cuPointerSetAttribute # <<<<<<<<<<<<<< * global __cuPointerGetAttributes * data["__cuPointerGetAttributes"] = __cuPointerGetAttributes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerSetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7453, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuPointerSetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7453, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7455 * data["__cuPointerSetAttribute"] = __cuPointerSetAttribute * global __cuPointerGetAttributes * data["__cuPointerGetAttributes"] = __cuPointerGetAttributes # <<<<<<<<<<<<<< * global __cuStreamCreate * data["__cuStreamCreate"] = __cuStreamCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttributes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7455, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuPointerGetAttributes, __pyx_t_3) < 0))) __PYX_ERR(0, 7455, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7457 * data["__cuPointerGetAttributes"] = __cuPointerGetAttributes * global __cuStreamCreate * data["__cuStreamCreate"] = __cuStreamCreate # <<<<<<<<<<<<<< * global __cuStreamCreateWithPriority * data["__cuStreamCreateWithPriority"] = __cuStreamCreateWithPriority */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7457, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7457, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7459 * data["__cuStreamCreate"] = __cuStreamCreate * global __cuStreamCreateWithPriority * data["__cuStreamCreateWithPriority"] = __cuStreamCreateWithPriority # <<<<<<<<<<<<<< * global __cuStreamGetPriority * data["__cuStreamGetPriority"] = __cuStreamGetPriority */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreateWithPriority)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamCreateWithPriority, __pyx_t_3) < 0))) __PYX_ERR(0, 7459, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7461 * data["__cuStreamCreateWithPriority"] = __cuStreamCreateWithPriority * global __cuStreamGetPriority * data["__cuStreamGetPriority"] = __cuStreamGetPriority # <<<<<<<<<<<<<< * global __cuStreamGetDevice * data["__cuStreamGetDevice"] = __cuStreamGetDevice */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7461, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetPriority, __pyx_t_3) < 0))) __PYX_ERR(0, 7461, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7463 * data["__cuStreamGetPriority"] = __cuStreamGetPriority * global __cuStreamGetDevice * data["__cuStreamGetDevice"] = __cuStreamGetDevice # <<<<<<<<<<<<<< * global __cuStreamGetFlags * data["__cuStreamGetFlags"] = __cuStreamGetFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetDevice, __pyx_t_3) < 0))) __PYX_ERR(0, 7463, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7465 * data["__cuStreamGetDevice"] = __cuStreamGetDevice * global __cuStreamGetFlags * data["__cuStreamGetFlags"] = __cuStreamGetFlags # <<<<<<<<<<<<<< * global __cuStreamGetId * data["__cuStreamGetId"] = __cuStreamGetId */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7465, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7465, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7467 * data["__cuStreamGetFlags"] = __cuStreamGetFlags * global __cuStreamGetId * data["__cuStreamGetId"] = __cuStreamGetId # <<<<<<<<<<<<<< * global __cuStreamGetCtx * data["__cuStreamGetCtx"] = __cuStreamGetCtx */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7467, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetId, __pyx_t_3) < 0))) __PYX_ERR(0, 7467, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7469 * data["__cuStreamGetId"] = __cuStreamGetId * global __cuStreamGetCtx * data["__cuStreamGetCtx"] = __cuStreamGetCtx # <<<<<<<<<<<<<< * global __cuStreamGetCtx_v2 * data["__cuStreamGetCtx_v2"] = __cuStreamGetCtx_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7469, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetCtx, __pyx_t_3) < 0))) __PYX_ERR(0, 7469, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7471 * data["__cuStreamGetCtx"] = __cuStreamGetCtx * global __cuStreamGetCtx_v2 * data["__cuStreamGetCtx_v2"] = __cuStreamGetCtx_v2 # <<<<<<<<<<<<<< * global __cuStreamWaitEvent * data["__cuStreamWaitEvent"] = __cuStreamWaitEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7471, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetCtx_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7471, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7473 * data["__cuStreamGetCtx_v2"] = __cuStreamGetCtx_v2 * global __cuStreamWaitEvent * data["__cuStreamWaitEvent"] = __cuStreamWaitEvent # <<<<<<<<<<<<<< * global __cuStreamAddCallback * data["__cuStreamAddCallback"] = __cuStreamAddCallback */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7473, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamWaitEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7473, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7475 * data["__cuStreamWaitEvent"] = __cuStreamWaitEvent * global __cuStreamAddCallback * data["__cuStreamAddCallback"] = __cuStreamAddCallback # <<<<<<<<<<<<<< * global __cuStreamBeginCapture_v2 * data["__cuStreamBeginCapture_v2"] = __cuStreamBeginCapture_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7475, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamAddCallback, __pyx_t_3) < 0))) __PYX_ERR(0, 7475, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7477 * data["__cuStreamAddCallback"] = __cuStreamAddCallback * global __cuStreamBeginCapture_v2 * data["__cuStreamBeginCapture_v2"] = __cuStreamBeginCapture_v2 # <<<<<<<<<<<<<< * global __cuStreamBeginCaptureToGraph * data["__cuStreamBeginCaptureToGraph"] = __cuStreamBeginCaptureToGraph */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamBeginCapture_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7477, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7479 * data["__cuStreamBeginCapture_v2"] = __cuStreamBeginCapture_v2 * global __cuStreamBeginCaptureToGraph * data["__cuStreamBeginCaptureToGraph"] = __cuStreamBeginCaptureToGraph # <<<<<<<<<<<<<< * global __cuThreadExchangeStreamCaptureMode * data["__cuThreadExchangeStreamCaptureMode"] = __cuThreadExchangeStreamCaptureMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7479, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamBeginCaptureToGraph, __pyx_t_3) < 0))) __PYX_ERR(0, 7479, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7481 * data["__cuStreamBeginCaptureToGraph"] = __cuStreamBeginCaptureToGraph * global __cuThreadExchangeStreamCaptureMode * data["__cuThreadExchangeStreamCaptureMode"] = __cuThreadExchangeStreamCaptureMode # <<<<<<<<<<<<<< * global __cuStreamEndCapture * data["__cuStreamEndCapture"] = __cuStreamEndCapture */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuThreadExchangeStreamCaptureMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7481, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuThreadExchangeStreamCaptureM, __pyx_t_3) < 0))) __PYX_ERR(0, 7481, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7483 * data["__cuThreadExchangeStreamCaptureMode"] = __cuThreadExchangeStreamCaptureMode * global __cuStreamEndCapture * data["__cuStreamEndCapture"] = __cuStreamEndCapture # <<<<<<<<<<<<<< * global __cuStreamIsCapturing * data["__cuStreamIsCapturing"] = __cuStreamIsCapturing */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7483, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamEndCapture, __pyx_t_3) < 0))) __PYX_ERR(0, 7483, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7485 * data["__cuStreamEndCapture"] = __cuStreamEndCapture * global __cuStreamIsCapturing * data["__cuStreamIsCapturing"] = __cuStreamIsCapturing # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v2 * data["__cuStreamGetCaptureInfo_v2"] = __cuStreamGetCaptureInfo_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamIsCapturing, __pyx_t_3) < 0))) __PYX_ERR(0, 7485, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7487 * data["__cuStreamIsCapturing"] = __cuStreamIsCapturing * global __cuStreamGetCaptureInfo_v2 * data["__cuStreamGetCaptureInfo_v2"] = __cuStreamGetCaptureInfo_v2 # <<<<<<<<<<<<<< * global __cuStreamGetCaptureInfo_v3 * data["__cuStreamGetCaptureInfo_v3"] = __cuStreamGetCaptureInfo_v3 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7487, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetCaptureInfo_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7487, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7489 * data["__cuStreamGetCaptureInfo_v2"] = __cuStreamGetCaptureInfo_v2 * global __cuStreamGetCaptureInfo_v3 * data["__cuStreamGetCaptureInfo_v3"] = __cuStreamGetCaptureInfo_v3 # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies * data["__cuStreamUpdateCaptureDependencies"] = __cuStreamUpdateCaptureDependencies */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7489, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetCaptureInfo_v3, __pyx_t_3) < 0))) __PYX_ERR(0, 7489, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7491 * data["__cuStreamGetCaptureInfo_v3"] = __cuStreamGetCaptureInfo_v3 * global __cuStreamUpdateCaptureDependencies * data["__cuStreamUpdateCaptureDependencies"] = __cuStreamUpdateCaptureDependencies # <<<<<<<<<<<<<< * global __cuStreamUpdateCaptureDependencies_v2 * data["__cuStreamUpdateCaptureDependencies_v2"] = __cuStreamUpdateCaptureDependencies_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7491, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamUpdateCaptureDependenc, __pyx_t_3) < 0))) __PYX_ERR(0, 7491, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7493 * data["__cuStreamUpdateCaptureDependencies"] = __cuStreamUpdateCaptureDependencies * global __cuStreamUpdateCaptureDependencies_v2 * data["__cuStreamUpdateCaptureDependencies_v2"] = __cuStreamUpdateCaptureDependencies_v2 # <<<<<<<<<<<<<< * global __cuStreamAttachMemAsync * data["__cuStreamAttachMemAsync"] = __cuStreamAttachMemAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7493, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamUpdateCaptureDependenc_2, __pyx_t_3) < 0))) __PYX_ERR(0, 7493, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7495 * data["__cuStreamUpdateCaptureDependencies_v2"] = __cuStreamUpdateCaptureDependencies_v2 * global __cuStreamAttachMemAsync * data["__cuStreamAttachMemAsync"] = __cuStreamAttachMemAsync # <<<<<<<<<<<<<< * global __cuStreamQuery * data["__cuStreamQuery"] = __cuStreamQuery */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7495, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamAttachMemAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7495, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7497 * data["__cuStreamAttachMemAsync"] = __cuStreamAttachMemAsync * global __cuStreamQuery * data["__cuStreamQuery"] = __cuStreamQuery # <<<<<<<<<<<<<< * global __cuStreamSynchronize * data["__cuStreamSynchronize"] = __cuStreamSynchronize */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7497, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamQuery, __pyx_t_3) < 0))) __PYX_ERR(0, 7497, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7499 * data["__cuStreamQuery"] = __cuStreamQuery * global __cuStreamSynchronize * data["__cuStreamSynchronize"] = __cuStreamSynchronize # <<<<<<<<<<<<<< * global __cuStreamDestroy_v2 * data["__cuStreamDestroy_v2"] = __cuStreamDestroy_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7499, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamSynchronize, __pyx_t_3) < 0))) __PYX_ERR(0, 7499, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7501 * data["__cuStreamSynchronize"] = __cuStreamSynchronize * global __cuStreamDestroy_v2 * data["__cuStreamDestroy_v2"] = __cuStreamDestroy_v2 # <<<<<<<<<<<<<< * global __cuStreamCopyAttributes * data["__cuStreamCopyAttributes"] = __cuStreamCopyAttributes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamDestroy_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7501, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamDestroy_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7501, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7503 * data["__cuStreamDestroy_v2"] = __cuStreamDestroy_v2 * global __cuStreamCopyAttributes * data["__cuStreamCopyAttributes"] = __cuStreamCopyAttributes # <<<<<<<<<<<<<< * global __cuStreamGetAttribute * data["__cuStreamGetAttribute"] = __cuStreamGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamCopyAttributes, __pyx_t_3) < 0))) __PYX_ERR(0, 7503, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7505 * data["__cuStreamCopyAttributes"] = __cuStreamCopyAttributes * global __cuStreamGetAttribute * data["__cuStreamGetAttribute"] = __cuStreamGetAttribute # <<<<<<<<<<<<<< * global __cuStreamSetAttribute * data["__cuStreamSetAttribute"] = __cuStreamSetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7505, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7505, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7507 * data["__cuStreamGetAttribute"] = __cuStreamGetAttribute * global __cuStreamSetAttribute * data["__cuStreamSetAttribute"] = __cuStreamSetAttribute # <<<<<<<<<<<<<< * global __cuEventCreate * data["__cuEventCreate"] = __cuEventCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7507, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamSetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7507, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7509 * data["__cuStreamSetAttribute"] = __cuStreamSetAttribute * global __cuEventCreate * data["__cuEventCreate"] = __cuEventCreate # <<<<<<<<<<<<<< * global __cuEventRecord * data["__cuEventRecord"] = __cuEventRecord */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7509, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7511 * data["__cuEventCreate"] = __cuEventCreate * global __cuEventRecord * data["__cuEventRecord"] = __cuEventRecord # <<<<<<<<<<<<<< * global __cuEventRecordWithFlags * data["__cuEventRecordWithFlags"] = __cuEventRecordWithFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventRecord, __pyx_t_3) < 0))) __PYX_ERR(0, 7511, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7513 * data["__cuEventRecord"] = __cuEventRecord * global __cuEventRecordWithFlags * data["__cuEventRecordWithFlags"] = __cuEventRecordWithFlags # <<<<<<<<<<<<<< * global __cuEventQuery * data["__cuEventQuery"] = __cuEventQuery */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7513, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventRecordWithFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7513, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7515 * data["__cuEventRecordWithFlags"] = __cuEventRecordWithFlags * global __cuEventQuery * data["__cuEventQuery"] = __cuEventQuery # <<<<<<<<<<<<<< * global __cuEventSynchronize * data["__cuEventSynchronize"] = __cuEventSynchronize */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventQuery)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7515, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventQuery, __pyx_t_3) < 0))) __PYX_ERR(0, 7515, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7517 * data["__cuEventQuery"] = __cuEventQuery * global __cuEventSynchronize * data["__cuEventSynchronize"] = __cuEventSynchronize # <<<<<<<<<<<<<< * global __cuEventDestroy_v2 * data["__cuEventDestroy_v2"] = __cuEventDestroy_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventSynchronize)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7517, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventSynchronize, __pyx_t_3) < 0))) __PYX_ERR(0, 7517, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7519 * data["__cuEventSynchronize"] = __cuEventSynchronize * global __cuEventDestroy_v2 * data["__cuEventDestroy_v2"] = __cuEventDestroy_v2 # <<<<<<<<<<<<<< * global __cuEventElapsedTime * data["__cuEventElapsedTime"] = __cuEventElapsedTime */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventDestroy_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7519, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventDestroy_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7519, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7521 * data["__cuEventDestroy_v2"] = __cuEventDestroy_v2 * global __cuEventElapsedTime * data["__cuEventElapsedTime"] = __cuEventElapsedTime # <<<<<<<<<<<<<< * global __cuEventElapsedTime_v2 * data["__cuEventElapsedTime_v2"] = __cuEventElapsedTime_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7521, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventElapsedTime, __pyx_t_3) < 0))) __PYX_ERR(0, 7521, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7523 * data["__cuEventElapsedTime"] = __cuEventElapsedTime * global __cuEventElapsedTime_v2 * data["__cuEventElapsedTime_v2"] = __cuEventElapsedTime_v2 # <<<<<<<<<<<<<< * global __cuImportExternalMemory * data["__cuImportExternalMemory"] = __cuImportExternalMemory */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventElapsedTime_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7523, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7525 * data["__cuEventElapsedTime_v2"] = __cuEventElapsedTime_v2 * global __cuImportExternalMemory * data["__cuImportExternalMemory"] = __cuImportExternalMemory # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedBuffer * data["__cuExternalMemoryGetMappedBuffer"] = __cuExternalMemoryGetMappedBuffer */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalMemory)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7525, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuImportExternalMemory, __pyx_t_3) < 0))) __PYX_ERR(0, 7525, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7527 * data["__cuImportExternalMemory"] = __cuImportExternalMemory * global __cuExternalMemoryGetMappedBuffer * data["__cuExternalMemoryGetMappedBuffer"] = __cuExternalMemoryGetMappedBuffer # <<<<<<<<<<<<<< * global __cuExternalMemoryGetMappedMipmappedArray * data["__cuExternalMemoryGetMappedMipmappedArray"] = __cuExternalMemoryGetMappedMipmappedArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedBuffer)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuExternalMemoryGetMappedBuffe, __pyx_t_3) < 0))) __PYX_ERR(0, 7527, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7529 * data["__cuExternalMemoryGetMappedBuffer"] = __cuExternalMemoryGetMappedBuffer * global __cuExternalMemoryGetMappedMipmappedArray * data["__cuExternalMemoryGetMappedMipmappedArray"] = __cuExternalMemoryGetMappedMipmappedArray # <<<<<<<<<<<<<< * global __cuDestroyExternalMemory * data["__cuDestroyExternalMemory"] = __cuDestroyExternalMemory */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedMipmappedArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7529, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuExternalMemoryGetMappedMipma, __pyx_t_3) < 0))) __PYX_ERR(0, 7529, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7531 * data["__cuExternalMemoryGetMappedMipmappedArray"] = __cuExternalMemoryGetMappedMipmappedArray * global __cuDestroyExternalMemory * data["__cuDestroyExternalMemory"] = __cuDestroyExternalMemory # <<<<<<<<<<<<<< * global __cuImportExternalSemaphore * data["__cuImportExternalSemaphore"] = __cuImportExternalSemaphore */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalMemory)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7531, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDestroyExternalMemory, __pyx_t_3) < 0))) __PYX_ERR(0, 7531, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7533 * data["__cuDestroyExternalMemory"] = __cuDestroyExternalMemory * global __cuImportExternalSemaphore * data["__cuImportExternalSemaphore"] = __cuImportExternalSemaphore # <<<<<<<<<<<<<< * global __cuSignalExternalSemaphoresAsync * data["__cuSignalExternalSemaphoresAsync"] = __cuSignalExternalSemaphoresAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalSemaphore)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7533, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuImportExternalSemaphore, __pyx_t_3) < 0))) __PYX_ERR(0, 7533, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7535 * data["__cuImportExternalSemaphore"] = __cuImportExternalSemaphore * global __cuSignalExternalSemaphoresAsync * data["__cuSignalExternalSemaphoresAsync"] = __cuSignalExternalSemaphoresAsync # <<<<<<<<<<<<<< * global __cuWaitExternalSemaphoresAsync * data["__cuWaitExternalSemaphoresAsync"] = __cuWaitExternalSemaphoresAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7535, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuSignalExternalSemaphoresAsyn, __pyx_t_3) < 0))) __PYX_ERR(0, 7535, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7537 * data["__cuSignalExternalSemaphoresAsync"] = __cuSignalExternalSemaphoresAsync * global __cuWaitExternalSemaphoresAsync * data["__cuWaitExternalSemaphoresAsync"] = __cuWaitExternalSemaphoresAsync # <<<<<<<<<<<<<< * global __cuDestroyExternalSemaphore * data["__cuDestroyExternalSemaphore"] = __cuDestroyExternalSemaphore */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7537, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuWaitExternalSemaphoresAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7537, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7539 * data["__cuWaitExternalSemaphoresAsync"] = __cuWaitExternalSemaphoresAsync * global __cuDestroyExternalSemaphore * data["__cuDestroyExternalSemaphore"] = __cuDestroyExternalSemaphore # <<<<<<<<<<<<<< * global __cuStreamWaitValue32_v2 * data["__cuStreamWaitValue32_v2"] = __cuStreamWaitValue32_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalSemaphore)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7539, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDestroyExternalSemaphore, __pyx_t_3) < 0))) __PYX_ERR(0, 7539, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7541 * data["__cuDestroyExternalSemaphore"] = __cuDestroyExternalSemaphore * global __cuStreamWaitValue32_v2 * data["__cuStreamWaitValue32_v2"] = __cuStreamWaitValue32_v2 # <<<<<<<<<<<<<< * global __cuStreamWaitValue64_v2 * data["__cuStreamWaitValue64_v2"] = __cuStreamWaitValue64_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7541, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamWaitValue32_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7541, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7543 * data["__cuStreamWaitValue32_v2"] = __cuStreamWaitValue32_v2 * global __cuStreamWaitValue64_v2 * data["__cuStreamWaitValue64_v2"] = __cuStreamWaitValue64_v2 # <<<<<<<<<<<<<< * global __cuStreamWriteValue32_v2 * data["__cuStreamWriteValue32_v2"] = __cuStreamWriteValue32_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7543, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamWaitValue64_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7543, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7545 * data["__cuStreamWaitValue64_v2"] = __cuStreamWaitValue64_v2 * global __cuStreamWriteValue32_v2 * data["__cuStreamWriteValue32_v2"] = __cuStreamWriteValue32_v2 # <<<<<<<<<<<<<< * global __cuStreamWriteValue64_v2 * data["__cuStreamWriteValue64_v2"] = __cuStreamWriteValue64_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7545, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamWriteValue32_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7545, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7547 * data["__cuStreamWriteValue32_v2"] = __cuStreamWriteValue32_v2 * global __cuStreamWriteValue64_v2 * data["__cuStreamWriteValue64_v2"] = __cuStreamWriteValue64_v2 # <<<<<<<<<<<<<< * global __cuStreamBatchMemOp_v2 * data["__cuStreamBatchMemOp_v2"] = __cuStreamBatchMemOp_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamWriteValue64_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7547, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7549 * data["__cuStreamWriteValue64_v2"] = __cuStreamWriteValue64_v2 * global __cuStreamBatchMemOp_v2 * data["__cuStreamBatchMemOp_v2"] = __cuStreamBatchMemOp_v2 # <<<<<<<<<<<<<< * global __cuFuncGetAttribute * data["__cuFuncGetAttribute"] = __cuFuncGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamBatchMemOp_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7549, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7551 * data["__cuStreamBatchMemOp_v2"] = __cuStreamBatchMemOp_v2 * global __cuFuncGetAttribute * data["__cuFuncGetAttribute"] = __cuFuncGetAttribute # <<<<<<<<<<<<<< * global __cuFuncSetAttribute * data["__cuFuncSetAttribute"] = __cuFuncSetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7551, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7551, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7553 * data["__cuFuncGetAttribute"] = __cuFuncGetAttribute * global __cuFuncSetAttribute * data["__cuFuncSetAttribute"] = __cuFuncSetAttribute # <<<<<<<<<<<<<< * global __cuFuncSetCacheConfig * data["__cuFuncSetCacheConfig"] = __cuFuncSetCacheConfig */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7553, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncSetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7553, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7555 * data["__cuFuncSetAttribute"] = __cuFuncSetAttribute * global __cuFuncSetCacheConfig * data["__cuFuncSetCacheConfig"] = __cuFuncSetCacheConfig # <<<<<<<<<<<<<< * global __cuFuncGetModule * data["__cuFuncGetModule"] = __cuFuncGetModule */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetCacheConfig)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7555, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncSetCacheConfig, __pyx_t_3) < 0))) __PYX_ERR(0, 7555, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7557 * data["__cuFuncSetCacheConfig"] = __cuFuncSetCacheConfig * global __cuFuncGetModule * data["__cuFuncGetModule"] = __cuFuncGetModule # <<<<<<<<<<<<<< * global __cuFuncGetName * data["__cuFuncGetName"] = __cuFuncGetName */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetModule)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7557, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncGetModule, __pyx_t_3) < 0))) __PYX_ERR(0, 7557, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7559 * data["__cuFuncGetModule"] = __cuFuncGetModule * global __cuFuncGetName * data["__cuFuncGetName"] = __cuFuncGetName # <<<<<<<<<<<<<< * global __cuFuncGetParamInfo * data["__cuFuncGetParamInfo"] = __cuFuncGetParamInfo */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetName)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7559, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncGetName, __pyx_t_3) < 0))) __PYX_ERR(0, 7559, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7561 * data["__cuFuncGetName"] = __cuFuncGetName * global __cuFuncGetParamInfo * data["__cuFuncGetParamInfo"] = __cuFuncGetParamInfo # <<<<<<<<<<<<<< * global __cuFuncIsLoaded * data["__cuFuncIsLoaded"] = __cuFuncIsLoaded */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetParamInfo)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7561, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncGetParamInfo, __pyx_t_3) < 0))) __PYX_ERR(0, 7561, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7563 * data["__cuFuncGetParamInfo"] = __cuFuncGetParamInfo * global __cuFuncIsLoaded * data["__cuFuncIsLoaded"] = __cuFuncIsLoaded # <<<<<<<<<<<<<< * global __cuFuncLoad * data["__cuFuncLoad"] = __cuFuncLoad */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncIsLoaded)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7563, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncIsLoaded, __pyx_t_3) < 0))) __PYX_ERR(0, 7563, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7565 * data["__cuFuncIsLoaded"] = __cuFuncIsLoaded * global __cuFuncLoad * data["__cuFuncLoad"] = __cuFuncLoad # <<<<<<<<<<<<<< * global __cuLaunchKernel * data["__cuLaunchKernel"] = __cuLaunchKernel */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncLoad)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncLoad, __pyx_t_3) < 0))) __PYX_ERR(0, 7565, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7567 * data["__cuFuncLoad"] = __cuFuncLoad * global __cuLaunchKernel * data["__cuLaunchKernel"] = __cuLaunchKernel # <<<<<<<<<<<<<< * global __cuLaunchKernelEx * data["__cuLaunchKernelEx"] = __cuLaunchKernelEx */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunchKernel, __pyx_t_3) < 0))) __PYX_ERR(0, 7567, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7569 * data["__cuLaunchKernel"] = __cuLaunchKernel * global __cuLaunchKernelEx * data["__cuLaunchKernelEx"] = __cuLaunchKernelEx # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernel * data["__cuLaunchCooperativeKernel"] = __cuLaunchCooperativeKernel */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunchKernelEx, __pyx_t_3) < 0))) __PYX_ERR(0, 7569, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7571 * data["__cuLaunchKernelEx"] = __cuLaunchKernelEx * global __cuLaunchCooperativeKernel * data["__cuLaunchCooperativeKernel"] = __cuLaunchCooperativeKernel # <<<<<<<<<<<<<< * global __cuLaunchCooperativeKernelMultiDevice * data["__cuLaunchCooperativeKernelMultiDevice"] = __cuLaunchCooperativeKernelMultiDevice */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7571, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunchCooperativeKernel, __pyx_t_3) < 0))) __PYX_ERR(0, 7571, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7573 * data["__cuLaunchCooperativeKernel"] = __cuLaunchCooperativeKernel * global __cuLaunchCooperativeKernelMultiDevice * data["__cuLaunchCooperativeKernelMultiDevice"] = __cuLaunchCooperativeKernelMultiDevice # <<<<<<<<<<<<<< * global __cuLaunchHostFunc * data["__cuLaunchHostFunc"] = __cuLaunchHostFunc */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernelMultiDevice)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7573, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunchCooperativeKernelMulti, __pyx_t_3) < 0))) __PYX_ERR(0, 7573, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7575 * data["__cuLaunchCooperativeKernelMultiDevice"] = __cuLaunchCooperativeKernelMultiDevice * global __cuLaunchHostFunc * data["__cuLaunchHostFunc"] = __cuLaunchHostFunc # <<<<<<<<<<<<<< * global __cuFuncSetBlockShape * data["__cuFuncSetBlockShape"] = __cuFuncSetBlockShape */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7575, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunchHostFunc, __pyx_t_3) < 0))) __PYX_ERR(0, 7575, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7577 * data["__cuLaunchHostFunc"] = __cuLaunchHostFunc * global __cuFuncSetBlockShape * data["__cuFuncSetBlockShape"] = __cuFuncSetBlockShape # <<<<<<<<<<<<<< * global __cuFuncSetSharedSize * data["__cuFuncSetSharedSize"] = __cuFuncSetSharedSize */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetBlockShape)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7577, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncSetBlockShape, __pyx_t_3) < 0))) __PYX_ERR(0, 7577, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7579 * data["__cuFuncSetBlockShape"] = __cuFuncSetBlockShape * global __cuFuncSetSharedSize * data["__cuFuncSetSharedSize"] = __cuFuncSetSharedSize # <<<<<<<<<<<<<< * global __cuParamSetSize * data["__cuParamSetSize"] = __cuParamSetSize */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedSize)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncSetSharedSize, __pyx_t_3) < 0))) __PYX_ERR(0, 7579, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7581 * data["__cuFuncSetSharedSize"] = __cuFuncSetSharedSize * global __cuParamSetSize * data["__cuParamSetSize"] = __cuParamSetSize # <<<<<<<<<<<<<< * global __cuParamSeti * data["__cuParamSeti"] = __cuParamSeti */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetSize)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7581, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuParamSetSize, __pyx_t_3) < 0))) __PYX_ERR(0, 7581, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7583 * data["__cuParamSetSize"] = __cuParamSetSize * global __cuParamSeti * data["__cuParamSeti"] = __cuParamSeti # <<<<<<<<<<<<<< * global __cuParamSetf * data["__cuParamSetf"] = __cuParamSetf */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSeti)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7583, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuParamSeti, __pyx_t_3) < 0))) __PYX_ERR(0, 7583, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7585 * data["__cuParamSeti"] = __cuParamSeti * global __cuParamSetf * data["__cuParamSetf"] = __cuParamSetf # <<<<<<<<<<<<<< * global __cuParamSetv * data["__cuParamSetv"] = __cuParamSetv */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetf)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuParamSetf, __pyx_t_3) < 0))) __PYX_ERR(0, 7585, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7587 * data["__cuParamSetf"] = __cuParamSetf * global __cuParamSetv * data["__cuParamSetv"] = __cuParamSetv # <<<<<<<<<<<<<< * global __cuLaunch * data["__cuLaunch"] = __cuLaunch */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetv)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7587, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuParamSetv, __pyx_t_3) < 0))) __PYX_ERR(0, 7587, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7589 * data["__cuParamSetv"] = __cuParamSetv * global __cuLaunch * data["__cuLaunch"] = __cuLaunch # <<<<<<<<<<<<<< * global __cuLaunchGrid * data["__cuLaunchGrid"] = __cuLaunchGrid */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunch)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7589, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunch, __pyx_t_3) < 0))) __PYX_ERR(0, 7589, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7591 * data["__cuLaunch"] = __cuLaunch * global __cuLaunchGrid * data["__cuLaunchGrid"] = __cuLaunchGrid # <<<<<<<<<<<<<< * global __cuLaunchGridAsync * data["__cuLaunchGridAsync"] = __cuLaunchGridAsync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGrid)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7591, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunchGrid, __pyx_t_3) < 0))) __PYX_ERR(0, 7591, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7593 * data["__cuLaunchGrid"] = __cuLaunchGrid * global __cuLaunchGridAsync * data["__cuLaunchGridAsync"] = __cuLaunchGridAsync # <<<<<<<<<<<<<< * global __cuParamSetTexRef * data["__cuParamSetTexRef"] = __cuParamSetTexRef */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGridAsync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7593, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLaunchGridAsync, __pyx_t_3) < 0))) __PYX_ERR(0, 7593, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7595 * data["__cuLaunchGridAsync"] = __cuLaunchGridAsync * global __cuParamSetTexRef * data["__cuParamSetTexRef"] = __cuParamSetTexRef # <<<<<<<<<<<<<< * global __cuFuncSetSharedMemConfig * data["__cuFuncSetSharedMemConfig"] = __cuFuncSetSharedMemConfig */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetTexRef)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuParamSetTexRef, __pyx_t_3) < 0))) __PYX_ERR(0, 7595, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7597 * data["__cuParamSetTexRef"] = __cuParamSetTexRef * global __cuFuncSetSharedMemConfig * data["__cuFuncSetSharedMemConfig"] = __cuFuncSetSharedMemConfig # <<<<<<<<<<<<<< * global __cuGraphCreate * data["__cuGraphCreate"] = __cuGraphCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedMemConfig)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7597, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuFuncSetSharedMemConfig, __pyx_t_3) < 0))) __PYX_ERR(0, 7597, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7599 * data["__cuFuncSetSharedMemConfig"] = __cuFuncSetSharedMemConfig * global __cuGraphCreate * data["__cuGraphCreate"] = __cuGraphCreate # <<<<<<<<<<<<<< * global __cuGraphAddKernelNode_v2 * data["__cuGraphAddKernelNode_v2"] = __cuGraphAddKernelNode_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7599, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7599, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7601 * data["__cuGraphCreate"] = __cuGraphCreate * global __cuGraphAddKernelNode_v2 * data["__cuGraphAddKernelNode_v2"] = __cuGraphAddKernelNode_v2 # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetParams_v2 * data["__cuGraphKernelNodeGetParams_v2"] = __cuGraphKernelNodeGetParams_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddKernelNode_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddKernelNode_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7601, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7603 * data["__cuGraphAddKernelNode_v2"] = __cuGraphAddKernelNode_v2 * global __cuGraphKernelNodeGetParams_v2 * data["__cuGraphKernelNodeGetParams_v2"] = __cuGraphKernelNodeGetParams_v2 # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetParams_v2 * data["__cuGraphKernelNodeSetParams_v2"] = __cuGraphKernelNodeSetParams_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetParams_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7603, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphKernelNodeGetParams_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7603, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7605 * data["__cuGraphKernelNodeGetParams_v2"] = __cuGraphKernelNodeGetParams_v2 * global __cuGraphKernelNodeSetParams_v2 * data["__cuGraphKernelNodeSetParams_v2"] = __cuGraphKernelNodeSetParams_v2 # <<<<<<<<<<<<<< * global __cuGraphAddMemcpyNode * data["__cuGraphAddMemcpyNode"] = __cuGraphAddMemcpyNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetParams_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7605, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphKernelNodeSetParams_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7605, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7607 * data["__cuGraphKernelNodeSetParams_v2"] = __cuGraphKernelNodeSetParams_v2 * global __cuGraphAddMemcpyNode * data["__cuGraphAddMemcpyNode"] = __cuGraphAddMemcpyNode # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeGetParams * data["__cuGraphMemcpyNodeGetParams"] = __cuGraphMemcpyNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemcpyNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7607, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddMemcpyNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7607, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7609 * data["__cuGraphAddMemcpyNode"] = __cuGraphAddMemcpyNode * global __cuGraphMemcpyNodeGetParams * data["__cuGraphMemcpyNodeGetParams"] = __cuGraphMemcpyNodeGetParams # <<<<<<<<<<<<<< * global __cuGraphMemcpyNodeSetParams * data["__cuGraphMemcpyNodeSetParams"] = __cuGraphMemcpyNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7609, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphMemcpyNodeGetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7609, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7611 * data["__cuGraphMemcpyNodeGetParams"] = __cuGraphMemcpyNodeGetParams * global __cuGraphMemcpyNodeSetParams * data["__cuGraphMemcpyNodeSetParams"] = __cuGraphMemcpyNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphAddMemsetNode * data["__cuGraphAddMemsetNode"] = __cuGraphAddMemsetNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphMemcpyNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7611, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7613 * data["__cuGraphMemcpyNodeSetParams"] = __cuGraphMemcpyNodeSetParams * global __cuGraphAddMemsetNode * data["__cuGraphAddMemsetNode"] = __cuGraphAddMemsetNode # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeGetParams * data["__cuGraphMemsetNodeGetParams"] = __cuGraphMemsetNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemsetNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7613, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddMemsetNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7613, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7615 * data["__cuGraphAddMemsetNode"] = __cuGraphAddMemsetNode * global __cuGraphMemsetNodeGetParams * data["__cuGraphMemsetNodeGetParams"] = __cuGraphMemsetNodeGetParams # <<<<<<<<<<<<<< * global __cuGraphMemsetNodeSetParams * data["__cuGraphMemsetNodeSetParams"] = __cuGraphMemsetNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7615, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphMemsetNodeGetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7615, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7617 * data["__cuGraphMemsetNodeGetParams"] = __cuGraphMemsetNodeGetParams * global __cuGraphMemsetNodeSetParams * data["__cuGraphMemsetNodeSetParams"] = __cuGraphMemsetNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphAddHostNode * data["__cuGraphAddHostNode"] = __cuGraphAddHostNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7617, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphMemsetNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7617, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7619 * data["__cuGraphMemsetNodeSetParams"] = __cuGraphMemsetNodeSetParams * global __cuGraphAddHostNode * data["__cuGraphAddHostNode"] = __cuGraphAddHostNode # <<<<<<<<<<<<<< * global __cuGraphHostNodeGetParams * data["__cuGraphHostNodeGetParams"] = __cuGraphHostNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddHostNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7619, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddHostNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7619, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7621 * data["__cuGraphAddHostNode"] = __cuGraphAddHostNode * global __cuGraphHostNodeGetParams * data["__cuGraphHostNodeGetParams"] = __cuGraphHostNodeGetParams # <<<<<<<<<<<<<< * global __cuGraphHostNodeSetParams * data["__cuGraphHostNodeSetParams"] = __cuGraphHostNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7621, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphHostNodeGetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7621, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7623 * data["__cuGraphHostNodeGetParams"] = __cuGraphHostNodeGetParams * global __cuGraphHostNodeSetParams * data["__cuGraphHostNodeSetParams"] = __cuGraphHostNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphAddChildGraphNode * data["__cuGraphAddChildGraphNode"] = __cuGraphAddChildGraphNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7623, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphHostNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7623, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7625 * data["__cuGraphHostNodeSetParams"] = __cuGraphHostNodeSetParams * global __cuGraphAddChildGraphNode * data["__cuGraphAddChildGraphNode"] = __cuGraphAddChildGraphNode # <<<<<<<<<<<<<< * global __cuGraphChildGraphNodeGetGraph * data["__cuGraphChildGraphNodeGetGraph"] = __cuGraphChildGraphNodeGetGraph */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddChildGraphNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7625, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddChildGraphNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7625, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7627 * data["__cuGraphAddChildGraphNode"] = __cuGraphAddChildGraphNode * global __cuGraphChildGraphNodeGetGraph * data["__cuGraphChildGraphNodeGetGraph"] = __cuGraphChildGraphNodeGetGraph # <<<<<<<<<<<<<< * global __cuGraphAddEmptyNode * data["__cuGraphAddEmptyNode"] = __cuGraphAddEmptyNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphChildGraphNodeGetGraph)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7627, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphChildGraphNodeGetGraph, __pyx_t_3) < 0))) __PYX_ERR(0, 7627, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7629 * data["__cuGraphChildGraphNodeGetGraph"] = __cuGraphChildGraphNodeGetGraph * global __cuGraphAddEmptyNode * data["__cuGraphAddEmptyNode"] = __cuGraphAddEmptyNode # <<<<<<<<<<<<<< * global __cuGraphAddEventRecordNode * data["__cuGraphAddEventRecordNode"] = __cuGraphAddEventRecordNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEmptyNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7629, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddEmptyNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7629, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7631 * data["__cuGraphAddEmptyNode"] = __cuGraphAddEmptyNode * global __cuGraphAddEventRecordNode * data["__cuGraphAddEventRecordNode"] = __cuGraphAddEventRecordNode # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeGetEvent * data["__cuGraphEventRecordNodeGetEvent"] = __cuGraphEventRecordNodeGetEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventRecordNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7631, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddEventRecordNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7631, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7633 * data["__cuGraphAddEventRecordNode"] = __cuGraphAddEventRecordNode * global __cuGraphEventRecordNodeGetEvent * data["__cuGraphEventRecordNodeGetEvent"] = __cuGraphEventRecordNodeGetEvent # <<<<<<<<<<<<<< * global __cuGraphEventRecordNodeSetEvent * data["__cuGraphEventRecordNodeSetEvent"] = __cuGraphEventRecordNodeSetEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeGetEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7633, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphEventRecordNodeGetEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7633, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7635 * data["__cuGraphEventRecordNodeGetEvent"] = __cuGraphEventRecordNodeGetEvent * global __cuGraphEventRecordNodeSetEvent * data["__cuGraphEventRecordNodeSetEvent"] = __cuGraphEventRecordNodeSetEvent # <<<<<<<<<<<<<< * global __cuGraphAddEventWaitNode * data["__cuGraphAddEventWaitNode"] = __cuGraphAddEventWaitNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeSetEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7635, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphEventRecordNodeSetEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7635, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7637 * data["__cuGraphEventRecordNodeSetEvent"] = __cuGraphEventRecordNodeSetEvent * global __cuGraphAddEventWaitNode * data["__cuGraphAddEventWaitNode"] = __cuGraphAddEventWaitNode # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeGetEvent * data["__cuGraphEventWaitNodeGetEvent"] = __cuGraphEventWaitNodeGetEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventWaitNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7637, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddEventWaitNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7637, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7639 * data["__cuGraphAddEventWaitNode"] = __cuGraphAddEventWaitNode * global __cuGraphEventWaitNodeGetEvent * data["__cuGraphEventWaitNodeGetEvent"] = __cuGraphEventWaitNodeGetEvent # <<<<<<<<<<<<<< * global __cuGraphEventWaitNodeSetEvent * data["__cuGraphEventWaitNodeSetEvent"] = __cuGraphEventWaitNodeSetEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeGetEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7639, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphEventWaitNodeGetEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7639, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7641 * data["__cuGraphEventWaitNodeGetEvent"] = __cuGraphEventWaitNodeGetEvent * global __cuGraphEventWaitNodeSetEvent * data["__cuGraphEventWaitNodeSetEvent"] = __cuGraphEventWaitNodeSetEvent # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresSignalNode * data["__cuGraphAddExternalSemaphoresSignalNode"] = __cuGraphAddExternalSemaphoresSignalNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeSetEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7641, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphEventWaitNodeSetEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7641, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7643 * data["__cuGraphEventWaitNodeSetEvent"] = __cuGraphEventWaitNodeSetEvent * global __cuGraphAddExternalSemaphoresSignalNode * data["__cuGraphAddExternalSemaphoresSignalNode"] = __cuGraphAddExternalSemaphoresSignalNode # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeGetParams * data["__cuGraphExternalSemaphoresSignalNodeGetParams"] = __cuGraphExternalSemaphoresSignalNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresSignalNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddExternalSemaphoresSi, __pyx_t_3) < 0))) __PYX_ERR(0, 7643, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7645 * data["__cuGraphAddExternalSemaphoresSignalNode"] = __cuGraphAddExternalSemaphoresSignalNode * global __cuGraphExternalSemaphoresSignalNodeGetParams * data["__cuGraphExternalSemaphoresSignalNodeGetParams"] = __cuGraphExternalSemaphoresSignalNodeGetParams # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresSignalNodeSetParams * data["__cuGraphExternalSemaphoresSignalNodeSetParams"] = __cuGraphExternalSemaphoresSignalNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7645, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExternalSemaphoresSigna, __pyx_t_3) < 0))) __PYX_ERR(0, 7645, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7647 * data["__cuGraphExternalSemaphoresSignalNodeGetParams"] = __cuGraphExternalSemaphoresSignalNodeGetParams * global __cuGraphExternalSemaphoresSignalNodeSetParams * data["__cuGraphExternalSemaphoresSignalNodeSetParams"] = __cuGraphExternalSemaphoresSignalNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphAddExternalSemaphoresWaitNode * data["__cuGraphAddExternalSemaphoresWaitNode"] = __cuGraphAddExternalSemaphoresWaitNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7647, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExternalSemaphoresSigna_2, __pyx_t_3) < 0))) __PYX_ERR(0, 7647, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7649 * data["__cuGraphExternalSemaphoresSignalNodeSetParams"] = __cuGraphExternalSemaphoresSignalNodeSetParams * global __cuGraphAddExternalSemaphoresWaitNode * data["__cuGraphAddExternalSemaphoresWaitNode"] = __cuGraphAddExternalSemaphoresWaitNode # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeGetParams * data["__cuGraphExternalSemaphoresWaitNodeGetParams"] = __cuGraphExternalSemaphoresWaitNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresWaitNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7649, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddExternalSemaphoresWa, __pyx_t_3) < 0))) __PYX_ERR(0, 7649, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7651 * data["__cuGraphAddExternalSemaphoresWaitNode"] = __cuGraphAddExternalSemaphoresWaitNode * global __cuGraphExternalSemaphoresWaitNodeGetParams * data["__cuGraphExternalSemaphoresWaitNodeGetParams"] = __cuGraphExternalSemaphoresWaitNodeGetParams # <<<<<<<<<<<<<< * global __cuGraphExternalSemaphoresWaitNodeSetParams * data["__cuGraphExternalSemaphoresWaitNodeSetParams"] = __cuGraphExternalSemaphoresWaitNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7651, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExternalSemaphoresWaitN, __pyx_t_3) < 0))) __PYX_ERR(0, 7651, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7653 * data["__cuGraphExternalSemaphoresWaitNodeGetParams"] = __cuGraphExternalSemaphoresWaitNodeGetParams * global __cuGraphExternalSemaphoresWaitNodeSetParams * data["__cuGraphExternalSemaphoresWaitNodeSetParams"] = __cuGraphExternalSemaphoresWaitNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphAddBatchMemOpNode * data["__cuGraphAddBatchMemOpNode"] = __cuGraphAddBatchMemOpNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7653, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExternalSemaphoresWaitN_2, __pyx_t_3) < 0))) __PYX_ERR(0, 7653, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7655 * data["__cuGraphExternalSemaphoresWaitNodeSetParams"] = __cuGraphExternalSemaphoresWaitNodeSetParams * global __cuGraphAddBatchMemOpNode * data["__cuGraphAddBatchMemOpNode"] = __cuGraphAddBatchMemOpNode # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeGetParams * data["__cuGraphBatchMemOpNodeGetParams"] = __cuGraphBatchMemOpNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddBatchMemOpNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7655, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddBatchMemOpNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7655, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7657 * data["__cuGraphAddBatchMemOpNode"] = __cuGraphAddBatchMemOpNode * global __cuGraphBatchMemOpNodeGetParams * data["__cuGraphBatchMemOpNodeGetParams"] = __cuGraphBatchMemOpNodeGetParams # <<<<<<<<<<<<<< * global __cuGraphBatchMemOpNodeSetParams * data["__cuGraphBatchMemOpNodeSetParams"] = __cuGraphBatchMemOpNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7657, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphBatchMemOpNodeGetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7657, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7659 * data["__cuGraphBatchMemOpNodeGetParams"] = __cuGraphBatchMemOpNodeGetParams * global __cuGraphBatchMemOpNodeSetParams * data["__cuGraphBatchMemOpNodeSetParams"] = __cuGraphBatchMemOpNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphExecBatchMemOpNodeSetParams * data["__cuGraphExecBatchMemOpNodeSetParams"] = __cuGraphExecBatchMemOpNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphBatchMemOpNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7659, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7661 * data["__cuGraphBatchMemOpNodeSetParams"] = __cuGraphBatchMemOpNodeSetParams * global __cuGraphExecBatchMemOpNodeSetParams * data["__cuGraphExecBatchMemOpNodeSetParams"] = __cuGraphExecBatchMemOpNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphAddMemAllocNode * data["__cuGraphAddMemAllocNode"] = __cuGraphAddMemAllocNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecBatchMemOpNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7661, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecBatchMemOpNodeSetPa, __pyx_t_3) < 0))) __PYX_ERR(0, 7661, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7663 * data["__cuGraphExecBatchMemOpNodeSetParams"] = __cuGraphExecBatchMemOpNodeSetParams * global __cuGraphAddMemAllocNode * data["__cuGraphAddMemAllocNode"] = __cuGraphAddMemAllocNode # <<<<<<<<<<<<<< * global __cuGraphMemAllocNodeGetParams * data["__cuGraphMemAllocNodeGetParams"] = __cuGraphMemAllocNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemAllocNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7663, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddMemAllocNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7663, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7665 * data["__cuGraphAddMemAllocNode"] = __cuGraphAddMemAllocNode * global __cuGraphMemAllocNodeGetParams * data["__cuGraphMemAllocNodeGetParams"] = __cuGraphMemAllocNodeGetParams # <<<<<<<<<<<<<< * global __cuGraphAddMemFreeNode * data["__cuGraphAddMemFreeNode"] = __cuGraphAddMemFreeNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemAllocNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7665, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphMemAllocNodeGetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7665, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7667 * data["__cuGraphMemAllocNodeGetParams"] = __cuGraphMemAllocNodeGetParams * global __cuGraphAddMemFreeNode * data["__cuGraphAddMemFreeNode"] = __cuGraphAddMemFreeNode # <<<<<<<<<<<<<< * global __cuGraphMemFreeNodeGetParams * data["__cuGraphMemFreeNodeGetParams"] = __cuGraphMemFreeNodeGetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemFreeNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7667, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddMemFreeNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7667, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7669 * data["__cuGraphAddMemFreeNode"] = __cuGraphAddMemFreeNode * global __cuGraphMemFreeNodeGetParams * data["__cuGraphMemFreeNodeGetParams"] = __cuGraphMemFreeNodeGetParams # <<<<<<<<<<<<<< * global __cuDeviceGraphMemTrim * data["__cuDeviceGraphMemTrim"] = __cuDeviceGraphMemTrim */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemFreeNodeGetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7669, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphMemFreeNodeGetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7669, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7671 * data["__cuGraphMemFreeNodeGetParams"] = __cuGraphMemFreeNodeGetParams * global __cuDeviceGraphMemTrim * data["__cuDeviceGraphMemTrim"] = __cuDeviceGraphMemTrim # <<<<<<<<<<<<<< * global __cuDeviceGetGraphMemAttribute * data["__cuDeviceGetGraphMemAttribute"] = __cuDeviceGetGraphMemAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGraphMemTrim)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7671, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGraphMemTrim, __pyx_t_3) < 0))) __PYX_ERR(0, 7671, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7673 * data["__cuDeviceGraphMemTrim"] = __cuDeviceGraphMemTrim * global __cuDeviceGetGraphMemAttribute * data["__cuDeviceGetGraphMemAttribute"] = __cuDeviceGetGraphMemAttribute # <<<<<<<<<<<<<< * global __cuDeviceSetGraphMemAttribute * data["__cuDeviceSetGraphMemAttribute"] = __cuDeviceSetGraphMemAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetGraphMemAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetGraphMemAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7673, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7675 * data["__cuDeviceGetGraphMemAttribute"] = __cuDeviceGetGraphMemAttribute * global __cuDeviceSetGraphMemAttribute * data["__cuDeviceSetGraphMemAttribute"] = __cuDeviceSetGraphMemAttribute # <<<<<<<<<<<<<< * global __cuGraphClone * data["__cuGraphClone"] = __cuGraphClone */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetGraphMemAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7675, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceSetGraphMemAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7675, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7677 * data["__cuDeviceSetGraphMemAttribute"] = __cuDeviceSetGraphMemAttribute * global __cuGraphClone * data["__cuGraphClone"] = __cuGraphClone # <<<<<<<<<<<<<< * global __cuGraphNodeFindInClone * data["__cuGraphNodeFindInClone"] = __cuGraphNodeFindInClone */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphClone)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7677, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphClone, __pyx_t_3) < 0))) __PYX_ERR(0, 7677, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7679 * data["__cuGraphClone"] = __cuGraphClone * global __cuGraphNodeFindInClone * data["__cuGraphNodeFindInClone"] = __cuGraphNodeFindInClone # <<<<<<<<<<<<<< * global __cuGraphNodeGetType * data["__cuGraphNodeGetType"] = __cuGraphNodeGetType */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeFindInClone)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7679, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeFindInClone, __pyx_t_3) < 0))) __PYX_ERR(0, 7679, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7681 * data["__cuGraphNodeFindInClone"] = __cuGraphNodeFindInClone * global __cuGraphNodeGetType * data["__cuGraphNodeGetType"] = __cuGraphNodeGetType # <<<<<<<<<<<<<< * global __cuGraphGetNodes * data["__cuGraphGetNodes"] = __cuGraphGetNodes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetType)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7681, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeGetType, __pyx_t_3) < 0))) __PYX_ERR(0, 7681, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7683 * data["__cuGraphNodeGetType"] = __cuGraphNodeGetType * global __cuGraphGetNodes * data["__cuGraphGetNodes"] = __cuGraphGetNodes # <<<<<<<<<<<<<< * global __cuGraphGetRootNodes * data["__cuGraphGetRootNodes"] = __cuGraphGetRootNodes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetNodes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7683, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphGetNodes, __pyx_t_3) < 0))) __PYX_ERR(0, 7683, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7685 * data["__cuGraphGetNodes"] = __cuGraphGetNodes * global __cuGraphGetRootNodes * data["__cuGraphGetRootNodes"] = __cuGraphGetRootNodes # <<<<<<<<<<<<<< * global __cuGraphGetEdges * data["__cuGraphGetEdges"] = __cuGraphGetEdges */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetRootNodes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7685, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphGetRootNodes, __pyx_t_3) < 0))) __PYX_ERR(0, 7685, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7687 * data["__cuGraphGetRootNodes"] = __cuGraphGetRootNodes * global __cuGraphGetEdges * data["__cuGraphGetEdges"] = __cuGraphGetEdges # <<<<<<<<<<<<<< * global __cuGraphGetEdges_v2 * data["__cuGraphGetEdges_v2"] = __cuGraphGetEdges_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7687, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphGetEdges, __pyx_t_3) < 0))) __PYX_ERR(0, 7687, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7689 * data["__cuGraphGetEdges"] = __cuGraphGetEdges * global __cuGraphGetEdges_v2 * data["__cuGraphGetEdges_v2"] = __cuGraphGetEdges_v2 # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies * data["__cuGraphNodeGetDependencies"] = __cuGraphNodeGetDependencies */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7689, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphGetEdges_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7689, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7691 * data["__cuGraphGetEdges_v2"] = __cuGraphGetEdges_v2 * global __cuGraphNodeGetDependencies * data["__cuGraphNodeGetDependencies"] = __cuGraphNodeGetDependencies # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependencies_v2 * data["__cuGraphNodeGetDependencies_v2"] = __cuGraphNodeGetDependencies_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7691, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeGetDependencies, __pyx_t_3) < 0))) __PYX_ERR(0, 7691, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7693 * data["__cuGraphNodeGetDependencies"] = __cuGraphNodeGetDependencies * global __cuGraphNodeGetDependencies_v2 * data["__cuGraphNodeGetDependencies_v2"] = __cuGraphNodeGetDependencies_v2 # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes * data["__cuGraphNodeGetDependentNodes"] = __cuGraphNodeGetDependentNodes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7693, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeGetDependencies_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7693, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7695 * data["__cuGraphNodeGetDependencies_v2"] = __cuGraphNodeGetDependencies_v2 * global __cuGraphNodeGetDependentNodes * data["__cuGraphNodeGetDependentNodes"] = __cuGraphNodeGetDependentNodes # <<<<<<<<<<<<<< * global __cuGraphNodeGetDependentNodes_v2 * data["__cuGraphNodeGetDependentNodes_v2"] = __cuGraphNodeGetDependentNodes_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7695, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeGetDependentNodes, __pyx_t_3) < 0))) __PYX_ERR(0, 7695, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7697 * data["__cuGraphNodeGetDependentNodes"] = __cuGraphNodeGetDependentNodes * global __cuGraphNodeGetDependentNodes_v2 * data["__cuGraphNodeGetDependentNodes_v2"] = __cuGraphNodeGetDependentNodes_v2 # <<<<<<<<<<<<<< * global __cuGraphAddDependencies * data["__cuGraphAddDependencies"] = __cuGraphAddDependencies */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7697, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeGetDependentNodes_v, __pyx_t_3) < 0))) __PYX_ERR(0, 7697, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7699 * data["__cuGraphNodeGetDependentNodes_v2"] = __cuGraphNodeGetDependentNodes_v2 * global __cuGraphAddDependencies * data["__cuGraphAddDependencies"] = __cuGraphAddDependencies # <<<<<<<<<<<<<< * global __cuGraphAddDependencies_v2 * data["__cuGraphAddDependencies_v2"] = __cuGraphAddDependencies_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7699, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddDependencies, __pyx_t_3) < 0))) __PYX_ERR(0, 7699, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7701 * data["__cuGraphAddDependencies"] = __cuGraphAddDependencies * global __cuGraphAddDependencies_v2 * data["__cuGraphAddDependencies_v2"] = __cuGraphAddDependencies_v2 # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies * data["__cuGraphRemoveDependencies"] = __cuGraphRemoveDependencies */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7701, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddDependencies_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7701, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7703 * data["__cuGraphAddDependencies_v2"] = __cuGraphAddDependencies_v2 * global __cuGraphRemoveDependencies * data["__cuGraphRemoveDependencies"] = __cuGraphRemoveDependencies # <<<<<<<<<<<<<< * global __cuGraphRemoveDependencies_v2 * data["__cuGraphRemoveDependencies_v2"] = __cuGraphRemoveDependencies_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7703, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphRemoveDependencies, __pyx_t_3) < 0))) __PYX_ERR(0, 7703, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7705 * data["__cuGraphRemoveDependencies"] = __cuGraphRemoveDependencies * global __cuGraphRemoveDependencies_v2 * data["__cuGraphRemoveDependencies_v2"] = __cuGraphRemoveDependencies_v2 # <<<<<<<<<<<<<< * global __cuGraphDestroyNode * data["__cuGraphDestroyNode"] = __cuGraphDestroyNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7705, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphRemoveDependencies_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7705, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7707 * data["__cuGraphRemoveDependencies_v2"] = __cuGraphRemoveDependencies_v2 * global __cuGraphDestroyNode * data["__cuGraphDestroyNode"] = __cuGraphDestroyNode # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithFlags * data["__cuGraphInstantiateWithFlags"] = __cuGraphInstantiateWithFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroyNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7707, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphDestroyNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7707, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7709 * data["__cuGraphDestroyNode"] = __cuGraphDestroyNode * global __cuGraphInstantiateWithFlags * data["__cuGraphInstantiateWithFlags"] = __cuGraphInstantiateWithFlags # <<<<<<<<<<<<<< * global __cuGraphInstantiateWithParams * data["__cuGraphInstantiateWithParams"] = __cuGraphInstantiateWithParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7709, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphInstantiateWithFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7709, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7711 * data["__cuGraphInstantiateWithFlags"] = __cuGraphInstantiateWithFlags * global __cuGraphInstantiateWithParams * data["__cuGraphInstantiateWithParams"] = __cuGraphInstantiateWithParams # <<<<<<<<<<<<<< * global __cuGraphExecGetFlags * data["__cuGraphExecGetFlags"] = __cuGraphExecGetFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7711, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphInstantiateWithParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7711, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7713 * data["__cuGraphInstantiateWithParams"] = __cuGraphInstantiateWithParams * global __cuGraphExecGetFlags * data["__cuGraphExecGetFlags"] = __cuGraphExecGetFlags # <<<<<<<<<<<<<< * global __cuGraphExecKernelNodeSetParams_v2 * data["__cuGraphExecKernelNodeSetParams_v2"] = __cuGraphExecKernelNodeSetParams_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecGetFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7713, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecGetFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7713, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7715 * data["__cuGraphExecGetFlags"] = __cuGraphExecGetFlags * global __cuGraphExecKernelNodeSetParams_v2 * data["__cuGraphExecKernelNodeSetParams_v2"] = __cuGraphExecKernelNodeSetParams_v2 # <<<<<<<<<<<<<< * global __cuGraphExecMemcpyNodeSetParams * data["__cuGraphExecMemcpyNodeSetParams"] = __cuGraphExecMemcpyNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecKernelNodeSetParams_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7715, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecKernelNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7715, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7717 * data["__cuGraphExecKernelNodeSetParams_v2"] = __cuGraphExecKernelNodeSetParams_v2 * global __cuGraphExecMemcpyNodeSetParams * data["__cuGraphExecMemcpyNodeSetParams"] = __cuGraphExecMemcpyNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphExecMemsetNodeSetParams * data["__cuGraphExecMemsetNodeSetParams"] = __cuGraphExecMemsetNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemcpyNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7717, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecMemcpyNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7717, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7719 * data["__cuGraphExecMemcpyNodeSetParams"] = __cuGraphExecMemcpyNodeSetParams * global __cuGraphExecMemsetNodeSetParams * data["__cuGraphExecMemsetNodeSetParams"] = __cuGraphExecMemsetNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphExecHostNodeSetParams * data["__cuGraphExecHostNodeSetParams"] = __cuGraphExecHostNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemsetNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7719, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecMemsetNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7719, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7721 * data["__cuGraphExecMemsetNodeSetParams"] = __cuGraphExecMemsetNodeSetParams * global __cuGraphExecHostNodeSetParams * data["__cuGraphExecHostNodeSetParams"] = __cuGraphExecHostNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphExecChildGraphNodeSetParams * data["__cuGraphExecChildGraphNodeSetParams"] = __cuGraphExecChildGraphNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecHostNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7721, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecHostNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7721, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7723 * data["__cuGraphExecHostNodeSetParams"] = __cuGraphExecHostNodeSetParams * global __cuGraphExecChildGraphNodeSetParams * data["__cuGraphExecChildGraphNodeSetParams"] = __cuGraphExecChildGraphNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphExecEventRecordNodeSetEvent * data["__cuGraphExecEventRecordNodeSetEvent"] = __cuGraphExecEventRecordNodeSetEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecChildGraphNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7723, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecChildGraphNodeSetPa, __pyx_t_3) < 0))) __PYX_ERR(0, 7723, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7725 * data["__cuGraphExecChildGraphNodeSetParams"] = __cuGraphExecChildGraphNodeSetParams * global __cuGraphExecEventRecordNodeSetEvent * data["__cuGraphExecEventRecordNodeSetEvent"] = __cuGraphExecEventRecordNodeSetEvent # <<<<<<<<<<<<<< * global __cuGraphExecEventWaitNodeSetEvent * data["__cuGraphExecEventWaitNodeSetEvent"] = __cuGraphExecEventWaitNodeSetEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventRecordNodeSetEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7725, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecEventRecordNodeSetE, __pyx_t_3) < 0))) __PYX_ERR(0, 7725, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7727 * data["__cuGraphExecEventRecordNodeSetEvent"] = __cuGraphExecEventRecordNodeSetEvent * global __cuGraphExecEventWaitNodeSetEvent * data["__cuGraphExecEventWaitNodeSetEvent"] = __cuGraphExecEventWaitNodeSetEvent # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * data["__cuGraphExecExternalSemaphoresSignalNodeSetParams"] = __cuGraphExecExternalSemaphoresSignalNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventWaitNodeSetEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7727, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecEventWaitNodeSetEve, __pyx_t_3) < 0))) __PYX_ERR(0, 7727, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7729 * data["__cuGraphExecEventWaitNodeSetEvent"] = __cuGraphExecEventWaitNodeSetEvent * global __cuGraphExecExternalSemaphoresSignalNodeSetParams * data["__cuGraphExecExternalSemaphoresSignalNodeSetParams"] = __cuGraphExecExternalSemaphoresSignalNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * data["__cuGraphExecExternalSemaphoresWaitNodeSetParams"] = __cuGraphExecExternalSemaphoresWaitNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresSignalNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7729, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecExternalSemaphoresS, __pyx_t_3) < 0))) __PYX_ERR(0, 7729, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7731 * data["__cuGraphExecExternalSemaphoresSignalNodeSetParams"] = __cuGraphExecExternalSemaphoresSignalNodeSetParams * global __cuGraphExecExternalSemaphoresWaitNodeSetParams * data["__cuGraphExecExternalSemaphoresWaitNodeSetParams"] = __cuGraphExecExternalSemaphoresWaitNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphNodeSetEnabled * data["__cuGraphNodeSetEnabled"] = __cuGraphNodeSetEnabled */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresWaitNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecExternalSemaphoresW, __pyx_t_3) < 0))) __PYX_ERR(0, 7731, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7733 * data["__cuGraphExecExternalSemaphoresWaitNodeSetParams"] = __cuGraphExecExternalSemaphoresWaitNodeSetParams * global __cuGraphNodeSetEnabled * data["__cuGraphNodeSetEnabled"] = __cuGraphNodeSetEnabled # <<<<<<<<<<<<<< * global __cuGraphNodeGetEnabled * data["__cuGraphNodeGetEnabled"] = __cuGraphNodeGetEnabled */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetEnabled)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7733, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeSetEnabled, __pyx_t_3) < 0))) __PYX_ERR(0, 7733, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7735 * data["__cuGraphNodeSetEnabled"] = __cuGraphNodeSetEnabled * global __cuGraphNodeGetEnabled * data["__cuGraphNodeGetEnabled"] = __cuGraphNodeGetEnabled # <<<<<<<<<<<<<< * global __cuGraphUpload * data["__cuGraphUpload"] = __cuGraphUpload */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetEnabled)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7735, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeGetEnabled, __pyx_t_3) < 0))) __PYX_ERR(0, 7735, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7737 * data["__cuGraphNodeGetEnabled"] = __cuGraphNodeGetEnabled * global __cuGraphUpload * data["__cuGraphUpload"] = __cuGraphUpload # <<<<<<<<<<<<<< * global __cuGraphLaunch * data["__cuGraphLaunch"] = __cuGraphLaunch */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7737, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphUpload, __pyx_t_3) < 0))) __PYX_ERR(0, 7737, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7739 * data["__cuGraphUpload"] = __cuGraphUpload * global __cuGraphLaunch * data["__cuGraphLaunch"] = __cuGraphLaunch # <<<<<<<<<<<<<< * global __cuGraphExecDestroy * data["__cuGraphExecDestroy"] = __cuGraphExecDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7739, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphLaunch, __pyx_t_3) < 0))) __PYX_ERR(0, 7739, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7741 * data["__cuGraphLaunch"] = __cuGraphLaunch * global __cuGraphExecDestroy * data["__cuGraphExecDestroy"] = __cuGraphExecDestroy # <<<<<<<<<<<<<< * global __cuGraphDestroy * data["__cuGraphDestroy"] = __cuGraphDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7741, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7741, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7743 * data["__cuGraphExecDestroy"] = __cuGraphExecDestroy * global __cuGraphDestroy * data["__cuGraphDestroy"] = __cuGraphDestroy # <<<<<<<<<<<<<< * global __cuGraphExecUpdate_v2 * data["__cuGraphExecUpdate_v2"] = __cuGraphExecUpdate_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7743, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7743, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7745 * data["__cuGraphDestroy"] = __cuGraphDestroy * global __cuGraphExecUpdate_v2 * data["__cuGraphExecUpdate_v2"] = __cuGraphExecUpdate_v2 # <<<<<<<<<<<<<< * global __cuGraphKernelNodeCopyAttributes * data["__cuGraphKernelNodeCopyAttributes"] = __cuGraphKernelNodeCopyAttributes */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecUpdate_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7745, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecUpdate_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7745, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7747 * data["__cuGraphExecUpdate_v2"] = __cuGraphExecUpdate_v2 * global __cuGraphKernelNodeCopyAttributes * data["__cuGraphKernelNodeCopyAttributes"] = __cuGraphKernelNodeCopyAttributes # <<<<<<<<<<<<<< * global __cuGraphKernelNodeGetAttribute * data["__cuGraphKernelNodeGetAttribute"] = __cuGraphKernelNodeGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeCopyAttributes)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7747, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphKernelNodeCopyAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7747, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7749 * data["__cuGraphKernelNodeCopyAttributes"] = __cuGraphKernelNodeCopyAttributes * global __cuGraphKernelNodeGetAttribute * data["__cuGraphKernelNodeGetAttribute"] = __cuGraphKernelNodeGetAttribute # <<<<<<<<<<<<<< * global __cuGraphKernelNodeSetAttribute * data["__cuGraphKernelNodeSetAttribute"] = __cuGraphKernelNodeSetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7749, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphKernelNodeGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7749, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7751 * data["__cuGraphKernelNodeGetAttribute"] = __cuGraphKernelNodeGetAttribute * global __cuGraphKernelNodeSetAttribute * data["__cuGraphKernelNodeSetAttribute"] = __cuGraphKernelNodeSetAttribute # <<<<<<<<<<<<<< * global __cuGraphDebugDotPrint * data["__cuGraphDebugDotPrint"] = __cuGraphDebugDotPrint */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7751, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphKernelNodeSetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7751, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7753 * data["__cuGraphKernelNodeSetAttribute"] = __cuGraphKernelNodeSetAttribute * global __cuGraphDebugDotPrint * data["__cuGraphDebugDotPrint"] = __cuGraphDebugDotPrint # <<<<<<<<<<<<<< * global __cuUserObjectCreate * data["__cuUserObjectCreate"] = __cuUserObjectCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDebugDotPrint)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7753, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphDebugDotPrint, __pyx_t_3) < 0))) __PYX_ERR(0, 7753, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7755 * data["__cuGraphDebugDotPrint"] = __cuGraphDebugDotPrint * global __cuUserObjectCreate * data["__cuUserObjectCreate"] = __cuUserObjectCreate # <<<<<<<<<<<<<< * global __cuUserObjectRetain * data["__cuUserObjectRetain"] = __cuUserObjectRetain */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7755, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuUserObjectCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7755, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7757 * data["__cuUserObjectCreate"] = __cuUserObjectCreate * global __cuUserObjectRetain * data["__cuUserObjectRetain"] = __cuUserObjectRetain # <<<<<<<<<<<<<< * global __cuUserObjectRelease * data["__cuUserObjectRelease"] = __cuUserObjectRelease */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRetain)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7757, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuUserObjectRetain, __pyx_t_3) < 0))) __PYX_ERR(0, 7757, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7759 * data["__cuUserObjectRetain"] = __cuUserObjectRetain * global __cuUserObjectRelease * data["__cuUserObjectRelease"] = __cuUserObjectRelease # <<<<<<<<<<<<<< * global __cuGraphRetainUserObject * data["__cuGraphRetainUserObject"] = __cuGraphRetainUserObject */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRelease)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7759, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuUserObjectRelease, __pyx_t_3) < 0))) __PYX_ERR(0, 7759, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7761 * data["__cuUserObjectRelease"] = __cuUserObjectRelease * global __cuGraphRetainUserObject * data["__cuGraphRetainUserObject"] = __cuGraphRetainUserObject # <<<<<<<<<<<<<< * global __cuGraphReleaseUserObject * data["__cuGraphReleaseUserObject"] = __cuGraphReleaseUserObject */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRetainUserObject)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphRetainUserObject, __pyx_t_3) < 0))) __PYX_ERR(0, 7761, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7763 * data["__cuGraphRetainUserObject"] = __cuGraphRetainUserObject * global __cuGraphReleaseUserObject * data["__cuGraphReleaseUserObject"] = __cuGraphReleaseUserObject # <<<<<<<<<<<<<< * global __cuGraphAddNode * data["__cuGraphAddNode"] = __cuGraphAddNode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphReleaseUserObject)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphReleaseUserObject, __pyx_t_3) < 0))) __PYX_ERR(0, 7763, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7765 * data["__cuGraphReleaseUserObject"] = __cuGraphReleaseUserObject * global __cuGraphAddNode * data["__cuGraphAddNode"] = __cuGraphAddNode # <<<<<<<<<<<<<< * global __cuGraphAddNode_v2 * data["__cuGraphAddNode_v2"] = __cuGraphAddNode_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddNode, __pyx_t_3) < 0))) __PYX_ERR(0, 7765, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7767 * data["__cuGraphAddNode"] = __cuGraphAddNode * global __cuGraphAddNode_v2 * data["__cuGraphAddNode_v2"] = __cuGraphAddNode_v2 # <<<<<<<<<<<<<< * global __cuGraphNodeSetParams * data["__cuGraphNodeSetParams"] = __cuGraphNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7767, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphAddNode_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7767, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7769 * data["__cuGraphAddNode_v2"] = __cuGraphAddNode_v2 * global __cuGraphNodeSetParams * data["__cuGraphNodeSetParams"] = __cuGraphNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphExecNodeSetParams * data["__cuGraphExecNodeSetParams"] = __cuGraphExecNodeSetParams */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7769, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7769, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7771 * data["__cuGraphNodeSetParams"] = __cuGraphNodeSetParams * global __cuGraphExecNodeSetParams * data["__cuGraphExecNodeSetParams"] = __cuGraphExecNodeSetParams # <<<<<<<<<<<<<< * global __cuGraphConditionalHandleCreate * data["__cuGraphConditionalHandleCreate"] = __cuGraphConditionalHandleCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecNodeSetParams)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7771, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphExecNodeSetParams, __pyx_t_3) < 0))) __PYX_ERR(0, 7771, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7773 * data["__cuGraphExecNodeSetParams"] = __cuGraphExecNodeSetParams * global __cuGraphConditionalHandleCreate * data["__cuGraphConditionalHandleCreate"] = __cuGraphConditionalHandleCreate # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * data["__cuOccupancyMaxActiveBlocksPerMultiprocessor"] = __cuOccupancyMaxActiveBlocksPerMultiprocessor */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphConditionalHandleCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7773, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphConditionalHandleCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7773, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7775 * data["__cuGraphConditionalHandleCreate"] = __cuGraphConditionalHandleCreate * global __cuOccupancyMaxActiveBlocksPerMultiprocessor * data["__cuOccupancyMaxActiveBlocksPerMultiprocessor"] = __cuOccupancyMaxActiveBlocksPerMultiprocessor # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * data["__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"] = __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessor)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7775, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuOccupancyMaxActiveBlocksPerM, __pyx_t_3) < 0))) __PYX_ERR(0, 7775, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7777 * data["__cuOccupancyMaxActiveBlocksPerMultiprocessor"] = __cuOccupancyMaxActiveBlocksPerMultiprocessor * global __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * data["__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"] = __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSize * data["__cuOccupancyMaxPotentialBlockSize"] = __cuOccupancyMaxPotentialBlockSize */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7777, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuOccupancyMaxActiveBlocksPerM_2, __pyx_t_3) < 0))) __PYX_ERR(0, 7777, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7779 * data["__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags"] = __cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags * global __cuOccupancyMaxPotentialBlockSize * data["__cuOccupancyMaxPotentialBlockSize"] = __cuOccupancyMaxPotentialBlockSize # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialBlockSizeWithFlags * data["__cuOccupancyMaxPotentialBlockSizeWithFlags"] = __cuOccupancyMaxPotentialBlockSizeWithFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSize)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuOccupancyMaxPotentialBlockSi, __pyx_t_3) < 0))) __PYX_ERR(0, 7779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7781 * data["__cuOccupancyMaxPotentialBlockSize"] = __cuOccupancyMaxPotentialBlockSize * global __cuOccupancyMaxPotentialBlockSizeWithFlags * data["__cuOccupancyMaxPotentialBlockSizeWithFlags"] = __cuOccupancyMaxPotentialBlockSizeWithFlags # <<<<<<<<<<<<<< * global __cuOccupancyAvailableDynamicSMemPerBlock * data["__cuOccupancyAvailableDynamicSMemPerBlock"] = __cuOccupancyAvailableDynamicSMemPerBlock */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSizeWithFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuOccupancyMaxPotentialBlockSi_2, __pyx_t_3) < 0))) __PYX_ERR(0, 7781, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7783 * data["__cuOccupancyMaxPotentialBlockSizeWithFlags"] = __cuOccupancyMaxPotentialBlockSizeWithFlags * global __cuOccupancyAvailableDynamicSMemPerBlock * data["__cuOccupancyAvailableDynamicSMemPerBlock"] = __cuOccupancyAvailableDynamicSMemPerBlock # <<<<<<<<<<<<<< * global __cuOccupancyMaxPotentialClusterSize * data["__cuOccupancyMaxPotentialClusterSize"] = __cuOccupancyMaxPotentialClusterSize */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyAvailableDynamicSMemPerBlock)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7783, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuOccupancyAvailableDynamicSMe, __pyx_t_3) < 0))) __PYX_ERR(0, 7783, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7785 * data["__cuOccupancyAvailableDynamicSMemPerBlock"] = __cuOccupancyAvailableDynamicSMemPerBlock * global __cuOccupancyMaxPotentialClusterSize * data["__cuOccupancyMaxPotentialClusterSize"] = __cuOccupancyMaxPotentialClusterSize # <<<<<<<<<<<<<< * global __cuOccupancyMaxActiveClusters * data["__cuOccupancyMaxActiveClusters"] = __cuOccupancyMaxActiveClusters */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialClusterSize)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7785, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuOccupancyMaxPotentialCluster, __pyx_t_3) < 0))) __PYX_ERR(0, 7785, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7787 * data["__cuOccupancyMaxPotentialClusterSize"] = __cuOccupancyMaxPotentialClusterSize * global __cuOccupancyMaxActiveClusters * data["__cuOccupancyMaxActiveClusters"] = __cuOccupancyMaxActiveClusters # <<<<<<<<<<<<<< * global __cuTexRefSetArray * data["__cuTexRefSetArray"] = __cuTexRefSetArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveClusters)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7787, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuOccupancyMaxActiveClusters, __pyx_t_3) < 0))) __PYX_ERR(0, 7787, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7789 * data["__cuOccupancyMaxActiveClusters"] = __cuOccupancyMaxActiveClusters * global __cuTexRefSetArray * data["__cuTexRefSetArray"] = __cuTexRefSetArray # <<<<<<<<<<<<<< * global __cuTexRefSetMipmappedArray * data["__cuTexRefSetMipmappedArray"] = __cuTexRefSetMipmappedArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7789, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetArray, __pyx_t_3) < 0))) __PYX_ERR(0, 7789, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7791 * data["__cuTexRefSetArray"] = __cuTexRefSetArray * global __cuTexRefSetMipmappedArray * data["__cuTexRefSetMipmappedArray"] = __cuTexRefSetMipmappedArray # <<<<<<<<<<<<<< * global __cuTexRefSetAddress_v2 * data["__cuTexRefSetAddress_v2"] = __cuTexRefSetAddress_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmappedArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetMipmappedArray, __pyx_t_3) < 0))) __PYX_ERR(0, 7791, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7793 * data["__cuTexRefSetMipmappedArray"] = __cuTexRefSetMipmappedArray * global __cuTexRefSetAddress_v2 * data["__cuTexRefSetAddress_v2"] = __cuTexRefSetAddress_v2 # <<<<<<<<<<<<<< * global __cuTexRefSetAddress2D_v3 * data["__cuTexRefSetAddress2D_v3"] = __cuTexRefSetAddress2D_v3 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7793, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetAddress_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7793, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7795 * data["__cuTexRefSetAddress_v2"] = __cuTexRefSetAddress_v2 * global __cuTexRefSetAddress2D_v3 * data["__cuTexRefSetAddress2D_v3"] = __cuTexRefSetAddress2D_v3 # <<<<<<<<<<<<<< * global __cuTexRefSetFormat * data["__cuTexRefSetFormat"] = __cuTexRefSetFormat */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress2D_v3)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7795, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetAddress2D_v3, __pyx_t_3) < 0))) __PYX_ERR(0, 7795, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7797 * data["__cuTexRefSetAddress2D_v3"] = __cuTexRefSetAddress2D_v3 * global __cuTexRefSetFormat * data["__cuTexRefSetFormat"] = __cuTexRefSetFormat # <<<<<<<<<<<<<< * global __cuTexRefSetAddressMode * data["__cuTexRefSetAddressMode"] = __cuTexRefSetAddressMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFormat)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetFormat, __pyx_t_3) < 0))) __PYX_ERR(0, 7797, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7799 * data["__cuTexRefSetFormat"] = __cuTexRefSetFormat * global __cuTexRefSetAddressMode * data["__cuTexRefSetAddressMode"] = __cuTexRefSetAddressMode # <<<<<<<<<<<<<< * global __cuTexRefSetFilterMode * data["__cuTexRefSetFilterMode"] = __cuTexRefSetFilterMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddressMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7799, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetAddressMode, __pyx_t_3) < 0))) __PYX_ERR(0, 7799, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7801 * data["__cuTexRefSetAddressMode"] = __cuTexRefSetAddressMode * global __cuTexRefSetFilterMode * data["__cuTexRefSetFilterMode"] = __cuTexRefSetFilterMode # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapFilterMode * data["__cuTexRefSetMipmapFilterMode"] = __cuTexRefSetMipmapFilterMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFilterMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7801, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetFilterMode, __pyx_t_3) < 0))) __PYX_ERR(0, 7801, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7803 * data["__cuTexRefSetFilterMode"] = __cuTexRefSetFilterMode * global __cuTexRefSetMipmapFilterMode * data["__cuTexRefSetMipmapFilterMode"] = __cuTexRefSetMipmapFilterMode # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelBias * data["__cuTexRefSetMipmapLevelBias"] = __cuTexRefSetMipmapLevelBias */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapFilterMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7803, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetMipmapFilterMode, __pyx_t_3) < 0))) __PYX_ERR(0, 7803, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7805 * data["__cuTexRefSetMipmapFilterMode"] = __cuTexRefSetMipmapFilterMode * global __cuTexRefSetMipmapLevelBias * data["__cuTexRefSetMipmapLevelBias"] = __cuTexRefSetMipmapLevelBias # <<<<<<<<<<<<<< * global __cuTexRefSetMipmapLevelClamp * data["__cuTexRefSetMipmapLevelClamp"] = __cuTexRefSetMipmapLevelClamp */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelBias)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7805, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetMipmapLevelBias, __pyx_t_3) < 0))) __PYX_ERR(0, 7805, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7807 * data["__cuTexRefSetMipmapLevelBias"] = __cuTexRefSetMipmapLevelBias * global __cuTexRefSetMipmapLevelClamp * data["__cuTexRefSetMipmapLevelClamp"] = __cuTexRefSetMipmapLevelClamp # <<<<<<<<<<<<<< * global __cuTexRefSetMaxAnisotropy * data["__cuTexRefSetMaxAnisotropy"] = __cuTexRefSetMaxAnisotropy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelClamp)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7807, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetMipmapLevelClamp, __pyx_t_3) < 0))) __PYX_ERR(0, 7807, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7809 * data["__cuTexRefSetMipmapLevelClamp"] = __cuTexRefSetMipmapLevelClamp * global __cuTexRefSetMaxAnisotropy * data["__cuTexRefSetMaxAnisotropy"] = __cuTexRefSetMaxAnisotropy # <<<<<<<<<<<<<< * global __cuTexRefSetBorderColor * data["__cuTexRefSetBorderColor"] = __cuTexRefSetBorderColor */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMaxAnisotropy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7809, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetMaxAnisotropy, __pyx_t_3) < 0))) __PYX_ERR(0, 7809, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7811 * data["__cuTexRefSetMaxAnisotropy"] = __cuTexRefSetMaxAnisotropy * global __cuTexRefSetBorderColor * data["__cuTexRefSetBorderColor"] = __cuTexRefSetBorderColor # <<<<<<<<<<<<<< * global __cuTexRefSetFlags * data["__cuTexRefSetFlags"] = __cuTexRefSetFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetBorderColor)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7811, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetBorderColor, __pyx_t_3) < 0))) __PYX_ERR(0, 7811, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7813 * data["__cuTexRefSetBorderColor"] = __cuTexRefSetBorderColor * global __cuTexRefSetFlags * data["__cuTexRefSetFlags"] = __cuTexRefSetFlags # <<<<<<<<<<<<<< * global __cuTexRefGetAddress_v2 * data["__cuTexRefGetAddress_v2"] = __cuTexRefGetAddress_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7813, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefSetFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7813, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7815 * data["__cuTexRefSetFlags"] = __cuTexRefSetFlags * global __cuTexRefGetAddress_v2 * data["__cuTexRefGetAddress_v2"] = __cuTexRefGetAddress_v2 # <<<<<<<<<<<<<< * global __cuTexRefGetArray * data["__cuTexRefGetArray"] = __cuTexRefGetArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddress_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7815, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetAddress_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7815, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7817 * data["__cuTexRefGetAddress_v2"] = __cuTexRefGetAddress_v2 * global __cuTexRefGetArray * data["__cuTexRefGetArray"] = __cuTexRefGetArray # <<<<<<<<<<<<<< * global __cuTexRefGetMipmappedArray * data["__cuTexRefGetMipmappedArray"] = __cuTexRefGetMipmappedArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7817, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetArray, __pyx_t_3) < 0))) __PYX_ERR(0, 7817, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7819 * data["__cuTexRefGetArray"] = __cuTexRefGetArray * global __cuTexRefGetMipmappedArray * data["__cuTexRefGetMipmappedArray"] = __cuTexRefGetMipmappedArray # <<<<<<<<<<<<<< * global __cuTexRefGetAddressMode * data["__cuTexRefGetAddressMode"] = __cuTexRefGetAddressMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmappedArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7819, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetMipmappedArray, __pyx_t_3) < 0))) __PYX_ERR(0, 7819, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7821 * data["__cuTexRefGetMipmappedArray"] = __cuTexRefGetMipmappedArray * global __cuTexRefGetAddressMode * data["__cuTexRefGetAddressMode"] = __cuTexRefGetAddressMode # <<<<<<<<<<<<<< * global __cuTexRefGetFilterMode * data["__cuTexRefGetFilterMode"] = __cuTexRefGetFilterMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddressMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7821, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetAddressMode, __pyx_t_3) < 0))) __PYX_ERR(0, 7821, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7823 * data["__cuTexRefGetAddressMode"] = __cuTexRefGetAddressMode * global __cuTexRefGetFilterMode * data["__cuTexRefGetFilterMode"] = __cuTexRefGetFilterMode # <<<<<<<<<<<<<< * global __cuTexRefGetFormat * data["__cuTexRefGetFormat"] = __cuTexRefGetFormat */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFilterMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetFilterMode, __pyx_t_3) < 0))) __PYX_ERR(0, 7823, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7825 * data["__cuTexRefGetFilterMode"] = __cuTexRefGetFilterMode * global __cuTexRefGetFormat * data["__cuTexRefGetFormat"] = __cuTexRefGetFormat # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapFilterMode * data["__cuTexRefGetMipmapFilterMode"] = __cuTexRefGetMipmapFilterMode */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFormat)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7825, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetFormat, __pyx_t_3) < 0))) __PYX_ERR(0, 7825, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7827 * data["__cuTexRefGetFormat"] = __cuTexRefGetFormat * global __cuTexRefGetMipmapFilterMode * data["__cuTexRefGetMipmapFilterMode"] = __cuTexRefGetMipmapFilterMode # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelBias * data["__cuTexRefGetMipmapLevelBias"] = __cuTexRefGetMipmapLevelBias */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapFilterMode)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetMipmapFilterMode, __pyx_t_3) < 0))) __PYX_ERR(0, 7827, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7829 * data["__cuTexRefGetMipmapFilterMode"] = __cuTexRefGetMipmapFilterMode * global __cuTexRefGetMipmapLevelBias * data["__cuTexRefGetMipmapLevelBias"] = __cuTexRefGetMipmapLevelBias # <<<<<<<<<<<<<< * global __cuTexRefGetMipmapLevelClamp * data["__cuTexRefGetMipmapLevelClamp"] = __cuTexRefGetMipmapLevelClamp */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelBias)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetMipmapLevelBias, __pyx_t_3) < 0))) __PYX_ERR(0, 7829, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7831 * data["__cuTexRefGetMipmapLevelBias"] = __cuTexRefGetMipmapLevelBias * global __cuTexRefGetMipmapLevelClamp * data["__cuTexRefGetMipmapLevelClamp"] = __cuTexRefGetMipmapLevelClamp # <<<<<<<<<<<<<< * global __cuTexRefGetMaxAnisotropy * data["__cuTexRefGetMaxAnisotropy"] = __cuTexRefGetMaxAnisotropy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelClamp)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7831, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetMipmapLevelClamp, __pyx_t_3) < 0))) __PYX_ERR(0, 7831, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7833 * data["__cuTexRefGetMipmapLevelClamp"] = __cuTexRefGetMipmapLevelClamp * global __cuTexRefGetMaxAnisotropy * data["__cuTexRefGetMaxAnisotropy"] = __cuTexRefGetMaxAnisotropy # <<<<<<<<<<<<<< * global __cuTexRefGetBorderColor * data["__cuTexRefGetBorderColor"] = __cuTexRefGetBorderColor */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMaxAnisotropy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7833, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetMaxAnisotropy, __pyx_t_3) < 0))) __PYX_ERR(0, 7833, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7835 * data["__cuTexRefGetMaxAnisotropy"] = __cuTexRefGetMaxAnisotropy * global __cuTexRefGetBorderColor * data["__cuTexRefGetBorderColor"] = __cuTexRefGetBorderColor # <<<<<<<<<<<<<< * global __cuTexRefGetFlags * data["__cuTexRefGetFlags"] = __cuTexRefGetFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetBorderColor)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7835, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetBorderColor, __pyx_t_3) < 0))) __PYX_ERR(0, 7835, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7837 * data["__cuTexRefGetBorderColor"] = __cuTexRefGetBorderColor * global __cuTexRefGetFlags * data["__cuTexRefGetFlags"] = __cuTexRefGetFlags # <<<<<<<<<<<<<< * global __cuTexRefCreate * data["__cuTexRefCreate"] = __cuTexRefCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefGetFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7837, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7839 * data["__cuTexRefGetFlags"] = __cuTexRefGetFlags * global __cuTexRefCreate * data["__cuTexRefCreate"] = __cuTexRefCreate # <<<<<<<<<<<<<< * global __cuTexRefDestroy * data["__cuTexRefDestroy"] = __cuTexRefDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7839, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7841 * data["__cuTexRefCreate"] = __cuTexRefCreate * global __cuTexRefDestroy * data["__cuTexRefDestroy"] = __cuTexRefDestroy # <<<<<<<<<<<<<< * global __cuSurfRefSetArray * data["__cuSurfRefSetArray"] = __cuSurfRefSetArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexRefDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7841, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7843 * data["__cuTexRefDestroy"] = __cuTexRefDestroy * global __cuSurfRefSetArray * data["__cuSurfRefSetArray"] = __cuSurfRefSetArray # <<<<<<<<<<<<<< * global __cuSurfRefGetArray * data["__cuSurfRefGetArray"] = __cuSurfRefGetArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefSetArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7843, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuSurfRefSetArray, __pyx_t_3) < 0))) __PYX_ERR(0, 7843, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7845 * data["__cuSurfRefSetArray"] = __cuSurfRefSetArray * global __cuSurfRefGetArray * data["__cuSurfRefGetArray"] = __cuSurfRefGetArray # <<<<<<<<<<<<<< * global __cuTexObjectCreate * data["__cuTexObjectCreate"] = __cuTexObjectCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefGetArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuSurfRefGetArray, __pyx_t_3) < 0))) __PYX_ERR(0, 7845, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7847 * data["__cuSurfRefGetArray"] = __cuSurfRefGetArray * global __cuTexObjectCreate * data["__cuTexObjectCreate"] = __cuTexObjectCreate # <<<<<<<<<<<<<< * global __cuTexObjectDestroy * data["__cuTexObjectDestroy"] = __cuTexObjectDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexObjectCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7847, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7849 * data["__cuTexObjectCreate"] = __cuTexObjectCreate * global __cuTexObjectDestroy * data["__cuTexObjectDestroy"] = __cuTexObjectDestroy # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceDesc * data["__cuTexObjectGetResourceDesc"] = __cuTexObjectGetResourceDesc */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexObjectDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7849, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7851 * data["__cuTexObjectDestroy"] = __cuTexObjectDestroy * global __cuTexObjectGetResourceDesc * data["__cuTexObjectGetResourceDesc"] = __cuTexObjectGetResourceDesc # <<<<<<<<<<<<<< * global __cuTexObjectGetTextureDesc * data["__cuTexObjectGetTextureDesc"] = __cuTexObjectGetTextureDesc */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceDesc)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexObjectGetResourceDesc, __pyx_t_3) < 0))) __PYX_ERR(0, 7851, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7853 * data["__cuTexObjectGetResourceDesc"] = __cuTexObjectGetResourceDesc * global __cuTexObjectGetTextureDesc * data["__cuTexObjectGetTextureDesc"] = __cuTexObjectGetTextureDesc # <<<<<<<<<<<<<< * global __cuTexObjectGetResourceViewDesc * data["__cuTexObjectGetResourceViewDesc"] = __cuTexObjectGetResourceViewDesc */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetTextureDesc)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7853, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexObjectGetTextureDesc, __pyx_t_3) < 0))) __PYX_ERR(0, 7853, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7855 * data["__cuTexObjectGetTextureDesc"] = __cuTexObjectGetTextureDesc * global __cuTexObjectGetResourceViewDesc * data["__cuTexObjectGetResourceViewDesc"] = __cuTexObjectGetResourceViewDesc # <<<<<<<<<<<<<< * global __cuSurfObjectCreate * data["__cuSurfObjectCreate"] = __cuSurfObjectCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceViewDesc)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTexObjectGetResourceViewDesc, __pyx_t_3) < 0))) __PYX_ERR(0, 7855, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7857 * data["__cuTexObjectGetResourceViewDesc"] = __cuTexObjectGetResourceViewDesc * global __cuSurfObjectCreate * data["__cuSurfObjectCreate"] = __cuSurfObjectCreate # <<<<<<<<<<<<<< * global __cuSurfObjectDestroy * data["__cuSurfObjectDestroy"] = __cuSurfObjectDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuSurfObjectCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7857, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7859 * data["__cuSurfObjectCreate"] = __cuSurfObjectCreate * global __cuSurfObjectDestroy * data["__cuSurfObjectDestroy"] = __cuSurfObjectDestroy # <<<<<<<<<<<<<< * global __cuSurfObjectGetResourceDesc * data["__cuSurfObjectGetResourceDesc"] = __cuSurfObjectGetResourceDesc */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7859, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuSurfObjectDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7859, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7861 * data["__cuSurfObjectDestroy"] = __cuSurfObjectDestroy * global __cuSurfObjectGetResourceDesc * data["__cuSurfObjectGetResourceDesc"] = __cuSurfObjectGetResourceDesc # <<<<<<<<<<<<<< * global __cuTensorMapEncodeTiled * data["__cuTensorMapEncodeTiled"] = __cuTensorMapEncodeTiled */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectGetResourceDesc)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7861, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuSurfObjectGetResourceDesc, __pyx_t_3) < 0))) __PYX_ERR(0, 7861, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7863 * data["__cuSurfObjectGetResourceDesc"] = __cuSurfObjectGetResourceDesc * global __cuTensorMapEncodeTiled * data["__cuTensorMapEncodeTiled"] = __cuTensorMapEncodeTiled # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2col * data["__cuTensorMapEncodeIm2col"] = __cuTensorMapEncodeIm2col */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeTiled)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7863, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTensorMapEncodeTiled, __pyx_t_3) < 0))) __PYX_ERR(0, 7863, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7865 * data["__cuTensorMapEncodeTiled"] = __cuTensorMapEncodeTiled * global __cuTensorMapEncodeIm2col * data["__cuTensorMapEncodeIm2col"] = __cuTensorMapEncodeIm2col # <<<<<<<<<<<<<< * global __cuTensorMapEncodeIm2colWide * data["__cuTensorMapEncodeIm2colWide"] = __cuTensorMapEncodeIm2colWide */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2col)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7865, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTensorMapEncodeIm2col, __pyx_t_3) < 0))) __PYX_ERR(0, 7865, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7867 * data["__cuTensorMapEncodeIm2col"] = __cuTensorMapEncodeIm2col * global __cuTensorMapEncodeIm2colWide * data["__cuTensorMapEncodeIm2colWide"] = __cuTensorMapEncodeIm2colWide # <<<<<<<<<<<<<< * global __cuTensorMapReplaceAddress * data["__cuTensorMapReplaceAddress"] = __cuTensorMapReplaceAddress */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2colWide)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7867, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTensorMapEncodeIm2colWide, __pyx_t_3) < 0))) __PYX_ERR(0, 7867, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7869 * data["__cuTensorMapEncodeIm2colWide"] = __cuTensorMapEncodeIm2colWide * global __cuTensorMapReplaceAddress * data["__cuTensorMapReplaceAddress"] = __cuTensorMapReplaceAddress # <<<<<<<<<<<<<< * global __cuDeviceCanAccessPeer * data["__cuDeviceCanAccessPeer"] = __cuDeviceCanAccessPeer */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapReplaceAddress)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7869, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuTensorMapReplaceAddress, __pyx_t_3) < 0))) __PYX_ERR(0, 7869, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7871 * data["__cuTensorMapReplaceAddress"] = __cuTensorMapReplaceAddress * global __cuDeviceCanAccessPeer * data["__cuDeviceCanAccessPeer"] = __cuDeviceCanAccessPeer # <<<<<<<<<<<<<< * global __cuCtxEnablePeerAccess * data["__cuCtxEnablePeerAccess"] = __cuCtxEnablePeerAccess */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceCanAccessPeer)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7871, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceCanAccessPeer, __pyx_t_3) < 0))) __PYX_ERR(0, 7871, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7873 * data["__cuDeviceCanAccessPeer"] = __cuDeviceCanAccessPeer * global __cuCtxEnablePeerAccess * data["__cuCtxEnablePeerAccess"] = __cuCtxEnablePeerAccess # <<<<<<<<<<<<<< * global __cuCtxDisablePeerAccess * data["__cuCtxDisablePeerAccess"] = __cuCtxDisablePeerAccess */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxEnablePeerAccess)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7873, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxEnablePeerAccess, __pyx_t_3) < 0))) __PYX_ERR(0, 7873, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7875 * data["__cuCtxEnablePeerAccess"] = __cuCtxEnablePeerAccess * global __cuCtxDisablePeerAccess * data["__cuCtxDisablePeerAccess"] = __cuCtxDisablePeerAccess # <<<<<<<<<<<<<< * global __cuDeviceGetP2PAttribute * data["__cuDeviceGetP2PAttribute"] = __cuDeviceGetP2PAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDisablePeerAccess)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7875, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxDisablePeerAccess, __pyx_t_3) < 0))) __PYX_ERR(0, 7875, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7877 * data["__cuCtxDisablePeerAccess"] = __cuCtxDisablePeerAccess * global __cuDeviceGetP2PAttribute * data["__cuDeviceGetP2PAttribute"] = __cuDeviceGetP2PAttribute # <<<<<<<<<<<<<< * global __cuGraphicsUnregisterResource * data["__cuGraphicsUnregisterResource"] = __cuGraphicsUnregisterResource */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetP2PAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7877, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetP2PAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7877, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7879 * data["__cuDeviceGetP2PAttribute"] = __cuDeviceGetP2PAttribute * global __cuGraphicsUnregisterResource * data["__cuGraphicsUnregisterResource"] = __cuGraphicsUnregisterResource # <<<<<<<<<<<<<< * global __cuGraphicsSubResourceGetMappedArray * data["__cuGraphicsSubResourceGetMappedArray"] = __cuGraphicsSubResourceGetMappedArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnregisterResource)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7879, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsUnregisterResource, __pyx_t_3) < 0))) __PYX_ERR(0, 7879, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7881 * data["__cuGraphicsUnregisterResource"] = __cuGraphicsUnregisterResource * global __cuGraphicsSubResourceGetMappedArray * data["__cuGraphicsSubResourceGetMappedArray"] = __cuGraphicsSubResourceGetMappedArray # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedMipmappedArray * data["__cuGraphicsResourceGetMappedMipmappedArray"] = __cuGraphicsResourceGetMappedMipmappedArray */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsSubResourceGetMappedArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7881, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsSubResourceGetMapped, __pyx_t_3) < 0))) __PYX_ERR(0, 7881, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7883 * data["__cuGraphicsSubResourceGetMappedArray"] = __cuGraphicsSubResourceGetMappedArray * global __cuGraphicsResourceGetMappedMipmappedArray * data["__cuGraphicsResourceGetMappedMipmappedArray"] = __cuGraphicsResourceGetMappedMipmappedArray # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedPointer_v2 * data["__cuGraphicsResourceGetMappedPointer_v2"] = __cuGraphicsResourceGetMappedPointer_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedMipmappedArray)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsResourceGetMappedMip, __pyx_t_3) < 0))) __PYX_ERR(0, 7883, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7885 * data["__cuGraphicsResourceGetMappedMipmappedArray"] = __cuGraphicsResourceGetMappedMipmappedArray * global __cuGraphicsResourceGetMappedPointer_v2 * data["__cuGraphicsResourceGetMappedPointer_v2"] = __cuGraphicsResourceGetMappedPointer_v2 # <<<<<<<<<<<<<< * global __cuGraphicsResourceSetMapFlags_v2 * data["__cuGraphicsResourceSetMapFlags_v2"] = __cuGraphicsResourceSetMapFlags_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedPointer_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7885, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsResourceGetMappedPoi, __pyx_t_3) < 0))) __PYX_ERR(0, 7885, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7887 * data["__cuGraphicsResourceGetMappedPointer_v2"] = __cuGraphicsResourceGetMappedPointer_v2 * global __cuGraphicsResourceSetMapFlags_v2 * data["__cuGraphicsResourceSetMapFlags_v2"] = __cuGraphicsResourceSetMapFlags_v2 # <<<<<<<<<<<<<< * global __cuGraphicsMapResources * data["__cuGraphicsMapResources"] = __cuGraphicsMapResources */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceSetMapFlags_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7887, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsResourceSetMapFlags, __pyx_t_3) < 0))) __PYX_ERR(0, 7887, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7889 * data["__cuGraphicsResourceSetMapFlags_v2"] = __cuGraphicsResourceSetMapFlags_v2 * global __cuGraphicsMapResources * data["__cuGraphicsMapResources"] = __cuGraphicsMapResources # <<<<<<<<<<<<<< * global __cuGraphicsUnmapResources * data["__cuGraphicsUnmapResources"] = __cuGraphicsUnmapResources */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsMapResources, __pyx_t_3) < 0))) __PYX_ERR(0, 7889, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7891 * data["__cuGraphicsMapResources"] = __cuGraphicsMapResources * global __cuGraphicsUnmapResources * data["__cuGraphicsUnmapResources"] = __cuGraphicsUnmapResources # <<<<<<<<<<<<<< * global __cuGetProcAddress_v2 * data["__cuGetProcAddress_v2"] = __cuGetProcAddress_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7891, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsUnmapResources, __pyx_t_3) < 0))) __PYX_ERR(0, 7891, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7893 * data["__cuGraphicsUnmapResources"] = __cuGraphicsUnmapResources * global __cuGetProcAddress_v2 * data["__cuGetProcAddress_v2"] = __cuGetProcAddress_v2 # <<<<<<<<<<<<<< * global __cuCoredumpGetAttribute * data["__cuCoredumpGetAttribute"] = __cuCoredumpGetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7893, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGetProcAddress_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7893, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7895 * data["__cuGetProcAddress_v2"] = __cuGetProcAddress_v2 * global __cuCoredumpGetAttribute * data["__cuCoredumpGetAttribute"] = __cuCoredumpGetAttribute # <<<<<<<<<<<<<< * global __cuCoredumpGetAttributeGlobal * data["__cuCoredumpGetAttributeGlobal"] = __cuCoredumpGetAttributeGlobal */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7895, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCoredumpGetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7895, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7897 * data["__cuCoredumpGetAttribute"] = __cuCoredumpGetAttribute * global __cuCoredumpGetAttributeGlobal * data["__cuCoredumpGetAttributeGlobal"] = __cuCoredumpGetAttributeGlobal # <<<<<<<<<<<<<< * global __cuCoredumpSetAttribute * data["__cuCoredumpSetAttribute"] = __cuCoredumpSetAttribute */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttributeGlobal)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7897, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCoredumpGetAttributeGlobal, __pyx_t_3) < 0))) __PYX_ERR(0, 7897, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7899 * data["__cuCoredumpGetAttributeGlobal"] = __cuCoredumpGetAttributeGlobal * global __cuCoredumpSetAttribute * data["__cuCoredumpSetAttribute"] = __cuCoredumpSetAttribute # <<<<<<<<<<<<<< * global __cuCoredumpSetAttributeGlobal * data["__cuCoredumpSetAttributeGlobal"] = __cuCoredumpSetAttributeGlobal */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttribute)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCoredumpSetAttribute, __pyx_t_3) < 0))) __PYX_ERR(0, 7899, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7901 * data["__cuCoredumpSetAttribute"] = __cuCoredumpSetAttribute * global __cuCoredumpSetAttributeGlobal * data["__cuCoredumpSetAttributeGlobal"] = __cuCoredumpSetAttributeGlobal # <<<<<<<<<<<<<< * global __cuGetExportTable * data["__cuGetExportTable"] = __cuGetExportTable */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttributeGlobal)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7901, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCoredumpSetAttributeGlobal, __pyx_t_3) < 0))) __PYX_ERR(0, 7901, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7903 * data["__cuCoredumpSetAttributeGlobal"] = __cuCoredumpSetAttributeGlobal * global __cuGetExportTable * data["__cuGetExportTable"] = __cuGetExportTable # <<<<<<<<<<<<<< * global __cuGreenCtxCreate * data["__cuGreenCtxCreate"] = __cuGreenCtxCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetExportTable)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGetExportTable, __pyx_t_3) < 0))) __PYX_ERR(0, 7903, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7905 * data["__cuGetExportTable"] = __cuGetExportTable * global __cuGreenCtxCreate * data["__cuGreenCtxCreate"] = __cuGreenCtxCreate # <<<<<<<<<<<<<< * global __cuGreenCtxDestroy * data["__cuGreenCtxDestroy"] = __cuGreenCtxDestroy */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGreenCtxCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7905, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7907 * data["__cuGreenCtxCreate"] = __cuGreenCtxCreate * global __cuGreenCtxDestroy * data["__cuGreenCtxDestroy"] = __cuGreenCtxDestroy # <<<<<<<<<<<<<< * global __cuCtxFromGreenCtx * data["__cuCtxFromGreenCtx"] = __cuCtxFromGreenCtx */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxDestroy)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7907, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGreenCtxDestroy, __pyx_t_3) < 0))) __PYX_ERR(0, 7907, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7909 * data["__cuGreenCtxDestroy"] = __cuGreenCtxDestroy * global __cuCtxFromGreenCtx * data["__cuCtxFromGreenCtx"] = __cuCtxFromGreenCtx # <<<<<<<<<<<<<< * global __cuDeviceGetDevResource * data["__cuDeviceGetDevResource"] = __cuDeviceGetDevResource */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxFromGreenCtx)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7909, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxFromGreenCtx, __pyx_t_3) < 0))) __PYX_ERR(0, 7909, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7911 * data["__cuCtxFromGreenCtx"] = __cuCtxFromGreenCtx * global __cuDeviceGetDevResource * data["__cuDeviceGetDevResource"] = __cuDeviceGetDevResource # <<<<<<<<<<<<<< * global __cuCtxGetDevResource * data["__cuCtxGetDevResource"] = __cuCtxGetDevResource */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDevResource)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7911, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDeviceGetDevResource, __pyx_t_3) < 0))) __PYX_ERR(0, 7911, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7913 * data["__cuDeviceGetDevResource"] = __cuDeviceGetDevResource * global __cuCtxGetDevResource * data["__cuCtxGetDevResource"] = __cuCtxGetDevResource # <<<<<<<<<<<<<< * global __cuGreenCtxGetDevResource * data["__cuGreenCtxGetDevResource"] = __cuGreenCtxGetDevResource */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevResource)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7913, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCtxGetDevResource, __pyx_t_3) < 0))) __PYX_ERR(0, 7913, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7915 * data["__cuCtxGetDevResource"] = __cuCtxGetDevResource * global __cuGreenCtxGetDevResource * data["__cuGreenCtxGetDevResource"] = __cuGreenCtxGetDevResource # <<<<<<<<<<<<<< * global __cuDevSmResourceSplitByCount * data["__cuDevSmResourceSplitByCount"] = __cuDevSmResourceSplitByCount */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxGetDevResource)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7915, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGreenCtxGetDevResource, __pyx_t_3) < 0))) __PYX_ERR(0, 7915, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7917 * data["__cuGreenCtxGetDevResource"] = __cuGreenCtxGetDevResource * global __cuDevSmResourceSplitByCount * data["__cuDevSmResourceSplitByCount"] = __cuDevSmResourceSplitByCount # <<<<<<<<<<<<<< * global __cuDevResourceGenerateDesc * data["__cuDevResourceGenerateDesc"] = __cuDevResourceGenerateDesc */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevSmResourceSplitByCount)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7917, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDevSmResourceSplitByCount, __pyx_t_3) < 0))) __PYX_ERR(0, 7917, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7919 * data["__cuDevSmResourceSplitByCount"] = __cuDevSmResourceSplitByCount * global __cuDevResourceGenerateDesc * data["__cuDevResourceGenerateDesc"] = __cuDevResourceGenerateDesc # <<<<<<<<<<<<<< * global __cuGreenCtxRecordEvent * data["__cuGreenCtxRecordEvent"] = __cuGreenCtxRecordEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevResourceGenerateDesc)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7919, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuDevResourceGenerateDesc, __pyx_t_3) < 0))) __PYX_ERR(0, 7919, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7921 * data["__cuDevResourceGenerateDesc"] = __cuDevResourceGenerateDesc * global __cuGreenCtxRecordEvent * data["__cuGreenCtxRecordEvent"] = __cuGreenCtxRecordEvent # <<<<<<<<<<<<<< * global __cuGreenCtxWaitEvent * data["__cuGreenCtxWaitEvent"] = __cuGreenCtxWaitEvent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxRecordEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGreenCtxRecordEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7921, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7923 * data["__cuGreenCtxRecordEvent"] = __cuGreenCtxRecordEvent * global __cuGreenCtxWaitEvent * data["__cuGreenCtxWaitEvent"] = __cuGreenCtxWaitEvent # <<<<<<<<<<<<<< * global __cuStreamGetGreenCtx * data["__cuStreamGetGreenCtx"] = __cuStreamGetGreenCtx */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxWaitEvent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGreenCtxWaitEvent, __pyx_t_3) < 0))) __PYX_ERR(0, 7923, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7925 * data["__cuGreenCtxWaitEvent"] = __cuGreenCtxWaitEvent * global __cuStreamGetGreenCtx * data["__cuStreamGetGreenCtx"] = __cuStreamGetGreenCtx # <<<<<<<<<<<<<< * global __cuGreenCtxStreamCreate * data["__cuGreenCtxStreamCreate"] = __cuGreenCtxStreamCreate */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetGreenCtx)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuStreamGetGreenCtx, __pyx_t_3) < 0))) __PYX_ERR(0, 7925, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7927 * data["__cuStreamGetGreenCtx"] = __cuStreamGetGreenCtx * global __cuGreenCtxStreamCreate * data["__cuGreenCtxStreamCreate"] = __cuGreenCtxStreamCreate # <<<<<<<<<<<<<< * global __cuLogsRegisterCallback * data["__cuLogsRegisterCallback"] = __cuLogsRegisterCallback */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxStreamCreate)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7927, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGreenCtxStreamCreate, __pyx_t_3) < 0))) __PYX_ERR(0, 7927, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7929 * data["__cuGreenCtxStreamCreate"] = __cuGreenCtxStreamCreate * global __cuLogsRegisterCallback * data["__cuLogsRegisterCallback"] = __cuLogsRegisterCallback # <<<<<<<<<<<<<< * global __cuLogsUnregisterCallback * data["__cuLogsUnregisterCallback"] = __cuLogsUnregisterCallback */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsRegisterCallback)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLogsRegisterCallback, __pyx_t_3) < 0))) __PYX_ERR(0, 7929, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7931 * data["__cuLogsRegisterCallback"] = __cuLogsRegisterCallback * global __cuLogsUnregisterCallback * data["__cuLogsUnregisterCallback"] = __cuLogsUnregisterCallback # <<<<<<<<<<<<<< * global __cuLogsCurrent * data["__cuLogsCurrent"] = __cuLogsCurrent */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsUnregisterCallback)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7931, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLogsUnregisterCallback, __pyx_t_3) < 0))) __PYX_ERR(0, 7931, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7933 * data["__cuLogsUnregisterCallback"] = __cuLogsUnregisterCallback * global __cuLogsCurrent * data["__cuLogsCurrent"] = __cuLogsCurrent # <<<<<<<<<<<<<< * global __cuLogsDumpToFile * data["__cuLogsDumpToFile"] = __cuLogsDumpToFile */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsCurrent)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLogsCurrent, __pyx_t_3) < 0))) __PYX_ERR(0, 7933, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7935 * data["__cuLogsCurrent"] = __cuLogsCurrent * global __cuLogsDumpToFile * data["__cuLogsDumpToFile"] = __cuLogsDumpToFile # <<<<<<<<<<<<<< * global __cuLogsDumpToMemory * data["__cuLogsDumpToMemory"] = __cuLogsDumpToMemory */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToFile)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLogsDumpToFile, __pyx_t_3) < 0))) __PYX_ERR(0, 7935, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7937 * data["__cuLogsDumpToFile"] = __cuLogsDumpToFile * global __cuLogsDumpToMemory * data["__cuLogsDumpToMemory"] = __cuLogsDumpToMemory # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetRestoreThreadId * data["__cuCheckpointProcessGetRestoreThreadId"] = __cuCheckpointProcessGetRestoreThreadId */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToMemory)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuLogsDumpToMemory, __pyx_t_3) < 0))) __PYX_ERR(0, 7937, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7939 * data["__cuLogsDumpToMemory"] = __cuLogsDumpToMemory * global __cuCheckpointProcessGetRestoreThreadId * data["__cuCheckpointProcessGetRestoreThreadId"] = __cuCheckpointProcessGetRestoreThreadId # <<<<<<<<<<<<<< * global __cuCheckpointProcessGetState * data["__cuCheckpointProcessGetState"] = __cuCheckpointProcessGetState */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetRestoreThreadId)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7939, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCheckpointProcessGetRestoreT, __pyx_t_3) < 0))) __PYX_ERR(0, 7939, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7941 * data["__cuCheckpointProcessGetRestoreThreadId"] = __cuCheckpointProcessGetRestoreThreadId * global __cuCheckpointProcessGetState * data["__cuCheckpointProcessGetState"] = __cuCheckpointProcessGetState # <<<<<<<<<<<<<< * global __cuCheckpointProcessLock * data["__cuCheckpointProcessLock"] = __cuCheckpointProcessLock */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetState)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7941, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCheckpointProcessGetState, __pyx_t_3) < 0))) __PYX_ERR(0, 7941, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7943 * data["__cuCheckpointProcessGetState"] = __cuCheckpointProcessGetState * global __cuCheckpointProcessLock * data["__cuCheckpointProcessLock"] = __cuCheckpointProcessLock # <<<<<<<<<<<<<< * global __cuCheckpointProcessCheckpoint * data["__cuCheckpointProcessCheckpoint"] = __cuCheckpointProcessCheckpoint */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessLock)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7943, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCheckpointProcessLock, __pyx_t_3) < 0))) __PYX_ERR(0, 7943, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7945 * data["__cuCheckpointProcessLock"] = __cuCheckpointProcessLock * global __cuCheckpointProcessCheckpoint * data["__cuCheckpointProcessCheckpoint"] = __cuCheckpointProcessCheckpoint # <<<<<<<<<<<<<< * global __cuCheckpointProcessRestore * data["__cuCheckpointProcessRestore"] = __cuCheckpointProcessRestore */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessCheckpoint)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCheckpointProcessCheckpoint, __pyx_t_3) < 0))) __PYX_ERR(0, 7945, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7947 * data["__cuCheckpointProcessCheckpoint"] = __cuCheckpointProcessCheckpoint * global __cuCheckpointProcessRestore * data["__cuCheckpointProcessRestore"] = __cuCheckpointProcessRestore # <<<<<<<<<<<<<< * global __cuCheckpointProcessUnlock * data["__cuCheckpointProcessUnlock"] = __cuCheckpointProcessUnlock */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessRestore)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7947, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCheckpointProcessRestore, __pyx_t_3) < 0))) __PYX_ERR(0, 7947, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7949 * data["__cuCheckpointProcessRestore"] = __cuCheckpointProcessRestore * global __cuCheckpointProcessUnlock * data["__cuCheckpointProcessUnlock"] = __cuCheckpointProcessUnlock # <<<<<<<<<<<<<< * global __cuProfilerStart * data["__cuProfilerStart"] = __cuProfilerStart */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessUnlock)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7949, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuCheckpointProcessUnlock, __pyx_t_3) < 0))) __PYX_ERR(0, 7949, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7951 * data["__cuCheckpointProcessUnlock"] = __cuCheckpointProcessUnlock * global __cuProfilerStart * data["__cuProfilerStart"] = __cuProfilerStart # <<<<<<<<<<<<<< * global __cuProfilerStop * data["__cuProfilerStop"] = __cuProfilerStop */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStart)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7951, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuProfilerStart, __pyx_t_3) < 0))) __PYX_ERR(0, 7951, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7953 * data["__cuProfilerStart"] = __cuProfilerStart * global __cuProfilerStop * data["__cuProfilerStop"] = __cuProfilerStop # <<<<<<<<<<<<<< * global __cuGraphicsEGLRegisterImage * data["__cuGraphicsEGLRegisterImage"] = __cuGraphicsEGLRegisterImage */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStop)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7953, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuProfilerStop, __pyx_t_3) < 0))) __PYX_ERR(0, 7953, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7955 * data["__cuProfilerStop"] = __cuProfilerStop * global __cuGraphicsEGLRegisterImage * data["__cuGraphicsEGLRegisterImage"] = __cuGraphicsEGLRegisterImage # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnect * data["__cuEGLStreamConsumerConnect"] = __cuEGLStreamConsumerConnect */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsEGLRegisterImage)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7955, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsEGLRegisterImage, __pyx_t_3) < 0))) __PYX_ERR(0, 7955, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7957 * data["__cuGraphicsEGLRegisterImage"] = __cuGraphicsEGLRegisterImage * global __cuEGLStreamConsumerConnect * data["__cuEGLStreamConsumerConnect"] = __cuEGLStreamConsumerConnect # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerConnectWithFlags * data["__cuEGLStreamConsumerConnectWithFlags"] = __cuEGLStreamConsumerConnectWithFlags */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnect)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7957, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamConsumerConnect, __pyx_t_3) < 0))) __PYX_ERR(0, 7957, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7959 * data["__cuEGLStreamConsumerConnect"] = __cuEGLStreamConsumerConnect * global __cuEGLStreamConsumerConnectWithFlags * data["__cuEGLStreamConsumerConnectWithFlags"] = __cuEGLStreamConsumerConnectWithFlags # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerDisconnect * data["__cuEGLStreamConsumerDisconnect"] = __cuEGLStreamConsumerDisconnect */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnectWithFlags)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7959, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamConsumerConnectWith, __pyx_t_3) < 0))) __PYX_ERR(0, 7959, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7961 * data["__cuEGLStreamConsumerConnectWithFlags"] = __cuEGLStreamConsumerConnectWithFlags * global __cuEGLStreamConsumerDisconnect * data["__cuEGLStreamConsumerDisconnect"] = __cuEGLStreamConsumerDisconnect # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerAcquireFrame * data["__cuEGLStreamConsumerAcquireFrame"] = __cuEGLStreamConsumerAcquireFrame */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerDisconnect)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7961, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamConsumerDisconnect, __pyx_t_3) < 0))) __PYX_ERR(0, 7961, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7963 * data["__cuEGLStreamConsumerDisconnect"] = __cuEGLStreamConsumerDisconnect * global __cuEGLStreamConsumerAcquireFrame * data["__cuEGLStreamConsumerAcquireFrame"] = __cuEGLStreamConsumerAcquireFrame # <<<<<<<<<<<<<< * global __cuEGLStreamConsumerReleaseFrame * data["__cuEGLStreamConsumerReleaseFrame"] = __cuEGLStreamConsumerReleaseFrame */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerAcquireFrame)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamConsumerAcquireFram, __pyx_t_3) < 0))) __PYX_ERR(0, 7963, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7965 * data["__cuEGLStreamConsumerAcquireFrame"] = __cuEGLStreamConsumerAcquireFrame * global __cuEGLStreamConsumerReleaseFrame * data["__cuEGLStreamConsumerReleaseFrame"] = __cuEGLStreamConsumerReleaseFrame # <<<<<<<<<<<<<< * global __cuEGLStreamProducerConnect * data["__cuEGLStreamProducerConnect"] = __cuEGLStreamProducerConnect */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerReleaseFrame)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7965, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamConsumerReleaseFram, __pyx_t_3) < 0))) __PYX_ERR(0, 7965, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7967 * data["__cuEGLStreamConsumerReleaseFrame"] = __cuEGLStreamConsumerReleaseFrame * global __cuEGLStreamProducerConnect * data["__cuEGLStreamProducerConnect"] = __cuEGLStreamProducerConnect # <<<<<<<<<<<<<< * global __cuEGLStreamProducerDisconnect * data["__cuEGLStreamProducerDisconnect"] = __cuEGLStreamProducerDisconnect */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerConnect)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7967, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamProducerConnect, __pyx_t_3) < 0))) __PYX_ERR(0, 7967, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7969 * data["__cuEGLStreamProducerConnect"] = __cuEGLStreamProducerConnect * global __cuEGLStreamProducerDisconnect * data["__cuEGLStreamProducerDisconnect"] = __cuEGLStreamProducerDisconnect # <<<<<<<<<<<<<< * global __cuEGLStreamProducerPresentFrame * data["__cuEGLStreamProducerPresentFrame"] = __cuEGLStreamProducerPresentFrame */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerDisconnect)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7969, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamProducerDisconnect, __pyx_t_3) < 0))) __PYX_ERR(0, 7969, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7971 * data["__cuEGLStreamProducerDisconnect"] = __cuEGLStreamProducerDisconnect * global __cuEGLStreamProducerPresentFrame * data["__cuEGLStreamProducerPresentFrame"] = __cuEGLStreamProducerPresentFrame # <<<<<<<<<<<<<< * global __cuEGLStreamProducerReturnFrame * data["__cuEGLStreamProducerReturnFrame"] = __cuEGLStreamProducerReturnFrame */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerPresentFrame)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7971, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamProducerPresentFram, __pyx_t_3) < 0))) __PYX_ERR(0, 7971, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7973 * data["__cuEGLStreamProducerPresentFrame"] = __cuEGLStreamProducerPresentFrame * global __cuEGLStreamProducerReturnFrame * data["__cuEGLStreamProducerReturnFrame"] = __cuEGLStreamProducerReturnFrame # <<<<<<<<<<<<<< * global __cuGraphicsResourceGetMappedEglFrame * data["__cuGraphicsResourceGetMappedEglFrame"] = __cuGraphicsResourceGetMappedEglFrame */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerReturnFrame)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7973, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEGLStreamProducerReturnFrame, __pyx_t_3) < 0))) __PYX_ERR(0, 7973, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7975 * data["__cuEGLStreamProducerReturnFrame"] = __cuEGLStreamProducerReturnFrame * global __cuGraphicsResourceGetMappedEglFrame * data["__cuGraphicsResourceGetMappedEglFrame"] = __cuGraphicsResourceGetMappedEglFrame # <<<<<<<<<<<<<< * global __cuEventCreateFromEGLSync * data["__cuEventCreateFromEGLSync"] = __cuEventCreateFromEGLSync */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedEglFrame)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7975, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsResourceGetMappedEgl, __pyx_t_3) < 0))) __PYX_ERR(0, 7975, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7977 * data["__cuGraphicsResourceGetMappedEglFrame"] = __cuGraphicsResourceGetMappedEglFrame * global __cuEventCreateFromEGLSync * data["__cuEventCreateFromEGLSync"] = __cuEventCreateFromEGLSync # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterBuffer * data["__cuGraphicsGLRegisterBuffer"] = __cuGraphicsGLRegisterBuffer */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreateFromEGLSync)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7977, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuEventCreateFromEGLSync, __pyx_t_3) < 0))) __PYX_ERR(0, 7977, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7979 * data["__cuEventCreateFromEGLSync"] = __cuEventCreateFromEGLSync * global __cuGraphicsGLRegisterBuffer * data["__cuGraphicsGLRegisterBuffer"] = __cuGraphicsGLRegisterBuffer # <<<<<<<<<<<<<< * global __cuGraphicsGLRegisterImage * data["__cuGraphicsGLRegisterImage"] = __cuGraphicsGLRegisterImage */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterBuffer)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7979, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsGLRegisterBuffer, __pyx_t_3) < 0))) __PYX_ERR(0, 7979, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7981 * data["__cuGraphicsGLRegisterBuffer"] = __cuGraphicsGLRegisterBuffer * global __cuGraphicsGLRegisterImage * data["__cuGraphicsGLRegisterImage"] = __cuGraphicsGLRegisterImage # <<<<<<<<<<<<<< * global __cuGLGetDevices_v2 * data["__cuGLGetDevices_v2"] = __cuGLGetDevices_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterImage)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7981, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsGLRegisterImage, __pyx_t_3) < 0))) __PYX_ERR(0, 7981, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7983 * data["__cuGraphicsGLRegisterImage"] = __cuGraphicsGLRegisterImage * global __cuGLGetDevices_v2 * data["__cuGLGetDevices_v2"] = __cuGLGetDevices_v2 # <<<<<<<<<<<<<< * global __cuVDPAUGetDevice * data["__cuVDPAUGetDevice"] = __cuVDPAUGetDevice */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGLGetDevices_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7983, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGLGetDevices_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7983, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7985 * data["__cuGLGetDevices_v2"] = __cuGLGetDevices_v2 * global __cuVDPAUGetDevice * data["__cuVDPAUGetDevice"] = __cuVDPAUGetDevice # <<<<<<<<<<<<<< * global __cuVDPAUCtxCreate_v2 * data["__cuVDPAUCtxCreate_v2"] = __cuVDPAUCtxCreate_v2 */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUGetDevice)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7985, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuVDPAUGetDevice, __pyx_t_3) < 0))) __PYX_ERR(0, 7985, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7987 * data["__cuVDPAUGetDevice"] = __cuVDPAUGetDevice * global __cuVDPAUCtxCreate_v2 * data["__cuVDPAUCtxCreate_v2"] = __cuVDPAUCtxCreate_v2 # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterVideoSurface * data["__cuGraphicsVDPAURegisterVideoSurface"] = __cuGraphicsVDPAURegisterVideoSurface */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUCtxCreate_v2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7987, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuVDPAUCtxCreate_v2, __pyx_t_3) < 0))) __PYX_ERR(0, 7987, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7989 * data["__cuVDPAUCtxCreate_v2"] = __cuVDPAUCtxCreate_v2 * global __cuGraphicsVDPAURegisterVideoSurface * data["__cuGraphicsVDPAURegisterVideoSurface"] = __cuGraphicsVDPAURegisterVideoSurface # <<<<<<<<<<<<<< * global __cuGraphicsVDPAURegisterOutputSurface * data["__cuGraphicsVDPAURegisterOutputSurface"] = __cuGraphicsVDPAURegisterOutputSurface */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterVideoSurface)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7989, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsVDPAURegisterVideoSu, __pyx_t_3) < 0))) __PYX_ERR(0, 7989, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7991 * data["__cuGraphicsVDPAURegisterVideoSurface"] = __cuGraphicsVDPAURegisterVideoSurface * global __cuGraphicsVDPAURegisterOutputSurface * data["__cuGraphicsVDPAURegisterOutputSurface"] = __cuGraphicsVDPAURegisterOutputSurface # <<<<<<<<<<<<<< * * func_ptrs = data */ __pyx_t_3 = PyLong_FromSsize_t(((intptr_t)__pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterOutputSurface)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 7991, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely((PyDict_SetItem(__pyx_v_data, __pyx_mstate_global->__pyx_n_u_cuGraphicsVDPAURegisterOutputS, __pyx_t_3) < 0))) __PYX_ERR(0, 7991, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7993 * data["__cuGraphicsVDPAURegisterOutputSurface"] = __cuGraphicsVDPAURegisterOutputSurface * * func_ptrs = data # <<<<<<<<<<<<<< * return data * */ __Pyx_INCREF(__pyx_v_data); __Pyx_XGOTREF(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs); __Pyx_DECREF_SET(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs, __pyx_v_data); __Pyx_GIVEREF(__pyx_v_data); /* "cuda/bindings/_bindings/cydriver.pyx":7994 * * func_ptrs = data * return data # <<<<<<<<<<<<<< * * cpdef _inspect_function_pointer(str name): */ __Pyx_XDECREF(__pyx_r); __Pyx_INCREF(__pyx_v_data); __pyx_r = __pyx_v_data; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":7038 * cdef dict func_ptrs = None * * cpdef dict _inspect_function_pointers(): # <<<<<<<<<<<<<< * global func_ptrs * if func_ptrs is not None: */ /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_3); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._inspect_function_pointers", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; __Pyx_XDECREF(__pyx_v_data); __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } /* Python wrapper */ static PyObject *__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_1_inspect_function_pointers(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/ PyDoc_STRVAR(__pyx_doc_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers, "_inspect_function_pointers() -> dict"); static PyMethodDef __pyx_mdef_4cuda_8bindings_9_bindings_8cydriver_1_inspect_function_pointers = {"_inspect_function_pointers", (PyCFunction)__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_1_inspect_function_pointers, METH_NOARGS, __pyx_doc_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers}; static PyObject *__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_1_inspect_function_pointers(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) { CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("_inspect_function_pointers (wrapper)", 0); __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); __pyx_r = __pyx_pf_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers(__pyx_self); /* function exit code */ __Pyx_RefNannyFinishContext(); return __pyx_r; } static PyObject *__pyx_pf_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers(CYTHON_UNUSED PyObject *__pyx_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_inspect_function_pointers", 0); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 7038, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._inspect_function_pointers", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } /* "cuda/bindings/_bindings/cydriver.pyx":7996 * return data * * cpdef _inspect_function_pointer(str name): # <<<<<<<<<<<<<< * global func_ptrs * if func_ptrs is None: */ static PyObject *__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_3_inspect_function_pointer(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ static PyObject *__pyx_f_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointer(PyObject *__pyx_v_name, CYTHON_UNUSED int __pyx_skip_dispatch) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations int __pyx_t_1; PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_inspect_function_pointer", 0); /* "cuda/bindings/_bindings/cydriver.pyx":7998 * cpdef _inspect_function_pointer(str name): * global func_ptrs * if func_ptrs is None: # <<<<<<<<<<<<<< * func_ptrs = _inspect_function_pointers() * return func_ptrs[name] */ __pyx_t_1 = (__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs == ((PyObject*)Py_None)); if (__pyx_t_1) { /* "cuda/bindings/_bindings/cydriver.pyx":7999 * global func_ptrs * if func_ptrs is None: * func_ptrs = _inspect_function_pointers() # <<<<<<<<<<<<<< * return func_ptrs[name] */ __pyx_t_2 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointers(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 7999, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs); __Pyx_DECREF_SET(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs, ((PyObject*)__pyx_t_2)); __Pyx_GIVEREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7998 * cpdef _inspect_function_pointer(str name): * global func_ptrs * if func_ptrs is None: # <<<<<<<<<<<<<< * func_ptrs = _inspect_function_pointers() * return func_ptrs[name] */ } /* "cuda/bindings/_bindings/cydriver.pyx":8000 * if func_ptrs is None: * func_ptrs = _inspect_function_pointers() * return func_ptrs[name] # <<<<<<<<<<<<<< */ __Pyx_XDECREF(__pyx_r); if (unlikely(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); __PYX_ERR(0, 8000, __pyx_L1_error) } __pyx_t_2 = __Pyx_PyDict_GetItem(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs, __pyx_v_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 8000, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_r = __pyx_t_2; __pyx_t_2 = 0; goto __pyx_L0; /* "cuda/bindings/_bindings/cydriver.pyx":7996 * return data * * cpdef _inspect_function_pointer(str name): # <<<<<<<<<<<<<< * global func_ptrs * if func_ptrs is None: */ /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._inspect_function_pointer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } /* Python wrapper */ static PyObject *__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_3_inspect_function_pointer(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ PyDoc_STRVAR(__pyx_doc_4cuda_8bindings_9_bindings_8cydriver_2_inspect_function_pointer, "_inspect_function_pointer(str name)"); static PyMethodDef __pyx_mdef_4cuda_8bindings_9_bindings_8cydriver_3_inspect_function_pointer = {"_inspect_function_pointer", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_3_inspect_function_pointer, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4cuda_8bindings_9_bindings_8cydriver_2_inspect_function_pointer}; static PyObject *__pyx_pw_4cuda_8bindings_9_bindings_8cydriver_3_inspect_function_pointer(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_name = 0; #if !CYTHON_METH_FASTCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[1] = {0}; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("_inspect_function_pointer (wrapper)", 0); #if !CYTHON_METH_FASTCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; #endif #endif __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_name,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 7996, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 7996, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_inspect_function_pointer", 0) < (0)) __PYX_ERR(0, 7996, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_inspect_function_pointer", 1, 1, 1, i); __PYX_ERR(0, 7996, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 7996, __pyx_L3_error) } __pyx_v_name = ((PyObject*)values[0]); } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; __Pyx_RaiseArgtupleInvalid("_inspect_function_pointer", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 7996, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { Py_XDECREF(values[__pyx_temp]); } __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._inspect_function_pointer", __pyx_clineno, __pyx_lineno, __pyx_filename); __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 7996, __pyx_L1_error) __pyx_r = __pyx_pf_4cuda_8bindings_9_bindings_8cydriver_2_inspect_function_pointer(__pyx_self, __pyx_v_name); /* function exit code */ goto __pyx_L0; __pyx_L1_error:; __pyx_r = NULL; for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { Py_XDECREF(values[__pyx_temp]); } goto __pyx_L7_cleaned_up; __pyx_L0:; for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; __Pyx_RefNannyFinishContext(); return __pyx_r; } static PyObject *__pyx_pf_4cuda_8bindings_9_bindings_8cydriver_2_inspect_function_pointer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_name) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_inspect_function_pointer", 0); __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_4cuda_8bindings_9_bindings_8cydriver__inspect_function_pointer(__pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 7996, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("cuda.bindings._bindings.cydriver._inspect_function_pointer", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } /* #### Code section: module_exttypes ### */ static PyMethodDef __pyx_methods[] = { {0, 0, 0, 0} }; /* #### Code section: initfunc_declarations ### */ static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate); /*proto*/ /* #### Code section: init_module ### */ static int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0); /*--- Global init code ---*/ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___symbol_lock = Py_None; Py_INCREF(Py_None); __pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs = ((PyObject*)Py_None); Py_INCREF(Py_None); __Pyx_RefNannyFinishContext(); return 0; } static int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0); /*--- Variable export code ---*/ __Pyx_RefNannyFinishContext(); return 0; } static int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0); /*--- Function export code ---*/ if (__Pyx_ExportFunction("_cuGetErrorString", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetErrorString, "CUresult (CUresult, char const **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGetErrorName", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetErrorName, "CUresult (CUresult, char const **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuInit", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuInit, "CUresult (unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDriverGetVersion", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDriverGetVersion, "CUresult (int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGet", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGet, "CUresult (CUdevice *, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetCount", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetCount, "CUresult (int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetName", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetName, "CUresult (char *, int, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetUuid", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetUuid, "CUresult (CUuuid *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetUuid_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetUuid_v2, "CUresult (CUuuid *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetLuid", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetLuid, "CUresult (char *, unsigned int *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceTotalMem_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceTotalMem_v2, "CUresult (size_t *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetTexture1DLinearMaxWidth", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetTexture1DLinearMaxWidth, "CUresult (size_t *, CUarray_format, unsigned int, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetAttribute, "CUresult (int *, CUdevice_attribute, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetNvSciSyncAttributes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetNvSciSyncAttributes, "CUresult (void *, CUdevice, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceSetMemPool", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceSetMemPool, "CUresult (CUdevice, CUmemoryPool)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetMemPool", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetMemPool, "CUresult (CUmemoryPool *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetDefaultMemPool", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetDefaultMemPool, "CUresult (CUmemoryPool *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetExecAffinitySupport", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetExecAffinitySupport, "CUresult (int *, CUexecAffinityType, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFlushGPUDirectRDMAWrites", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFlushGPUDirectRDMAWrites, "CUresult (CUflushGPUDirectRDMAWritesTarget, CUflushGPUDirectRDMAWritesScope)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetProperties", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetProperties, "CUresult (CUdevprop *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceComputeCapability", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceComputeCapability, "CUresult (int *, int *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDevicePrimaryCtxRetain", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxRetain, "CUresult (CUcontext *, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDevicePrimaryCtxRelease_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxRelease_v2, "CUresult (CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDevicePrimaryCtxSetFlags_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxSetFlags_v2, "CUresult (CUdevice, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDevicePrimaryCtxGetState", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxGetState, "CUresult (CUdevice, unsigned int *, int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDevicePrimaryCtxReset_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevicePrimaryCtxReset_v2, "CUresult (CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxCreate_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxCreate_v2, "CUresult (CUcontext *, unsigned int, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxCreate_v3", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxCreate_v3, "CUresult (CUcontext *, CUexecAffinityParam *, int, unsigned int, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxCreate_v4", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxCreate_v4, "CUresult (CUcontext *, CUctxCreateParams *, unsigned int, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxDestroy_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxDestroy_v2, "CUresult (CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxPushCurrent_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxPushCurrent_v2, "CUresult (CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxPopCurrent_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxPopCurrent_v2, "CUresult (CUcontext *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxSetCurrent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetCurrent, "CUresult (CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetCurrent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetCurrent, "CUresult (CUcontext *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetDevice", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetDevice, "CUresult (CUdevice *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetFlags, "CUresult (unsigned int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxSetFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetFlags, "CUresult (unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetId", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetId, "CUresult (CUcontext, unsigned PY_LONG_LONG *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxSynchronize", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSynchronize, "CUresult (void)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxSetLimit", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetLimit, "CUresult (CUlimit, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetLimit", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetLimit, "CUresult (size_t *, CUlimit)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetCacheConfig", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetCacheConfig, "CUresult (CUfunc_cache *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxSetCacheConfig", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetCacheConfig, "CUresult (CUfunc_cache)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetApiVersion", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetApiVersion, "CUresult (CUcontext, unsigned int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetStreamPriorityRange", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetStreamPriorityRange, "CUresult (int *, int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxResetPersistingL2Cache", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxResetPersistingL2Cache, "CUresult (void)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetExecAffinity", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetExecAffinity, "CUresult (CUexecAffinityParam *, CUexecAffinityType)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxRecordEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxRecordEvent, "CUresult (CUcontext, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxWaitEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxWaitEvent, "CUresult (CUcontext, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxAttach", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxAttach, "CUresult (CUcontext *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxDetach", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxDetach, "CUresult (CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetSharedMemConfig", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetSharedMemConfig, "CUresult (CUsharedconfig *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxSetSharedMemConfig", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxSetSharedMemConfig, "CUresult (CUsharedconfig)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleLoad", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoad, "CUresult (CUmodule *, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleLoadData", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoadData, "CUresult (CUmodule *, void const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleLoadDataEx", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoadDataEx, "CUresult (CUmodule *, void const *, unsigned int, CUjit_option *, void **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleLoadFatBinary", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleLoadFatBinary, "CUresult (CUmodule *, void const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleUnload", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleUnload, "CUresult (CUmodule)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleGetLoadingMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetLoadingMode, "CUresult (CUmoduleLoadingMode *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleGetFunction", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetFunction, "CUresult (CUfunction *, CUmodule, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleGetFunctionCount", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetFunctionCount, "CUresult (unsigned int *, CUmodule)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleEnumerateFunctions", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleEnumerateFunctions, "CUresult (CUfunction *, unsigned int, CUmodule)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleGetGlobal_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetGlobal_v2, "CUresult (CUdeviceptr *, size_t *, CUmodule, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLinkCreate_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkCreate_v2, "CUresult (unsigned int, CUjit_option *, void **, CUlinkState *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLinkAddData_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkAddData_v2, "CUresult (CUlinkState, CUjitInputType, void *, size_t, char const *, unsigned int, CUjit_option *, void **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLinkAddFile_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkAddFile_v2, "CUresult (CUlinkState, CUjitInputType, char const *, unsigned int, CUjit_option *, void **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLinkComplete", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkComplete, "CUresult (CUlinkState, void **, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLinkDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLinkDestroy, "CUresult (CUlinkState)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleGetTexRef", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetTexRef, "CUresult (CUtexref *, CUmodule, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuModuleGetSurfRef", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuModuleGetSurfRef, "CUresult (CUsurfref *, CUmodule, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryLoadData", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryLoadData, "CUresult (CUlibrary *, void const *, CUjit_option *, void **, unsigned int, CUlibraryOption *, void **, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryLoadFromFile", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryLoadFromFile, "CUresult (CUlibrary *, char const *, CUjit_option *, void **, unsigned int, CUlibraryOption *, void **, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryUnload", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryUnload, "CUresult (CUlibrary)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryGetKernel", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetKernel, "CUresult (CUkernel *, CUlibrary, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryGetKernelCount", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetKernelCount, "CUresult (unsigned int *, CUlibrary)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryEnumerateKernels", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryEnumerateKernels, "CUresult (CUkernel *, unsigned int, CUlibrary)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryGetModule", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetModule, "CUresult (CUmodule *, CUlibrary)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuKernelGetFunction", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetFunction, "CUresult (CUfunction *, CUkernel)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuKernelGetLibrary", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetLibrary, "CUresult (CUlibrary *, CUkernel)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryGetGlobal", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetGlobal, "CUresult (CUdeviceptr *, size_t *, CUlibrary, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryGetManaged", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetManaged, "CUresult (CUdeviceptr *, size_t *, CUlibrary, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLibraryGetUnifiedFunction", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLibraryGetUnifiedFunction, "CUresult (void **, CUlibrary, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuKernelGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetAttribute, "CUresult (int *, CUfunction_attribute, CUkernel, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuKernelSetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelSetAttribute, "CUresult (CUfunction_attribute, int, CUkernel, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuKernelSetCacheConfig", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelSetCacheConfig, "CUresult (CUkernel, CUfunc_cache, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuKernelGetName", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetName, "CUresult (char const **, CUkernel)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuKernelGetParamInfo", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuKernelGetParamInfo, "CUresult (CUkernel, size_t, size_t *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemGetInfo_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetInfo_v2, "CUresult (size_t *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAlloc_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAlloc_v2, "CUresult (CUdeviceptr *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAllocPitch_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocPitch_v2, "CUresult (CUdeviceptr *, size_t *, size_t, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemFree_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemFree_v2, "CUresult (CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemGetAddressRange_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAddressRange_v2, "CUresult (CUdeviceptr *, size_t *, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAllocHost_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocHost_v2, "CUresult (void **, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemFreeHost", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemFreeHost, "CUresult (void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemHostAlloc", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostAlloc, "CUresult (void **, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemHostGetDevicePointer_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostGetDevicePointer_v2, "CUresult (CUdeviceptr *, void *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemHostGetFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostGetFlags, "CUresult (unsigned int *, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAllocManaged", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocManaged, "CUresult (CUdeviceptr *, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceRegisterAsyncNotification", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceRegisterAsyncNotification, "CUresult (CUdevice, CUasyncCallback, void *, CUasyncCallbackHandle *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceUnregisterAsyncNotification", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceUnregisterAsyncNotification, "CUresult (CUdevice, CUasyncCallbackHandle)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetByPCIBusId", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetByPCIBusId, "CUresult (CUdevice *, char const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetPCIBusId", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetPCIBusId, "CUresult (char *, int, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuIpcGetEventHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcGetEventHandle, "CUresult (CUipcEventHandle *, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuIpcOpenEventHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcOpenEventHandle, "CUresult (CUevent *, CUipcEventHandle)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuIpcGetMemHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcGetMemHandle, "CUresult (CUipcMemHandle *, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuIpcOpenMemHandle_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcOpenMemHandle_v2, "CUresult (CUdeviceptr *, CUipcMemHandle, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuIpcCloseMemHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuIpcCloseMemHandle, "CUresult (CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemHostRegister_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostRegister_v2, "CUresult (void *, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemHostUnregister", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemHostUnregister, "CUresult (void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy, "CUresult (CUdeviceptr, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyPeer", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyPeer, "CUresult (CUdeviceptr, CUcontext, CUdeviceptr, CUcontext, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyHtoD_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoD_v2, "CUresult (CUdeviceptr, void const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyDtoH_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoH_v2, "CUresult (void *, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyDtoD_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoD_v2, "CUresult (CUdeviceptr, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyDtoA_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoA_v2, "CUresult (CUarray, size_t, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyAtoD_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoD_v2, "CUresult (CUdeviceptr, CUarray, size_t, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyHtoA_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoA_v2, "CUresult (CUarray, size_t, void const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyAtoH_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoH_v2, "CUresult (void *, CUarray, size_t, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyAtoA_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoA_v2, "CUresult (CUarray, size_t, CUarray, size_t, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy2D_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy2D_v2, "CUresult (CUDA_MEMCPY2D const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy2DUnaligned_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy2DUnaligned_v2, "CUresult (CUDA_MEMCPY2D const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy3D_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3D_v2, "CUresult (CUDA_MEMCPY3D const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy3DPeer", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DPeer, "CUresult (CUDA_MEMCPY3D_PEER const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAsync, "CUresult (CUdeviceptr, CUdeviceptr, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyPeerAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyPeerAsync, "CUresult (CUdeviceptr, CUcontext, CUdeviceptr, CUcontext, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyHtoDAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoDAsync_v2, "CUresult (CUdeviceptr, void const *, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyDtoHAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoHAsync_v2, "CUresult (void *, CUdeviceptr, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyDtoDAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyDtoDAsync_v2, "CUresult (CUdeviceptr, CUdeviceptr, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyHtoAAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyHtoAAsync_v2, "CUresult (CUarray, size_t, void const *, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyAtoHAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyAtoHAsync_v2, "CUresult (void *, CUarray, size_t, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy2DAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy2DAsync_v2, "CUresult (CUDA_MEMCPY2D const *, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy3DAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DAsync_v2, "CUresult (CUDA_MEMCPY3D const *, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy3DPeerAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DPeerAsync, "CUresult (CUDA_MEMCPY3D_PEER const *, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpyBatchAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpyBatchAsync, "CUresult (CUdeviceptr *, CUdeviceptr *, size_t *, size_t, CUmemcpyAttributes *, size_t *, size_t, size_t *, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemcpy3DBatchAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemcpy3DBatchAsync, "CUresult (size_t, CUDA_MEMCPY3D_BATCH_OP *, size_t *, unsigned PY_LONG_LONG, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD8_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD8_v2, "CUresult (CUdeviceptr, unsigned char, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD16_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD16_v2, "CUresult (CUdeviceptr, unsigned short, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD32_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD32_v2, "CUresult (CUdeviceptr, unsigned int, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD2D8_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D8_v2, "CUresult (CUdeviceptr, size_t, unsigned char, size_t, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD2D16_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D16_v2, "CUresult (CUdeviceptr, size_t, unsigned short, size_t, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD2D32_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D32_v2, "CUresult (CUdeviceptr, size_t, unsigned int, size_t, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD8Async", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD8Async, "CUresult (CUdeviceptr, unsigned char, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD16Async", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD16Async, "CUresult (CUdeviceptr, unsigned short, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD32Async", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD32Async, "CUresult (CUdeviceptr, unsigned int, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD2D8Async", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D8Async, "CUresult (CUdeviceptr, size_t, unsigned char, size_t, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD2D16Async", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D16Async, "CUresult (CUdeviceptr, size_t, unsigned short, size_t, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemsetD2D32Async", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemsetD2D32Async, "CUresult (CUdeviceptr, size_t, unsigned int, size_t, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArrayCreate_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayCreate_v2, "CUresult (CUarray *, CUDA_ARRAY_DESCRIPTOR const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArrayGetDescriptor_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetDescriptor_v2, "CUresult (CUDA_ARRAY_DESCRIPTOR *, CUarray)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArrayGetSparseProperties", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetSparseProperties, "CUresult (CUDA_ARRAY_SPARSE_PROPERTIES *, CUarray)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMipmappedArrayGetSparseProperties", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayGetSparseProperties, "CUresult (CUDA_ARRAY_SPARSE_PROPERTIES *, CUmipmappedArray)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArrayGetMemoryRequirements", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetMemoryRequirements, "CUresult (CUDA_ARRAY_MEMORY_REQUIREMENTS *, CUarray, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMipmappedArrayGetMemoryRequirements", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayGetMemoryRequirements, "CUresult (CUDA_ARRAY_MEMORY_REQUIREMENTS *, CUmipmappedArray, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArrayGetPlane", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayGetPlane, "CUresult (CUarray *, CUarray, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArrayDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArrayDestroy, "CUresult (CUarray)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArray3DCreate_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArray3DCreate_v2, "CUresult (CUarray *, CUDA_ARRAY3D_DESCRIPTOR const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuArray3DGetDescriptor_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuArray3DGetDescriptor_v2, "CUresult (CUDA_ARRAY3D_DESCRIPTOR *, CUarray)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMipmappedArrayCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayCreate, "CUresult (CUmipmappedArray *, CUDA_ARRAY3D_DESCRIPTOR const *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMipmappedArrayGetLevel", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayGetLevel, "CUresult (CUarray *, CUmipmappedArray, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMipmappedArrayDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMipmappedArrayDestroy, "CUresult (CUmipmappedArray)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemGetHandleForAddressRange", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetHandleForAddressRange, "CUresult (void *, CUdeviceptr, size_t, CUmemRangeHandleType, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemBatchDecompressAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemBatchDecompressAsync, "CUresult (CUmemDecompressParams *, size_t, unsigned int, size_t *, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAddressReserve", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAddressReserve, "CUresult (CUdeviceptr *, size_t, size_t, CUdeviceptr, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAddressFree", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAddressFree, "CUresult (CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemCreate, "CUresult (CUmemGenericAllocationHandle *, size_t, CUmemAllocationProp const *, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemRelease", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRelease, "CUresult (CUmemGenericAllocationHandle)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemMap", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemMap, "CUresult (CUdeviceptr, size_t, size_t, CUmemGenericAllocationHandle, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemMapArrayAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemMapArrayAsync, "CUresult (CUarrayMapInfo *, unsigned int, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemUnmap", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemUnmap, "CUresult (CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemSetAccess", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemSetAccess, "CUresult (CUdeviceptr, size_t, CUmemAccessDesc const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemGetAccess", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAccess, "CUresult (unsigned PY_LONG_LONG *, CUmemLocation const *, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemExportToShareableHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemExportToShareableHandle, "CUresult (void *, CUmemGenericAllocationHandle, CUmemAllocationHandleType, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemImportFromShareableHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemImportFromShareableHandle, "CUresult (CUmemGenericAllocationHandle *, void *, CUmemAllocationHandleType)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemGetAllocationGranularity", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAllocationGranularity, "CUresult (size_t *, CUmemAllocationProp const *, CUmemAllocationGranularity_flags)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemGetAllocationPropertiesFromHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemGetAllocationPropertiesFromHandle, "CUresult (CUmemAllocationProp *, CUmemGenericAllocationHandle)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemRetainAllocationHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRetainAllocationHandle, "CUresult (CUmemGenericAllocationHandle *, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemFreeAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemFreeAsync, "CUresult (CUdeviceptr, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAllocAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocAsync, "CUresult (CUdeviceptr *, size_t, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolTrimTo", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolTrimTo, "CUresult (CUmemoryPool, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolSetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolSetAttribute, "CUresult (CUmemoryPool, CUmemPool_attribute, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolGetAttribute, "CUresult (CUmemoryPool, CUmemPool_attribute, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolSetAccess", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolSetAccess, "CUresult (CUmemoryPool, CUmemAccessDesc const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolGetAccess", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolGetAccess, "CUresult (CUmemAccess_flags *, CUmemoryPool, CUmemLocation *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolCreate, "CUresult (CUmemoryPool *, CUmemPoolProps const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolDestroy, "CUresult (CUmemoryPool)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAllocFromPoolAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAllocFromPoolAsync, "CUresult (CUdeviceptr *, size_t, CUmemoryPool, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolExportToShareableHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolExportToShareableHandle, "CUresult (void *, CUmemoryPool, CUmemAllocationHandleType, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolImportFromShareableHandle", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolImportFromShareableHandle, "CUresult (CUmemoryPool *, void *, CUmemAllocationHandleType, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolExportPointer", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolExportPointer, "CUresult (CUmemPoolPtrExportData *, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPoolImportPointer", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPoolImportPointer, "CUresult (CUdeviceptr *, CUmemoryPool, CUmemPoolPtrExportData *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMulticastCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastCreate, "CUresult (CUmemGenericAllocationHandle *, CUmulticastObjectProp const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMulticastAddDevice", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastAddDevice, "CUresult (CUmemGenericAllocationHandle, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMulticastBindMem", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastBindMem, "CUresult (CUmemGenericAllocationHandle, size_t, CUmemGenericAllocationHandle, size_t, size_t, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMulticastBindAddr", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastBindAddr, "CUresult (CUmemGenericAllocationHandle, size_t, CUdeviceptr, size_t, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMulticastUnbind", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastUnbind, "CUresult (CUmemGenericAllocationHandle, CUdevice, size_t, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMulticastGetGranularity", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMulticastGetGranularity, "CUresult (size_t *, CUmulticastObjectProp const *, CUmulticastGranularity_flags)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuPointerGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPointerGetAttribute, "CUresult (void *, CUpointer_attribute, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPrefetchAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPrefetchAsync, "CUresult (CUdeviceptr, size_t, CUdevice, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemPrefetchAsync_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemPrefetchAsync_v2, "CUresult (CUdeviceptr, size_t, CUmemLocation, unsigned int, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAdvise", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAdvise, "CUresult (CUdeviceptr, size_t, CUmem_advise, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemAdvise_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemAdvise_v2, "CUresult (CUdeviceptr, size_t, CUmem_advise, CUmemLocation)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemRangeGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRangeGetAttribute, "CUresult (void *, size_t, CUmem_range_attribute, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuMemRangeGetAttributes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuMemRangeGetAttributes, "CUresult (void **, size_t *, CUmem_range_attribute *, size_t, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuPointerSetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPointerSetAttribute, "CUresult (void const *, CUpointer_attribute, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuPointerGetAttributes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuPointerGetAttributes, "CUresult (unsigned int, CUpointer_attribute *, void **, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamCreate, "CUresult (CUstream *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamCreateWithPriority", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamCreateWithPriority, "CUresult (CUstream *, unsigned int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetPriority", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetPriority, "CUresult (CUstream, int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetDevice", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetDevice, "CUresult (CUstream, CUdevice *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetFlags, "CUresult (CUstream, unsigned int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetId", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetId, "CUresult (CUstream, unsigned PY_LONG_LONG *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetCtx", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCtx, "CUresult (CUstream, CUcontext *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetCtx_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCtx_v2, "CUresult (CUstream, CUcontext *, CUgreenCtx *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamWaitEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWaitEvent, "CUresult (CUstream, CUevent, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamAddCallback", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamAddCallback, "CUresult (CUstream, CUstreamCallback, void *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamBeginCapture_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamBeginCapture_v2, "CUresult (CUstream, CUstreamCaptureMode)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamBeginCaptureToGraph", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamBeginCaptureToGraph, "CUresult (CUstream, CUgraph, CUgraphNode const *, CUgraphEdgeData const *, size_t, CUstreamCaptureMode)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuThreadExchangeStreamCaptureMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuThreadExchangeStreamCaptureMode, "CUresult (CUstreamCaptureMode *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamEndCapture", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamEndCapture, "CUresult (CUstream, CUgraph *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamIsCapturing", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamIsCapturing, "CUresult (CUstream, CUstreamCaptureStatus *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetCaptureInfo_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCaptureInfo_v2, "CUresult (CUstream, CUstreamCaptureStatus *, cuuint64_t *, CUgraph *, CUgraphNode const **, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetCaptureInfo_v3", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetCaptureInfo_v3, "CUresult (CUstream, CUstreamCaptureStatus *, cuuint64_t *, CUgraph *, CUgraphNode const **, CUgraphEdgeData const **, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamUpdateCaptureDependencies", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamUpdateCaptureDependencies, "CUresult (CUstream, CUgraphNode *, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamUpdateCaptureDependencies_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamUpdateCaptureDependencies_v2, "CUresult (CUstream, CUgraphNode *, CUgraphEdgeData const *, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamAttachMemAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamAttachMemAsync, "CUresult (CUstream, CUdeviceptr, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamQuery", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamQuery, "CUresult (CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamSynchronize", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamSynchronize, "CUresult (CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamDestroy_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamDestroy_v2, "CUresult (CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamCopyAttributes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamCopyAttributes, "CUresult (CUstream, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetAttribute, "CUresult (CUstream, CUstreamAttrID, CUstreamAttrValue *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamSetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamSetAttribute, "CUresult (CUstream, CUstreamAttrID, CUstreamAttrValue const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventCreate, "CUresult (CUevent *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventRecord", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventRecord, "CUresult (CUevent, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventRecordWithFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventRecordWithFlags, "CUresult (CUevent, CUstream, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventQuery", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventQuery, "CUresult (CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventSynchronize", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventSynchronize, "CUresult (CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventDestroy_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventDestroy_v2, "CUresult (CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventElapsedTime", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventElapsedTime, "CUresult (float *, CUevent, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventElapsedTime_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventElapsedTime_v2, "CUresult (float *, CUevent, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuImportExternalMemory", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuImportExternalMemory, "CUresult (CUexternalMemory *, CUDA_EXTERNAL_MEMORY_HANDLE_DESC const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuExternalMemoryGetMappedBuffer", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuExternalMemoryGetMappedBuffer, "CUresult (CUdeviceptr *, CUexternalMemory, CUDA_EXTERNAL_MEMORY_BUFFER_DESC const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuExternalMemoryGetMappedMipmappedArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuExternalMemoryGetMappedMipmappedArray, "CUresult (CUmipmappedArray *, CUexternalMemory, CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDestroyExternalMemory", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDestroyExternalMemory, "CUresult (CUexternalMemory)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuImportExternalSemaphore", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuImportExternalSemaphore, "CUresult (CUexternalSemaphore *, CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuSignalExternalSemaphoresAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSignalExternalSemaphoresAsync, "CUresult (CUexternalSemaphore const *, CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS const *, unsigned int, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuWaitExternalSemaphoresAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuWaitExternalSemaphoresAsync, "CUresult (CUexternalSemaphore const *, CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS const *, unsigned int, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDestroyExternalSemaphore", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDestroyExternalSemaphore, "CUresult (CUexternalSemaphore)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamWaitValue32_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWaitValue32_v2, "CUresult (CUstream, CUdeviceptr, cuuint32_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamWaitValue64_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWaitValue64_v2, "CUresult (CUstream, CUdeviceptr, cuuint64_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamWriteValue32_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWriteValue32_v2, "CUresult (CUstream, CUdeviceptr, cuuint32_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamWriteValue64_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamWriteValue64_v2, "CUresult (CUstream, CUdeviceptr, cuuint64_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamBatchMemOp_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamBatchMemOp_v2, "CUresult (CUstream, unsigned int, CUstreamBatchMemOpParams *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetAttribute, "CUresult (int *, CUfunction_attribute, CUfunction)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncSetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetAttribute, "CUresult (CUfunction, CUfunction_attribute, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncSetCacheConfig", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetCacheConfig, "CUresult (CUfunction, CUfunc_cache)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncGetModule", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetModule, "CUresult (CUmodule *, CUfunction)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncGetName", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetName, "CUresult (char const **, CUfunction)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncGetParamInfo", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncGetParamInfo, "CUresult (CUfunction, size_t, size_t *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncIsLoaded", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncIsLoaded, "CUresult (CUfunctionLoadingState *, CUfunction)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncLoad", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncLoad, "CUresult (CUfunction)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunchKernel", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchKernel, "CUresult (CUfunction, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, CUstream, void **, void **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunchKernelEx", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchKernelEx, "CUresult (CUlaunchConfig const *, CUfunction, void **, void **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunchCooperativeKernel", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchCooperativeKernel, "CUresult (CUfunction, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, CUstream, void **)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunchCooperativeKernelMultiDevice", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchCooperativeKernelMultiDevice, "CUresult (CUDA_LAUNCH_PARAMS *, unsigned int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunchHostFunc", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchHostFunc, "CUresult (CUstream, CUhostFn, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncSetBlockShape", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetBlockShape, "CUresult (CUfunction, int, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncSetSharedSize", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetSharedSize, "CUresult (CUfunction, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuParamSetSize", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetSize, "CUresult (CUfunction, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuParamSeti", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSeti, "CUresult (CUfunction, int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuParamSetf", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetf, "CUresult (CUfunction, int, float)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuParamSetv", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetv, "CUresult (CUfunction, int, void *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunch", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunch, "CUresult (CUfunction)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunchGrid", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchGrid, "CUresult (CUfunction, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLaunchGridAsync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLaunchGridAsync, "CUresult (CUfunction, int, int, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuParamSetTexRef", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuParamSetTexRef, "CUresult (CUfunction, int, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuFuncSetSharedMemConfig", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuFuncSetSharedMemConfig, "CUresult (CUfunction, CUsharedconfig)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphCreate, "CUresult (CUgraph *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddKernelNode_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddKernelNode_v2, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_KERNEL_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphKernelNodeGetParams_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeGetParams_v2, "CUresult (CUgraphNode, CUDA_KERNEL_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphKernelNodeSetParams_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeSetParams_v2, "CUresult (CUgraphNode, CUDA_KERNEL_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddMemcpyNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemcpyNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_MEMCPY3D const *, CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphMemcpyNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemcpyNodeGetParams, "CUresult (CUgraphNode, CUDA_MEMCPY3D *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphMemcpyNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemcpyNodeSetParams, "CUresult (CUgraphNode, CUDA_MEMCPY3D const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddMemsetNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemsetNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_MEMSET_NODE_PARAMS const *, CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphMemsetNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemsetNodeGetParams, "CUresult (CUgraphNode, CUDA_MEMSET_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphMemsetNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemsetNodeSetParams, "CUresult (CUgraphNode, CUDA_MEMSET_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddHostNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddHostNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_HOST_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphHostNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphHostNodeGetParams, "CUresult (CUgraphNode, CUDA_HOST_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphHostNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphHostNodeSetParams, "CUresult (CUgraphNode, CUDA_HOST_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddChildGraphNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddChildGraphNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUgraph)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphChildGraphNodeGetGraph", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphChildGraphNodeGetGraph, "CUresult (CUgraphNode, CUgraph *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddEmptyNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddEmptyNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddEventRecordNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddEventRecordNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphEventRecordNodeGetEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventRecordNodeGetEvent, "CUresult (CUgraphNode, CUevent *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphEventRecordNodeSetEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventRecordNodeSetEvent, "CUresult (CUgraphNode, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddEventWaitNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddEventWaitNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphEventWaitNodeGetEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventWaitNodeGetEvent, "CUresult (CUgraphNode, CUevent *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphEventWaitNodeSetEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphEventWaitNodeSetEvent, "CUresult (CUgraphNode, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddExternalSemaphoresSignalNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddExternalSemaphoresSignalNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExternalSemaphoresSignalNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresSignalNodeGetParams, "CUresult (CUgraphNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExternalSemaphoresSignalNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresSignalNodeSetParams, "CUresult (CUgraphNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddExternalSemaphoresWaitNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddExternalSemaphoresWaitNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExternalSemaphoresWaitNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresWaitNodeGetParams, "CUresult (CUgraphNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExternalSemaphoresWaitNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExternalSemaphoresWaitNodeSetParams, "CUresult (CUgraphNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddBatchMemOpNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddBatchMemOpNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_BATCH_MEM_OP_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphBatchMemOpNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphBatchMemOpNodeGetParams, "CUresult (CUgraphNode, CUDA_BATCH_MEM_OP_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphBatchMemOpNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphBatchMemOpNodeSetParams, "CUresult (CUgraphNode, CUDA_BATCH_MEM_OP_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecBatchMemOpNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecBatchMemOpNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUDA_BATCH_MEM_OP_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddMemAllocNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemAllocNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUDA_MEM_ALLOC_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphMemAllocNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemAllocNodeGetParams, "CUresult (CUgraphNode, CUDA_MEM_ALLOC_NODE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddMemFreeNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddMemFreeNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUdeviceptr)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphMemFreeNodeGetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphMemFreeNodeGetParams, "CUresult (CUgraphNode, CUdeviceptr *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGraphMemTrim", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGraphMemTrim, "CUresult (CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetGraphMemAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetGraphMemAttribute, "CUresult (CUdevice, CUgraphMem_attribute, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceSetGraphMemAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceSetGraphMemAttribute, "CUresult (CUdevice, CUgraphMem_attribute, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphClone", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphClone, "CUresult (CUgraph *, CUgraph)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeFindInClone", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeFindInClone, "CUresult (CUgraphNode *, CUgraphNode, CUgraph)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeGetType", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetType, "CUresult (CUgraphNode, CUgraphNodeType *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphGetNodes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetNodes, "CUresult (CUgraph, CUgraphNode *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphGetRootNodes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetRootNodes, "CUresult (CUgraph, CUgraphNode *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphGetEdges", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetEdges, "CUresult (CUgraph, CUgraphNode *, CUgraphNode *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphGetEdges_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphGetEdges_v2, "CUresult (CUgraph, CUgraphNode *, CUgraphNode *, CUgraphEdgeData *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeGetDependencies", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependencies, "CUresult (CUgraphNode, CUgraphNode *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeGetDependencies_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependencies_v2, "CUresult (CUgraphNode, CUgraphNode *, CUgraphEdgeData *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeGetDependentNodes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependentNodes, "CUresult (CUgraphNode, CUgraphNode *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeGetDependentNodes_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetDependentNodes_v2, "CUresult (CUgraphNode, CUgraphNode *, CUgraphEdgeData *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddDependencies", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddDependencies, "CUresult (CUgraph, CUgraphNode const *, CUgraphNode const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddDependencies_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddDependencies_v2, "CUresult (CUgraph, CUgraphNode const *, CUgraphNode const *, CUgraphEdgeData const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphRemoveDependencies", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphRemoveDependencies, "CUresult (CUgraph, CUgraphNode const *, CUgraphNode const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphRemoveDependencies_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphRemoveDependencies_v2, "CUresult (CUgraph, CUgraphNode const *, CUgraphNode const *, CUgraphEdgeData const *, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphDestroyNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphDestroyNode, "CUresult (CUgraphNode)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphInstantiateWithFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphInstantiateWithFlags, "CUresult (CUgraphExec *, CUgraph, unsigned PY_LONG_LONG)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphInstantiateWithParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphInstantiateWithParams, "CUresult (CUgraphExec *, CUgraph, CUDA_GRAPH_INSTANTIATE_PARAMS *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecGetFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecGetFlags, "CUresult (CUgraphExec, cuuint64_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecKernelNodeSetParams_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecKernelNodeSetParams_v2, "CUresult (CUgraphExec, CUgraphNode, CUDA_KERNEL_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecMemcpyNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecMemcpyNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUDA_MEMCPY3D const *, CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecMemsetNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecMemsetNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUDA_MEMSET_NODE_PARAMS const *, CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecHostNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecHostNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUDA_HOST_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecChildGraphNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecChildGraphNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUgraph)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecEventRecordNodeSetEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecEventRecordNodeSetEvent, "CUresult (CUgraphExec, CUgraphNode, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecEventWaitNodeSetEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecEventWaitNodeSetEvent, "CUresult (CUgraphExec, CUgraphNode, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecExternalSemaphoresSignalNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecExternalSemaphoresSignalNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUDA_EXT_SEM_SIGNAL_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecExternalSemaphoresWaitNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecExternalSemaphoresWaitNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUDA_EXT_SEM_WAIT_NODE_PARAMS const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeSetEnabled", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeSetEnabled, "CUresult (CUgraphExec, CUgraphNode, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeGetEnabled", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeGetEnabled, "CUresult (CUgraphExec, CUgraphNode, unsigned int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphUpload", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphUpload, "CUresult (CUgraphExec, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphLaunch", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphLaunch, "CUresult (CUgraphExec, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecDestroy, "CUresult (CUgraphExec)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphDestroy, "CUresult (CUgraph)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecUpdate_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecUpdate_v2, "CUresult (CUgraphExec, CUgraph, CUgraphExecUpdateResultInfo *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphKernelNodeCopyAttributes", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeCopyAttributes, "CUresult (CUgraphNode, CUgraphNode)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphKernelNodeGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeGetAttribute, "CUresult (CUgraphNode, CUkernelNodeAttrID, CUkernelNodeAttrValue *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphKernelNodeSetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphKernelNodeSetAttribute, "CUresult (CUgraphNode, CUkernelNodeAttrID, CUkernelNodeAttrValue const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphDebugDotPrint", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphDebugDotPrint, "CUresult (CUgraph, char const *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuUserObjectCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuUserObjectCreate, "CUresult (CUuserObject *, void *, CUhostFn, unsigned int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuUserObjectRetain", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuUserObjectRetain, "CUresult (CUuserObject, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuUserObjectRelease", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuUserObjectRelease, "CUresult (CUuserObject, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphRetainUserObject", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphRetainUserObject, "CUresult (CUgraph, CUuserObject, unsigned int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphReleaseUserObject", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphReleaseUserObject, "CUresult (CUgraph, CUuserObject, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddNode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddNode, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, size_t, CUgraphNodeParams *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphAddNode_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphAddNode_v2, "CUresult (CUgraphNode *, CUgraph, CUgraphNode const *, CUgraphEdgeData const *, size_t, CUgraphNodeParams *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphNodeSetParams, "CUresult (CUgraphNode, CUgraphNodeParams *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphExecNodeSetParams", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphExecNodeSetParams, "CUresult (CUgraphExec, CUgraphNode, CUgraphNodeParams *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphConditionalHandleCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphConditionalHandleCreate, "CUresult (CUgraphConditionalHandle *, CUgraph, CUcontext, unsigned int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuOccupancyMaxActiveBlocksPerMultiprocessor", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxActiveBlocksPerMultiprocessor, "CUresult (int *, CUfunction, int, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags, "CUresult (int *, CUfunction, int, size_t, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuOccupancyMaxPotentialBlockSize", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxPotentialBlockSize, "CUresult (int *, int *, CUfunction, CUoccupancyB2DSize, size_t, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuOccupancyMaxPotentialBlockSizeWithFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxPotentialBlockSizeWithFlags, "CUresult (int *, int *, CUfunction, CUoccupancyB2DSize, size_t, int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuOccupancyAvailableDynamicSMemPerBlock", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyAvailableDynamicSMemPerBlock, "CUresult (size_t *, CUfunction, int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuOccupancyMaxPotentialClusterSize", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxPotentialClusterSize, "CUresult (int *, CUfunction, CUlaunchConfig const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuOccupancyMaxActiveClusters", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuOccupancyMaxActiveClusters, "CUresult (int *, CUfunction, CUlaunchConfig const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetArray, "CUresult (CUtexref, CUarray, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetMipmappedArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmappedArray, "CUresult (CUtexref, CUmipmappedArray, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetAddress_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetAddress_v2, "CUresult (size_t *, CUtexref, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetAddress2D_v3", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetAddress2D_v3, "CUresult (CUtexref, CUDA_ARRAY_DESCRIPTOR const *, CUdeviceptr, size_t)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetFormat", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetFormat, "CUresult (CUtexref, CUarray_format, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetAddressMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetAddressMode, "CUresult (CUtexref, int, CUaddress_mode)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetFilterMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetFilterMode, "CUresult (CUtexref, CUfilter_mode)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetMipmapFilterMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmapFilterMode, "CUresult (CUtexref, CUfilter_mode)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetMipmapLevelBias", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmapLevelBias, "CUresult (CUtexref, float)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetMipmapLevelClamp", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMipmapLevelClamp, "CUresult (CUtexref, float, float)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetMaxAnisotropy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetMaxAnisotropy, "CUresult (CUtexref, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetBorderColor", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetBorderColor, "CUresult (CUtexref, float *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefSetFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefSetFlags, "CUresult (CUtexref, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetAddress_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetAddress_v2, "CUresult (CUdeviceptr *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetArray, "CUresult (CUarray *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetMipmappedArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmappedArray, "CUresult (CUmipmappedArray *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetAddressMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetAddressMode, "CUresult (CUaddress_mode *, CUtexref, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetFilterMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetFilterMode, "CUresult (CUfilter_mode *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetFormat", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetFormat, "CUresult (CUarray_format *, int *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetMipmapFilterMode", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmapFilterMode, "CUresult (CUfilter_mode *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetMipmapLevelBias", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmapLevelBias, "CUresult (float *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetMipmapLevelClamp", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMipmapLevelClamp, "CUresult (float *, float *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetMaxAnisotropy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetMaxAnisotropy, "CUresult (int *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetBorderColor", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetBorderColor, "CUresult (float *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefGetFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefGetFlags, "CUresult (unsigned int *, CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefCreate, "CUresult (CUtexref *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexRefDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexRefDestroy, "CUresult (CUtexref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuSurfRefSetArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfRefSetArray, "CUresult (CUsurfref, CUarray, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuSurfRefGetArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfRefGetArray, "CUresult (CUarray *, CUsurfref)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexObjectCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectCreate, "CUresult (CUtexObject *, CUDA_RESOURCE_DESC const *, CUDA_TEXTURE_DESC const *, CUDA_RESOURCE_VIEW_DESC const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexObjectDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectDestroy, "CUresult (CUtexObject)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexObjectGetResourceDesc", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectGetResourceDesc, "CUresult (CUDA_RESOURCE_DESC *, CUtexObject)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexObjectGetTextureDesc", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectGetTextureDesc, "CUresult (CUDA_TEXTURE_DESC *, CUtexObject)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTexObjectGetResourceViewDesc", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTexObjectGetResourceViewDesc, "CUresult (CUDA_RESOURCE_VIEW_DESC *, CUtexObject)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuSurfObjectCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfObjectCreate, "CUresult (CUsurfObject *, CUDA_RESOURCE_DESC const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuSurfObjectDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfObjectDestroy, "CUresult (CUsurfObject)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuSurfObjectGetResourceDesc", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuSurfObjectGetResourceDesc, "CUresult (CUDA_RESOURCE_DESC *, CUsurfObject)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTensorMapEncodeTiled", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapEncodeTiled, "CUresult (CUtensorMap *, CUtensorMapDataType, cuuint32_t, void *, cuuint64_t const *, cuuint64_t const *, cuuint32_t const *, cuuint32_t const *, CUtensorMapInterleave, CUtensorMapSwizzle, CUtensorMapL2promotion, CUtensorMapFloatOOBfill)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTensorMapEncodeIm2col", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapEncodeIm2col, "CUresult (CUtensorMap *, CUtensorMapDataType, cuuint32_t, void *, cuuint64_t const *, cuuint64_t const *, int const *, int const *, cuuint32_t, cuuint32_t, cuuint32_t const *, CUtensorMapInterleave, CUtensorMapSwizzle, CUtensorMapL2promotion, CUtensorMapFloatOOBfill)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTensorMapEncodeIm2colWide", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapEncodeIm2colWide, "CUresult (CUtensorMap *, CUtensorMapDataType, cuuint32_t, void *, cuuint64_t const *, cuuint64_t const *, int, int, cuuint32_t, cuuint32_t, cuuint32_t const *, CUtensorMapInterleave, CUtensorMapIm2ColWideMode, CUtensorMapSwizzle, CUtensorMapL2promotion, CUtensorMapFloatOOBfill)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuTensorMapReplaceAddress", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuTensorMapReplaceAddress, "CUresult (CUtensorMap *, void *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceCanAccessPeer", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceCanAccessPeer, "CUresult (int *, CUdevice, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxEnablePeerAccess", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxEnablePeerAccess, "CUresult (CUcontext, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxDisablePeerAccess", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxDisablePeerAccess, "CUresult (CUcontext)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetP2PAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetP2PAttribute, "CUresult (int *, CUdevice_P2PAttribute, CUdevice, CUdevice)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsUnregisterResource", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsUnregisterResource, "CUresult (CUgraphicsResource)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsSubResourceGetMappedArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsSubResourceGetMappedArray, "CUresult (CUarray *, CUgraphicsResource, unsigned int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsResourceGetMappedMipmappedArray", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceGetMappedMipmappedArray, "CUresult (CUmipmappedArray *, CUgraphicsResource)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsResourceGetMappedPointer_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceGetMappedPointer_v2, "CUresult (CUdeviceptr *, size_t *, CUgraphicsResource)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsResourceSetMapFlags_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceSetMapFlags_v2, "CUresult (CUgraphicsResource, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsMapResources", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsMapResources, "CUresult (unsigned int, CUgraphicsResource *, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsUnmapResources", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsUnmapResources, "CUresult (unsigned int, CUgraphicsResource *, CUstream)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGetProcAddress_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetProcAddress_v2, "CUresult (char const *, void **, int, cuuint64_t, CUdriverProcAddressQueryResult *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCoredumpGetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpGetAttribute, "CUresult (CUcoredumpSettings, void *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCoredumpGetAttributeGlobal", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpGetAttributeGlobal, "CUresult (CUcoredumpSettings, void *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCoredumpSetAttribute", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpSetAttribute, "CUresult (CUcoredumpSettings, void *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCoredumpSetAttributeGlobal", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCoredumpSetAttributeGlobal, "CUresult (CUcoredumpSettings, void *, size_t *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGetExportTable", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGetExportTable, "CUresult (void const **, CUuuid const *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGreenCtxCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxCreate, "CUresult (CUgreenCtx *, CUdevResourceDesc, CUdevice, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGreenCtxDestroy", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxDestroy, "CUresult (CUgreenCtx)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxFromGreenCtx", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxFromGreenCtx, "CUresult (CUcontext *, CUgreenCtx)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDeviceGetDevResource", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDeviceGetDevResource, "CUresult (CUdevice, CUdevResource *, CUdevResourceType)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCtxGetDevResource", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCtxGetDevResource, "CUresult (CUcontext, CUdevResource *, CUdevResourceType)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGreenCtxGetDevResource", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxGetDevResource, "CUresult (CUgreenCtx, CUdevResource *, CUdevResourceType)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDevSmResourceSplitByCount", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevSmResourceSplitByCount, "CUresult (CUdevResource *, unsigned int *, CUdevResource const *, CUdevResource *, unsigned int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuDevResourceGenerateDesc", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuDevResourceGenerateDesc, "CUresult (CUdevResourceDesc *, CUdevResource *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGreenCtxRecordEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxRecordEvent, "CUresult (CUgreenCtx, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGreenCtxWaitEvent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxWaitEvent, "CUresult (CUgreenCtx, CUevent)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuStreamGetGreenCtx", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuStreamGetGreenCtx, "CUresult (CUstream, CUgreenCtx *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGreenCtxStreamCreate", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGreenCtxStreamCreate, "CUresult (CUstream *, CUgreenCtx, unsigned int, int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLogsRegisterCallback", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsRegisterCallback, "CUresult (CUlogsCallback, void *, CUlogsCallbackHandle *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLogsUnregisterCallback", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsUnregisterCallback, "CUresult (CUlogsCallbackHandle)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLogsCurrent", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsCurrent, "CUresult (CUlogIterator *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLogsDumpToFile", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsDumpToFile, "CUresult (CUlogIterator *, char const *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuLogsDumpToMemory", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuLogsDumpToMemory, "CUresult (CUlogIterator *, char *, size_t *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCheckpointProcessGetRestoreThreadId", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessGetRestoreThreadId, "CUresult (int, int *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCheckpointProcessGetState", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessGetState, "CUresult (int, CUprocessState *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCheckpointProcessLock", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessLock, "CUresult (int, CUcheckpointLockArgs *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCheckpointProcessCheckpoint", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessCheckpoint, "CUresult (int, CUcheckpointCheckpointArgs *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCheckpointProcessRestore", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessRestore, "CUresult (int, CUcheckpointRestoreArgs *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuCheckpointProcessUnlock", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuCheckpointProcessUnlock, "CUresult (int, CUcheckpointUnlockArgs *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuProfilerStart", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuProfilerStart, "CUresult (void)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuProfilerStop", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuProfilerStop, "CUresult (void)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsEGLRegisterImage", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsEGLRegisterImage, "CUresult (CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_EGLImageKHR, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamConsumerConnect", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerConnect, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamConsumerConnectWithFlags", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerConnectWithFlags, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamConsumerDisconnect", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerDisconnect, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamConsumerAcquireFrame", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerAcquireFrame, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, CUgraphicsResource *, CUstream *, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamConsumerReleaseFrame", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamConsumerReleaseFrame, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, CUgraphicsResource, CUstream *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamProducerConnect", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerConnect, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_EGLStreamKHR, __pyx_t_4cuda_8bindings_8cydriver_EGLint, __pyx_t_4cuda_8bindings_8cydriver_EGLint)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamProducerDisconnect", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerDisconnect, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamProducerPresentFrame", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerPresentFrame, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame, CUstream *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEGLStreamProducerReturnFrame", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEGLStreamProducerReturnFrame, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglStreamConnection *, __pyx_t_4cuda_8bindings_8cydriver_CUeglFrame *, CUstream *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsResourceGetMappedEglFrame", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsResourceGetMappedEglFrame, "CUresult (__pyx_t_4cuda_8bindings_8cydriver_CUeglFrame *, CUgraphicsResource, unsigned int, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuEventCreateFromEGLSync", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuEventCreateFromEGLSync, "CUresult (CUevent *, __pyx_t_4cuda_8bindings_8cydriver_EGLSyncKHR, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsGLRegisterBuffer", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsGLRegisterBuffer, "CUresult (CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_GLuint, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsGLRegisterImage", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsGLRegisterImage, "CUresult (CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_GLuint, __pyx_t_4cuda_8bindings_8cydriver_GLenum, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGLGetDevices_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGLGetDevices_v2, "CUresult (unsigned int *, CUdevice *, unsigned int, __pyx_t_4cuda_8bindings_8cydriver_CUGLDeviceList)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuVDPAUGetDevice", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuVDPAUGetDevice, "CUresult (CUdevice *, __pyx_t_4cuda_8bindings_8cydriver_VdpDevice, __pyx_t_4cuda_8bindings_8cydriver_VdpGetProcAddress *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuVDPAUCtxCreate_v2", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuVDPAUCtxCreate_v2, "CUresult (CUcontext *, unsigned int, CUdevice, __pyx_t_4cuda_8bindings_8cydriver_VdpDevice, __pyx_t_4cuda_8bindings_8cydriver_VdpGetProcAddress *)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsVDPAURegisterVideoSurface", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsVDPAURegisterVideoSurface, "CUresult (CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_VdpVideoSurface, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_ExportFunction("_cuGraphicsVDPAURegisterOutputSurface", (void (*)(void))__pyx_f_4cuda_8bindings_9_bindings_8cydriver__cuGraphicsVDPAURegisterOutputSurface, "CUresult (CUgraphicsResource *, __pyx_t_4cuda_8bindings_8cydriver_VdpOutputSurface, unsigned int)") < 0) __PYX_ERR(0, 1, __pyx_L1_error) __Pyx_RefNannyFinishContext(); return 0; __pyx_L1_error:; __Pyx_RefNannyFinishContext(); return -1; } static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0); /*--- Type init code ---*/ __Pyx_RefNannyFinishContext(); return 0; } static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0); /*--- Type import code ---*/ __Pyx_RefNannyFinishContext(); return 0; } static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0); /*--- Variable import code ---*/ __Pyx_RefNannyFinishContext(); return 0; } static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0); /*--- Function import code ---*/ __Pyx_RefNannyFinishContext(); return 0; } #if CYTHON_PEP489_MULTI_PHASE_INIT static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/ static int __pyx_pymod_exec_cydriver(PyObject* module); /*proto*/ static PyModuleDef_Slot __pyx_moduledef_slots[] = { {Py_mod_create, (void*)__pyx_pymod_create}, {Py_mod_exec, (void*)__pyx_pymod_exec_cydriver}, #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING {Py_mod_gil, Py_MOD_GIL_NOT_USED}, #endif #if PY_VERSION_HEX >= 0x030C0000 && CYTHON_USE_MODULE_STATE {Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED}, #endif {0, NULL} }; #endif #ifdef __cplusplus namespace { struct PyModuleDef __pyx_moduledef = #else static struct PyModuleDef __pyx_moduledef = #endif { PyModuleDef_HEAD_INIT, "cydriver", 0, /* m_doc */ #if CYTHON_USE_MODULE_STATE sizeof(__pyx_mstatetype), /* m_size */ #else (CYTHON_PEP489_MULTI_PHASE_INIT) ? 0 : -1, /* m_size */ #endif __pyx_methods /* m_methods */, #if CYTHON_PEP489_MULTI_PHASE_INIT __pyx_moduledef_slots, /* m_slots */ #else NULL, /* m_reload */ #endif #if CYTHON_USE_MODULE_STATE __pyx_m_traverse, /* m_traverse */ __pyx_m_clear, /* m_clear */ NULL /* m_free */ #else NULL, /* m_traverse */ NULL, /* m_clear */ NULL /* m_free */ #endif }; #ifdef __cplusplus } /* anonymous namespace */ #endif /* PyModInitFuncType */ #ifndef CYTHON_NO_PYINIT_EXPORT #define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC #else #ifdef __cplusplus #define __Pyx_PyMODINIT_FUNC extern "C" PyObject * #else #define __Pyx_PyMODINIT_FUNC PyObject * #endif #endif __Pyx_PyMODINIT_FUNC PyInit_cydriver(void) CYTHON_SMALL_CODE; /*proto*/ __Pyx_PyMODINIT_FUNC PyInit_cydriver(void) #if CYTHON_PEP489_MULTI_PHASE_INIT { return PyModuleDef_Init(&__pyx_moduledef); } /* ModuleCreationPEP489 */ #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x03090000 static PY_INT64_T __Pyx_GetCurrentInterpreterId(void) { { PyObject *module = PyImport_ImportModule("_interpreters"); // 3.13+ I think if (!module) { PyErr_Clear(); // just try the 3.8-3.12 version module = PyImport_ImportModule("_xxsubinterpreters"); if (!module) goto bad; } PyObject *current = PyObject_CallMethod(module, "get_current", NULL); Py_DECREF(module); if (!current) goto bad; if (PyTuple_Check(current)) { PyObject *new_current = PySequence_GetItem(current, 0); Py_DECREF(current); current = new_current; if (!new_current) goto bad; } long long as_c_int = PyLong_AsLongLong(current); Py_DECREF(current); return as_c_int; } bad: PySys_WriteStderr("__Pyx_GetCurrentInterpreterId failed. Try setting the C define CYTHON_PEP489_MULTI_PHASE_INIT=0\n"); return -1; } #endif #if !CYTHON_USE_MODULE_STATE static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { static PY_INT64_T main_interpreter_id = -1; #if CYTHON_COMPILING_IN_GRAAL PY_INT64_T current_id = PyInterpreterState_GetIDFromThreadState(PyThreadState_Get()); #elif CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX >= 0x03090000 PY_INT64_T current_id = PyInterpreterState_GetID(PyInterpreterState_Get()); #elif CYTHON_COMPILING_IN_LIMITED_API PY_INT64_T current_id = __Pyx_GetCurrentInterpreterId(); #else PY_INT64_T current_id = PyInterpreterState_GetID(PyThreadState_Get()->interp); #endif if (unlikely(current_id == -1)) { return -1; } if (main_interpreter_id == -1) { main_interpreter_id = current_id; return 0; } else if (unlikely(main_interpreter_id != current_id)) { PyErr_SetString( PyExc_ImportError, "Interpreter change detected - this module can only be loaded into one interpreter per process."); return -1; } return 0; } #endif static CYTHON_SMALL_CODE int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name, int allow_none) { PyObject *value = PyObject_GetAttrString(spec, from_name); int result = 0; if (likely(value)) { if (allow_none || value != Py_None) { result = PyDict_SetItemString(moddict, to_name, value); } Py_DECREF(value); } else if (PyErr_ExceptionMatches(PyExc_AttributeError)) { PyErr_Clear(); } else { result = -1; } return result; } static CYTHON_SMALL_CODE PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def) { PyObject *module = NULL, *moddict, *modname; CYTHON_UNUSED_VAR(def); #if !CYTHON_USE_MODULE_STATE if (__Pyx_check_single_interpreter()) return NULL; #endif if (__pyx_m) return __Pyx_NewRef(__pyx_m); modname = PyObject_GetAttrString(spec, "name"); if (unlikely(!modname)) goto bad; module = PyModule_NewObject(modname); Py_DECREF(modname); if (unlikely(!module)) goto bad; moddict = PyModule_GetDict(module); if (unlikely(!moddict)) goto bad; if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "loader", "__loader__", 1) < 0)) goto bad; if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "origin", "__file__", 1) < 0)) goto bad; if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "parent", "__package__", 1) < 0)) goto bad; if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "submodule_search_locations", "__path__", 0) < 0)) goto bad; return module; bad: Py_XDECREF(module); return NULL; } static CYTHON_SMALL_CODE int __pyx_pymod_exec_cydriver(PyObject *__pyx_pyinit_module) #endif { int stringtab_initialized = 0; #if CYTHON_USE_MODULE_STATE int pystate_addmodule_run = 0; #endif __pyx_mstatetype *__pyx_mstate = NULL; PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; size_t __pyx_t_6; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannyDeclarations #if CYTHON_PEP489_MULTI_PHASE_INIT if (__pyx_m) { if (__pyx_m == __pyx_pyinit_module) return 0; PyErr_SetString(PyExc_RuntimeError, "Module 'cydriver' has already been imported. Re-initialisation is not supported."); return -1; } #else if (__pyx_m) return __Pyx_NewRef(__pyx_m); #endif /*--- Module creation code ---*/ #if CYTHON_PEP489_MULTI_PHASE_INIT __pyx_t_1 = __pyx_pyinit_module; Py_INCREF(__pyx_t_1); #else __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error) #endif #if CYTHON_USE_MODULE_STATE { int add_module_result = __Pyx_State_AddModule(__pyx_t_1, &__pyx_moduledef); __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "cydriver" pseudovariable */ if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error) pystate_addmodule_run = 1; } #else __pyx_m = __pyx_t_1; #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING PyUnstable_Module_SetGIL(__pyx_m, Py_MOD_GIL_NOT_USED); #endif __pyx_mstate = __pyx_mstate_global; CYTHON_UNUSED_VAR(__pyx_t_1); __pyx_mstate->__pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_mstate->__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error) Py_INCREF(__pyx_mstate->__pyx_d); __pyx_mstate->__pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_mstate->__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error) __pyx_mstate->__pyx_cython_runtime = __Pyx_PyImport_AddModuleRef("cython_runtime"); if (unlikely(!__pyx_mstate->__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error) if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_mstate->__pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error) /* ImportRefnannyAPI */ #if CYTHON_REFNANNY __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny"); if (!__Pyx_RefNanny) { PyErr_Clear(); __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny"); if (!__Pyx_RefNanny) Py_FatalError("failed to import 'refnanny' module"); } #endif __Pyx_RefNannySetupContext("PyInit_cydriver", 0); if (__Pyx_check_binary_version(__PYX_LIMITED_VERSION_HEX, __Pyx_get_runtime_version(), CYTHON_COMPILING_IN_LIMITED_API) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #ifdef __Pxy_PyFrame_Initialize_Offsets __Pxy_PyFrame_Initialize_Offsets(); #endif __pyx_mstate->__pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_mstate->__pyx_empty_tuple)) __PYX_ERR(0, 1, __pyx_L1_error) __pyx_mstate->__pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error) __pyx_mstate->__pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error) /*--- Initialize various global constants etc. ---*/ if (__Pyx_InitConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) stringtab_initialized = 1; if (__Pyx_InitGlobals() < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #if 0 || defined(__Pyx_CyFunction_USED) || defined(__Pyx_FusedFunction_USED) || defined(__Pyx_Coroutine_USED) || defined(__Pyx_Generator_USED) || defined(__Pyx_AsyncGen_USED) if (__pyx_CommonTypesMetaclass_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #endif #ifdef __Pyx_CyFunction_USED if (__pyx_CyFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #endif #ifdef __Pyx_FusedFunction_USED if (__pyx_FusedFunction_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #endif #ifdef __Pyx_Coroutine_USED if (__pyx_Coroutine_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #endif #ifdef __Pyx_Generator_USED if (__pyx_Generator_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #endif #ifdef __Pyx_AsyncGen_USED if (__pyx_AsyncGen_init(__pyx_m) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) #endif /*--- Library function declarations ---*/ if (__pyx_module_is_main_cuda__bindings___bindings__cydriver) { if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_name_2, __pyx_mstate_global->__pyx_n_u_main) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) } { PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error) if (!PyDict_GetItemString(modules, "cuda.bindings._bindings.cydriver")) { if (unlikely((PyDict_SetItemString(modules, "cuda.bindings._bindings.cydriver", __pyx_m) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) } } /*--- Builtin init code ---*/ if (__Pyx_InitCachedBuiltins(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) /*--- Constants init code ---*/ if (__Pyx_InitCachedConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_CreateCodeObjects(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) /*--- Global type/function init code ---*/ (void)__Pyx_modinit_global_init_code(__pyx_mstate); (void)__Pyx_modinit_variable_export_code(__pyx_mstate); if (unlikely((__Pyx_modinit_function_export_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) (void)__Pyx_modinit_type_init_code(__pyx_mstate); (void)__Pyx_modinit_type_import_code(__pyx_mstate); (void)__Pyx_modinit_variable_import_code(__pyx_mstate); (void)__Pyx_modinit_function_import_code(__pyx_mstate); /*--- Execution code ---*/ /* "cuda/bindings/_bindings/cydriver.pyx":7 * cimport cuda.bindings._lib.dlfcn as dlfcn * from libc.stdint cimport intptr_t, uintptr_t * import os # <<<<<<<<<<<<<< * import sys * cimport cuda.bindings._bindings.loader as loader */ __pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_os, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 7, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_os, __pyx_t_2) < (0)) __PYX_ERR(0, 7, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":8 * from libc.stdint cimport intptr_t, uintptr_t * import os * import sys # <<<<<<<<<<<<<< * cimport cuda.bindings._bindings.loader as loader * import threading */ __pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_sys, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 8, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_sys, __pyx_t_2) < (0)) __PYX_ERR(0, 8, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":10 * import sys * cimport cuda.bindings._bindings.loader as loader * import threading # <<<<<<<<<<<<<< * * cdef object __symbol_lock = threading.Lock() */ __pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_threading, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 10, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_threading, __pyx_t_2) < (0)) __PYX_ERR(0, 10, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":12 * import threading * * cdef object __symbol_lock = threading.Lock() # <<<<<<<<<<<<<< * cdef bint __cuPythonInit = False * cdef void *__cuGetErrorString = NULL */ __pyx_t_3 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_Lock); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_6 = 1; { PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_XGOTREF(__pyx_v_4cuda_8bindings_9_bindings_8cydriver___symbol_lock); __Pyx_DECREF_SET(__pyx_v_4cuda_8bindings_9_bindings_8cydriver___symbol_lock, __pyx_t_2); __Pyx_GIVEREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":13 * * cdef object __symbol_lock = threading.Lock() * cdef bint __cuPythonInit = False # <<<<<<<<<<<<<< * cdef void *__cuGetErrorString = NULL * cdef void *__cuGetErrorName = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPythonInit = 0; /* "cuda/bindings/_bindings/cydriver.pyx":14 * cdef object __symbol_lock = threading.Lock() * cdef bint __cuPythonInit = False * cdef void *__cuGetErrorString = NULL # <<<<<<<<<<<<<< * cdef void *__cuGetErrorName = NULL * cdef void *__cuInit = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorString = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":15 * cdef bint __cuPythonInit = False * cdef void *__cuGetErrorString = NULL * cdef void *__cuGetErrorName = NULL # <<<<<<<<<<<<<< * cdef void *__cuInit = NULL * cdef void *__cuDriverGetVersion = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetErrorName = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":16 * cdef void *__cuGetErrorString = NULL * cdef void *__cuGetErrorName = NULL * cdef void *__cuInit = NULL # <<<<<<<<<<<<<< * cdef void *__cuDriverGetVersion = NULL * cdef void *__cuDeviceGet = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuInit = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":17 * cdef void *__cuGetErrorName = NULL * cdef void *__cuInit = NULL * cdef void *__cuDriverGetVersion = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGet = NULL * cdef void *__cuDeviceGetCount = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDriverGetVersion = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":18 * cdef void *__cuInit = NULL * cdef void *__cuDriverGetVersion = NULL * cdef void *__cuDeviceGet = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetCount = NULL * cdef void *__cuDeviceGetName = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGet = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":19 * cdef void *__cuDriverGetVersion = NULL * cdef void *__cuDeviceGet = NULL * cdef void *__cuDeviceGetCount = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetName = NULL * cdef void *__cuDeviceGetUuid = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetCount = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":20 * cdef void *__cuDeviceGet = NULL * cdef void *__cuDeviceGetCount = NULL * cdef void *__cuDeviceGetName = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetUuid = NULL * cdef void *__cuDeviceGetUuid_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetName = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":21 * cdef void *__cuDeviceGetCount = NULL * cdef void *__cuDeviceGetName = NULL * cdef void *__cuDeviceGetUuid = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetUuid_v2 = NULL * cdef void *__cuDeviceGetLuid = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":22 * cdef void *__cuDeviceGetName = NULL * cdef void *__cuDeviceGetUuid = NULL * cdef void *__cuDeviceGetUuid_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetLuid = NULL * cdef void *__cuDeviceTotalMem_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetUuid_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":23 * cdef void *__cuDeviceGetUuid = NULL * cdef void *__cuDeviceGetUuid_v2 = NULL * cdef void *__cuDeviceGetLuid = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceTotalMem_v2 = NULL * cdef void *__cuDeviceGetTexture1DLinearMaxWidth = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetLuid = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":24 * cdef void *__cuDeviceGetUuid_v2 = NULL * cdef void *__cuDeviceGetLuid = NULL * cdef void *__cuDeviceTotalMem_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetTexture1DLinearMaxWidth = NULL * cdef void *__cuDeviceGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceTotalMem_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":25 * cdef void *__cuDeviceGetLuid = NULL * cdef void *__cuDeviceTotalMem_v2 = NULL * cdef void *__cuDeviceGetTexture1DLinearMaxWidth = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetAttribute = NULL * cdef void *__cuDeviceGetNvSciSyncAttributes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetTexture1DLinearMaxWidth = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":26 * cdef void *__cuDeviceTotalMem_v2 = NULL * cdef void *__cuDeviceGetTexture1DLinearMaxWidth = NULL * cdef void *__cuDeviceGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetNvSciSyncAttributes = NULL * cdef void *__cuDeviceSetMemPool = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":27 * cdef void *__cuDeviceGetTexture1DLinearMaxWidth = NULL * cdef void *__cuDeviceGetAttribute = NULL * cdef void *__cuDeviceGetNvSciSyncAttributes = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceSetMemPool = NULL * cdef void *__cuDeviceGetMemPool = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetNvSciSyncAttributes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":28 * cdef void *__cuDeviceGetAttribute = NULL * cdef void *__cuDeviceGetNvSciSyncAttributes = NULL * cdef void *__cuDeviceSetMemPool = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetMemPool = NULL * cdef void *__cuDeviceGetDefaultMemPool = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetMemPool = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":29 * cdef void *__cuDeviceGetNvSciSyncAttributes = NULL * cdef void *__cuDeviceSetMemPool = NULL * cdef void *__cuDeviceGetMemPool = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetDefaultMemPool = NULL * cdef void *__cuDeviceGetExecAffinitySupport = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetMemPool = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":30 * cdef void *__cuDeviceSetMemPool = NULL * cdef void *__cuDeviceGetMemPool = NULL * cdef void *__cuDeviceGetDefaultMemPool = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetExecAffinitySupport = NULL * cdef void *__cuFlushGPUDirectRDMAWrites = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDefaultMemPool = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":31 * cdef void *__cuDeviceGetMemPool = NULL * cdef void *__cuDeviceGetDefaultMemPool = NULL * cdef void *__cuDeviceGetExecAffinitySupport = NULL # <<<<<<<<<<<<<< * cdef void *__cuFlushGPUDirectRDMAWrites = NULL * cdef void *__cuDeviceGetProperties = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetExecAffinitySupport = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":32 * cdef void *__cuDeviceGetDefaultMemPool = NULL * cdef void *__cuDeviceGetExecAffinitySupport = NULL * cdef void *__cuFlushGPUDirectRDMAWrites = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetProperties = NULL * cdef void *__cuDeviceComputeCapability = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFlushGPUDirectRDMAWrites = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":33 * cdef void *__cuDeviceGetExecAffinitySupport = NULL * cdef void *__cuFlushGPUDirectRDMAWrites = NULL * cdef void *__cuDeviceGetProperties = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceComputeCapability = NULL * cdef void *__cuDevicePrimaryCtxRetain = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetProperties = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":34 * cdef void *__cuFlushGPUDirectRDMAWrites = NULL * cdef void *__cuDeviceGetProperties = NULL * cdef void *__cuDeviceComputeCapability = NULL # <<<<<<<<<<<<<< * cdef void *__cuDevicePrimaryCtxRetain = NULL * cdef void *__cuDevicePrimaryCtxRelease_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceComputeCapability = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":35 * cdef void *__cuDeviceGetProperties = NULL * cdef void *__cuDeviceComputeCapability = NULL * cdef void *__cuDevicePrimaryCtxRetain = NULL # <<<<<<<<<<<<<< * cdef void *__cuDevicePrimaryCtxRelease_v2 = NULL * cdef void *__cuDevicePrimaryCtxSetFlags_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRetain = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":36 * cdef void *__cuDeviceComputeCapability = NULL * cdef void *__cuDevicePrimaryCtxRetain = NULL * cdef void *__cuDevicePrimaryCtxRelease_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuDevicePrimaryCtxSetFlags_v2 = NULL * cdef void *__cuDevicePrimaryCtxGetState = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxRelease_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":37 * cdef void *__cuDevicePrimaryCtxRetain = NULL * cdef void *__cuDevicePrimaryCtxRelease_v2 = NULL * cdef void *__cuDevicePrimaryCtxSetFlags_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuDevicePrimaryCtxGetState = NULL * cdef void *__cuDevicePrimaryCtxReset_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxSetFlags_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":38 * cdef void *__cuDevicePrimaryCtxRelease_v2 = NULL * cdef void *__cuDevicePrimaryCtxSetFlags_v2 = NULL * cdef void *__cuDevicePrimaryCtxGetState = NULL # <<<<<<<<<<<<<< * cdef void *__cuDevicePrimaryCtxReset_v2 = NULL * cdef void *__cuCtxCreate_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxGetState = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":39 * cdef void *__cuDevicePrimaryCtxSetFlags_v2 = NULL * cdef void *__cuDevicePrimaryCtxGetState = NULL * cdef void *__cuDevicePrimaryCtxReset_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxCreate_v2 = NULL * cdef void *__cuCtxCreate_v3 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevicePrimaryCtxReset_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":40 * cdef void *__cuDevicePrimaryCtxGetState = NULL * cdef void *__cuDevicePrimaryCtxReset_v2 = NULL * cdef void *__cuCtxCreate_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxCreate_v3 = NULL * cdef void *__cuCtxCreate_v4 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":41 * cdef void *__cuDevicePrimaryCtxReset_v2 = NULL * cdef void *__cuCtxCreate_v2 = NULL * cdef void *__cuCtxCreate_v3 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxCreate_v4 = NULL * cdef void *__cuCtxDestroy_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v3 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":42 * cdef void *__cuCtxCreate_v2 = NULL * cdef void *__cuCtxCreate_v3 = NULL * cdef void *__cuCtxCreate_v4 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxDestroy_v2 = NULL * cdef void *__cuCtxPushCurrent_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxCreate_v4 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":43 * cdef void *__cuCtxCreate_v3 = NULL * cdef void *__cuCtxCreate_v4 = NULL * cdef void *__cuCtxDestroy_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxPushCurrent_v2 = NULL * cdef void *__cuCtxPopCurrent_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDestroy_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":44 * cdef void *__cuCtxCreate_v4 = NULL * cdef void *__cuCtxDestroy_v2 = NULL * cdef void *__cuCtxPushCurrent_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxPopCurrent_v2 = NULL * cdef void *__cuCtxSetCurrent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPushCurrent_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":45 * cdef void *__cuCtxDestroy_v2 = NULL * cdef void *__cuCtxPushCurrent_v2 = NULL * cdef void *__cuCtxPopCurrent_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxSetCurrent = NULL * cdef void *__cuCtxGetCurrent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxPopCurrent_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":46 * cdef void *__cuCtxPushCurrent_v2 = NULL * cdef void *__cuCtxPopCurrent_v2 = NULL * cdef void *__cuCtxSetCurrent = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetCurrent = NULL * cdef void *__cuCtxGetDevice = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCurrent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":47 * cdef void *__cuCtxPopCurrent_v2 = NULL * cdef void *__cuCtxSetCurrent = NULL * cdef void *__cuCtxGetCurrent = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetDevice = NULL * cdef void *__cuCtxGetFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCurrent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":48 * cdef void *__cuCtxSetCurrent = NULL * cdef void *__cuCtxGetCurrent = NULL * cdef void *__cuCtxGetDevice = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetFlags = NULL * cdef void *__cuCtxSetFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevice = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":49 * cdef void *__cuCtxGetCurrent = NULL * cdef void *__cuCtxGetDevice = NULL * cdef void *__cuCtxGetFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxSetFlags = NULL * cdef void *__cuCtxGetId = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":50 * cdef void *__cuCtxGetDevice = NULL * cdef void *__cuCtxGetFlags = NULL * cdef void *__cuCtxSetFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetId = NULL * cdef void *__cuCtxSynchronize = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":51 * cdef void *__cuCtxGetFlags = NULL * cdef void *__cuCtxSetFlags = NULL * cdef void *__cuCtxGetId = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxSynchronize = NULL * cdef void *__cuCtxSetLimit = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetId = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":52 * cdef void *__cuCtxSetFlags = NULL * cdef void *__cuCtxGetId = NULL * cdef void *__cuCtxSynchronize = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxSetLimit = NULL * cdef void *__cuCtxGetLimit = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSynchronize = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":53 * cdef void *__cuCtxGetId = NULL * cdef void *__cuCtxSynchronize = NULL * cdef void *__cuCtxSetLimit = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetLimit = NULL * cdef void *__cuCtxGetCacheConfig = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetLimit = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":54 * cdef void *__cuCtxSynchronize = NULL * cdef void *__cuCtxSetLimit = NULL * cdef void *__cuCtxGetLimit = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetCacheConfig = NULL * cdef void *__cuCtxSetCacheConfig = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetLimit = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":55 * cdef void *__cuCtxSetLimit = NULL * cdef void *__cuCtxGetLimit = NULL * cdef void *__cuCtxGetCacheConfig = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxSetCacheConfig = NULL * cdef void *__cuCtxGetApiVersion = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetCacheConfig = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":56 * cdef void *__cuCtxGetLimit = NULL * cdef void *__cuCtxGetCacheConfig = NULL * cdef void *__cuCtxSetCacheConfig = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetApiVersion = NULL * cdef void *__cuCtxGetStreamPriorityRange = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetCacheConfig = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":57 * cdef void *__cuCtxGetCacheConfig = NULL * cdef void *__cuCtxSetCacheConfig = NULL * cdef void *__cuCtxGetApiVersion = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetStreamPriorityRange = NULL * cdef void *__cuCtxResetPersistingL2Cache = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetApiVersion = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":58 * cdef void *__cuCtxSetCacheConfig = NULL * cdef void *__cuCtxGetApiVersion = NULL * cdef void *__cuCtxGetStreamPriorityRange = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxResetPersistingL2Cache = NULL * cdef void *__cuCtxGetExecAffinity = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetStreamPriorityRange = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":59 * cdef void *__cuCtxGetApiVersion = NULL * cdef void *__cuCtxGetStreamPriorityRange = NULL * cdef void *__cuCtxResetPersistingL2Cache = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetExecAffinity = NULL * cdef void *__cuCtxRecordEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxResetPersistingL2Cache = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":60 * cdef void *__cuCtxGetStreamPriorityRange = NULL * cdef void *__cuCtxResetPersistingL2Cache = NULL * cdef void *__cuCtxGetExecAffinity = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxRecordEvent = NULL * cdef void *__cuCtxWaitEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetExecAffinity = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":61 * cdef void *__cuCtxResetPersistingL2Cache = NULL * cdef void *__cuCtxGetExecAffinity = NULL * cdef void *__cuCtxRecordEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxWaitEvent = NULL * cdef void *__cuCtxAttach = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxRecordEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":62 * cdef void *__cuCtxGetExecAffinity = NULL * cdef void *__cuCtxRecordEvent = NULL * cdef void *__cuCtxWaitEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxAttach = NULL * cdef void *__cuCtxDetach = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxWaitEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":63 * cdef void *__cuCtxRecordEvent = NULL * cdef void *__cuCtxWaitEvent = NULL * cdef void *__cuCtxAttach = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxDetach = NULL * cdef void *__cuCtxGetSharedMemConfig = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxAttach = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":64 * cdef void *__cuCtxWaitEvent = NULL * cdef void *__cuCtxAttach = NULL * cdef void *__cuCtxDetach = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetSharedMemConfig = NULL * cdef void *__cuCtxSetSharedMemConfig = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDetach = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":65 * cdef void *__cuCtxAttach = NULL * cdef void *__cuCtxDetach = NULL * cdef void *__cuCtxGetSharedMemConfig = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxSetSharedMemConfig = NULL * cdef void *__cuModuleLoad = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetSharedMemConfig = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":66 * cdef void *__cuCtxDetach = NULL * cdef void *__cuCtxGetSharedMemConfig = NULL * cdef void *__cuCtxSetSharedMemConfig = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleLoad = NULL * cdef void *__cuModuleLoadData = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxSetSharedMemConfig = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":67 * cdef void *__cuCtxGetSharedMemConfig = NULL * cdef void *__cuCtxSetSharedMemConfig = NULL * cdef void *__cuModuleLoad = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleLoadData = NULL * cdef void *__cuModuleLoadDataEx = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoad = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":68 * cdef void *__cuCtxSetSharedMemConfig = NULL * cdef void *__cuModuleLoad = NULL * cdef void *__cuModuleLoadData = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleLoadDataEx = NULL * cdef void *__cuModuleLoadFatBinary = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadData = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":69 * cdef void *__cuModuleLoad = NULL * cdef void *__cuModuleLoadData = NULL * cdef void *__cuModuleLoadDataEx = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleLoadFatBinary = NULL * cdef void *__cuModuleUnload = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadDataEx = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":70 * cdef void *__cuModuleLoadData = NULL * cdef void *__cuModuleLoadDataEx = NULL * cdef void *__cuModuleLoadFatBinary = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleUnload = NULL * cdef void *__cuModuleGetLoadingMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleLoadFatBinary = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":71 * cdef void *__cuModuleLoadDataEx = NULL * cdef void *__cuModuleLoadFatBinary = NULL * cdef void *__cuModuleUnload = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleGetLoadingMode = NULL * cdef void *__cuModuleGetFunction = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleUnload = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":72 * cdef void *__cuModuleLoadFatBinary = NULL * cdef void *__cuModuleUnload = NULL * cdef void *__cuModuleGetLoadingMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleGetFunction = NULL * cdef void *__cuModuleGetFunctionCount = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetLoadingMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":73 * cdef void *__cuModuleUnload = NULL * cdef void *__cuModuleGetLoadingMode = NULL * cdef void *__cuModuleGetFunction = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleGetFunctionCount = NULL * cdef void *__cuModuleEnumerateFunctions = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunction = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":74 * cdef void *__cuModuleGetLoadingMode = NULL * cdef void *__cuModuleGetFunction = NULL * cdef void *__cuModuleGetFunctionCount = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleEnumerateFunctions = NULL * cdef void *__cuModuleGetGlobal_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetFunctionCount = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":75 * cdef void *__cuModuleGetFunction = NULL * cdef void *__cuModuleGetFunctionCount = NULL * cdef void *__cuModuleEnumerateFunctions = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleGetGlobal_v2 = NULL * cdef void *__cuLinkCreate_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleEnumerateFunctions = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":76 * cdef void *__cuModuleGetFunctionCount = NULL * cdef void *__cuModuleEnumerateFunctions = NULL * cdef void *__cuModuleGetGlobal_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuLinkCreate_v2 = NULL * cdef void *__cuLinkAddData_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetGlobal_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":77 * cdef void *__cuModuleEnumerateFunctions = NULL * cdef void *__cuModuleGetGlobal_v2 = NULL * cdef void *__cuLinkCreate_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuLinkAddData_v2 = NULL * cdef void *__cuLinkAddFile_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkCreate_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":78 * cdef void *__cuModuleGetGlobal_v2 = NULL * cdef void *__cuLinkCreate_v2 = NULL * cdef void *__cuLinkAddData_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuLinkAddFile_v2 = NULL * cdef void *__cuLinkComplete = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddData_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":79 * cdef void *__cuLinkCreate_v2 = NULL * cdef void *__cuLinkAddData_v2 = NULL * cdef void *__cuLinkAddFile_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuLinkComplete = NULL * cdef void *__cuLinkDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkAddFile_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":80 * cdef void *__cuLinkAddData_v2 = NULL * cdef void *__cuLinkAddFile_v2 = NULL * cdef void *__cuLinkComplete = NULL # <<<<<<<<<<<<<< * cdef void *__cuLinkDestroy = NULL * cdef void *__cuModuleGetTexRef = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkComplete = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":81 * cdef void *__cuLinkAddFile_v2 = NULL * cdef void *__cuLinkComplete = NULL * cdef void *__cuLinkDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleGetTexRef = NULL * cdef void *__cuModuleGetSurfRef = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLinkDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":82 * cdef void *__cuLinkComplete = NULL * cdef void *__cuLinkDestroy = NULL * cdef void *__cuModuleGetTexRef = NULL # <<<<<<<<<<<<<< * cdef void *__cuModuleGetSurfRef = NULL * cdef void *__cuLibraryLoadData = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetTexRef = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":83 * cdef void *__cuLinkDestroy = NULL * cdef void *__cuModuleGetTexRef = NULL * cdef void *__cuModuleGetSurfRef = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryLoadData = NULL * cdef void *__cuLibraryLoadFromFile = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuModuleGetSurfRef = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":84 * cdef void *__cuModuleGetTexRef = NULL * cdef void *__cuModuleGetSurfRef = NULL * cdef void *__cuLibraryLoadData = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryLoadFromFile = NULL * cdef void *__cuLibraryUnload = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadData = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":85 * cdef void *__cuModuleGetSurfRef = NULL * cdef void *__cuLibraryLoadData = NULL * cdef void *__cuLibraryLoadFromFile = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryUnload = NULL * cdef void *__cuLibraryGetKernel = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryLoadFromFile = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":86 * cdef void *__cuLibraryLoadData = NULL * cdef void *__cuLibraryLoadFromFile = NULL * cdef void *__cuLibraryUnload = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryGetKernel = NULL * cdef void *__cuLibraryGetKernelCount = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryUnload = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":87 * cdef void *__cuLibraryLoadFromFile = NULL * cdef void *__cuLibraryUnload = NULL * cdef void *__cuLibraryGetKernel = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryGetKernelCount = NULL * cdef void *__cuLibraryEnumerateKernels = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernel = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":88 * cdef void *__cuLibraryUnload = NULL * cdef void *__cuLibraryGetKernel = NULL * cdef void *__cuLibraryGetKernelCount = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryEnumerateKernels = NULL * cdef void *__cuLibraryGetModule = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetKernelCount = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":89 * cdef void *__cuLibraryGetKernel = NULL * cdef void *__cuLibraryGetKernelCount = NULL * cdef void *__cuLibraryEnumerateKernels = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryGetModule = NULL * cdef void *__cuKernelGetFunction = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryEnumerateKernels = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":90 * cdef void *__cuLibraryGetKernelCount = NULL * cdef void *__cuLibraryEnumerateKernels = NULL * cdef void *__cuLibraryGetModule = NULL # <<<<<<<<<<<<<< * cdef void *__cuKernelGetFunction = NULL * cdef void *__cuKernelGetLibrary = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetModule = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":91 * cdef void *__cuLibraryEnumerateKernels = NULL * cdef void *__cuLibraryGetModule = NULL * cdef void *__cuKernelGetFunction = NULL # <<<<<<<<<<<<<< * cdef void *__cuKernelGetLibrary = NULL * cdef void *__cuLibraryGetGlobal = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetFunction = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":92 * cdef void *__cuLibraryGetModule = NULL * cdef void *__cuKernelGetFunction = NULL * cdef void *__cuKernelGetLibrary = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryGetGlobal = NULL * cdef void *__cuLibraryGetManaged = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetLibrary = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":93 * cdef void *__cuKernelGetFunction = NULL * cdef void *__cuKernelGetLibrary = NULL * cdef void *__cuLibraryGetGlobal = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryGetManaged = NULL * cdef void *__cuLibraryGetUnifiedFunction = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetGlobal = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":94 * cdef void *__cuKernelGetLibrary = NULL * cdef void *__cuLibraryGetGlobal = NULL * cdef void *__cuLibraryGetManaged = NULL # <<<<<<<<<<<<<< * cdef void *__cuLibraryGetUnifiedFunction = NULL * cdef void *__cuKernelGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetManaged = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":95 * cdef void *__cuLibraryGetGlobal = NULL * cdef void *__cuLibraryGetManaged = NULL * cdef void *__cuLibraryGetUnifiedFunction = NULL # <<<<<<<<<<<<<< * cdef void *__cuKernelGetAttribute = NULL * cdef void *__cuKernelSetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLibraryGetUnifiedFunction = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":96 * cdef void *__cuLibraryGetManaged = NULL * cdef void *__cuLibraryGetUnifiedFunction = NULL * cdef void *__cuKernelGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuKernelSetAttribute = NULL * cdef void *__cuKernelSetCacheConfig = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":97 * cdef void *__cuLibraryGetUnifiedFunction = NULL * cdef void *__cuKernelGetAttribute = NULL * cdef void *__cuKernelSetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuKernelSetCacheConfig = NULL * cdef void *__cuKernelGetName = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":98 * cdef void *__cuKernelGetAttribute = NULL * cdef void *__cuKernelSetAttribute = NULL * cdef void *__cuKernelSetCacheConfig = NULL # <<<<<<<<<<<<<< * cdef void *__cuKernelGetName = NULL * cdef void *__cuKernelGetParamInfo = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelSetCacheConfig = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":99 * cdef void *__cuKernelSetAttribute = NULL * cdef void *__cuKernelSetCacheConfig = NULL * cdef void *__cuKernelGetName = NULL # <<<<<<<<<<<<<< * cdef void *__cuKernelGetParamInfo = NULL * cdef void *__cuMemGetInfo_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetName = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":100 * cdef void *__cuKernelSetCacheConfig = NULL * cdef void *__cuKernelGetName = NULL * cdef void *__cuKernelGetParamInfo = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemGetInfo_v2 = NULL * cdef void *__cuMemAlloc_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuKernelGetParamInfo = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":101 * cdef void *__cuKernelGetName = NULL * cdef void *__cuKernelGetParamInfo = NULL * cdef void *__cuMemGetInfo_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAlloc_v2 = NULL * cdef void *__cuMemAllocPitch_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetInfo_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":102 * cdef void *__cuKernelGetParamInfo = NULL * cdef void *__cuMemGetInfo_v2 = NULL * cdef void *__cuMemAlloc_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAllocPitch_v2 = NULL * cdef void *__cuMemFree_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAlloc_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":103 * cdef void *__cuMemGetInfo_v2 = NULL * cdef void *__cuMemAlloc_v2 = NULL * cdef void *__cuMemAllocPitch_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemFree_v2 = NULL * cdef void *__cuMemGetAddressRange_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocPitch_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":104 * cdef void *__cuMemAlloc_v2 = NULL * cdef void *__cuMemAllocPitch_v2 = NULL * cdef void *__cuMemFree_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemGetAddressRange_v2 = NULL * cdef void *__cuMemAllocHost_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFree_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":105 * cdef void *__cuMemAllocPitch_v2 = NULL * cdef void *__cuMemFree_v2 = NULL * cdef void *__cuMemGetAddressRange_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAllocHost_v2 = NULL * cdef void *__cuMemFreeHost = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAddressRange_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":106 * cdef void *__cuMemFree_v2 = NULL * cdef void *__cuMemGetAddressRange_v2 = NULL * cdef void *__cuMemAllocHost_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemFreeHost = NULL * cdef void *__cuMemHostAlloc = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocHost_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":107 * cdef void *__cuMemGetAddressRange_v2 = NULL * cdef void *__cuMemAllocHost_v2 = NULL * cdef void *__cuMemFreeHost = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemHostAlloc = NULL * cdef void *__cuMemHostGetDevicePointer_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeHost = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":108 * cdef void *__cuMemAllocHost_v2 = NULL * cdef void *__cuMemFreeHost = NULL * cdef void *__cuMemHostAlloc = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemHostGetDevicePointer_v2 = NULL * cdef void *__cuMemHostGetFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostAlloc = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":109 * cdef void *__cuMemFreeHost = NULL * cdef void *__cuMemHostAlloc = NULL * cdef void *__cuMemHostGetDevicePointer_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemHostGetFlags = NULL * cdef void *__cuMemAllocManaged = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetDevicePointer_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":110 * cdef void *__cuMemHostAlloc = NULL * cdef void *__cuMemHostGetDevicePointer_v2 = NULL * cdef void *__cuMemHostGetFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAllocManaged = NULL * cdef void *__cuDeviceRegisterAsyncNotification = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostGetFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":111 * cdef void *__cuMemHostGetDevicePointer_v2 = NULL * cdef void *__cuMemHostGetFlags = NULL * cdef void *__cuMemAllocManaged = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceRegisterAsyncNotification = NULL * cdef void *__cuDeviceUnregisterAsyncNotification = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocManaged = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":112 * cdef void *__cuMemHostGetFlags = NULL * cdef void *__cuMemAllocManaged = NULL * cdef void *__cuDeviceRegisterAsyncNotification = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceUnregisterAsyncNotification = NULL * cdef void *__cuDeviceGetByPCIBusId = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceRegisterAsyncNotification = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":113 * cdef void *__cuMemAllocManaged = NULL * cdef void *__cuDeviceRegisterAsyncNotification = NULL * cdef void *__cuDeviceUnregisterAsyncNotification = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetByPCIBusId = NULL * cdef void *__cuDeviceGetPCIBusId = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceUnregisterAsyncNotification = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":114 * cdef void *__cuDeviceRegisterAsyncNotification = NULL * cdef void *__cuDeviceUnregisterAsyncNotification = NULL * cdef void *__cuDeviceGetByPCIBusId = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetPCIBusId = NULL * cdef void *__cuIpcGetEventHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetByPCIBusId = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":115 * cdef void *__cuDeviceUnregisterAsyncNotification = NULL * cdef void *__cuDeviceGetByPCIBusId = NULL * cdef void *__cuDeviceGetPCIBusId = NULL # <<<<<<<<<<<<<< * cdef void *__cuIpcGetEventHandle = NULL * cdef void *__cuIpcOpenEventHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetPCIBusId = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":116 * cdef void *__cuDeviceGetByPCIBusId = NULL * cdef void *__cuDeviceGetPCIBusId = NULL * cdef void *__cuIpcGetEventHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuIpcOpenEventHandle = NULL * cdef void *__cuIpcGetMemHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetEventHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":117 * cdef void *__cuDeviceGetPCIBusId = NULL * cdef void *__cuIpcGetEventHandle = NULL * cdef void *__cuIpcOpenEventHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuIpcGetMemHandle = NULL * cdef void *__cuIpcOpenMemHandle_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenEventHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":118 * cdef void *__cuIpcGetEventHandle = NULL * cdef void *__cuIpcOpenEventHandle = NULL * cdef void *__cuIpcGetMemHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuIpcOpenMemHandle_v2 = NULL * cdef void *__cuIpcCloseMemHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcGetMemHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":119 * cdef void *__cuIpcOpenEventHandle = NULL * cdef void *__cuIpcGetMemHandle = NULL * cdef void *__cuIpcOpenMemHandle_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuIpcCloseMemHandle = NULL * cdef void *__cuMemHostRegister_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcOpenMemHandle_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":120 * cdef void *__cuIpcGetMemHandle = NULL * cdef void *__cuIpcOpenMemHandle_v2 = NULL * cdef void *__cuIpcCloseMemHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemHostRegister_v2 = NULL * cdef void *__cuMemHostUnregister = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuIpcCloseMemHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":121 * cdef void *__cuIpcOpenMemHandle_v2 = NULL * cdef void *__cuIpcCloseMemHandle = NULL * cdef void *__cuMemHostRegister_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemHostUnregister = NULL * cdef void *__cuMemcpy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostRegister_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":122 * cdef void *__cuIpcCloseMemHandle = NULL * cdef void *__cuMemHostRegister_v2 = NULL * cdef void *__cuMemHostUnregister = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy = NULL * cdef void *__cuMemcpyPeer = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemHostUnregister = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":123 * cdef void *__cuMemHostRegister_v2 = NULL * cdef void *__cuMemHostUnregister = NULL * cdef void *__cuMemcpy = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyPeer = NULL * cdef void *__cuMemcpyHtoD_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":124 * cdef void *__cuMemHostUnregister = NULL * cdef void *__cuMemcpy = NULL * cdef void *__cuMemcpyPeer = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyHtoD_v2 = NULL * cdef void *__cuMemcpyDtoH_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeer = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":125 * cdef void *__cuMemcpy = NULL * cdef void *__cuMemcpyPeer = NULL * cdef void *__cuMemcpyHtoD_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyDtoH_v2 = NULL * cdef void *__cuMemcpyDtoD_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoD_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":126 * cdef void *__cuMemcpyPeer = NULL * cdef void *__cuMemcpyHtoD_v2 = NULL * cdef void *__cuMemcpyDtoH_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyDtoD_v2 = NULL * cdef void *__cuMemcpyDtoA_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoH_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":127 * cdef void *__cuMemcpyHtoD_v2 = NULL * cdef void *__cuMemcpyDtoH_v2 = NULL * cdef void *__cuMemcpyDtoD_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyDtoA_v2 = NULL * cdef void *__cuMemcpyAtoD_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoD_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":128 * cdef void *__cuMemcpyDtoH_v2 = NULL * cdef void *__cuMemcpyDtoD_v2 = NULL * cdef void *__cuMemcpyDtoA_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyAtoD_v2 = NULL * cdef void *__cuMemcpyHtoA_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoA_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":129 * cdef void *__cuMemcpyDtoD_v2 = NULL * cdef void *__cuMemcpyDtoA_v2 = NULL * cdef void *__cuMemcpyAtoD_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyHtoA_v2 = NULL * cdef void *__cuMemcpyAtoH_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoD_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":130 * cdef void *__cuMemcpyDtoA_v2 = NULL * cdef void *__cuMemcpyAtoD_v2 = NULL * cdef void *__cuMemcpyHtoA_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyAtoH_v2 = NULL * cdef void *__cuMemcpyAtoA_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoA_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":131 * cdef void *__cuMemcpyAtoD_v2 = NULL * cdef void *__cuMemcpyHtoA_v2 = NULL * cdef void *__cuMemcpyAtoH_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyAtoA_v2 = NULL * cdef void *__cuMemcpy2D_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoH_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":132 * cdef void *__cuMemcpyHtoA_v2 = NULL * cdef void *__cuMemcpyAtoH_v2 = NULL * cdef void *__cuMemcpyAtoA_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy2D_v2 = NULL * cdef void *__cuMemcpy2DUnaligned_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoA_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":133 * cdef void *__cuMemcpyAtoH_v2 = NULL * cdef void *__cuMemcpyAtoA_v2 = NULL * cdef void *__cuMemcpy2D_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy2DUnaligned_v2 = NULL * cdef void *__cuMemcpy3D_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2D_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":134 * cdef void *__cuMemcpyAtoA_v2 = NULL * cdef void *__cuMemcpy2D_v2 = NULL * cdef void *__cuMemcpy2DUnaligned_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy3D_v2 = NULL * cdef void *__cuMemcpy3DPeer = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DUnaligned_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":135 * cdef void *__cuMemcpy2D_v2 = NULL * cdef void *__cuMemcpy2DUnaligned_v2 = NULL * cdef void *__cuMemcpy3D_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy3DPeer = NULL * cdef void *__cuMemcpyAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3D_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":136 * cdef void *__cuMemcpy2DUnaligned_v2 = NULL * cdef void *__cuMemcpy3D_v2 = NULL * cdef void *__cuMemcpy3DPeer = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyAsync = NULL * cdef void *__cuMemcpyPeerAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeer = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":137 * cdef void *__cuMemcpy3D_v2 = NULL * cdef void *__cuMemcpy3DPeer = NULL * cdef void *__cuMemcpyAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyPeerAsync = NULL * cdef void *__cuMemcpyHtoDAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":138 * cdef void *__cuMemcpy3DPeer = NULL * cdef void *__cuMemcpyAsync = NULL * cdef void *__cuMemcpyPeerAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyHtoDAsync_v2 = NULL * cdef void *__cuMemcpyDtoHAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyPeerAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":139 * cdef void *__cuMemcpyAsync = NULL * cdef void *__cuMemcpyPeerAsync = NULL * cdef void *__cuMemcpyHtoDAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyDtoHAsync_v2 = NULL * cdef void *__cuMemcpyDtoDAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoDAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":140 * cdef void *__cuMemcpyPeerAsync = NULL * cdef void *__cuMemcpyHtoDAsync_v2 = NULL * cdef void *__cuMemcpyDtoHAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyDtoDAsync_v2 = NULL * cdef void *__cuMemcpyHtoAAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoHAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":141 * cdef void *__cuMemcpyHtoDAsync_v2 = NULL * cdef void *__cuMemcpyDtoHAsync_v2 = NULL * cdef void *__cuMemcpyDtoDAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyHtoAAsync_v2 = NULL * cdef void *__cuMemcpyAtoHAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyDtoDAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":142 * cdef void *__cuMemcpyDtoHAsync_v2 = NULL * cdef void *__cuMemcpyDtoDAsync_v2 = NULL * cdef void *__cuMemcpyHtoAAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyAtoHAsync_v2 = NULL * cdef void *__cuMemcpy2DAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyHtoAAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":143 * cdef void *__cuMemcpyDtoDAsync_v2 = NULL * cdef void *__cuMemcpyHtoAAsync_v2 = NULL * cdef void *__cuMemcpyAtoHAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy2DAsync_v2 = NULL * cdef void *__cuMemcpy3DAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyAtoHAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":144 * cdef void *__cuMemcpyHtoAAsync_v2 = NULL * cdef void *__cuMemcpyAtoHAsync_v2 = NULL * cdef void *__cuMemcpy2DAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy3DAsync_v2 = NULL * cdef void *__cuMemcpy3DPeerAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy2DAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":145 * cdef void *__cuMemcpyAtoHAsync_v2 = NULL * cdef void *__cuMemcpy2DAsync_v2 = NULL * cdef void *__cuMemcpy3DAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy3DPeerAsync = NULL * cdef void *__cuMemcpyBatchAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":146 * cdef void *__cuMemcpy2DAsync_v2 = NULL * cdef void *__cuMemcpy3DAsync_v2 = NULL * cdef void *__cuMemcpy3DPeerAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpyBatchAsync = NULL * cdef void *__cuMemcpy3DBatchAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DPeerAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":147 * cdef void *__cuMemcpy3DAsync_v2 = NULL * cdef void *__cuMemcpy3DPeerAsync = NULL * cdef void *__cuMemcpyBatchAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemcpy3DBatchAsync = NULL * cdef void *__cuMemsetD8_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpyBatchAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":148 * cdef void *__cuMemcpy3DPeerAsync = NULL * cdef void *__cuMemcpyBatchAsync = NULL * cdef void *__cuMemcpy3DBatchAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD8_v2 = NULL * cdef void *__cuMemsetD16_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemcpy3DBatchAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":149 * cdef void *__cuMemcpyBatchAsync = NULL * cdef void *__cuMemcpy3DBatchAsync = NULL * cdef void *__cuMemsetD8_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD16_v2 = NULL * cdef void *__cuMemsetD32_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":150 * cdef void *__cuMemcpy3DBatchAsync = NULL * cdef void *__cuMemsetD8_v2 = NULL * cdef void *__cuMemsetD16_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD32_v2 = NULL * cdef void *__cuMemsetD2D8_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":151 * cdef void *__cuMemsetD8_v2 = NULL * cdef void *__cuMemsetD16_v2 = NULL * cdef void *__cuMemsetD32_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD2D8_v2 = NULL * cdef void *__cuMemsetD2D16_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":152 * cdef void *__cuMemsetD16_v2 = NULL * cdef void *__cuMemsetD32_v2 = NULL * cdef void *__cuMemsetD2D8_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD2D16_v2 = NULL * cdef void *__cuMemsetD2D32_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":153 * cdef void *__cuMemsetD32_v2 = NULL * cdef void *__cuMemsetD2D8_v2 = NULL * cdef void *__cuMemsetD2D16_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD2D32_v2 = NULL * cdef void *__cuMemsetD8Async = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":154 * cdef void *__cuMemsetD2D8_v2 = NULL * cdef void *__cuMemsetD2D16_v2 = NULL * cdef void *__cuMemsetD2D32_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD8Async = NULL * cdef void *__cuMemsetD16Async = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":155 * cdef void *__cuMemsetD2D16_v2 = NULL * cdef void *__cuMemsetD2D32_v2 = NULL * cdef void *__cuMemsetD8Async = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD16Async = NULL * cdef void *__cuMemsetD32Async = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD8Async = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":156 * cdef void *__cuMemsetD2D32_v2 = NULL * cdef void *__cuMemsetD8Async = NULL * cdef void *__cuMemsetD16Async = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD32Async = NULL * cdef void *__cuMemsetD2D8Async = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD16Async = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":157 * cdef void *__cuMemsetD8Async = NULL * cdef void *__cuMemsetD16Async = NULL * cdef void *__cuMemsetD32Async = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD2D8Async = NULL * cdef void *__cuMemsetD2D16Async = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD32Async = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":158 * cdef void *__cuMemsetD16Async = NULL * cdef void *__cuMemsetD32Async = NULL * cdef void *__cuMemsetD2D8Async = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD2D16Async = NULL * cdef void *__cuMemsetD2D32Async = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D8Async = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":159 * cdef void *__cuMemsetD32Async = NULL * cdef void *__cuMemsetD2D8Async = NULL * cdef void *__cuMemsetD2D16Async = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemsetD2D32Async = NULL * cdef void *__cuArrayCreate_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D16Async = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":160 * cdef void *__cuMemsetD2D8Async = NULL * cdef void *__cuMemsetD2D16Async = NULL * cdef void *__cuMemsetD2D32Async = NULL # <<<<<<<<<<<<<< * cdef void *__cuArrayCreate_v2 = NULL * cdef void *__cuArrayGetDescriptor_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemsetD2D32Async = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":161 * cdef void *__cuMemsetD2D16Async = NULL * cdef void *__cuMemsetD2D32Async = NULL * cdef void *__cuArrayCreate_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuArrayGetDescriptor_v2 = NULL * cdef void *__cuArrayGetSparseProperties = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayCreate_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":162 * cdef void *__cuMemsetD2D32Async = NULL * cdef void *__cuArrayCreate_v2 = NULL * cdef void *__cuArrayGetDescriptor_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuArrayGetSparseProperties = NULL * cdef void *__cuMipmappedArrayGetSparseProperties = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetDescriptor_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":163 * cdef void *__cuArrayCreate_v2 = NULL * cdef void *__cuArrayGetDescriptor_v2 = NULL * cdef void *__cuArrayGetSparseProperties = NULL # <<<<<<<<<<<<<< * cdef void *__cuMipmappedArrayGetSparseProperties = NULL * cdef void *__cuArrayGetMemoryRequirements = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetSparseProperties = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":164 * cdef void *__cuArrayGetDescriptor_v2 = NULL * cdef void *__cuArrayGetSparseProperties = NULL * cdef void *__cuMipmappedArrayGetSparseProperties = NULL # <<<<<<<<<<<<<< * cdef void *__cuArrayGetMemoryRequirements = NULL * cdef void *__cuMipmappedArrayGetMemoryRequirements = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetSparseProperties = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":165 * cdef void *__cuArrayGetSparseProperties = NULL * cdef void *__cuMipmappedArrayGetSparseProperties = NULL * cdef void *__cuArrayGetMemoryRequirements = NULL # <<<<<<<<<<<<<< * cdef void *__cuMipmappedArrayGetMemoryRequirements = NULL * cdef void *__cuArrayGetPlane = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetMemoryRequirements = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":166 * cdef void *__cuMipmappedArrayGetSparseProperties = NULL * cdef void *__cuArrayGetMemoryRequirements = NULL * cdef void *__cuMipmappedArrayGetMemoryRequirements = NULL # <<<<<<<<<<<<<< * cdef void *__cuArrayGetPlane = NULL * cdef void *__cuArrayDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetMemoryRequirements = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":167 * cdef void *__cuArrayGetMemoryRequirements = NULL * cdef void *__cuMipmappedArrayGetMemoryRequirements = NULL * cdef void *__cuArrayGetPlane = NULL # <<<<<<<<<<<<<< * cdef void *__cuArrayDestroy = NULL * cdef void *__cuArray3DCreate_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayGetPlane = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":168 * cdef void *__cuMipmappedArrayGetMemoryRequirements = NULL * cdef void *__cuArrayGetPlane = NULL * cdef void *__cuArrayDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuArray3DCreate_v2 = NULL * cdef void *__cuArray3DGetDescriptor_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArrayDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":169 * cdef void *__cuArrayGetPlane = NULL * cdef void *__cuArrayDestroy = NULL * cdef void *__cuArray3DCreate_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuArray3DGetDescriptor_v2 = NULL * cdef void *__cuMipmappedArrayCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DCreate_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":170 * cdef void *__cuArrayDestroy = NULL * cdef void *__cuArray3DCreate_v2 = NULL * cdef void *__cuArray3DGetDescriptor_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMipmappedArrayCreate = NULL * cdef void *__cuMipmappedArrayGetLevel = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuArray3DGetDescriptor_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":171 * cdef void *__cuArray3DCreate_v2 = NULL * cdef void *__cuArray3DGetDescriptor_v2 = NULL * cdef void *__cuMipmappedArrayCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuMipmappedArrayGetLevel = NULL * cdef void *__cuMipmappedArrayDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":172 * cdef void *__cuArray3DGetDescriptor_v2 = NULL * cdef void *__cuMipmappedArrayCreate = NULL * cdef void *__cuMipmappedArrayGetLevel = NULL # <<<<<<<<<<<<<< * cdef void *__cuMipmappedArrayDestroy = NULL * cdef void *__cuMemGetHandleForAddressRange = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayGetLevel = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":173 * cdef void *__cuMipmappedArrayCreate = NULL * cdef void *__cuMipmappedArrayGetLevel = NULL * cdef void *__cuMipmappedArrayDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemGetHandleForAddressRange = NULL * cdef void *__cuMemBatchDecompressAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMipmappedArrayDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":174 * cdef void *__cuMipmappedArrayGetLevel = NULL * cdef void *__cuMipmappedArrayDestroy = NULL * cdef void *__cuMemGetHandleForAddressRange = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemBatchDecompressAsync = NULL * cdef void *__cuMemAddressReserve = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetHandleForAddressRange = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":175 * cdef void *__cuMipmappedArrayDestroy = NULL * cdef void *__cuMemGetHandleForAddressRange = NULL * cdef void *__cuMemBatchDecompressAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAddressReserve = NULL * cdef void *__cuMemAddressFree = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemBatchDecompressAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":176 * cdef void *__cuMemGetHandleForAddressRange = NULL * cdef void *__cuMemBatchDecompressAsync = NULL * cdef void *__cuMemAddressReserve = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAddressFree = NULL * cdef void *__cuMemCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressReserve = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":177 * cdef void *__cuMemBatchDecompressAsync = NULL * cdef void *__cuMemAddressReserve = NULL * cdef void *__cuMemAddressFree = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemCreate = NULL * cdef void *__cuMemRelease = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAddressFree = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":178 * cdef void *__cuMemAddressReserve = NULL * cdef void *__cuMemAddressFree = NULL * cdef void *__cuMemCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemRelease = NULL * cdef void *__cuMemMap = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":179 * cdef void *__cuMemAddressFree = NULL * cdef void *__cuMemCreate = NULL * cdef void *__cuMemRelease = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemMap = NULL * cdef void *__cuMemMapArrayAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRelease = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":180 * cdef void *__cuMemCreate = NULL * cdef void *__cuMemRelease = NULL * cdef void *__cuMemMap = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemMapArrayAsync = NULL * cdef void *__cuMemUnmap = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMap = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":181 * cdef void *__cuMemRelease = NULL * cdef void *__cuMemMap = NULL * cdef void *__cuMemMapArrayAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemUnmap = NULL * cdef void *__cuMemSetAccess = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemMapArrayAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":182 * cdef void *__cuMemMap = NULL * cdef void *__cuMemMapArrayAsync = NULL * cdef void *__cuMemUnmap = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemSetAccess = NULL * cdef void *__cuMemGetAccess = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemUnmap = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":183 * cdef void *__cuMemMapArrayAsync = NULL * cdef void *__cuMemUnmap = NULL * cdef void *__cuMemSetAccess = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemGetAccess = NULL * cdef void *__cuMemExportToShareableHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemSetAccess = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":184 * cdef void *__cuMemUnmap = NULL * cdef void *__cuMemSetAccess = NULL * cdef void *__cuMemGetAccess = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemExportToShareableHandle = NULL * cdef void *__cuMemImportFromShareableHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAccess = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":185 * cdef void *__cuMemSetAccess = NULL * cdef void *__cuMemGetAccess = NULL * cdef void *__cuMemExportToShareableHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemImportFromShareableHandle = NULL * cdef void *__cuMemGetAllocationGranularity = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemExportToShareableHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":186 * cdef void *__cuMemGetAccess = NULL * cdef void *__cuMemExportToShareableHandle = NULL * cdef void *__cuMemImportFromShareableHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemGetAllocationGranularity = NULL * cdef void *__cuMemGetAllocationPropertiesFromHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemImportFromShareableHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":187 * cdef void *__cuMemExportToShareableHandle = NULL * cdef void *__cuMemImportFromShareableHandle = NULL * cdef void *__cuMemGetAllocationGranularity = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemGetAllocationPropertiesFromHandle = NULL * cdef void *__cuMemRetainAllocationHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationGranularity = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":188 * cdef void *__cuMemImportFromShareableHandle = NULL * cdef void *__cuMemGetAllocationGranularity = NULL * cdef void *__cuMemGetAllocationPropertiesFromHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemRetainAllocationHandle = NULL * cdef void *__cuMemFreeAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemGetAllocationPropertiesFromHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":189 * cdef void *__cuMemGetAllocationGranularity = NULL * cdef void *__cuMemGetAllocationPropertiesFromHandle = NULL * cdef void *__cuMemRetainAllocationHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemFreeAsync = NULL * cdef void *__cuMemAllocAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRetainAllocationHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":190 * cdef void *__cuMemGetAllocationPropertiesFromHandle = NULL * cdef void *__cuMemRetainAllocationHandle = NULL * cdef void *__cuMemFreeAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAllocAsync = NULL * cdef void *__cuMemPoolTrimTo = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemFreeAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":191 * cdef void *__cuMemRetainAllocationHandle = NULL * cdef void *__cuMemFreeAsync = NULL * cdef void *__cuMemAllocAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolTrimTo = NULL * cdef void *__cuMemPoolSetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":192 * cdef void *__cuMemFreeAsync = NULL * cdef void *__cuMemAllocAsync = NULL * cdef void *__cuMemPoolTrimTo = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolSetAttribute = NULL * cdef void *__cuMemPoolGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolTrimTo = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":193 * cdef void *__cuMemAllocAsync = NULL * cdef void *__cuMemPoolTrimTo = NULL * cdef void *__cuMemPoolSetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolGetAttribute = NULL * cdef void *__cuMemPoolSetAccess = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":194 * cdef void *__cuMemPoolTrimTo = NULL * cdef void *__cuMemPoolSetAttribute = NULL * cdef void *__cuMemPoolGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolSetAccess = NULL * cdef void *__cuMemPoolGetAccess = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":195 * cdef void *__cuMemPoolSetAttribute = NULL * cdef void *__cuMemPoolGetAttribute = NULL * cdef void *__cuMemPoolSetAccess = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolGetAccess = NULL * cdef void *__cuMemPoolCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolSetAccess = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":196 * cdef void *__cuMemPoolGetAttribute = NULL * cdef void *__cuMemPoolSetAccess = NULL * cdef void *__cuMemPoolGetAccess = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolCreate = NULL * cdef void *__cuMemPoolDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolGetAccess = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":197 * cdef void *__cuMemPoolSetAccess = NULL * cdef void *__cuMemPoolGetAccess = NULL * cdef void *__cuMemPoolCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolDestroy = NULL * cdef void *__cuMemAllocFromPoolAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":198 * cdef void *__cuMemPoolGetAccess = NULL * cdef void *__cuMemPoolCreate = NULL * cdef void *__cuMemPoolDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAllocFromPoolAsync = NULL * cdef void *__cuMemPoolExportToShareableHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":199 * cdef void *__cuMemPoolCreate = NULL * cdef void *__cuMemPoolDestroy = NULL * cdef void *__cuMemAllocFromPoolAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolExportToShareableHandle = NULL * cdef void *__cuMemPoolImportFromShareableHandle = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAllocFromPoolAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":200 * cdef void *__cuMemPoolDestroy = NULL * cdef void *__cuMemAllocFromPoolAsync = NULL * cdef void *__cuMemPoolExportToShareableHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolImportFromShareableHandle = NULL * cdef void *__cuMemPoolExportPointer = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportToShareableHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":201 * cdef void *__cuMemAllocFromPoolAsync = NULL * cdef void *__cuMemPoolExportToShareableHandle = NULL * cdef void *__cuMemPoolImportFromShareableHandle = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolExportPointer = NULL * cdef void *__cuMemPoolImportPointer = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportFromShareableHandle = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":202 * cdef void *__cuMemPoolExportToShareableHandle = NULL * cdef void *__cuMemPoolImportFromShareableHandle = NULL * cdef void *__cuMemPoolExportPointer = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPoolImportPointer = NULL * cdef void *__cuMulticastCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolExportPointer = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":203 * cdef void *__cuMemPoolImportFromShareableHandle = NULL * cdef void *__cuMemPoolExportPointer = NULL * cdef void *__cuMemPoolImportPointer = NULL # <<<<<<<<<<<<<< * cdef void *__cuMulticastCreate = NULL * cdef void *__cuMulticastAddDevice = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPoolImportPointer = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":204 * cdef void *__cuMemPoolExportPointer = NULL * cdef void *__cuMemPoolImportPointer = NULL * cdef void *__cuMulticastCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuMulticastAddDevice = NULL * cdef void *__cuMulticastBindMem = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":205 * cdef void *__cuMemPoolImportPointer = NULL * cdef void *__cuMulticastCreate = NULL * cdef void *__cuMulticastAddDevice = NULL # <<<<<<<<<<<<<< * cdef void *__cuMulticastBindMem = NULL * cdef void *__cuMulticastBindAddr = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastAddDevice = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":206 * cdef void *__cuMulticastCreate = NULL * cdef void *__cuMulticastAddDevice = NULL * cdef void *__cuMulticastBindMem = NULL # <<<<<<<<<<<<<< * cdef void *__cuMulticastBindAddr = NULL * cdef void *__cuMulticastUnbind = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindMem = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":207 * cdef void *__cuMulticastAddDevice = NULL * cdef void *__cuMulticastBindMem = NULL * cdef void *__cuMulticastBindAddr = NULL # <<<<<<<<<<<<<< * cdef void *__cuMulticastUnbind = NULL * cdef void *__cuMulticastGetGranularity = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastBindAddr = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":208 * cdef void *__cuMulticastBindMem = NULL * cdef void *__cuMulticastBindAddr = NULL * cdef void *__cuMulticastUnbind = NULL # <<<<<<<<<<<<<< * cdef void *__cuMulticastGetGranularity = NULL * cdef void *__cuPointerGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastUnbind = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":209 * cdef void *__cuMulticastBindAddr = NULL * cdef void *__cuMulticastUnbind = NULL * cdef void *__cuMulticastGetGranularity = NULL # <<<<<<<<<<<<<< * cdef void *__cuPointerGetAttribute = NULL * cdef void *__cuMemPrefetchAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMulticastGetGranularity = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":210 * cdef void *__cuMulticastUnbind = NULL * cdef void *__cuMulticastGetGranularity = NULL * cdef void *__cuPointerGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPrefetchAsync = NULL * cdef void *__cuMemPrefetchAsync_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":211 * cdef void *__cuMulticastGetGranularity = NULL * cdef void *__cuPointerGetAttribute = NULL * cdef void *__cuMemPrefetchAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemPrefetchAsync_v2 = NULL * cdef void *__cuMemAdvise = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":212 * cdef void *__cuPointerGetAttribute = NULL * cdef void *__cuMemPrefetchAsync = NULL * cdef void *__cuMemPrefetchAsync_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAdvise = NULL * cdef void *__cuMemAdvise_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemPrefetchAsync_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":213 * cdef void *__cuMemPrefetchAsync = NULL * cdef void *__cuMemPrefetchAsync_v2 = NULL * cdef void *__cuMemAdvise = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemAdvise_v2 = NULL * cdef void *__cuMemRangeGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":214 * cdef void *__cuMemPrefetchAsync_v2 = NULL * cdef void *__cuMemAdvise = NULL * cdef void *__cuMemAdvise_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemRangeGetAttribute = NULL * cdef void *__cuMemRangeGetAttributes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemAdvise_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":215 * cdef void *__cuMemAdvise = NULL * cdef void *__cuMemAdvise_v2 = NULL * cdef void *__cuMemRangeGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuMemRangeGetAttributes = NULL * cdef void *__cuPointerSetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":216 * cdef void *__cuMemAdvise_v2 = NULL * cdef void *__cuMemRangeGetAttribute = NULL * cdef void *__cuMemRangeGetAttributes = NULL # <<<<<<<<<<<<<< * cdef void *__cuPointerSetAttribute = NULL * cdef void *__cuPointerGetAttributes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuMemRangeGetAttributes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":217 * cdef void *__cuMemRangeGetAttribute = NULL * cdef void *__cuMemRangeGetAttributes = NULL * cdef void *__cuPointerSetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuPointerGetAttributes = NULL * cdef void *__cuStreamCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerSetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":218 * cdef void *__cuMemRangeGetAttributes = NULL * cdef void *__cuPointerSetAttribute = NULL * cdef void *__cuPointerGetAttributes = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamCreate = NULL * cdef void *__cuStreamCreateWithPriority = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuPointerGetAttributes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":219 * cdef void *__cuPointerSetAttribute = NULL * cdef void *__cuPointerGetAttributes = NULL * cdef void *__cuStreamCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamCreateWithPriority = NULL * cdef void *__cuStreamGetPriority = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":220 * cdef void *__cuPointerGetAttributes = NULL * cdef void *__cuStreamCreate = NULL * cdef void *__cuStreamCreateWithPriority = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetPriority = NULL * cdef void *__cuStreamGetDevice = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCreateWithPriority = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":221 * cdef void *__cuStreamCreate = NULL * cdef void *__cuStreamCreateWithPriority = NULL * cdef void *__cuStreamGetPriority = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetDevice = NULL * cdef void *__cuStreamGetFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetPriority = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":222 * cdef void *__cuStreamCreateWithPriority = NULL * cdef void *__cuStreamGetPriority = NULL * cdef void *__cuStreamGetDevice = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetFlags = NULL * cdef void *__cuStreamGetId = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetDevice = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":223 * cdef void *__cuStreamGetPriority = NULL * cdef void *__cuStreamGetDevice = NULL * cdef void *__cuStreamGetFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetId = NULL * cdef void *__cuStreamGetCtx = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":224 * cdef void *__cuStreamGetDevice = NULL * cdef void *__cuStreamGetFlags = NULL * cdef void *__cuStreamGetId = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetCtx = NULL * cdef void *__cuStreamGetCtx_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetId = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":225 * cdef void *__cuStreamGetFlags = NULL * cdef void *__cuStreamGetId = NULL * cdef void *__cuStreamGetCtx = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetCtx_v2 = NULL * cdef void *__cuStreamWaitEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":226 * cdef void *__cuStreamGetId = NULL * cdef void *__cuStreamGetCtx = NULL * cdef void *__cuStreamGetCtx_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamWaitEvent = NULL * cdef void *__cuStreamAddCallback = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCtx_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":227 * cdef void *__cuStreamGetCtx = NULL * cdef void *__cuStreamGetCtx_v2 = NULL * cdef void *__cuStreamWaitEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamAddCallback = NULL * cdef void *__cuStreamBeginCapture_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":228 * cdef void *__cuStreamGetCtx_v2 = NULL * cdef void *__cuStreamWaitEvent = NULL * cdef void *__cuStreamAddCallback = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamBeginCapture_v2 = NULL * cdef void *__cuStreamBeginCaptureToGraph = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAddCallback = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":229 * cdef void *__cuStreamWaitEvent = NULL * cdef void *__cuStreamAddCallback = NULL * cdef void *__cuStreamBeginCapture_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamBeginCaptureToGraph = NULL * cdef void *__cuThreadExchangeStreamCaptureMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCapture_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":230 * cdef void *__cuStreamAddCallback = NULL * cdef void *__cuStreamBeginCapture_v2 = NULL * cdef void *__cuStreamBeginCaptureToGraph = NULL # <<<<<<<<<<<<<< * cdef void *__cuThreadExchangeStreamCaptureMode = NULL * cdef void *__cuStreamEndCapture = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBeginCaptureToGraph = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":231 * cdef void *__cuStreamBeginCapture_v2 = NULL * cdef void *__cuStreamBeginCaptureToGraph = NULL * cdef void *__cuThreadExchangeStreamCaptureMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamEndCapture = NULL * cdef void *__cuStreamIsCapturing = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuThreadExchangeStreamCaptureMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":232 * cdef void *__cuStreamBeginCaptureToGraph = NULL * cdef void *__cuThreadExchangeStreamCaptureMode = NULL * cdef void *__cuStreamEndCapture = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamIsCapturing = NULL * cdef void *__cuStreamGetCaptureInfo_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamEndCapture = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":233 * cdef void *__cuThreadExchangeStreamCaptureMode = NULL * cdef void *__cuStreamEndCapture = NULL * cdef void *__cuStreamIsCapturing = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetCaptureInfo_v2 = NULL * cdef void *__cuStreamGetCaptureInfo_v3 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamIsCapturing = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":234 * cdef void *__cuStreamEndCapture = NULL * cdef void *__cuStreamIsCapturing = NULL * cdef void *__cuStreamGetCaptureInfo_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetCaptureInfo_v3 = NULL * cdef void *__cuStreamUpdateCaptureDependencies = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":235 * cdef void *__cuStreamIsCapturing = NULL * cdef void *__cuStreamGetCaptureInfo_v2 = NULL * cdef void *__cuStreamGetCaptureInfo_v3 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamUpdateCaptureDependencies = NULL * cdef void *__cuStreamUpdateCaptureDependencies_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetCaptureInfo_v3 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":236 * cdef void *__cuStreamGetCaptureInfo_v2 = NULL * cdef void *__cuStreamGetCaptureInfo_v3 = NULL * cdef void *__cuStreamUpdateCaptureDependencies = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamUpdateCaptureDependencies_v2 = NULL * cdef void *__cuStreamAttachMemAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":237 * cdef void *__cuStreamGetCaptureInfo_v3 = NULL * cdef void *__cuStreamUpdateCaptureDependencies = NULL * cdef void *__cuStreamUpdateCaptureDependencies_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamAttachMemAsync = NULL * cdef void *__cuStreamQuery = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamUpdateCaptureDependencies_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":238 * cdef void *__cuStreamUpdateCaptureDependencies = NULL * cdef void *__cuStreamUpdateCaptureDependencies_v2 = NULL * cdef void *__cuStreamAttachMemAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamQuery = NULL * cdef void *__cuStreamSynchronize = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamAttachMemAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":239 * cdef void *__cuStreamUpdateCaptureDependencies_v2 = NULL * cdef void *__cuStreamAttachMemAsync = NULL * cdef void *__cuStreamQuery = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamSynchronize = NULL * cdef void *__cuStreamDestroy_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamQuery = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":240 * cdef void *__cuStreamAttachMemAsync = NULL * cdef void *__cuStreamQuery = NULL * cdef void *__cuStreamSynchronize = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamDestroy_v2 = NULL * cdef void *__cuStreamCopyAttributes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSynchronize = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":241 * cdef void *__cuStreamQuery = NULL * cdef void *__cuStreamSynchronize = NULL * cdef void *__cuStreamDestroy_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamCopyAttributes = NULL * cdef void *__cuStreamGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamDestroy_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":242 * cdef void *__cuStreamSynchronize = NULL * cdef void *__cuStreamDestroy_v2 = NULL * cdef void *__cuStreamCopyAttributes = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetAttribute = NULL * cdef void *__cuStreamSetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamCopyAttributes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":243 * cdef void *__cuStreamDestroy_v2 = NULL * cdef void *__cuStreamCopyAttributes = NULL * cdef void *__cuStreamGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamSetAttribute = NULL * cdef void *__cuEventCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":244 * cdef void *__cuStreamCopyAttributes = NULL * cdef void *__cuStreamGetAttribute = NULL * cdef void *__cuStreamSetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventCreate = NULL * cdef void *__cuEventRecord = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamSetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":245 * cdef void *__cuStreamGetAttribute = NULL * cdef void *__cuStreamSetAttribute = NULL * cdef void *__cuEventCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventRecord = NULL * cdef void *__cuEventRecordWithFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":246 * cdef void *__cuStreamSetAttribute = NULL * cdef void *__cuEventCreate = NULL * cdef void *__cuEventRecord = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventRecordWithFlags = NULL * cdef void *__cuEventQuery = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecord = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":247 * cdef void *__cuEventCreate = NULL * cdef void *__cuEventRecord = NULL * cdef void *__cuEventRecordWithFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventQuery = NULL * cdef void *__cuEventSynchronize = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventRecordWithFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":248 * cdef void *__cuEventRecord = NULL * cdef void *__cuEventRecordWithFlags = NULL * cdef void *__cuEventQuery = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventSynchronize = NULL * cdef void *__cuEventDestroy_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventQuery = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":249 * cdef void *__cuEventRecordWithFlags = NULL * cdef void *__cuEventQuery = NULL * cdef void *__cuEventSynchronize = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventDestroy_v2 = NULL * cdef void *__cuEventElapsedTime = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventSynchronize = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":250 * cdef void *__cuEventQuery = NULL * cdef void *__cuEventSynchronize = NULL * cdef void *__cuEventDestroy_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventElapsedTime = NULL * cdef void *__cuEventElapsedTime_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventDestroy_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":251 * cdef void *__cuEventSynchronize = NULL * cdef void *__cuEventDestroy_v2 = NULL * cdef void *__cuEventElapsedTime = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventElapsedTime_v2 = NULL * cdef void *__cuImportExternalMemory = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":252 * cdef void *__cuEventDestroy_v2 = NULL * cdef void *__cuEventElapsedTime = NULL * cdef void *__cuEventElapsedTime_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuImportExternalMemory = NULL * cdef void *__cuExternalMemoryGetMappedBuffer = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventElapsedTime_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":253 * cdef void *__cuEventElapsedTime = NULL * cdef void *__cuEventElapsedTime_v2 = NULL * cdef void *__cuImportExternalMemory = NULL # <<<<<<<<<<<<<< * cdef void *__cuExternalMemoryGetMappedBuffer = NULL * cdef void *__cuExternalMemoryGetMappedMipmappedArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalMemory = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":254 * cdef void *__cuEventElapsedTime_v2 = NULL * cdef void *__cuImportExternalMemory = NULL * cdef void *__cuExternalMemoryGetMappedBuffer = NULL # <<<<<<<<<<<<<< * cdef void *__cuExternalMemoryGetMappedMipmappedArray = NULL * cdef void *__cuDestroyExternalMemory = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedBuffer = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":255 * cdef void *__cuImportExternalMemory = NULL * cdef void *__cuExternalMemoryGetMappedBuffer = NULL * cdef void *__cuExternalMemoryGetMappedMipmappedArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuDestroyExternalMemory = NULL * cdef void *__cuImportExternalSemaphore = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuExternalMemoryGetMappedMipmappedArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":256 * cdef void *__cuExternalMemoryGetMappedBuffer = NULL * cdef void *__cuExternalMemoryGetMappedMipmappedArray = NULL * cdef void *__cuDestroyExternalMemory = NULL # <<<<<<<<<<<<<< * cdef void *__cuImportExternalSemaphore = NULL * cdef void *__cuSignalExternalSemaphoresAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalMemory = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":257 * cdef void *__cuExternalMemoryGetMappedMipmappedArray = NULL * cdef void *__cuDestroyExternalMemory = NULL * cdef void *__cuImportExternalSemaphore = NULL # <<<<<<<<<<<<<< * cdef void *__cuSignalExternalSemaphoresAsync = NULL * cdef void *__cuWaitExternalSemaphoresAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuImportExternalSemaphore = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":258 * cdef void *__cuDestroyExternalMemory = NULL * cdef void *__cuImportExternalSemaphore = NULL * cdef void *__cuSignalExternalSemaphoresAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuWaitExternalSemaphoresAsync = NULL * cdef void *__cuDestroyExternalSemaphore = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSignalExternalSemaphoresAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":259 * cdef void *__cuImportExternalSemaphore = NULL * cdef void *__cuSignalExternalSemaphoresAsync = NULL * cdef void *__cuWaitExternalSemaphoresAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuDestroyExternalSemaphore = NULL * cdef void *__cuStreamWaitValue32_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuWaitExternalSemaphoresAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":260 * cdef void *__cuSignalExternalSemaphoresAsync = NULL * cdef void *__cuWaitExternalSemaphoresAsync = NULL * cdef void *__cuDestroyExternalSemaphore = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamWaitValue32_v2 = NULL * cdef void *__cuStreamWaitValue64_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDestroyExternalSemaphore = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":261 * cdef void *__cuWaitExternalSemaphoresAsync = NULL * cdef void *__cuDestroyExternalSemaphore = NULL * cdef void *__cuStreamWaitValue32_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamWaitValue64_v2 = NULL * cdef void *__cuStreamWriteValue32_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue32_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":262 * cdef void *__cuDestroyExternalSemaphore = NULL * cdef void *__cuStreamWaitValue32_v2 = NULL * cdef void *__cuStreamWaitValue64_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamWriteValue32_v2 = NULL * cdef void *__cuStreamWriteValue64_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWaitValue64_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":263 * cdef void *__cuStreamWaitValue32_v2 = NULL * cdef void *__cuStreamWaitValue64_v2 = NULL * cdef void *__cuStreamWriteValue32_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamWriteValue64_v2 = NULL * cdef void *__cuStreamBatchMemOp_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue32_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":264 * cdef void *__cuStreamWaitValue64_v2 = NULL * cdef void *__cuStreamWriteValue32_v2 = NULL * cdef void *__cuStreamWriteValue64_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamBatchMemOp_v2 = NULL * cdef void *__cuFuncGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamWriteValue64_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":265 * cdef void *__cuStreamWriteValue32_v2 = NULL * cdef void *__cuStreamWriteValue64_v2 = NULL * cdef void *__cuStreamBatchMemOp_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncGetAttribute = NULL * cdef void *__cuFuncSetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamBatchMemOp_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":266 * cdef void *__cuStreamWriteValue64_v2 = NULL * cdef void *__cuStreamBatchMemOp_v2 = NULL * cdef void *__cuFuncGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncSetAttribute = NULL * cdef void *__cuFuncSetCacheConfig = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":267 * cdef void *__cuStreamBatchMemOp_v2 = NULL * cdef void *__cuFuncGetAttribute = NULL * cdef void *__cuFuncSetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncSetCacheConfig = NULL * cdef void *__cuFuncGetModule = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":268 * cdef void *__cuFuncGetAttribute = NULL * cdef void *__cuFuncSetAttribute = NULL * cdef void *__cuFuncSetCacheConfig = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncGetModule = NULL * cdef void *__cuFuncGetName = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetCacheConfig = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":269 * cdef void *__cuFuncSetAttribute = NULL * cdef void *__cuFuncSetCacheConfig = NULL * cdef void *__cuFuncGetModule = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncGetName = NULL * cdef void *__cuFuncGetParamInfo = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetModule = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":270 * cdef void *__cuFuncSetCacheConfig = NULL * cdef void *__cuFuncGetModule = NULL * cdef void *__cuFuncGetName = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncGetParamInfo = NULL * cdef void *__cuFuncIsLoaded = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetName = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":271 * cdef void *__cuFuncGetModule = NULL * cdef void *__cuFuncGetName = NULL * cdef void *__cuFuncGetParamInfo = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncIsLoaded = NULL * cdef void *__cuFuncLoad = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncGetParamInfo = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":272 * cdef void *__cuFuncGetName = NULL * cdef void *__cuFuncGetParamInfo = NULL * cdef void *__cuFuncIsLoaded = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncLoad = NULL * cdef void *__cuLaunchKernel = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncIsLoaded = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":273 * cdef void *__cuFuncGetParamInfo = NULL * cdef void *__cuFuncIsLoaded = NULL * cdef void *__cuFuncLoad = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunchKernel = NULL * cdef void *__cuLaunchKernelEx = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncLoad = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":274 * cdef void *__cuFuncIsLoaded = NULL * cdef void *__cuFuncLoad = NULL * cdef void *__cuLaunchKernel = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunchKernelEx = NULL * cdef void *__cuLaunchCooperativeKernel = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernel = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":275 * cdef void *__cuFuncLoad = NULL * cdef void *__cuLaunchKernel = NULL * cdef void *__cuLaunchKernelEx = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunchCooperativeKernel = NULL * cdef void *__cuLaunchCooperativeKernelMultiDevice = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchKernelEx = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":276 * cdef void *__cuLaunchKernel = NULL * cdef void *__cuLaunchKernelEx = NULL * cdef void *__cuLaunchCooperativeKernel = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunchCooperativeKernelMultiDevice = NULL * cdef void *__cuLaunchHostFunc = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernel = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":277 * cdef void *__cuLaunchKernelEx = NULL * cdef void *__cuLaunchCooperativeKernel = NULL * cdef void *__cuLaunchCooperativeKernelMultiDevice = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunchHostFunc = NULL * cdef void *__cuFuncSetBlockShape = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchCooperativeKernelMultiDevice = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":278 * cdef void *__cuLaunchCooperativeKernel = NULL * cdef void *__cuLaunchCooperativeKernelMultiDevice = NULL * cdef void *__cuLaunchHostFunc = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncSetBlockShape = NULL * cdef void *__cuFuncSetSharedSize = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchHostFunc = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":279 * cdef void *__cuLaunchCooperativeKernelMultiDevice = NULL * cdef void *__cuLaunchHostFunc = NULL * cdef void *__cuFuncSetBlockShape = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncSetSharedSize = NULL * cdef void *__cuParamSetSize = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetBlockShape = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":280 * cdef void *__cuLaunchHostFunc = NULL * cdef void *__cuFuncSetBlockShape = NULL * cdef void *__cuFuncSetSharedSize = NULL # <<<<<<<<<<<<<< * cdef void *__cuParamSetSize = NULL * cdef void *__cuParamSeti = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedSize = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":281 * cdef void *__cuFuncSetBlockShape = NULL * cdef void *__cuFuncSetSharedSize = NULL * cdef void *__cuParamSetSize = NULL # <<<<<<<<<<<<<< * cdef void *__cuParamSeti = NULL * cdef void *__cuParamSetf = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetSize = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":282 * cdef void *__cuFuncSetSharedSize = NULL * cdef void *__cuParamSetSize = NULL * cdef void *__cuParamSeti = NULL # <<<<<<<<<<<<<< * cdef void *__cuParamSetf = NULL * cdef void *__cuParamSetv = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSeti = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":283 * cdef void *__cuParamSetSize = NULL * cdef void *__cuParamSeti = NULL * cdef void *__cuParamSetf = NULL # <<<<<<<<<<<<<< * cdef void *__cuParamSetv = NULL * cdef void *__cuLaunch = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetf = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":284 * cdef void *__cuParamSeti = NULL * cdef void *__cuParamSetf = NULL * cdef void *__cuParamSetv = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunch = NULL * cdef void *__cuLaunchGrid = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetv = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":285 * cdef void *__cuParamSetf = NULL * cdef void *__cuParamSetv = NULL * cdef void *__cuLaunch = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunchGrid = NULL * cdef void *__cuLaunchGridAsync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunch = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":286 * cdef void *__cuParamSetv = NULL * cdef void *__cuLaunch = NULL * cdef void *__cuLaunchGrid = NULL # <<<<<<<<<<<<<< * cdef void *__cuLaunchGridAsync = NULL * cdef void *__cuParamSetTexRef = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGrid = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":287 * cdef void *__cuLaunch = NULL * cdef void *__cuLaunchGrid = NULL * cdef void *__cuLaunchGridAsync = NULL # <<<<<<<<<<<<<< * cdef void *__cuParamSetTexRef = NULL * cdef void *__cuFuncSetSharedMemConfig = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLaunchGridAsync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":288 * cdef void *__cuLaunchGrid = NULL * cdef void *__cuLaunchGridAsync = NULL * cdef void *__cuParamSetTexRef = NULL # <<<<<<<<<<<<<< * cdef void *__cuFuncSetSharedMemConfig = NULL * cdef void *__cuGraphCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuParamSetTexRef = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":289 * cdef void *__cuLaunchGridAsync = NULL * cdef void *__cuParamSetTexRef = NULL * cdef void *__cuFuncSetSharedMemConfig = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphCreate = NULL * cdef void *__cuGraphAddKernelNode_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuFuncSetSharedMemConfig = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":290 * cdef void *__cuParamSetTexRef = NULL * cdef void *__cuFuncSetSharedMemConfig = NULL * cdef void *__cuGraphCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddKernelNode_v2 = NULL * cdef void *__cuGraphKernelNodeGetParams_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":291 * cdef void *__cuFuncSetSharedMemConfig = NULL * cdef void *__cuGraphCreate = NULL * cdef void *__cuGraphAddKernelNode_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphKernelNodeGetParams_v2 = NULL * cdef void *__cuGraphKernelNodeSetParams_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddKernelNode_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":292 * cdef void *__cuGraphCreate = NULL * cdef void *__cuGraphAddKernelNode_v2 = NULL * cdef void *__cuGraphKernelNodeGetParams_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphKernelNodeSetParams_v2 = NULL * cdef void *__cuGraphAddMemcpyNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetParams_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":293 * cdef void *__cuGraphAddKernelNode_v2 = NULL * cdef void *__cuGraphKernelNodeGetParams_v2 = NULL * cdef void *__cuGraphKernelNodeSetParams_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddMemcpyNode = NULL * cdef void *__cuGraphMemcpyNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetParams_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":294 * cdef void *__cuGraphKernelNodeGetParams_v2 = NULL * cdef void *__cuGraphKernelNodeSetParams_v2 = NULL * cdef void *__cuGraphAddMemcpyNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphMemcpyNodeGetParams = NULL * cdef void *__cuGraphMemcpyNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemcpyNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":295 * cdef void *__cuGraphKernelNodeSetParams_v2 = NULL * cdef void *__cuGraphAddMemcpyNode = NULL * cdef void *__cuGraphMemcpyNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphMemcpyNodeSetParams = NULL * cdef void *__cuGraphAddMemsetNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":296 * cdef void *__cuGraphAddMemcpyNode = NULL * cdef void *__cuGraphMemcpyNodeGetParams = NULL * cdef void *__cuGraphMemcpyNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddMemsetNode = NULL * cdef void *__cuGraphMemsetNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemcpyNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":297 * cdef void *__cuGraphMemcpyNodeGetParams = NULL * cdef void *__cuGraphMemcpyNodeSetParams = NULL * cdef void *__cuGraphAddMemsetNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphMemsetNodeGetParams = NULL * cdef void *__cuGraphMemsetNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemsetNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":298 * cdef void *__cuGraphMemcpyNodeSetParams = NULL * cdef void *__cuGraphAddMemsetNode = NULL * cdef void *__cuGraphMemsetNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphMemsetNodeSetParams = NULL * cdef void *__cuGraphAddHostNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":299 * cdef void *__cuGraphAddMemsetNode = NULL * cdef void *__cuGraphMemsetNodeGetParams = NULL * cdef void *__cuGraphMemsetNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddHostNode = NULL * cdef void *__cuGraphHostNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemsetNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":300 * cdef void *__cuGraphMemsetNodeGetParams = NULL * cdef void *__cuGraphMemsetNodeSetParams = NULL * cdef void *__cuGraphAddHostNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphHostNodeGetParams = NULL * cdef void *__cuGraphHostNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddHostNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":301 * cdef void *__cuGraphMemsetNodeSetParams = NULL * cdef void *__cuGraphAddHostNode = NULL * cdef void *__cuGraphHostNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphHostNodeSetParams = NULL * cdef void *__cuGraphAddChildGraphNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":302 * cdef void *__cuGraphAddHostNode = NULL * cdef void *__cuGraphHostNodeGetParams = NULL * cdef void *__cuGraphHostNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddChildGraphNode = NULL * cdef void *__cuGraphChildGraphNodeGetGraph = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphHostNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":303 * cdef void *__cuGraphHostNodeGetParams = NULL * cdef void *__cuGraphHostNodeSetParams = NULL * cdef void *__cuGraphAddChildGraphNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphChildGraphNodeGetGraph = NULL * cdef void *__cuGraphAddEmptyNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddChildGraphNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":304 * cdef void *__cuGraphHostNodeSetParams = NULL * cdef void *__cuGraphAddChildGraphNode = NULL * cdef void *__cuGraphChildGraphNodeGetGraph = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddEmptyNode = NULL * cdef void *__cuGraphAddEventRecordNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphChildGraphNodeGetGraph = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":305 * cdef void *__cuGraphAddChildGraphNode = NULL * cdef void *__cuGraphChildGraphNodeGetGraph = NULL * cdef void *__cuGraphAddEmptyNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddEventRecordNode = NULL * cdef void *__cuGraphEventRecordNodeGetEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEmptyNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":306 * cdef void *__cuGraphChildGraphNodeGetGraph = NULL * cdef void *__cuGraphAddEmptyNode = NULL * cdef void *__cuGraphAddEventRecordNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphEventRecordNodeGetEvent = NULL * cdef void *__cuGraphEventRecordNodeSetEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventRecordNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":307 * cdef void *__cuGraphAddEmptyNode = NULL * cdef void *__cuGraphAddEventRecordNode = NULL * cdef void *__cuGraphEventRecordNodeGetEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphEventRecordNodeSetEvent = NULL * cdef void *__cuGraphAddEventWaitNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeGetEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":308 * cdef void *__cuGraphAddEventRecordNode = NULL * cdef void *__cuGraphEventRecordNodeGetEvent = NULL * cdef void *__cuGraphEventRecordNodeSetEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddEventWaitNode = NULL * cdef void *__cuGraphEventWaitNodeGetEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventRecordNodeSetEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":309 * cdef void *__cuGraphEventRecordNodeGetEvent = NULL * cdef void *__cuGraphEventRecordNodeSetEvent = NULL * cdef void *__cuGraphAddEventWaitNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphEventWaitNodeGetEvent = NULL * cdef void *__cuGraphEventWaitNodeSetEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddEventWaitNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":310 * cdef void *__cuGraphEventRecordNodeSetEvent = NULL * cdef void *__cuGraphAddEventWaitNode = NULL * cdef void *__cuGraphEventWaitNodeGetEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphEventWaitNodeSetEvent = NULL * cdef void *__cuGraphAddExternalSemaphoresSignalNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeGetEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":311 * cdef void *__cuGraphAddEventWaitNode = NULL * cdef void *__cuGraphEventWaitNodeGetEvent = NULL * cdef void *__cuGraphEventWaitNodeSetEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddExternalSemaphoresSignalNode = NULL * cdef void *__cuGraphExternalSemaphoresSignalNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphEventWaitNodeSetEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":312 * cdef void *__cuGraphEventWaitNodeGetEvent = NULL * cdef void *__cuGraphEventWaitNodeSetEvent = NULL * cdef void *__cuGraphAddExternalSemaphoresSignalNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExternalSemaphoresSignalNodeGetParams = NULL * cdef void *__cuGraphExternalSemaphoresSignalNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresSignalNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":313 * cdef void *__cuGraphEventWaitNodeSetEvent = NULL * cdef void *__cuGraphAddExternalSemaphoresSignalNode = NULL * cdef void *__cuGraphExternalSemaphoresSignalNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExternalSemaphoresSignalNodeSetParams = NULL * cdef void *__cuGraphAddExternalSemaphoresWaitNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":314 * cdef void *__cuGraphAddExternalSemaphoresSignalNode = NULL * cdef void *__cuGraphExternalSemaphoresSignalNodeGetParams = NULL * cdef void *__cuGraphExternalSemaphoresSignalNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddExternalSemaphoresWaitNode = NULL * cdef void *__cuGraphExternalSemaphoresWaitNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresSignalNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":315 * cdef void *__cuGraphExternalSemaphoresSignalNodeGetParams = NULL * cdef void *__cuGraphExternalSemaphoresSignalNodeSetParams = NULL * cdef void *__cuGraphAddExternalSemaphoresWaitNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExternalSemaphoresWaitNodeGetParams = NULL * cdef void *__cuGraphExternalSemaphoresWaitNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddExternalSemaphoresWaitNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":316 * cdef void *__cuGraphExternalSemaphoresSignalNodeSetParams = NULL * cdef void *__cuGraphAddExternalSemaphoresWaitNode = NULL * cdef void *__cuGraphExternalSemaphoresWaitNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExternalSemaphoresWaitNodeSetParams = NULL * cdef void *__cuGraphAddBatchMemOpNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":317 * cdef void *__cuGraphAddExternalSemaphoresWaitNode = NULL * cdef void *__cuGraphExternalSemaphoresWaitNodeGetParams = NULL * cdef void *__cuGraphExternalSemaphoresWaitNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddBatchMemOpNode = NULL * cdef void *__cuGraphBatchMemOpNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExternalSemaphoresWaitNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":318 * cdef void *__cuGraphExternalSemaphoresWaitNodeGetParams = NULL * cdef void *__cuGraphExternalSemaphoresWaitNodeSetParams = NULL * cdef void *__cuGraphAddBatchMemOpNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphBatchMemOpNodeGetParams = NULL * cdef void *__cuGraphBatchMemOpNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddBatchMemOpNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":319 * cdef void *__cuGraphExternalSemaphoresWaitNodeSetParams = NULL * cdef void *__cuGraphAddBatchMemOpNode = NULL * cdef void *__cuGraphBatchMemOpNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphBatchMemOpNodeSetParams = NULL * cdef void *__cuGraphExecBatchMemOpNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":320 * cdef void *__cuGraphAddBatchMemOpNode = NULL * cdef void *__cuGraphBatchMemOpNodeGetParams = NULL * cdef void *__cuGraphBatchMemOpNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecBatchMemOpNodeSetParams = NULL * cdef void *__cuGraphAddMemAllocNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphBatchMemOpNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":321 * cdef void *__cuGraphBatchMemOpNodeGetParams = NULL * cdef void *__cuGraphBatchMemOpNodeSetParams = NULL * cdef void *__cuGraphExecBatchMemOpNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddMemAllocNode = NULL * cdef void *__cuGraphMemAllocNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecBatchMemOpNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":322 * cdef void *__cuGraphBatchMemOpNodeSetParams = NULL * cdef void *__cuGraphExecBatchMemOpNodeSetParams = NULL * cdef void *__cuGraphAddMemAllocNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphMemAllocNodeGetParams = NULL * cdef void *__cuGraphAddMemFreeNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemAllocNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":323 * cdef void *__cuGraphExecBatchMemOpNodeSetParams = NULL * cdef void *__cuGraphAddMemAllocNode = NULL * cdef void *__cuGraphMemAllocNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddMemFreeNode = NULL * cdef void *__cuGraphMemFreeNodeGetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemAllocNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":324 * cdef void *__cuGraphAddMemAllocNode = NULL * cdef void *__cuGraphMemAllocNodeGetParams = NULL * cdef void *__cuGraphAddMemFreeNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphMemFreeNodeGetParams = NULL * cdef void *__cuDeviceGraphMemTrim = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddMemFreeNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":325 * cdef void *__cuGraphMemAllocNodeGetParams = NULL * cdef void *__cuGraphAddMemFreeNode = NULL * cdef void *__cuGraphMemFreeNodeGetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGraphMemTrim = NULL * cdef void *__cuDeviceGetGraphMemAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphMemFreeNodeGetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":326 * cdef void *__cuGraphAddMemFreeNode = NULL * cdef void *__cuGraphMemFreeNodeGetParams = NULL * cdef void *__cuDeviceGraphMemTrim = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetGraphMemAttribute = NULL * cdef void *__cuDeviceSetGraphMemAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGraphMemTrim = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":327 * cdef void *__cuGraphMemFreeNodeGetParams = NULL * cdef void *__cuDeviceGraphMemTrim = NULL * cdef void *__cuDeviceGetGraphMemAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceSetGraphMemAttribute = NULL * cdef void *__cuGraphClone = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetGraphMemAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":328 * cdef void *__cuDeviceGraphMemTrim = NULL * cdef void *__cuDeviceGetGraphMemAttribute = NULL * cdef void *__cuDeviceSetGraphMemAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphClone = NULL * cdef void *__cuGraphNodeFindInClone = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceSetGraphMemAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":329 * cdef void *__cuDeviceGetGraphMemAttribute = NULL * cdef void *__cuDeviceSetGraphMemAttribute = NULL * cdef void *__cuGraphClone = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeFindInClone = NULL * cdef void *__cuGraphNodeGetType = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphClone = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":330 * cdef void *__cuDeviceSetGraphMemAttribute = NULL * cdef void *__cuGraphClone = NULL * cdef void *__cuGraphNodeFindInClone = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeGetType = NULL * cdef void *__cuGraphGetNodes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeFindInClone = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":331 * cdef void *__cuGraphClone = NULL * cdef void *__cuGraphNodeFindInClone = NULL * cdef void *__cuGraphNodeGetType = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphGetNodes = NULL * cdef void *__cuGraphGetRootNodes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetType = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":332 * cdef void *__cuGraphNodeFindInClone = NULL * cdef void *__cuGraphNodeGetType = NULL * cdef void *__cuGraphGetNodes = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphGetRootNodes = NULL * cdef void *__cuGraphGetEdges = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetNodes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":333 * cdef void *__cuGraphNodeGetType = NULL * cdef void *__cuGraphGetNodes = NULL * cdef void *__cuGraphGetRootNodes = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphGetEdges = NULL * cdef void *__cuGraphGetEdges_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetRootNodes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":334 * cdef void *__cuGraphGetNodes = NULL * cdef void *__cuGraphGetRootNodes = NULL * cdef void *__cuGraphGetEdges = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphGetEdges_v2 = NULL * cdef void *__cuGraphNodeGetDependencies = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":335 * cdef void *__cuGraphGetRootNodes = NULL * cdef void *__cuGraphGetEdges = NULL * cdef void *__cuGraphGetEdges_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeGetDependencies = NULL * cdef void *__cuGraphNodeGetDependencies_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphGetEdges_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":336 * cdef void *__cuGraphGetEdges = NULL * cdef void *__cuGraphGetEdges_v2 = NULL * cdef void *__cuGraphNodeGetDependencies = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeGetDependencies_v2 = NULL * cdef void *__cuGraphNodeGetDependentNodes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":337 * cdef void *__cuGraphGetEdges_v2 = NULL * cdef void *__cuGraphNodeGetDependencies = NULL * cdef void *__cuGraphNodeGetDependencies_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeGetDependentNodes = NULL * cdef void *__cuGraphNodeGetDependentNodes_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependencies_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":338 * cdef void *__cuGraphNodeGetDependencies = NULL * cdef void *__cuGraphNodeGetDependencies_v2 = NULL * cdef void *__cuGraphNodeGetDependentNodes = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeGetDependentNodes_v2 = NULL * cdef void *__cuGraphAddDependencies = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":339 * cdef void *__cuGraphNodeGetDependencies_v2 = NULL * cdef void *__cuGraphNodeGetDependentNodes = NULL * cdef void *__cuGraphNodeGetDependentNodes_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddDependencies = NULL * cdef void *__cuGraphAddDependencies_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetDependentNodes_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":340 * cdef void *__cuGraphNodeGetDependentNodes = NULL * cdef void *__cuGraphNodeGetDependentNodes_v2 = NULL * cdef void *__cuGraphAddDependencies = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddDependencies_v2 = NULL * cdef void *__cuGraphRemoveDependencies = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":341 * cdef void *__cuGraphNodeGetDependentNodes_v2 = NULL * cdef void *__cuGraphAddDependencies = NULL * cdef void *__cuGraphAddDependencies_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphRemoveDependencies = NULL * cdef void *__cuGraphRemoveDependencies_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddDependencies_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":342 * cdef void *__cuGraphAddDependencies = NULL * cdef void *__cuGraphAddDependencies_v2 = NULL * cdef void *__cuGraphRemoveDependencies = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphRemoveDependencies_v2 = NULL * cdef void *__cuGraphDestroyNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":343 * cdef void *__cuGraphAddDependencies_v2 = NULL * cdef void *__cuGraphRemoveDependencies = NULL * cdef void *__cuGraphRemoveDependencies_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphDestroyNode = NULL * cdef void *__cuGraphInstantiateWithFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRemoveDependencies_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":344 * cdef void *__cuGraphRemoveDependencies = NULL * cdef void *__cuGraphRemoveDependencies_v2 = NULL * cdef void *__cuGraphDestroyNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphInstantiateWithFlags = NULL * cdef void *__cuGraphInstantiateWithParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroyNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":345 * cdef void *__cuGraphRemoveDependencies_v2 = NULL * cdef void *__cuGraphDestroyNode = NULL * cdef void *__cuGraphInstantiateWithFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphInstantiateWithParams = NULL * cdef void *__cuGraphExecGetFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":346 * cdef void *__cuGraphDestroyNode = NULL * cdef void *__cuGraphInstantiateWithFlags = NULL * cdef void *__cuGraphInstantiateWithParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecGetFlags = NULL * cdef void *__cuGraphExecKernelNodeSetParams_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphInstantiateWithParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":347 * cdef void *__cuGraphInstantiateWithFlags = NULL * cdef void *__cuGraphInstantiateWithParams = NULL * cdef void *__cuGraphExecGetFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecKernelNodeSetParams_v2 = NULL * cdef void *__cuGraphExecMemcpyNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecGetFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":348 * cdef void *__cuGraphInstantiateWithParams = NULL * cdef void *__cuGraphExecGetFlags = NULL * cdef void *__cuGraphExecKernelNodeSetParams_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecMemcpyNodeSetParams = NULL * cdef void *__cuGraphExecMemsetNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecKernelNodeSetParams_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":349 * cdef void *__cuGraphExecGetFlags = NULL * cdef void *__cuGraphExecKernelNodeSetParams_v2 = NULL * cdef void *__cuGraphExecMemcpyNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecMemsetNodeSetParams = NULL * cdef void *__cuGraphExecHostNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemcpyNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":350 * cdef void *__cuGraphExecKernelNodeSetParams_v2 = NULL * cdef void *__cuGraphExecMemcpyNodeSetParams = NULL * cdef void *__cuGraphExecMemsetNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecHostNodeSetParams = NULL * cdef void *__cuGraphExecChildGraphNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecMemsetNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":351 * cdef void *__cuGraphExecMemcpyNodeSetParams = NULL * cdef void *__cuGraphExecMemsetNodeSetParams = NULL * cdef void *__cuGraphExecHostNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecChildGraphNodeSetParams = NULL * cdef void *__cuGraphExecEventRecordNodeSetEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecHostNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":352 * cdef void *__cuGraphExecMemsetNodeSetParams = NULL * cdef void *__cuGraphExecHostNodeSetParams = NULL * cdef void *__cuGraphExecChildGraphNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecEventRecordNodeSetEvent = NULL * cdef void *__cuGraphExecEventWaitNodeSetEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecChildGraphNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":353 * cdef void *__cuGraphExecHostNodeSetParams = NULL * cdef void *__cuGraphExecChildGraphNodeSetParams = NULL * cdef void *__cuGraphExecEventRecordNodeSetEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecEventWaitNodeSetEvent = NULL * cdef void *__cuGraphExecExternalSemaphoresSignalNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventRecordNodeSetEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":354 * cdef void *__cuGraphExecChildGraphNodeSetParams = NULL * cdef void *__cuGraphExecEventRecordNodeSetEvent = NULL * cdef void *__cuGraphExecEventWaitNodeSetEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecExternalSemaphoresSignalNodeSetParams = NULL * cdef void *__cuGraphExecExternalSemaphoresWaitNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecEventWaitNodeSetEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":355 * cdef void *__cuGraphExecEventRecordNodeSetEvent = NULL * cdef void *__cuGraphExecEventWaitNodeSetEvent = NULL * cdef void *__cuGraphExecExternalSemaphoresSignalNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecExternalSemaphoresWaitNodeSetParams = NULL * cdef void *__cuGraphNodeSetEnabled = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresSignalNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":356 * cdef void *__cuGraphExecEventWaitNodeSetEvent = NULL * cdef void *__cuGraphExecExternalSemaphoresSignalNodeSetParams = NULL * cdef void *__cuGraphExecExternalSemaphoresWaitNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeSetEnabled = NULL * cdef void *__cuGraphNodeGetEnabled = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecExternalSemaphoresWaitNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":357 * cdef void *__cuGraphExecExternalSemaphoresSignalNodeSetParams = NULL * cdef void *__cuGraphExecExternalSemaphoresWaitNodeSetParams = NULL * cdef void *__cuGraphNodeSetEnabled = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeGetEnabled = NULL * cdef void *__cuGraphUpload = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetEnabled = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":358 * cdef void *__cuGraphExecExternalSemaphoresWaitNodeSetParams = NULL * cdef void *__cuGraphNodeSetEnabled = NULL * cdef void *__cuGraphNodeGetEnabled = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphUpload = NULL * cdef void *__cuGraphLaunch = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeGetEnabled = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":359 * cdef void *__cuGraphNodeSetEnabled = NULL * cdef void *__cuGraphNodeGetEnabled = NULL * cdef void *__cuGraphUpload = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphLaunch = NULL * cdef void *__cuGraphExecDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphUpload = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":360 * cdef void *__cuGraphNodeGetEnabled = NULL * cdef void *__cuGraphUpload = NULL * cdef void *__cuGraphLaunch = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecDestroy = NULL * cdef void *__cuGraphDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphLaunch = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":361 * cdef void *__cuGraphUpload = NULL * cdef void *__cuGraphLaunch = NULL * cdef void *__cuGraphExecDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphDestroy = NULL * cdef void *__cuGraphExecUpdate_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":362 * cdef void *__cuGraphLaunch = NULL * cdef void *__cuGraphExecDestroy = NULL * cdef void *__cuGraphDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecUpdate_v2 = NULL * cdef void *__cuGraphKernelNodeCopyAttributes = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":363 * cdef void *__cuGraphExecDestroy = NULL * cdef void *__cuGraphDestroy = NULL * cdef void *__cuGraphExecUpdate_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphKernelNodeCopyAttributes = NULL * cdef void *__cuGraphKernelNodeGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecUpdate_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":364 * cdef void *__cuGraphDestroy = NULL * cdef void *__cuGraphExecUpdate_v2 = NULL * cdef void *__cuGraphKernelNodeCopyAttributes = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphKernelNodeGetAttribute = NULL * cdef void *__cuGraphKernelNodeSetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeCopyAttributes = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":365 * cdef void *__cuGraphExecUpdate_v2 = NULL * cdef void *__cuGraphKernelNodeCopyAttributes = NULL * cdef void *__cuGraphKernelNodeGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphKernelNodeSetAttribute = NULL * cdef void *__cuGraphDebugDotPrint = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":366 * cdef void *__cuGraphKernelNodeCopyAttributes = NULL * cdef void *__cuGraphKernelNodeGetAttribute = NULL * cdef void *__cuGraphKernelNodeSetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphDebugDotPrint = NULL * cdef void *__cuUserObjectCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphKernelNodeSetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":367 * cdef void *__cuGraphKernelNodeGetAttribute = NULL * cdef void *__cuGraphKernelNodeSetAttribute = NULL * cdef void *__cuGraphDebugDotPrint = NULL # <<<<<<<<<<<<<< * cdef void *__cuUserObjectCreate = NULL * cdef void *__cuUserObjectRetain = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphDebugDotPrint = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":368 * cdef void *__cuGraphKernelNodeSetAttribute = NULL * cdef void *__cuGraphDebugDotPrint = NULL * cdef void *__cuUserObjectCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuUserObjectRetain = NULL * cdef void *__cuUserObjectRelease = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":369 * cdef void *__cuGraphDebugDotPrint = NULL * cdef void *__cuUserObjectCreate = NULL * cdef void *__cuUserObjectRetain = NULL # <<<<<<<<<<<<<< * cdef void *__cuUserObjectRelease = NULL * cdef void *__cuGraphRetainUserObject = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRetain = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":370 * cdef void *__cuUserObjectCreate = NULL * cdef void *__cuUserObjectRetain = NULL * cdef void *__cuUserObjectRelease = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphRetainUserObject = NULL * cdef void *__cuGraphReleaseUserObject = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuUserObjectRelease = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":371 * cdef void *__cuUserObjectRetain = NULL * cdef void *__cuUserObjectRelease = NULL * cdef void *__cuGraphRetainUserObject = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphReleaseUserObject = NULL * cdef void *__cuGraphAddNode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphRetainUserObject = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":372 * cdef void *__cuUserObjectRelease = NULL * cdef void *__cuGraphRetainUserObject = NULL * cdef void *__cuGraphReleaseUserObject = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddNode = NULL * cdef void *__cuGraphAddNode_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphReleaseUserObject = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":373 * cdef void *__cuGraphRetainUserObject = NULL * cdef void *__cuGraphReleaseUserObject = NULL * cdef void *__cuGraphAddNode = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphAddNode_v2 = NULL * cdef void *__cuGraphNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":374 * cdef void *__cuGraphReleaseUserObject = NULL * cdef void *__cuGraphAddNode = NULL * cdef void *__cuGraphAddNode_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphNodeSetParams = NULL * cdef void *__cuGraphExecNodeSetParams = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphAddNode_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":375 * cdef void *__cuGraphAddNode = NULL * cdef void *__cuGraphAddNode_v2 = NULL * cdef void *__cuGraphNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphExecNodeSetParams = NULL * cdef void *__cuGraphConditionalHandleCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":376 * cdef void *__cuGraphAddNode_v2 = NULL * cdef void *__cuGraphNodeSetParams = NULL * cdef void *__cuGraphExecNodeSetParams = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphConditionalHandleCreate = NULL * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessor = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphExecNodeSetParams = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":377 * cdef void *__cuGraphNodeSetParams = NULL * cdef void *__cuGraphExecNodeSetParams = NULL * cdef void *__cuGraphConditionalHandleCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessor = NULL * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphConditionalHandleCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":378 * cdef void *__cuGraphExecNodeSetParams = NULL * cdef void *__cuGraphConditionalHandleCreate = NULL * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessor = NULL # <<<<<<<<<<<<<< * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = NULL * cdef void *__cuOccupancyMaxPotentialBlockSize = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessor = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":379 * cdef void *__cuGraphConditionalHandleCreate = NULL * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessor = NULL * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuOccupancyMaxPotentialBlockSize = NULL * cdef void *__cuOccupancyMaxPotentialBlockSizeWithFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":380 * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessor = NULL * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = NULL * cdef void *__cuOccupancyMaxPotentialBlockSize = NULL # <<<<<<<<<<<<<< * cdef void *__cuOccupancyMaxPotentialBlockSizeWithFlags = NULL * cdef void *__cuOccupancyAvailableDynamicSMemPerBlock = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSize = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":381 * cdef void *__cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = NULL * cdef void *__cuOccupancyMaxPotentialBlockSize = NULL * cdef void *__cuOccupancyMaxPotentialBlockSizeWithFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuOccupancyAvailableDynamicSMemPerBlock = NULL * cdef void *__cuOccupancyMaxPotentialClusterSize = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialBlockSizeWithFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":382 * cdef void *__cuOccupancyMaxPotentialBlockSize = NULL * cdef void *__cuOccupancyMaxPotentialBlockSizeWithFlags = NULL * cdef void *__cuOccupancyAvailableDynamicSMemPerBlock = NULL # <<<<<<<<<<<<<< * cdef void *__cuOccupancyMaxPotentialClusterSize = NULL * cdef void *__cuOccupancyMaxActiveClusters = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyAvailableDynamicSMemPerBlock = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":383 * cdef void *__cuOccupancyMaxPotentialBlockSizeWithFlags = NULL * cdef void *__cuOccupancyAvailableDynamicSMemPerBlock = NULL * cdef void *__cuOccupancyMaxPotentialClusterSize = NULL # <<<<<<<<<<<<<< * cdef void *__cuOccupancyMaxActiveClusters = NULL * cdef void *__cuTexRefSetArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxPotentialClusterSize = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":384 * cdef void *__cuOccupancyAvailableDynamicSMemPerBlock = NULL * cdef void *__cuOccupancyMaxPotentialClusterSize = NULL * cdef void *__cuOccupancyMaxActiveClusters = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetArray = NULL * cdef void *__cuTexRefSetMipmappedArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuOccupancyMaxActiveClusters = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":385 * cdef void *__cuOccupancyMaxPotentialClusterSize = NULL * cdef void *__cuOccupancyMaxActiveClusters = NULL * cdef void *__cuTexRefSetArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetMipmappedArray = NULL * cdef void *__cuTexRefSetAddress_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":386 * cdef void *__cuOccupancyMaxActiveClusters = NULL * cdef void *__cuTexRefSetArray = NULL * cdef void *__cuTexRefSetMipmappedArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetAddress_v2 = NULL * cdef void *__cuTexRefSetAddress2D_v3 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmappedArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":387 * cdef void *__cuTexRefSetArray = NULL * cdef void *__cuTexRefSetMipmappedArray = NULL * cdef void *__cuTexRefSetAddress_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetAddress2D_v3 = NULL * cdef void *__cuTexRefSetFormat = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":388 * cdef void *__cuTexRefSetMipmappedArray = NULL * cdef void *__cuTexRefSetAddress_v2 = NULL * cdef void *__cuTexRefSetAddress2D_v3 = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetFormat = NULL * cdef void *__cuTexRefSetAddressMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddress2D_v3 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":389 * cdef void *__cuTexRefSetAddress_v2 = NULL * cdef void *__cuTexRefSetAddress2D_v3 = NULL * cdef void *__cuTexRefSetFormat = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetAddressMode = NULL * cdef void *__cuTexRefSetFilterMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFormat = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":390 * cdef void *__cuTexRefSetAddress2D_v3 = NULL * cdef void *__cuTexRefSetFormat = NULL * cdef void *__cuTexRefSetAddressMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetFilterMode = NULL * cdef void *__cuTexRefSetMipmapFilterMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetAddressMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":391 * cdef void *__cuTexRefSetFormat = NULL * cdef void *__cuTexRefSetAddressMode = NULL * cdef void *__cuTexRefSetFilterMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetMipmapFilterMode = NULL * cdef void *__cuTexRefSetMipmapLevelBias = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFilterMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":392 * cdef void *__cuTexRefSetAddressMode = NULL * cdef void *__cuTexRefSetFilterMode = NULL * cdef void *__cuTexRefSetMipmapFilterMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetMipmapLevelBias = NULL * cdef void *__cuTexRefSetMipmapLevelClamp = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapFilterMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":393 * cdef void *__cuTexRefSetFilterMode = NULL * cdef void *__cuTexRefSetMipmapFilterMode = NULL * cdef void *__cuTexRefSetMipmapLevelBias = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetMipmapLevelClamp = NULL * cdef void *__cuTexRefSetMaxAnisotropy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelBias = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":394 * cdef void *__cuTexRefSetMipmapFilterMode = NULL * cdef void *__cuTexRefSetMipmapLevelBias = NULL * cdef void *__cuTexRefSetMipmapLevelClamp = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetMaxAnisotropy = NULL * cdef void *__cuTexRefSetBorderColor = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMipmapLevelClamp = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":395 * cdef void *__cuTexRefSetMipmapLevelBias = NULL * cdef void *__cuTexRefSetMipmapLevelClamp = NULL * cdef void *__cuTexRefSetMaxAnisotropy = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetBorderColor = NULL * cdef void *__cuTexRefSetFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetMaxAnisotropy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":396 * cdef void *__cuTexRefSetMipmapLevelClamp = NULL * cdef void *__cuTexRefSetMaxAnisotropy = NULL * cdef void *__cuTexRefSetBorderColor = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefSetFlags = NULL * cdef void *__cuTexRefGetAddress_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetBorderColor = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":397 * cdef void *__cuTexRefSetMaxAnisotropy = NULL * cdef void *__cuTexRefSetBorderColor = NULL * cdef void *__cuTexRefSetFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetAddress_v2 = NULL * cdef void *__cuTexRefGetArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefSetFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":398 * cdef void *__cuTexRefSetBorderColor = NULL * cdef void *__cuTexRefSetFlags = NULL * cdef void *__cuTexRefGetAddress_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetArray = NULL * cdef void *__cuTexRefGetMipmappedArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddress_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":399 * cdef void *__cuTexRefSetFlags = NULL * cdef void *__cuTexRefGetAddress_v2 = NULL * cdef void *__cuTexRefGetArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetMipmappedArray = NULL * cdef void *__cuTexRefGetAddressMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":400 * cdef void *__cuTexRefGetAddress_v2 = NULL * cdef void *__cuTexRefGetArray = NULL * cdef void *__cuTexRefGetMipmappedArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetAddressMode = NULL * cdef void *__cuTexRefGetFilterMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmappedArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":401 * cdef void *__cuTexRefGetArray = NULL * cdef void *__cuTexRefGetMipmappedArray = NULL * cdef void *__cuTexRefGetAddressMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetFilterMode = NULL * cdef void *__cuTexRefGetFormat = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetAddressMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":402 * cdef void *__cuTexRefGetMipmappedArray = NULL * cdef void *__cuTexRefGetAddressMode = NULL * cdef void *__cuTexRefGetFilterMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetFormat = NULL * cdef void *__cuTexRefGetMipmapFilterMode = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFilterMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":403 * cdef void *__cuTexRefGetAddressMode = NULL * cdef void *__cuTexRefGetFilterMode = NULL * cdef void *__cuTexRefGetFormat = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetMipmapFilterMode = NULL * cdef void *__cuTexRefGetMipmapLevelBias = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFormat = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":404 * cdef void *__cuTexRefGetFilterMode = NULL * cdef void *__cuTexRefGetFormat = NULL * cdef void *__cuTexRefGetMipmapFilterMode = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetMipmapLevelBias = NULL * cdef void *__cuTexRefGetMipmapLevelClamp = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapFilterMode = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":405 * cdef void *__cuTexRefGetFormat = NULL * cdef void *__cuTexRefGetMipmapFilterMode = NULL * cdef void *__cuTexRefGetMipmapLevelBias = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetMipmapLevelClamp = NULL * cdef void *__cuTexRefGetMaxAnisotropy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelBias = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":406 * cdef void *__cuTexRefGetMipmapFilterMode = NULL * cdef void *__cuTexRefGetMipmapLevelBias = NULL * cdef void *__cuTexRefGetMipmapLevelClamp = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetMaxAnisotropy = NULL * cdef void *__cuTexRefGetBorderColor = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMipmapLevelClamp = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":407 * cdef void *__cuTexRefGetMipmapLevelBias = NULL * cdef void *__cuTexRefGetMipmapLevelClamp = NULL * cdef void *__cuTexRefGetMaxAnisotropy = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetBorderColor = NULL * cdef void *__cuTexRefGetFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetMaxAnisotropy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":408 * cdef void *__cuTexRefGetMipmapLevelClamp = NULL * cdef void *__cuTexRefGetMaxAnisotropy = NULL * cdef void *__cuTexRefGetBorderColor = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefGetFlags = NULL * cdef void *__cuTexRefCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetBorderColor = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":409 * cdef void *__cuTexRefGetMaxAnisotropy = NULL * cdef void *__cuTexRefGetBorderColor = NULL * cdef void *__cuTexRefGetFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefCreate = NULL * cdef void *__cuTexRefDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefGetFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":410 * cdef void *__cuTexRefGetBorderColor = NULL * cdef void *__cuTexRefGetFlags = NULL * cdef void *__cuTexRefCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexRefDestroy = NULL * cdef void *__cuSurfRefSetArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":411 * cdef void *__cuTexRefGetFlags = NULL * cdef void *__cuTexRefCreate = NULL * cdef void *__cuTexRefDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuSurfRefSetArray = NULL * cdef void *__cuSurfRefGetArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexRefDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":412 * cdef void *__cuTexRefCreate = NULL * cdef void *__cuTexRefDestroy = NULL * cdef void *__cuSurfRefSetArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuSurfRefGetArray = NULL * cdef void *__cuTexObjectCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefSetArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":413 * cdef void *__cuTexRefDestroy = NULL * cdef void *__cuSurfRefSetArray = NULL * cdef void *__cuSurfRefGetArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexObjectCreate = NULL * cdef void *__cuTexObjectDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfRefGetArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":414 * cdef void *__cuSurfRefSetArray = NULL * cdef void *__cuSurfRefGetArray = NULL * cdef void *__cuTexObjectCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexObjectDestroy = NULL * cdef void *__cuTexObjectGetResourceDesc = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":415 * cdef void *__cuSurfRefGetArray = NULL * cdef void *__cuTexObjectCreate = NULL * cdef void *__cuTexObjectDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexObjectGetResourceDesc = NULL * cdef void *__cuTexObjectGetTextureDesc = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":416 * cdef void *__cuTexObjectCreate = NULL * cdef void *__cuTexObjectDestroy = NULL * cdef void *__cuTexObjectGetResourceDesc = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexObjectGetTextureDesc = NULL * cdef void *__cuTexObjectGetResourceViewDesc = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceDesc = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":417 * cdef void *__cuTexObjectDestroy = NULL * cdef void *__cuTexObjectGetResourceDesc = NULL * cdef void *__cuTexObjectGetTextureDesc = NULL # <<<<<<<<<<<<<< * cdef void *__cuTexObjectGetResourceViewDesc = NULL * cdef void *__cuSurfObjectCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetTextureDesc = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":418 * cdef void *__cuTexObjectGetResourceDesc = NULL * cdef void *__cuTexObjectGetTextureDesc = NULL * cdef void *__cuTexObjectGetResourceViewDesc = NULL # <<<<<<<<<<<<<< * cdef void *__cuSurfObjectCreate = NULL * cdef void *__cuSurfObjectDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTexObjectGetResourceViewDesc = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":419 * cdef void *__cuTexObjectGetTextureDesc = NULL * cdef void *__cuTexObjectGetResourceViewDesc = NULL * cdef void *__cuSurfObjectCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuSurfObjectDestroy = NULL * cdef void *__cuSurfObjectGetResourceDesc = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":420 * cdef void *__cuTexObjectGetResourceViewDesc = NULL * cdef void *__cuSurfObjectCreate = NULL * cdef void *__cuSurfObjectDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuSurfObjectGetResourceDesc = NULL * cdef void *__cuTensorMapEncodeTiled = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":421 * cdef void *__cuSurfObjectCreate = NULL * cdef void *__cuSurfObjectDestroy = NULL * cdef void *__cuSurfObjectGetResourceDesc = NULL # <<<<<<<<<<<<<< * cdef void *__cuTensorMapEncodeTiled = NULL * cdef void *__cuTensorMapEncodeIm2col = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuSurfObjectGetResourceDesc = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":422 * cdef void *__cuSurfObjectDestroy = NULL * cdef void *__cuSurfObjectGetResourceDesc = NULL * cdef void *__cuTensorMapEncodeTiled = NULL # <<<<<<<<<<<<<< * cdef void *__cuTensorMapEncodeIm2col = NULL * cdef void *__cuTensorMapEncodeIm2colWide = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeTiled = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":423 * cdef void *__cuSurfObjectGetResourceDesc = NULL * cdef void *__cuTensorMapEncodeTiled = NULL * cdef void *__cuTensorMapEncodeIm2col = NULL # <<<<<<<<<<<<<< * cdef void *__cuTensorMapEncodeIm2colWide = NULL * cdef void *__cuTensorMapReplaceAddress = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2col = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":424 * cdef void *__cuTensorMapEncodeTiled = NULL * cdef void *__cuTensorMapEncodeIm2col = NULL * cdef void *__cuTensorMapEncodeIm2colWide = NULL # <<<<<<<<<<<<<< * cdef void *__cuTensorMapReplaceAddress = NULL * cdef void *__cuDeviceCanAccessPeer = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapEncodeIm2colWide = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":425 * cdef void *__cuTensorMapEncodeIm2col = NULL * cdef void *__cuTensorMapEncodeIm2colWide = NULL * cdef void *__cuTensorMapReplaceAddress = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceCanAccessPeer = NULL * cdef void *__cuCtxEnablePeerAccess = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuTensorMapReplaceAddress = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":426 * cdef void *__cuTensorMapEncodeIm2colWide = NULL * cdef void *__cuTensorMapReplaceAddress = NULL * cdef void *__cuDeviceCanAccessPeer = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxEnablePeerAccess = NULL * cdef void *__cuCtxDisablePeerAccess = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceCanAccessPeer = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":427 * cdef void *__cuTensorMapReplaceAddress = NULL * cdef void *__cuDeviceCanAccessPeer = NULL * cdef void *__cuCtxEnablePeerAccess = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxDisablePeerAccess = NULL * cdef void *__cuDeviceGetP2PAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxEnablePeerAccess = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":428 * cdef void *__cuDeviceCanAccessPeer = NULL * cdef void *__cuCtxEnablePeerAccess = NULL * cdef void *__cuCtxDisablePeerAccess = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetP2PAttribute = NULL * cdef void *__cuGraphicsUnregisterResource = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxDisablePeerAccess = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":429 * cdef void *__cuCtxEnablePeerAccess = NULL * cdef void *__cuCtxDisablePeerAccess = NULL * cdef void *__cuDeviceGetP2PAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsUnregisterResource = NULL * cdef void *__cuGraphicsSubResourceGetMappedArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetP2PAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":430 * cdef void *__cuCtxDisablePeerAccess = NULL * cdef void *__cuDeviceGetP2PAttribute = NULL * cdef void *__cuGraphicsUnregisterResource = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsSubResourceGetMappedArray = NULL * cdef void *__cuGraphicsResourceGetMappedMipmappedArray = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnregisterResource = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":431 * cdef void *__cuDeviceGetP2PAttribute = NULL * cdef void *__cuGraphicsUnregisterResource = NULL * cdef void *__cuGraphicsSubResourceGetMappedArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsResourceGetMappedMipmappedArray = NULL * cdef void *__cuGraphicsResourceGetMappedPointer_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsSubResourceGetMappedArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":432 * cdef void *__cuGraphicsUnregisterResource = NULL * cdef void *__cuGraphicsSubResourceGetMappedArray = NULL * cdef void *__cuGraphicsResourceGetMappedMipmappedArray = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsResourceGetMappedPointer_v2 = NULL * cdef void *__cuGraphicsResourceSetMapFlags_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedMipmappedArray = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":433 * cdef void *__cuGraphicsSubResourceGetMappedArray = NULL * cdef void *__cuGraphicsResourceGetMappedMipmappedArray = NULL * cdef void *__cuGraphicsResourceGetMappedPointer_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsResourceSetMapFlags_v2 = NULL * cdef void *__cuGraphicsMapResources = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedPointer_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":434 * cdef void *__cuGraphicsResourceGetMappedMipmappedArray = NULL * cdef void *__cuGraphicsResourceGetMappedPointer_v2 = NULL * cdef void *__cuGraphicsResourceSetMapFlags_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsMapResources = NULL * cdef void *__cuGraphicsUnmapResources = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceSetMapFlags_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":435 * cdef void *__cuGraphicsResourceGetMappedPointer_v2 = NULL * cdef void *__cuGraphicsResourceSetMapFlags_v2 = NULL * cdef void *__cuGraphicsMapResources = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsUnmapResources = NULL * cdef void *__cuGetProcAddress_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsMapResources = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":436 * cdef void *__cuGraphicsResourceSetMapFlags_v2 = NULL * cdef void *__cuGraphicsMapResources = NULL * cdef void *__cuGraphicsUnmapResources = NULL # <<<<<<<<<<<<<< * cdef void *__cuGetProcAddress_v2 = NULL * cdef void *__cuCoredumpGetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsUnmapResources = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":437 * cdef void *__cuGraphicsMapResources = NULL * cdef void *__cuGraphicsUnmapResources = NULL * cdef void *__cuGetProcAddress_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuCoredumpGetAttribute = NULL * cdef void *__cuCoredumpGetAttributeGlobal = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetProcAddress_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":438 * cdef void *__cuGraphicsUnmapResources = NULL * cdef void *__cuGetProcAddress_v2 = NULL * cdef void *__cuCoredumpGetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuCoredumpGetAttributeGlobal = NULL * cdef void *__cuCoredumpSetAttribute = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":439 * cdef void *__cuGetProcAddress_v2 = NULL * cdef void *__cuCoredumpGetAttribute = NULL * cdef void *__cuCoredumpGetAttributeGlobal = NULL # <<<<<<<<<<<<<< * cdef void *__cuCoredumpSetAttribute = NULL * cdef void *__cuCoredumpSetAttributeGlobal = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpGetAttributeGlobal = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":440 * cdef void *__cuCoredumpGetAttribute = NULL * cdef void *__cuCoredumpGetAttributeGlobal = NULL * cdef void *__cuCoredumpSetAttribute = NULL # <<<<<<<<<<<<<< * cdef void *__cuCoredumpSetAttributeGlobal = NULL * cdef void *__cuGetExportTable = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttribute = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":441 * cdef void *__cuCoredumpGetAttributeGlobal = NULL * cdef void *__cuCoredumpSetAttribute = NULL * cdef void *__cuCoredumpSetAttributeGlobal = NULL # <<<<<<<<<<<<<< * cdef void *__cuGetExportTable = NULL * cdef void *__cuGreenCtxCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCoredumpSetAttributeGlobal = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":442 * cdef void *__cuCoredumpSetAttribute = NULL * cdef void *__cuCoredumpSetAttributeGlobal = NULL * cdef void *__cuGetExportTable = NULL # <<<<<<<<<<<<<< * cdef void *__cuGreenCtxCreate = NULL * cdef void *__cuGreenCtxDestroy = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGetExportTable = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":443 * cdef void *__cuCoredumpSetAttributeGlobal = NULL * cdef void *__cuGetExportTable = NULL * cdef void *__cuGreenCtxCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuGreenCtxDestroy = NULL * cdef void *__cuCtxFromGreenCtx = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":444 * cdef void *__cuGetExportTable = NULL * cdef void *__cuGreenCtxCreate = NULL * cdef void *__cuGreenCtxDestroy = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxFromGreenCtx = NULL * cdef void *__cuDeviceGetDevResource = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxDestroy = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":445 * cdef void *__cuGreenCtxCreate = NULL * cdef void *__cuGreenCtxDestroy = NULL * cdef void *__cuCtxFromGreenCtx = NULL # <<<<<<<<<<<<<< * cdef void *__cuDeviceGetDevResource = NULL * cdef void *__cuCtxGetDevResource = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxFromGreenCtx = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":446 * cdef void *__cuGreenCtxDestroy = NULL * cdef void *__cuCtxFromGreenCtx = NULL * cdef void *__cuDeviceGetDevResource = NULL # <<<<<<<<<<<<<< * cdef void *__cuCtxGetDevResource = NULL * cdef void *__cuGreenCtxGetDevResource = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDeviceGetDevResource = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":447 * cdef void *__cuCtxFromGreenCtx = NULL * cdef void *__cuDeviceGetDevResource = NULL * cdef void *__cuCtxGetDevResource = NULL # <<<<<<<<<<<<<< * cdef void *__cuGreenCtxGetDevResource = NULL * cdef void *__cuDevSmResourceSplitByCount = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCtxGetDevResource = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":448 * cdef void *__cuDeviceGetDevResource = NULL * cdef void *__cuCtxGetDevResource = NULL * cdef void *__cuGreenCtxGetDevResource = NULL # <<<<<<<<<<<<<< * cdef void *__cuDevSmResourceSplitByCount = NULL * cdef void *__cuDevResourceGenerateDesc = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxGetDevResource = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":449 * cdef void *__cuCtxGetDevResource = NULL * cdef void *__cuGreenCtxGetDevResource = NULL * cdef void *__cuDevSmResourceSplitByCount = NULL # <<<<<<<<<<<<<< * cdef void *__cuDevResourceGenerateDesc = NULL * cdef void *__cuGreenCtxRecordEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevSmResourceSplitByCount = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":450 * cdef void *__cuGreenCtxGetDevResource = NULL * cdef void *__cuDevSmResourceSplitByCount = NULL * cdef void *__cuDevResourceGenerateDesc = NULL # <<<<<<<<<<<<<< * cdef void *__cuGreenCtxRecordEvent = NULL * cdef void *__cuGreenCtxWaitEvent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuDevResourceGenerateDesc = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":451 * cdef void *__cuDevSmResourceSplitByCount = NULL * cdef void *__cuDevResourceGenerateDesc = NULL * cdef void *__cuGreenCtxRecordEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuGreenCtxWaitEvent = NULL * cdef void *__cuStreamGetGreenCtx = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxRecordEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":452 * cdef void *__cuDevResourceGenerateDesc = NULL * cdef void *__cuGreenCtxRecordEvent = NULL * cdef void *__cuGreenCtxWaitEvent = NULL # <<<<<<<<<<<<<< * cdef void *__cuStreamGetGreenCtx = NULL * cdef void *__cuGreenCtxStreamCreate = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxWaitEvent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":453 * cdef void *__cuGreenCtxRecordEvent = NULL * cdef void *__cuGreenCtxWaitEvent = NULL * cdef void *__cuStreamGetGreenCtx = NULL # <<<<<<<<<<<<<< * cdef void *__cuGreenCtxStreamCreate = NULL * cdef void *__cuLogsRegisterCallback = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuStreamGetGreenCtx = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":454 * cdef void *__cuGreenCtxWaitEvent = NULL * cdef void *__cuStreamGetGreenCtx = NULL * cdef void *__cuGreenCtxStreamCreate = NULL # <<<<<<<<<<<<<< * cdef void *__cuLogsRegisterCallback = NULL * cdef void *__cuLogsUnregisterCallback = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGreenCtxStreamCreate = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":455 * cdef void *__cuStreamGetGreenCtx = NULL * cdef void *__cuGreenCtxStreamCreate = NULL * cdef void *__cuLogsRegisterCallback = NULL # <<<<<<<<<<<<<< * cdef void *__cuLogsUnregisterCallback = NULL * cdef void *__cuLogsCurrent = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsRegisterCallback = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":456 * cdef void *__cuGreenCtxStreamCreate = NULL * cdef void *__cuLogsRegisterCallback = NULL * cdef void *__cuLogsUnregisterCallback = NULL # <<<<<<<<<<<<<< * cdef void *__cuLogsCurrent = NULL * cdef void *__cuLogsDumpToFile = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsUnregisterCallback = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":457 * cdef void *__cuLogsRegisterCallback = NULL * cdef void *__cuLogsUnregisterCallback = NULL * cdef void *__cuLogsCurrent = NULL # <<<<<<<<<<<<<< * cdef void *__cuLogsDumpToFile = NULL * cdef void *__cuLogsDumpToMemory = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsCurrent = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":458 * cdef void *__cuLogsUnregisterCallback = NULL * cdef void *__cuLogsCurrent = NULL * cdef void *__cuLogsDumpToFile = NULL # <<<<<<<<<<<<<< * cdef void *__cuLogsDumpToMemory = NULL * cdef void *__cuCheckpointProcessGetRestoreThreadId = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToFile = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":459 * cdef void *__cuLogsCurrent = NULL * cdef void *__cuLogsDumpToFile = NULL * cdef void *__cuLogsDumpToMemory = NULL # <<<<<<<<<<<<<< * cdef void *__cuCheckpointProcessGetRestoreThreadId = NULL * cdef void *__cuCheckpointProcessGetState = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuLogsDumpToMemory = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":460 * cdef void *__cuLogsDumpToFile = NULL * cdef void *__cuLogsDumpToMemory = NULL * cdef void *__cuCheckpointProcessGetRestoreThreadId = NULL # <<<<<<<<<<<<<< * cdef void *__cuCheckpointProcessGetState = NULL * cdef void *__cuCheckpointProcessLock = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetRestoreThreadId = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":461 * cdef void *__cuLogsDumpToMemory = NULL * cdef void *__cuCheckpointProcessGetRestoreThreadId = NULL * cdef void *__cuCheckpointProcessGetState = NULL # <<<<<<<<<<<<<< * cdef void *__cuCheckpointProcessLock = NULL * cdef void *__cuCheckpointProcessCheckpoint = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessGetState = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":462 * cdef void *__cuCheckpointProcessGetRestoreThreadId = NULL * cdef void *__cuCheckpointProcessGetState = NULL * cdef void *__cuCheckpointProcessLock = NULL # <<<<<<<<<<<<<< * cdef void *__cuCheckpointProcessCheckpoint = NULL * cdef void *__cuCheckpointProcessRestore = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessLock = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":463 * cdef void *__cuCheckpointProcessGetState = NULL * cdef void *__cuCheckpointProcessLock = NULL * cdef void *__cuCheckpointProcessCheckpoint = NULL # <<<<<<<<<<<<<< * cdef void *__cuCheckpointProcessRestore = NULL * cdef void *__cuCheckpointProcessUnlock = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessCheckpoint = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":464 * cdef void *__cuCheckpointProcessLock = NULL * cdef void *__cuCheckpointProcessCheckpoint = NULL * cdef void *__cuCheckpointProcessRestore = NULL # <<<<<<<<<<<<<< * cdef void *__cuCheckpointProcessUnlock = NULL * cdef void *__cuProfilerStart = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessRestore = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":465 * cdef void *__cuCheckpointProcessCheckpoint = NULL * cdef void *__cuCheckpointProcessRestore = NULL * cdef void *__cuCheckpointProcessUnlock = NULL # <<<<<<<<<<<<<< * cdef void *__cuProfilerStart = NULL * cdef void *__cuProfilerStop = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuCheckpointProcessUnlock = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":466 * cdef void *__cuCheckpointProcessRestore = NULL * cdef void *__cuCheckpointProcessUnlock = NULL * cdef void *__cuProfilerStart = NULL # <<<<<<<<<<<<<< * cdef void *__cuProfilerStop = NULL * cdef void *__cuGraphicsEGLRegisterImage = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStart = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":467 * cdef void *__cuCheckpointProcessUnlock = NULL * cdef void *__cuProfilerStart = NULL * cdef void *__cuProfilerStop = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsEGLRegisterImage = NULL * cdef void *__cuEGLStreamConsumerConnect = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuProfilerStop = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":468 * cdef void *__cuProfilerStart = NULL * cdef void *__cuProfilerStop = NULL * cdef void *__cuGraphicsEGLRegisterImage = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamConsumerConnect = NULL * cdef void *__cuEGLStreamConsumerConnectWithFlags = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsEGLRegisterImage = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":469 * cdef void *__cuProfilerStop = NULL * cdef void *__cuGraphicsEGLRegisterImage = NULL * cdef void *__cuEGLStreamConsumerConnect = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamConsumerConnectWithFlags = NULL * cdef void *__cuEGLStreamConsumerDisconnect = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnect = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":470 * cdef void *__cuGraphicsEGLRegisterImage = NULL * cdef void *__cuEGLStreamConsumerConnect = NULL * cdef void *__cuEGLStreamConsumerConnectWithFlags = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamConsumerDisconnect = NULL * cdef void *__cuEGLStreamConsumerAcquireFrame = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerConnectWithFlags = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":471 * cdef void *__cuEGLStreamConsumerConnect = NULL * cdef void *__cuEGLStreamConsumerConnectWithFlags = NULL * cdef void *__cuEGLStreamConsumerDisconnect = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamConsumerAcquireFrame = NULL * cdef void *__cuEGLStreamConsumerReleaseFrame = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerDisconnect = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":472 * cdef void *__cuEGLStreamConsumerConnectWithFlags = NULL * cdef void *__cuEGLStreamConsumerDisconnect = NULL * cdef void *__cuEGLStreamConsumerAcquireFrame = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamConsumerReleaseFrame = NULL * cdef void *__cuEGLStreamProducerConnect = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerAcquireFrame = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":473 * cdef void *__cuEGLStreamConsumerDisconnect = NULL * cdef void *__cuEGLStreamConsumerAcquireFrame = NULL * cdef void *__cuEGLStreamConsumerReleaseFrame = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamProducerConnect = NULL * cdef void *__cuEGLStreamProducerDisconnect = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamConsumerReleaseFrame = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":474 * cdef void *__cuEGLStreamConsumerAcquireFrame = NULL * cdef void *__cuEGLStreamConsumerReleaseFrame = NULL * cdef void *__cuEGLStreamProducerConnect = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamProducerDisconnect = NULL * cdef void *__cuEGLStreamProducerPresentFrame = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerConnect = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":475 * cdef void *__cuEGLStreamConsumerReleaseFrame = NULL * cdef void *__cuEGLStreamProducerConnect = NULL * cdef void *__cuEGLStreamProducerDisconnect = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamProducerPresentFrame = NULL * cdef void *__cuEGLStreamProducerReturnFrame = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerDisconnect = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":476 * cdef void *__cuEGLStreamProducerConnect = NULL * cdef void *__cuEGLStreamProducerDisconnect = NULL * cdef void *__cuEGLStreamProducerPresentFrame = NULL # <<<<<<<<<<<<<< * cdef void *__cuEGLStreamProducerReturnFrame = NULL * cdef void *__cuGraphicsResourceGetMappedEglFrame = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerPresentFrame = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":477 * cdef void *__cuEGLStreamProducerDisconnect = NULL * cdef void *__cuEGLStreamProducerPresentFrame = NULL * cdef void *__cuEGLStreamProducerReturnFrame = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsResourceGetMappedEglFrame = NULL * cdef void *__cuEventCreateFromEGLSync = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEGLStreamProducerReturnFrame = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":478 * cdef void *__cuEGLStreamProducerPresentFrame = NULL * cdef void *__cuEGLStreamProducerReturnFrame = NULL * cdef void *__cuGraphicsResourceGetMappedEglFrame = NULL # <<<<<<<<<<<<<< * cdef void *__cuEventCreateFromEGLSync = NULL * cdef void *__cuGraphicsGLRegisterBuffer = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsResourceGetMappedEglFrame = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":479 * cdef void *__cuEGLStreamProducerReturnFrame = NULL * cdef void *__cuGraphicsResourceGetMappedEglFrame = NULL * cdef void *__cuEventCreateFromEGLSync = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsGLRegisterBuffer = NULL * cdef void *__cuGraphicsGLRegisterImage = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuEventCreateFromEGLSync = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":480 * cdef void *__cuGraphicsResourceGetMappedEglFrame = NULL * cdef void *__cuEventCreateFromEGLSync = NULL * cdef void *__cuGraphicsGLRegisterBuffer = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsGLRegisterImage = NULL * cdef void *__cuGLGetDevices_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterBuffer = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":481 * cdef void *__cuEventCreateFromEGLSync = NULL * cdef void *__cuGraphicsGLRegisterBuffer = NULL * cdef void *__cuGraphicsGLRegisterImage = NULL # <<<<<<<<<<<<<< * cdef void *__cuGLGetDevices_v2 = NULL * cdef void *__cuVDPAUGetDevice = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsGLRegisterImage = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":482 * cdef void *__cuGraphicsGLRegisterBuffer = NULL * cdef void *__cuGraphicsGLRegisterImage = NULL * cdef void *__cuGLGetDevices_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuVDPAUGetDevice = NULL * cdef void *__cuVDPAUCtxCreate_v2 = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGLGetDevices_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":483 * cdef void *__cuGraphicsGLRegisterImage = NULL * cdef void *__cuGLGetDevices_v2 = NULL * cdef void *__cuVDPAUGetDevice = NULL # <<<<<<<<<<<<<< * cdef void *__cuVDPAUCtxCreate_v2 = NULL * cdef void *__cuGraphicsVDPAURegisterVideoSurface = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUGetDevice = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":484 * cdef void *__cuGLGetDevices_v2 = NULL * cdef void *__cuVDPAUGetDevice = NULL * cdef void *__cuVDPAUCtxCreate_v2 = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsVDPAURegisterVideoSurface = NULL * cdef void *__cuGraphicsVDPAURegisterOutputSurface = NULL */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuVDPAUCtxCreate_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":485 * cdef void *__cuVDPAUGetDevice = NULL * cdef void *__cuVDPAUCtxCreate_v2 = NULL * cdef void *__cuGraphicsVDPAURegisterVideoSurface = NULL # <<<<<<<<<<<<<< * cdef void *__cuGraphicsVDPAURegisterOutputSurface = NULL * */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterVideoSurface = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":486 * cdef void *__cuVDPAUCtxCreate_v2 = NULL * cdef void *__cuGraphicsVDPAURegisterVideoSurface = NULL * cdef void *__cuGraphicsVDPAURegisterOutputSurface = NULL # <<<<<<<<<<<<<< * * # To make cuPythonInit reentrant */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver___cuGraphicsVDPAURegisterOutputSurface = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":490 * # To make cuPythonInit reentrant * ctypedef CUresult (*__cuGetProcAddress_v2_T)(const char*, void**, int, cuuint64_t, CUdriverProcAddressQueryResult*) except?CUDA_ERROR_NOT_FOUND nogil * cdef __cuGetProcAddress_v2_T _F_cuGetProcAddress_v2 = NULL # <<<<<<<<<<<<<< * * cdef int _cuPythonInit() except -1 nogil: */ __pyx_v_4cuda_8bindings_9_bindings_8cydriver__F_cuGetProcAddress_v2 = NULL; /* "cuda/bindings/_bindings/cydriver.pyx":7036 * return err * * cdef dict func_ptrs = None # <<<<<<<<<<<<<< * * cpdef dict _inspect_function_pointers(): */ __Pyx_INCREF(Py_None); __Pyx_XGOTREF(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs); __Pyx_DECREF_SET(__pyx_v_4cuda_8bindings_9_bindings_8cydriver_func_ptrs, ((PyObject*)Py_None)); __Pyx_GIVEREF(Py_None); /* "cuda/bindings/_bindings/cydriver.pyx":7038 * cdef dict func_ptrs = None * * cpdef dict _inspect_function_pointers(): # <<<<<<<<<<<<<< * global func_ptrs * if func_ptrs is not None: */ __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4cuda_8bindings_9_bindings_8cydriver_1_inspect_function_pointers, 0, __pyx_mstate_global->__pyx_n_u_inspect_function_pointers, NULL, __pyx_mstate_global->__pyx_n_u_cuda_bindings__bindings_cydriver, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 7038, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_inspect_function_pointers, __pyx_t_2) < (0)) __PYX_ERR(0, 7038, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":7996 * return data * * cpdef _inspect_function_pointer(str name): # <<<<<<<<<<<<<< * global func_ptrs * if func_ptrs is None: */ __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4cuda_8bindings_9_bindings_8cydriver_3_inspect_function_pointer, 0, __pyx_mstate_global->__pyx_n_u_inspect_function_pointer, NULL, __pyx_mstate_global->__pyx_n_u_cuda_bindings__bindings_cydriver, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[1])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 7996, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_inspect_function_pointer, __pyx_t_2) < (0)) __PYX_ERR(0, 7996, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "cuda/bindings/_bindings/cydriver.pyx":1 * # SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # <<<<<<<<<<<<<< * # SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE * */ __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_2) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /*--- Wrapped vars code ---*/ goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); if (__pyx_m) { if (__pyx_mstate->__pyx_d && stringtab_initialized) { __Pyx_AddTraceback("init cuda.bindings._bindings.cydriver", __pyx_clineno, __pyx_lineno, __pyx_filename); } #if !CYTHON_USE_MODULE_STATE Py_CLEAR(__pyx_m); #else Py_DECREF(__pyx_m); if (pystate_addmodule_run) { PyObject *tp, *value, *tb; PyErr_Fetch(&tp, &value, &tb); PyState_RemoveModule(&__pyx_moduledef); PyErr_Restore(tp, value, tb); } #endif } else if (!PyErr_Occurred()) { PyErr_SetString(PyExc_ImportError, "init cuda.bindings._bindings.cydriver"); } __pyx_L0:; __Pyx_RefNannyFinishContext(); #if CYTHON_PEP489_MULTI_PHASE_INIT return (__pyx_m != NULL) ? 0 : -1; #else return __pyx_m; #endif } /* #### Code section: pystring_table ### */ typedef struct { const char *s; #if 179 <= 65535 const unsigned short n; #elif 179 / 2 < INT_MAX const unsigned int n; #elif 179 / 2 < LONG_MAX const unsigned long n; #else const Py_ssize_t n; #endif #if 1 <= 31 const unsigned int encoding : 5; #elif 1 <= 255 const unsigned char encoding; #elif 1 <= 65535 const unsigned short encoding; #else const Py_ssize_t encoding; #endif const unsigned int is_unicode : 1; const unsigned int intern : 1; } __Pyx_StringTabEntry; static const char * const __pyx_string_tab_encodings[] = { 0 }; static const __Pyx_StringTabEntry __pyx_string_tab[] = { {__pyx_k_, sizeof(__pyx_k_), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_ */ {__pyx_k_CUDA_PYTHON_CUDA_PER_THREAD_DEFA, sizeof(__pyx_k_CUDA_PYTHON_CUDA_PER_THREAD_DEFA), 0, 1, 1}, /* PyObject cname: __pyx_n_u_CUDA_PYTHON_CUDA_PER_THREAD_DEFA */ {__pyx_k_Failed_to_dlopen, sizeof(__pyx_k_Failed_to_dlopen), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Failed_to_dlopen */ {__pyx_k_Function_cuArray3DCreate_v2_not, sizeof(__pyx_k_Function_cuArray3DCreate_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArray3DCreate_v2_not */ {__pyx_k_Function_cuArray3DGetDescriptor, sizeof(__pyx_k_Function_cuArray3DGetDescriptor), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArray3DGetDescriptor */ {__pyx_k_Function_cuArrayCreate_v2_not_fo, sizeof(__pyx_k_Function_cuArrayCreate_v2_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArrayCreate_v2_not_fo */ {__pyx_k_Function_cuArrayDestroy_not_foun, sizeof(__pyx_k_Function_cuArrayDestroy_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArrayDestroy_not_foun */ {__pyx_k_Function_cuArrayGetDescriptor_v2, sizeof(__pyx_k_Function_cuArrayGetDescriptor_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArrayGetDescriptor_v2 */ {__pyx_k_Function_cuArrayGetMemoryRequire, sizeof(__pyx_k_Function_cuArrayGetMemoryRequire), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArrayGetMemoryRequire */ {__pyx_k_Function_cuArrayGetPlane_not_fou, sizeof(__pyx_k_Function_cuArrayGetPlane_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArrayGetPlane_not_fou */ {__pyx_k_Function_cuArrayGetSparsePropert, sizeof(__pyx_k_Function_cuArrayGetSparsePropert), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuArrayGetSparsePropert */ {__pyx_k_Function_cuCheckpointProcessChec, sizeof(__pyx_k_Function_cuCheckpointProcessChec), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCheckpointProcessChec */ {__pyx_k_Function_cuCheckpointProcessGetR, sizeof(__pyx_k_Function_cuCheckpointProcessGetR), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCheckpointProcessGetR */ {__pyx_k_Function_cuCheckpointProcessGetS, sizeof(__pyx_k_Function_cuCheckpointProcessGetS), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCheckpointProcessGetS */ {__pyx_k_Function_cuCheckpointProcessLock, sizeof(__pyx_k_Function_cuCheckpointProcessLock), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCheckpointProcessLock */ {__pyx_k_Function_cuCheckpointProcessRest, sizeof(__pyx_k_Function_cuCheckpointProcessRest), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCheckpointProcessRest */ {__pyx_k_Function_cuCheckpointProcessUnlo, sizeof(__pyx_k_Function_cuCheckpointProcessUnlo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCheckpointProcessUnlo */ {__pyx_k_Function_cuCoredumpGetAttribute, sizeof(__pyx_k_Function_cuCoredumpGetAttribute), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCoredumpGetAttribute */ {__pyx_k_Function_cuCoredumpGetAttributeG, sizeof(__pyx_k_Function_cuCoredumpGetAttributeG), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCoredumpGetAttributeG */ {__pyx_k_Function_cuCoredumpSetAttribute, sizeof(__pyx_k_Function_cuCoredumpSetAttribute), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCoredumpSetAttribute */ {__pyx_k_Function_cuCoredumpSetAttributeG, sizeof(__pyx_k_Function_cuCoredumpSetAttributeG), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCoredumpSetAttributeG */ {__pyx_k_Function_cuCtxAttach_not_found, sizeof(__pyx_k_Function_cuCtxAttach_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxAttach_not_found */ {__pyx_k_Function_cuCtxCreate_v2_not_foun, sizeof(__pyx_k_Function_cuCtxCreate_v2_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxCreate_v2_not_foun */ {__pyx_k_Function_cuCtxCreate_v3_not_foun, sizeof(__pyx_k_Function_cuCtxCreate_v3_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxCreate_v3_not_foun */ {__pyx_k_Function_cuCtxCreate_v4_not_foun, sizeof(__pyx_k_Function_cuCtxCreate_v4_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxCreate_v4_not_foun */ {__pyx_k_Function_cuCtxDestroy_v2_not_fou, sizeof(__pyx_k_Function_cuCtxDestroy_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxDestroy_v2_not_fou */ {__pyx_k_Function_cuCtxDetach_not_found, sizeof(__pyx_k_Function_cuCtxDetach_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxDetach_not_found */ {__pyx_k_Function_cuCtxDisablePeerAccess, sizeof(__pyx_k_Function_cuCtxDisablePeerAccess), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxDisablePeerAccess */ {__pyx_k_Function_cuCtxEnablePeerAccess_n, sizeof(__pyx_k_Function_cuCtxEnablePeerAccess_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxEnablePeerAccess_n */ {__pyx_k_Function_cuCtxFromGreenCtx_not_f, sizeof(__pyx_k_Function_cuCtxFromGreenCtx_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxFromGreenCtx_not_f */ {__pyx_k_Function_cuCtxGetApiVersion_not, sizeof(__pyx_k_Function_cuCtxGetApiVersion_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetApiVersion_not */ {__pyx_k_Function_cuCtxGetCacheConfig_not, sizeof(__pyx_k_Function_cuCtxGetCacheConfig_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetCacheConfig_not */ {__pyx_k_Function_cuCtxGetCurrent_not_fou, sizeof(__pyx_k_Function_cuCtxGetCurrent_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetCurrent_not_fou */ {__pyx_k_Function_cuCtxGetDevResource_not, sizeof(__pyx_k_Function_cuCtxGetDevResource_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetDevResource_not */ {__pyx_k_Function_cuCtxGetDevice_not_foun, sizeof(__pyx_k_Function_cuCtxGetDevice_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetDevice_not_foun */ {__pyx_k_Function_cuCtxGetExecAffinity_no, sizeof(__pyx_k_Function_cuCtxGetExecAffinity_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetExecAffinity_no */ {__pyx_k_Function_cuCtxGetFlags_not_found, sizeof(__pyx_k_Function_cuCtxGetFlags_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetFlags_not_found */ {__pyx_k_Function_cuCtxGetId_not_found, sizeof(__pyx_k_Function_cuCtxGetId_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetId_not_found */ {__pyx_k_Function_cuCtxGetLimit_not_found, sizeof(__pyx_k_Function_cuCtxGetLimit_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetLimit_not_found */ {__pyx_k_Function_cuCtxGetSharedMemConfig, sizeof(__pyx_k_Function_cuCtxGetSharedMemConfig), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetSharedMemConfig */ {__pyx_k_Function_cuCtxGetStreamPriorityR, sizeof(__pyx_k_Function_cuCtxGetStreamPriorityR), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxGetStreamPriorityR */ {__pyx_k_Function_cuCtxPopCurrent_v2_not, sizeof(__pyx_k_Function_cuCtxPopCurrent_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxPopCurrent_v2_not */ {__pyx_k_Function_cuCtxPushCurrent_v2_not, sizeof(__pyx_k_Function_cuCtxPushCurrent_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxPushCurrent_v2_not */ {__pyx_k_Function_cuCtxRecordEvent_not_fo, sizeof(__pyx_k_Function_cuCtxRecordEvent_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxRecordEvent_not_fo */ {__pyx_k_Function_cuCtxResetPersistingL2C, sizeof(__pyx_k_Function_cuCtxResetPersistingL2C), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxResetPersistingL2C */ {__pyx_k_Function_cuCtxSetCacheConfig_not, sizeof(__pyx_k_Function_cuCtxSetCacheConfig_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxSetCacheConfig_not */ {__pyx_k_Function_cuCtxSetCurrent_not_fou, sizeof(__pyx_k_Function_cuCtxSetCurrent_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxSetCurrent_not_fou */ {__pyx_k_Function_cuCtxSetFlags_not_found, sizeof(__pyx_k_Function_cuCtxSetFlags_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxSetFlags_not_found */ {__pyx_k_Function_cuCtxSetLimit_not_found, sizeof(__pyx_k_Function_cuCtxSetLimit_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxSetLimit_not_found */ {__pyx_k_Function_cuCtxSetSharedMemConfig, sizeof(__pyx_k_Function_cuCtxSetSharedMemConfig), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxSetSharedMemConfig */ {__pyx_k_Function_cuCtxSynchronize_not_fo, sizeof(__pyx_k_Function_cuCtxSynchronize_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxSynchronize_not_fo */ {__pyx_k_Function_cuCtxWaitEvent_not_foun, sizeof(__pyx_k_Function_cuCtxWaitEvent_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuCtxWaitEvent_not_foun */ {__pyx_k_Function_cuDestroyExternalMemory, sizeof(__pyx_k_Function_cuDestroyExternalMemory), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDestroyExternalMemory */ {__pyx_k_Function_cuDestroyExternalSemaph, sizeof(__pyx_k_Function_cuDestroyExternalSemaph), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDestroyExternalSemaph */ {__pyx_k_Function_cuDevResourceGenerateDe, sizeof(__pyx_k_Function_cuDevResourceGenerateDe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDevResourceGenerateDe */ {__pyx_k_Function_cuDevSmResourceSplitByC, sizeof(__pyx_k_Function_cuDevSmResourceSplitByC), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDevSmResourceSplitByC */ {__pyx_k_Function_cuDeviceCanAccessPeer_n, sizeof(__pyx_k_Function_cuDeviceCanAccessPeer_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceCanAccessPeer_n */ {__pyx_k_Function_cuDeviceComputeCapabili, sizeof(__pyx_k_Function_cuDeviceComputeCapabili), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceComputeCapabili */ {__pyx_k_Function_cuDeviceGetAttribute_no, sizeof(__pyx_k_Function_cuDeviceGetAttribute_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetAttribute_no */ {__pyx_k_Function_cuDeviceGetByPCIBusId_n, sizeof(__pyx_k_Function_cuDeviceGetByPCIBusId_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetByPCIBusId_n */ {__pyx_k_Function_cuDeviceGetCount_not_fo, sizeof(__pyx_k_Function_cuDeviceGetCount_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetCount_not_fo */ {__pyx_k_Function_cuDeviceGetDefaultMemPo, sizeof(__pyx_k_Function_cuDeviceGetDefaultMemPo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetDefaultMemPo */ {__pyx_k_Function_cuDeviceGetDevResource, sizeof(__pyx_k_Function_cuDeviceGetDevResource), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetDevResource */ {__pyx_k_Function_cuDeviceGetExecAffinity, sizeof(__pyx_k_Function_cuDeviceGetExecAffinity), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetExecAffinity */ {__pyx_k_Function_cuDeviceGetGraphMemAttr, sizeof(__pyx_k_Function_cuDeviceGetGraphMemAttr), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetGraphMemAttr */ {__pyx_k_Function_cuDeviceGetLuid_not_fou, sizeof(__pyx_k_Function_cuDeviceGetLuid_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetLuid_not_fou */ {__pyx_k_Function_cuDeviceGetMemPool_not, sizeof(__pyx_k_Function_cuDeviceGetMemPool_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetMemPool_not */ {__pyx_k_Function_cuDeviceGetName_not_fou, sizeof(__pyx_k_Function_cuDeviceGetName_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetName_not_fou */ {__pyx_k_Function_cuDeviceGetNvSciSyncAtt, sizeof(__pyx_k_Function_cuDeviceGetNvSciSyncAtt), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetNvSciSyncAtt */ {__pyx_k_Function_cuDeviceGetP2PAttribute, sizeof(__pyx_k_Function_cuDeviceGetP2PAttribute), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetP2PAttribute */ {__pyx_k_Function_cuDeviceGetPCIBusId_not, sizeof(__pyx_k_Function_cuDeviceGetPCIBusId_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetPCIBusId_not */ {__pyx_k_Function_cuDeviceGetProperties_n, sizeof(__pyx_k_Function_cuDeviceGetProperties_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetProperties_n */ {__pyx_k_Function_cuDeviceGetTexture1DLin, sizeof(__pyx_k_Function_cuDeviceGetTexture1DLin), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetTexture1DLin */ {__pyx_k_Function_cuDeviceGetUuid_not_fou, sizeof(__pyx_k_Function_cuDeviceGetUuid_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetUuid_not_fou */ {__pyx_k_Function_cuDeviceGetUuid_v2_not, sizeof(__pyx_k_Function_cuDeviceGetUuid_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGetUuid_v2_not */ {__pyx_k_Function_cuDeviceGet_not_found, sizeof(__pyx_k_Function_cuDeviceGet_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGet_not_found */ {__pyx_k_Function_cuDeviceGraphMemTrim_no, sizeof(__pyx_k_Function_cuDeviceGraphMemTrim_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceGraphMemTrim_no */ {__pyx_k_Function_cuDevicePrimaryCtxGetSt, sizeof(__pyx_k_Function_cuDevicePrimaryCtxGetSt), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDevicePrimaryCtxGetSt */ {__pyx_k_Function_cuDevicePrimaryCtxRelea, sizeof(__pyx_k_Function_cuDevicePrimaryCtxRelea), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDevicePrimaryCtxRelea */ {__pyx_k_Function_cuDevicePrimaryCtxReset, sizeof(__pyx_k_Function_cuDevicePrimaryCtxReset), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDevicePrimaryCtxReset */ {__pyx_k_Function_cuDevicePrimaryCtxRetai, sizeof(__pyx_k_Function_cuDevicePrimaryCtxRetai), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDevicePrimaryCtxRetai */ {__pyx_k_Function_cuDevicePrimaryCtxSetFl, sizeof(__pyx_k_Function_cuDevicePrimaryCtxSetFl), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDevicePrimaryCtxSetFl */ {__pyx_k_Function_cuDeviceRegisterAsyncNo, sizeof(__pyx_k_Function_cuDeviceRegisterAsyncNo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceRegisterAsyncNo */ {__pyx_k_Function_cuDeviceSetGraphMemAttr, sizeof(__pyx_k_Function_cuDeviceSetGraphMemAttr), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceSetGraphMemAttr */ {__pyx_k_Function_cuDeviceSetMemPool_not, sizeof(__pyx_k_Function_cuDeviceSetMemPool_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceSetMemPool_not */ {__pyx_k_Function_cuDeviceTotalMem_v2_not, sizeof(__pyx_k_Function_cuDeviceTotalMem_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceTotalMem_v2_not */ {__pyx_k_Function_cuDeviceUnregisterAsync, sizeof(__pyx_k_Function_cuDeviceUnregisterAsync), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDeviceUnregisterAsync */ {__pyx_k_Function_cuDriverGetVersion_not, sizeof(__pyx_k_Function_cuDriverGetVersion_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuDriverGetVersion_not */ {__pyx_k_Function_cuEGLStreamConsumerAcqu, sizeof(__pyx_k_Function_cuEGLStreamConsumerAcqu), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamConsumerAcqu */ {__pyx_k_Function_cuEGLStreamConsumerConn, sizeof(__pyx_k_Function_cuEGLStreamConsumerConn), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamConsumerConn */ {__pyx_k_Function_cuEGLStreamConsumerConn_2, sizeof(__pyx_k_Function_cuEGLStreamConsumerConn_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamConsumerConn_2 */ {__pyx_k_Function_cuEGLStreamConsumerDisc, sizeof(__pyx_k_Function_cuEGLStreamConsumerDisc), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamConsumerDisc */ {__pyx_k_Function_cuEGLStreamConsumerRele, sizeof(__pyx_k_Function_cuEGLStreamConsumerRele), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamConsumerRele */ {__pyx_k_Function_cuEGLStreamProducerConn, sizeof(__pyx_k_Function_cuEGLStreamProducerConn), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamProducerConn */ {__pyx_k_Function_cuEGLStreamProducerDisc, sizeof(__pyx_k_Function_cuEGLStreamProducerDisc), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamProducerDisc */ {__pyx_k_Function_cuEGLStreamProducerPres, sizeof(__pyx_k_Function_cuEGLStreamProducerPres), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamProducerPres */ {__pyx_k_Function_cuEGLStreamProducerRetu, sizeof(__pyx_k_Function_cuEGLStreamProducerRetu), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEGLStreamProducerRetu */ {__pyx_k_Function_cuEventCreateFromEGLSyn, sizeof(__pyx_k_Function_cuEventCreateFromEGLSyn), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventCreateFromEGLSyn */ {__pyx_k_Function_cuEventCreate_not_found, sizeof(__pyx_k_Function_cuEventCreate_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventCreate_not_found */ {__pyx_k_Function_cuEventDestroy_v2_not_f, sizeof(__pyx_k_Function_cuEventDestroy_v2_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventDestroy_v2_not_f */ {__pyx_k_Function_cuEventElapsedTime_not, sizeof(__pyx_k_Function_cuEventElapsedTime_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventElapsedTime_not */ {__pyx_k_Function_cuEventElapsedTime_v2_n, sizeof(__pyx_k_Function_cuEventElapsedTime_v2_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventElapsedTime_v2_n */ {__pyx_k_Function_cuEventQuery_not_found, sizeof(__pyx_k_Function_cuEventQuery_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventQuery_not_found */ {__pyx_k_Function_cuEventRecordWithFlags, sizeof(__pyx_k_Function_cuEventRecordWithFlags), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventRecordWithFlags */ {__pyx_k_Function_cuEventRecord_not_found, sizeof(__pyx_k_Function_cuEventRecord_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventRecord_not_found */ {__pyx_k_Function_cuEventSynchronize_not, sizeof(__pyx_k_Function_cuEventSynchronize_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuEventSynchronize_not */ {__pyx_k_Function_cuExternalMemoryGetMapp, sizeof(__pyx_k_Function_cuExternalMemoryGetMapp), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuExternalMemoryGetMapp */ {__pyx_k_Function_cuExternalMemoryGetMapp_2, sizeof(__pyx_k_Function_cuExternalMemoryGetMapp_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuExternalMemoryGetMapp_2 */ {__pyx_k_Function_cuFlushGPUDirectRDMAWri, sizeof(__pyx_k_Function_cuFlushGPUDirectRDMAWri), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFlushGPUDirectRDMAWri */ {__pyx_k_Function_cuFuncGetAttribute_not, sizeof(__pyx_k_Function_cuFuncGetAttribute_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncGetAttribute_not */ {__pyx_k_Function_cuFuncGetModule_not_fou, sizeof(__pyx_k_Function_cuFuncGetModule_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncGetModule_not_fou */ {__pyx_k_Function_cuFuncGetName_not_found, sizeof(__pyx_k_Function_cuFuncGetName_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncGetName_not_found */ {__pyx_k_Function_cuFuncGetParamInfo_not, sizeof(__pyx_k_Function_cuFuncGetParamInfo_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncGetParamInfo_not */ {__pyx_k_Function_cuFuncIsLoaded_not_foun, sizeof(__pyx_k_Function_cuFuncIsLoaded_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncIsLoaded_not_foun */ {__pyx_k_Function_cuFuncLoad_not_found, sizeof(__pyx_k_Function_cuFuncLoad_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncLoad_not_found */ {__pyx_k_Function_cuFuncSetAttribute_not, sizeof(__pyx_k_Function_cuFuncSetAttribute_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncSetAttribute_not */ {__pyx_k_Function_cuFuncSetBlockShape_not, sizeof(__pyx_k_Function_cuFuncSetBlockShape_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncSetBlockShape_not */ {__pyx_k_Function_cuFuncSetCacheConfig_no, sizeof(__pyx_k_Function_cuFuncSetCacheConfig_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncSetCacheConfig_no */ {__pyx_k_Function_cuFuncSetSharedMemConfi, sizeof(__pyx_k_Function_cuFuncSetSharedMemConfi), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncSetSharedMemConfi */ {__pyx_k_Function_cuFuncSetSharedSize_not, sizeof(__pyx_k_Function_cuFuncSetSharedSize_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuFuncSetSharedSize_not */ {__pyx_k_Function_cuGLGetDevices_v2_not_f, sizeof(__pyx_k_Function_cuGLGetDevices_v2_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGLGetDevices_v2_not_f */ {__pyx_k_Function_cuGetErrorName_not_foun, sizeof(__pyx_k_Function_cuGetErrorName_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGetErrorName_not_foun */ {__pyx_k_Function_cuGetErrorString_not_fo, sizeof(__pyx_k_Function_cuGetErrorString_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGetErrorString_not_fo */ {__pyx_k_Function_cuGetExportTable_not_fo, sizeof(__pyx_k_Function_cuGetExportTable_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGetExportTable_not_fo */ {__pyx_k_Function_cuGetProcAddress_v2_not, sizeof(__pyx_k_Function_cuGetProcAddress_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGetProcAddress_v2_not */ {__pyx_k_Function_cuGraphAddBatchMemOpNod, sizeof(__pyx_k_Function_cuGraphAddBatchMemOpNod), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddBatchMemOpNod */ {__pyx_k_Function_cuGraphAddChildGraphNod, sizeof(__pyx_k_Function_cuGraphAddChildGraphNod), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddChildGraphNod */ {__pyx_k_Function_cuGraphAddDependencies, sizeof(__pyx_k_Function_cuGraphAddDependencies), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddDependencies */ {__pyx_k_Function_cuGraphAddDependencies_2, sizeof(__pyx_k_Function_cuGraphAddDependencies_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddDependencies_2 */ {__pyx_k_Function_cuGraphAddEmptyNode_not, sizeof(__pyx_k_Function_cuGraphAddEmptyNode_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddEmptyNode_not */ {__pyx_k_Function_cuGraphAddEventRecordNo, sizeof(__pyx_k_Function_cuGraphAddEventRecordNo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddEventRecordNo */ {__pyx_k_Function_cuGraphAddEventWaitNode, sizeof(__pyx_k_Function_cuGraphAddEventWaitNode), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddEventWaitNode */ {__pyx_k_Function_cuGraphAddExternalSemap, sizeof(__pyx_k_Function_cuGraphAddExternalSemap), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddExternalSemap */ {__pyx_k_Function_cuGraphAddExternalSemap_2, sizeof(__pyx_k_Function_cuGraphAddExternalSemap_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddExternalSemap_2 */ {__pyx_k_Function_cuGraphAddHostNode_not, sizeof(__pyx_k_Function_cuGraphAddHostNode_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddHostNode_not */ {__pyx_k_Function_cuGraphAddKernelNode_v2, sizeof(__pyx_k_Function_cuGraphAddKernelNode_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddKernelNode_v2 */ {__pyx_k_Function_cuGraphAddMemAllocNode, sizeof(__pyx_k_Function_cuGraphAddMemAllocNode), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddMemAllocNode */ {__pyx_k_Function_cuGraphAddMemFreeNode_n, sizeof(__pyx_k_Function_cuGraphAddMemFreeNode_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddMemFreeNode_n */ {__pyx_k_Function_cuGraphAddMemcpyNode_no, sizeof(__pyx_k_Function_cuGraphAddMemcpyNode_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddMemcpyNode_no */ {__pyx_k_Function_cuGraphAddMemsetNode_no, sizeof(__pyx_k_Function_cuGraphAddMemsetNode_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddMemsetNode_no */ {__pyx_k_Function_cuGraphAddNode_not_foun, sizeof(__pyx_k_Function_cuGraphAddNode_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddNode_not_foun */ {__pyx_k_Function_cuGraphAddNode_v2_not_f, sizeof(__pyx_k_Function_cuGraphAddNode_v2_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphAddNode_v2_not_f */ {__pyx_k_Function_cuGraphBatchMemOpNodeGe, sizeof(__pyx_k_Function_cuGraphBatchMemOpNodeGe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphBatchMemOpNodeGe */ {__pyx_k_Function_cuGraphBatchMemOpNodeSe, sizeof(__pyx_k_Function_cuGraphBatchMemOpNodeSe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphBatchMemOpNodeSe */ {__pyx_k_Function_cuGraphChildGraphNodeGe, sizeof(__pyx_k_Function_cuGraphChildGraphNodeGe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphChildGraphNodeGe */ {__pyx_k_Function_cuGraphClone_not_found, sizeof(__pyx_k_Function_cuGraphClone_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphClone_not_found */ {__pyx_k_Function_cuGraphConditionalHandl, sizeof(__pyx_k_Function_cuGraphConditionalHandl), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphConditionalHandl */ {__pyx_k_Function_cuGraphCreate_not_found, sizeof(__pyx_k_Function_cuGraphCreate_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphCreate_not_found */ {__pyx_k_Function_cuGraphDebugDotPrint_no, sizeof(__pyx_k_Function_cuGraphDebugDotPrint_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphDebugDotPrint_no */ {__pyx_k_Function_cuGraphDestroyNode_not, sizeof(__pyx_k_Function_cuGraphDestroyNode_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphDestroyNode_not */ {__pyx_k_Function_cuGraphDestroy_not_foun, sizeof(__pyx_k_Function_cuGraphDestroy_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphDestroy_not_foun */ {__pyx_k_Function_cuGraphEventRecordNodeG, sizeof(__pyx_k_Function_cuGraphEventRecordNodeG), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphEventRecordNodeG */ {__pyx_k_Function_cuGraphEventRecordNodeS, sizeof(__pyx_k_Function_cuGraphEventRecordNodeS), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphEventRecordNodeS */ {__pyx_k_Function_cuGraphEventWaitNodeGet, sizeof(__pyx_k_Function_cuGraphEventWaitNodeGet), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphEventWaitNodeGet */ {__pyx_k_Function_cuGraphEventWaitNodeSet, sizeof(__pyx_k_Function_cuGraphEventWaitNodeSet), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphEventWaitNodeSet */ {__pyx_k_Function_cuGraphExecBatchMemOpNo, sizeof(__pyx_k_Function_cuGraphExecBatchMemOpNo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecBatchMemOpNo */ {__pyx_k_Function_cuGraphExecChildGraphNo, sizeof(__pyx_k_Function_cuGraphExecChildGraphNo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecChildGraphNo */ {__pyx_k_Function_cuGraphExecDestroy_not, sizeof(__pyx_k_Function_cuGraphExecDestroy_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecDestroy_not */ {__pyx_k_Function_cuGraphExecEventRecordN, sizeof(__pyx_k_Function_cuGraphExecEventRecordN), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecEventRecordN */ {__pyx_k_Function_cuGraphExecEventWaitNod, sizeof(__pyx_k_Function_cuGraphExecEventWaitNod), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecEventWaitNod */ {__pyx_k_Function_cuGraphExecExternalSema, sizeof(__pyx_k_Function_cuGraphExecExternalSema), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecExternalSema */ {__pyx_k_Function_cuGraphExecExternalSema_2, sizeof(__pyx_k_Function_cuGraphExecExternalSema_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecExternalSema_2 */ {__pyx_k_Function_cuGraphExecGetFlags_not, sizeof(__pyx_k_Function_cuGraphExecGetFlags_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecGetFlags_not */ {__pyx_k_Function_cuGraphExecHostNodeSetP, sizeof(__pyx_k_Function_cuGraphExecHostNodeSetP), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecHostNodeSetP */ {__pyx_k_Function_cuGraphExecKernelNodeSe, sizeof(__pyx_k_Function_cuGraphExecKernelNodeSe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecKernelNodeSe */ {__pyx_k_Function_cuGraphExecMemcpyNodeSe, sizeof(__pyx_k_Function_cuGraphExecMemcpyNodeSe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecMemcpyNodeSe */ {__pyx_k_Function_cuGraphExecMemsetNodeSe, sizeof(__pyx_k_Function_cuGraphExecMemsetNodeSe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecMemsetNodeSe */ {__pyx_k_Function_cuGraphExecNodeSetParam, sizeof(__pyx_k_Function_cuGraphExecNodeSetParam), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecNodeSetParam */ {__pyx_k_Function_cuGraphExecUpdate_v2_no, sizeof(__pyx_k_Function_cuGraphExecUpdate_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExecUpdate_v2_no */ {__pyx_k_Function_cuGraphExternalSemaphor, sizeof(__pyx_k_Function_cuGraphExternalSemaphor), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExternalSemaphor */ {__pyx_k_Function_cuGraphExternalSemaphor_2, sizeof(__pyx_k_Function_cuGraphExternalSemaphor_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExternalSemaphor_2 */ {__pyx_k_Function_cuGraphExternalSemaphor_3, sizeof(__pyx_k_Function_cuGraphExternalSemaphor_3), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExternalSemaphor_3 */ {__pyx_k_Function_cuGraphExternalSemaphor_4, sizeof(__pyx_k_Function_cuGraphExternalSemaphor_4), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphExternalSemaphor_4 */ {__pyx_k_Function_cuGraphGetEdges_not_fou, sizeof(__pyx_k_Function_cuGraphGetEdges_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphGetEdges_not_fou */ {__pyx_k_Function_cuGraphGetEdges_v2_not, sizeof(__pyx_k_Function_cuGraphGetEdges_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphGetEdges_v2_not */ {__pyx_k_Function_cuGraphGetNodes_not_fou, sizeof(__pyx_k_Function_cuGraphGetNodes_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphGetNodes_not_fou */ {__pyx_k_Function_cuGraphGetRootNodes_not, sizeof(__pyx_k_Function_cuGraphGetRootNodes_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphGetRootNodes_not */ {__pyx_k_Function_cuGraphHostNodeGetParam, sizeof(__pyx_k_Function_cuGraphHostNodeGetParam), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphHostNodeGetParam */ {__pyx_k_Function_cuGraphHostNodeSetParam, sizeof(__pyx_k_Function_cuGraphHostNodeSetParam), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphHostNodeSetParam */ {__pyx_k_Function_cuGraphInstantiateWithF, sizeof(__pyx_k_Function_cuGraphInstantiateWithF), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphInstantiateWithF */ {__pyx_k_Function_cuGraphInstantiateWithP, sizeof(__pyx_k_Function_cuGraphInstantiateWithP), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphInstantiateWithP */ {__pyx_k_Function_cuGraphKernelNodeCopyAt, sizeof(__pyx_k_Function_cuGraphKernelNodeCopyAt), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphKernelNodeCopyAt */ {__pyx_k_Function_cuGraphKernelNodeGetAtt, sizeof(__pyx_k_Function_cuGraphKernelNodeGetAtt), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphKernelNodeGetAtt */ {__pyx_k_Function_cuGraphKernelNodeGetPar, sizeof(__pyx_k_Function_cuGraphKernelNodeGetPar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphKernelNodeGetPar */ {__pyx_k_Function_cuGraphKernelNodeSetAtt, sizeof(__pyx_k_Function_cuGraphKernelNodeSetAtt), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphKernelNodeSetAtt */ {__pyx_k_Function_cuGraphKernelNodeSetPar, sizeof(__pyx_k_Function_cuGraphKernelNodeSetPar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphKernelNodeSetPar */ {__pyx_k_Function_cuGraphLaunch_not_found, sizeof(__pyx_k_Function_cuGraphLaunch_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphLaunch_not_found */ {__pyx_k_Function_cuGraphMemAllocNodeGetP, sizeof(__pyx_k_Function_cuGraphMemAllocNodeGetP), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphMemAllocNodeGetP */ {__pyx_k_Function_cuGraphMemFreeNodeGetPa, sizeof(__pyx_k_Function_cuGraphMemFreeNodeGetPa), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphMemFreeNodeGetPa */ {__pyx_k_Function_cuGraphMemcpyNodeGetPar, sizeof(__pyx_k_Function_cuGraphMemcpyNodeGetPar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphMemcpyNodeGetPar */ {__pyx_k_Function_cuGraphMemcpyNodeSetPar, sizeof(__pyx_k_Function_cuGraphMemcpyNodeSetPar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphMemcpyNodeSetPar */ {__pyx_k_Function_cuGraphMemsetNodeGetPar, sizeof(__pyx_k_Function_cuGraphMemsetNodeGetPar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphMemsetNodeGetPar */ {__pyx_k_Function_cuGraphMemsetNodeSetPar, sizeof(__pyx_k_Function_cuGraphMemsetNodeSetPar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphMemsetNodeSetPar */ {__pyx_k_Function_cuGraphNodeFindInClone, sizeof(__pyx_k_Function_cuGraphNodeFindInClone), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeFindInClone */ {__pyx_k_Function_cuGraphNodeGetDependenc, sizeof(__pyx_k_Function_cuGraphNodeGetDependenc), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeGetDependenc */ {__pyx_k_Function_cuGraphNodeGetDependenc_2, sizeof(__pyx_k_Function_cuGraphNodeGetDependenc_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeGetDependenc_2 */ {__pyx_k_Function_cuGraphNodeGetDependent, sizeof(__pyx_k_Function_cuGraphNodeGetDependent), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeGetDependent */ {__pyx_k_Function_cuGraphNodeGetDependent_2, sizeof(__pyx_k_Function_cuGraphNodeGetDependent_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeGetDependent_2 */ {__pyx_k_Function_cuGraphNodeGetEnabled_n, sizeof(__pyx_k_Function_cuGraphNodeGetEnabled_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeGetEnabled_n */ {__pyx_k_Function_cuGraphNodeGetType_not, sizeof(__pyx_k_Function_cuGraphNodeGetType_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeGetType_not */ {__pyx_k_Function_cuGraphNodeSetEnabled_n, sizeof(__pyx_k_Function_cuGraphNodeSetEnabled_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeSetEnabled_n */ {__pyx_k_Function_cuGraphNodeSetParams_no, sizeof(__pyx_k_Function_cuGraphNodeSetParams_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphNodeSetParams_no */ {__pyx_k_Function_cuGraphReleaseUserObjec, sizeof(__pyx_k_Function_cuGraphReleaseUserObjec), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphReleaseUserObjec */ {__pyx_k_Function_cuGraphRemoveDependenci, sizeof(__pyx_k_Function_cuGraphRemoveDependenci), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphRemoveDependenci */ {__pyx_k_Function_cuGraphRemoveDependenci_2, sizeof(__pyx_k_Function_cuGraphRemoveDependenci_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphRemoveDependenci_2 */ {__pyx_k_Function_cuGraphRetainUserObject, sizeof(__pyx_k_Function_cuGraphRetainUserObject), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphRetainUserObject */ {__pyx_k_Function_cuGraphUpload_not_found, sizeof(__pyx_k_Function_cuGraphUpload_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphUpload_not_found */ {__pyx_k_Function_cuGraphicsEGLRegisterIm, sizeof(__pyx_k_Function_cuGraphicsEGLRegisterIm), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsEGLRegisterIm */ {__pyx_k_Function_cuGraphicsGLRegisterBuf, sizeof(__pyx_k_Function_cuGraphicsGLRegisterBuf), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsGLRegisterBuf */ {__pyx_k_Function_cuGraphicsGLRegisterIma, sizeof(__pyx_k_Function_cuGraphicsGLRegisterIma), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsGLRegisterIma */ {__pyx_k_Function_cuGraphicsMapResources, sizeof(__pyx_k_Function_cuGraphicsMapResources), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsMapResources */ {__pyx_k_Function_cuGraphicsResourceGetMa, sizeof(__pyx_k_Function_cuGraphicsResourceGetMa), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsResourceGetMa */ {__pyx_k_Function_cuGraphicsResourceGetMa_2, sizeof(__pyx_k_Function_cuGraphicsResourceGetMa_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsResourceGetMa_2 */ {__pyx_k_Function_cuGraphicsResourceGetMa_3, sizeof(__pyx_k_Function_cuGraphicsResourceGetMa_3), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsResourceGetMa_3 */ {__pyx_k_Function_cuGraphicsResourceSetMa, sizeof(__pyx_k_Function_cuGraphicsResourceSetMa), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsResourceSetMa */ {__pyx_k_Function_cuGraphicsSubResourceGe, sizeof(__pyx_k_Function_cuGraphicsSubResourceGe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsSubResourceGe */ {__pyx_k_Function_cuGraphicsUnmapResource, sizeof(__pyx_k_Function_cuGraphicsUnmapResource), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsUnmapResource */ {__pyx_k_Function_cuGraphicsUnregisterRes, sizeof(__pyx_k_Function_cuGraphicsUnregisterRes), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsUnregisterRes */ {__pyx_k_Function_cuGraphicsVDPAURegister, sizeof(__pyx_k_Function_cuGraphicsVDPAURegister), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsVDPAURegister */ {__pyx_k_Function_cuGraphicsVDPAURegister_2, sizeof(__pyx_k_Function_cuGraphicsVDPAURegister_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGraphicsVDPAURegister_2 */ {__pyx_k_Function_cuGreenCtxCreate_not_fo, sizeof(__pyx_k_Function_cuGreenCtxCreate_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGreenCtxCreate_not_fo */ {__pyx_k_Function_cuGreenCtxDestroy_not_f, sizeof(__pyx_k_Function_cuGreenCtxDestroy_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGreenCtxDestroy_not_f */ {__pyx_k_Function_cuGreenCtxGetDevResourc, sizeof(__pyx_k_Function_cuGreenCtxGetDevResourc), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGreenCtxGetDevResourc */ {__pyx_k_Function_cuGreenCtxRecordEvent_n, sizeof(__pyx_k_Function_cuGreenCtxRecordEvent_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGreenCtxRecordEvent_n */ {__pyx_k_Function_cuGreenCtxStreamCreate, sizeof(__pyx_k_Function_cuGreenCtxStreamCreate), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGreenCtxStreamCreate */ {__pyx_k_Function_cuGreenCtxWaitEvent_not, sizeof(__pyx_k_Function_cuGreenCtxWaitEvent_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuGreenCtxWaitEvent_not */ {__pyx_k_Function_cuImportExternalMemory, sizeof(__pyx_k_Function_cuImportExternalMemory), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuImportExternalMemory */ {__pyx_k_Function_cuImportExternalSemapho, sizeof(__pyx_k_Function_cuImportExternalSemapho), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuImportExternalSemapho */ {__pyx_k_Function_cuInit_not_found, sizeof(__pyx_k_Function_cuInit_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuInit_not_found */ {__pyx_k_Function_cuIpcCloseMemHandle_not, sizeof(__pyx_k_Function_cuIpcCloseMemHandle_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuIpcCloseMemHandle_not */ {__pyx_k_Function_cuIpcGetEventHandle_not, sizeof(__pyx_k_Function_cuIpcGetEventHandle_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuIpcGetEventHandle_not */ {__pyx_k_Function_cuIpcGetMemHandle_not_f, sizeof(__pyx_k_Function_cuIpcGetMemHandle_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuIpcGetMemHandle_not_f */ {__pyx_k_Function_cuIpcOpenEventHandle_no, sizeof(__pyx_k_Function_cuIpcOpenEventHandle_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuIpcOpenEventHandle_no */ {__pyx_k_Function_cuIpcOpenMemHandle_v2_n, sizeof(__pyx_k_Function_cuIpcOpenMemHandle_v2_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuIpcOpenMemHandle_v2_n */ {__pyx_k_Function_cuKernelGetAttribute_no, sizeof(__pyx_k_Function_cuKernelGetAttribute_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuKernelGetAttribute_no */ {__pyx_k_Function_cuKernelGetFunction_not, sizeof(__pyx_k_Function_cuKernelGetFunction_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuKernelGetFunction_not */ {__pyx_k_Function_cuKernelGetLibrary_not, sizeof(__pyx_k_Function_cuKernelGetLibrary_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuKernelGetLibrary_not */ {__pyx_k_Function_cuKernelGetName_not_fou, sizeof(__pyx_k_Function_cuKernelGetName_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuKernelGetName_not_fou */ {__pyx_k_Function_cuKernelGetParamInfo_no, sizeof(__pyx_k_Function_cuKernelGetParamInfo_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuKernelGetParamInfo_no */ {__pyx_k_Function_cuKernelSetAttribute_no, sizeof(__pyx_k_Function_cuKernelSetAttribute_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuKernelSetAttribute_no */ {__pyx_k_Function_cuKernelSetCacheConfig, sizeof(__pyx_k_Function_cuKernelSetCacheConfig), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuKernelSetCacheConfig */ {__pyx_k_Function_cuLaunchCooperativeKern, sizeof(__pyx_k_Function_cuLaunchCooperativeKern), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunchCooperativeKern */ {__pyx_k_Function_cuLaunchCooperativeKern_2, sizeof(__pyx_k_Function_cuLaunchCooperativeKern_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunchCooperativeKern_2 */ {__pyx_k_Function_cuLaunchGridAsync_not_f, sizeof(__pyx_k_Function_cuLaunchGridAsync_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunchGridAsync_not_f */ {__pyx_k_Function_cuLaunchGrid_not_found, sizeof(__pyx_k_Function_cuLaunchGrid_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunchGrid_not_found */ {__pyx_k_Function_cuLaunchHostFunc_not_fo, sizeof(__pyx_k_Function_cuLaunchHostFunc_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunchHostFunc_not_fo */ {__pyx_k_Function_cuLaunchKernelEx_not_fo, sizeof(__pyx_k_Function_cuLaunchKernelEx_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunchKernelEx_not_fo */ {__pyx_k_Function_cuLaunchKernel_not_foun, sizeof(__pyx_k_Function_cuLaunchKernel_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunchKernel_not_foun */ {__pyx_k_Function_cuLaunch_not_found, sizeof(__pyx_k_Function_cuLaunch_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLaunch_not_found */ {__pyx_k_Function_cuLibraryEnumerateKerne, sizeof(__pyx_k_Function_cuLibraryEnumerateKerne), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryEnumerateKerne */ {__pyx_k_Function_cuLibraryGetGlobal_not, sizeof(__pyx_k_Function_cuLibraryGetGlobal_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryGetGlobal_not */ {__pyx_k_Function_cuLibraryGetKernelCount, sizeof(__pyx_k_Function_cuLibraryGetKernelCount), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryGetKernelCount */ {__pyx_k_Function_cuLibraryGetKernel_not, sizeof(__pyx_k_Function_cuLibraryGetKernel_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryGetKernel_not */ {__pyx_k_Function_cuLibraryGetManaged_not, sizeof(__pyx_k_Function_cuLibraryGetManaged_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryGetManaged_not */ {__pyx_k_Function_cuLibraryGetModule_not, sizeof(__pyx_k_Function_cuLibraryGetModule_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryGetModule_not */ {__pyx_k_Function_cuLibraryGetUnifiedFunc, sizeof(__pyx_k_Function_cuLibraryGetUnifiedFunc), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryGetUnifiedFunc */ {__pyx_k_Function_cuLibraryLoadData_not_f, sizeof(__pyx_k_Function_cuLibraryLoadData_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryLoadData_not_f */ {__pyx_k_Function_cuLibraryLoadFromFile_n, sizeof(__pyx_k_Function_cuLibraryLoadFromFile_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryLoadFromFile_n */ {__pyx_k_Function_cuLibraryUnload_not_fou, sizeof(__pyx_k_Function_cuLibraryUnload_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLibraryUnload_not_fou */ {__pyx_k_Function_cuLinkAddData_v2_not_fo, sizeof(__pyx_k_Function_cuLinkAddData_v2_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLinkAddData_v2_not_fo */ {__pyx_k_Function_cuLinkAddFile_v2_not_fo, sizeof(__pyx_k_Function_cuLinkAddFile_v2_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLinkAddFile_v2_not_fo */ {__pyx_k_Function_cuLinkComplete_not_foun, sizeof(__pyx_k_Function_cuLinkComplete_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLinkComplete_not_foun */ {__pyx_k_Function_cuLinkCreate_v2_not_fou, sizeof(__pyx_k_Function_cuLinkCreate_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLinkCreate_v2_not_fou */ {__pyx_k_Function_cuLinkDestroy_not_found, sizeof(__pyx_k_Function_cuLinkDestroy_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLinkDestroy_not_found */ {__pyx_k_Function_cuLogsCurrent_not_found, sizeof(__pyx_k_Function_cuLogsCurrent_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLogsCurrent_not_found */ {__pyx_k_Function_cuLogsDumpToFile_not_fo, sizeof(__pyx_k_Function_cuLogsDumpToFile_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLogsDumpToFile_not_fo */ {__pyx_k_Function_cuLogsDumpToMemory_not, sizeof(__pyx_k_Function_cuLogsDumpToMemory_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLogsDumpToMemory_not */ {__pyx_k_Function_cuLogsRegisterCallback, sizeof(__pyx_k_Function_cuLogsRegisterCallback), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLogsRegisterCallback */ {__pyx_k_Function_cuLogsUnregisterCallbac, sizeof(__pyx_k_Function_cuLogsUnregisterCallbac), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuLogsUnregisterCallbac */ {__pyx_k_Function_cuMemAddressFree_not_fo, sizeof(__pyx_k_Function_cuMemAddressFree_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAddressFree_not_fo */ {__pyx_k_Function_cuMemAddressReserve_not, sizeof(__pyx_k_Function_cuMemAddressReserve_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAddressReserve_not */ {__pyx_k_Function_cuMemAdvise_not_found, sizeof(__pyx_k_Function_cuMemAdvise_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAdvise_not_found */ {__pyx_k_Function_cuMemAdvise_v2_not_foun, sizeof(__pyx_k_Function_cuMemAdvise_v2_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAdvise_v2_not_foun */ {__pyx_k_Function_cuMemAllocAsync_not_fou, sizeof(__pyx_k_Function_cuMemAllocAsync_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAllocAsync_not_fou */ {__pyx_k_Function_cuMemAllocFromPoolAsync, sizeof(__pyx_k_Function_cuMemAllocFromPoolAsync), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAllocFromPoolAsync */ {__pyx_k_Function_cuMemAllocHost_v2_not_f, sizeof(__pyx_k_Function_cuMemAllocHost_v2_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAllocHost_v2_not_f */ {__pyx_k_Function_cuMemAllocManaged_not_f, sizeof(__pyx_k_Function_cuMemAllocManaged_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAllocManaged_not_f */ {__pyx_k_Function_cuMemAllocPitch_v2_not, sizeof(__pyx_k_Function_cuMemAllocPitch_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAllocPitch_v2_not */ {__pyx_k_Function_cuMemAlloc_v2_not_found, sizeof(__pyx_k_Function_cuMemAlloc_v2_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemAlloc_v2_not_found */ {__pyx_k_Function_cuMemBatchDecompressAsy, sizeof(__pyx_k_Function_cuMemBatchDecompressAsy), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemBatchDecompressAsy */ {__pyx_k_Function_cuMemCreate_not_found, sizeof(__pyx_k_Function_cuMemCreate_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemCreate_not_found */ {__pyx_k_Function_cuMemExportToShareableH, sizeof(__pyx_k_Function_cuMemExportToShareableH), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemExportToShareableH */ {__pyx_k_Function_cuMemFreeAsync_not_foun, sizeof(__pyx_k_Function_cuMemFreeAsync_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemFreeAsync_not_foun */ {__pyx_k_Function_cuMemFreeHost_not_found, sizeof(__pyx_k_Function_cuMemFreeHost_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemFreeHost_not_found */ {__pyx_k_Function_cuMemFree_v2_not_found, sizeof(__pyx_k_Function_cuMemFree_v2_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemFree_v2_not_found */ {__pyx_k_Function_cuMemGetAccess_not_foun, sizeof(__pyx_k_Function_cuMemGetAccess_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemGetAccess_not_foun */ {__pyx_k_Function_cuMemGetAddressRange_v2, sizeof(__pyx_k_Function_cuMemGetAddressRange_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemGetAddressRange_v2 */ {__pyx_k_Function_cuMemGetAllocationGranu, sizeof(__pyx_k_Function_cuMemGetAllocationGranu), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemGetAllocationGranu */ {__pyx_k_Function_cuMemGetAllocationPrope, sizeof(__pyx_k_Function_cuMemGetAllocationPrope), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemGetAllocationPrope */ {__pyx_k_Function_cuMemGetHandleForAddres, sizeof(__pyx_k_Function_cuMemGetHandleForAddres), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemGetHandleForAddres */ {__pyx_k_Function_cuMemGetInfo_v2_not_fou, sizeof(__pyx_k_Function_cuMemGetInfo_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemGetInfo_v2_not_fou */ {__pyx_k_Function_cuMemHostAlloc_not_foun, sizeof(__pyx_k_Function_cuMemHostAlloc_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemHostAlloc_not_foun */ {__pyx_k_Function_cuMemHostGetDevicePoint, sizeof(__pyx_k_Function_cuMemHostGetDevicePoint), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemHostGetDevicePoint */ {__pyx_k_Function_cuMemHostGetFlags_not_f, sizeof(__pyx_k_Function_cuMemHostGetFlags_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemHostGetFlags_not_f */ {__pyx_k_Function_cuMemHostRegister_v2_no, sizeof(__pyx_k_Function_cuMemHostRegister_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemHostRegister_v2_no */ {__pyx_k_Function_cuMemHostUnregister_not, sizeof(__pyx_k_Function_cuMemHostUnregister_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemHostUnregister_not */ {__pyx_k_Function_cuMemImportFromShareabl, sizeof(__pyx_k_Function_cuMemImportFromShareabl), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemImportFromShareabl */ {__pyx_k_Function_cuMemMapArrayAsync_not, sizeof(__pyx_k_Function_cuMemMapArrayAsync_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemMapArrayAsync_not */ {__pyx_k_Function_cuMemMap_not_found, sizeof(__pyx_k_Function_cuMemMap_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemMap_not_found */ {__pyx_k_Function_cuMemPoolCreate_not_fou, sizeof(__pyx_k_Function_cuMemPoolCreate_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolCreate_not_fou */ {__pyx_k_Function_cuMemPoolDestroy_not_fo, sizeof(__pyx_k_Function_cuMemPoolDestroy_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolDestroy_not_fo */ {__pyx_k_Function_cuMemPoolExportPointer, sizeof(__pyx_k_Function_cuMemPoolExportPointer), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolExportPointer */ {__pyx_k_Function_cuMemPoolExportToSharea, sizeof(__pyx_k_Function_cuMemPoolExportToSharea), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolExportToSharea */ {__pyx_k_Function_cuMemPoolGetAccess_not, sizeof(__pyx_k_Function_cuMemPoolGetAccess_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolGetAccess_not */ {__pyx_k_Function_cuMemPoolGetAttribute_n, sizeof(__pyx_k_Function_cuMemPoolGetAttribute_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolGetAttribute_n */ {__pyx_k_Function_cuMemPoolImportFromShar, sizeof(__pyx_k_Function_cuMemPoolImportFromShar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolImportFromShar */ {__pyx_k_Function_cuMemPoolImportPointer, sizeof(__pyx_k_Function_cuMemPoolImportPointer), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolImportPointer */ {__pyx_k_Function_cuMemPoolSetAccess_not, sizeof(__pyx_k_Function_cuMemPoolSetAccess_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolSetAccess_not */ {__pyx_k_Function_cuMemPoolSetAttribute_n, sizeof(__pyx_k_Function_cuMemPoolSetAttribute_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolSetAttribute_n */ {__pyx_k_Function_cuMemPoolTrimTo_not_fou, sizeof(__pyx_k_Function_cuMemPoolTrimTo_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPoolTrimTo_not_fou */ {__pyx_k_Function_cuMemPrefetchAsync_not, sizeof(__pyx_k_Function_cuMemPrefetchAsync_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPrefetchAsync_not */ {__pyx_k_Function_cuMemPrefetchAsync_v2_n, sizeof(__pyx_k_Function_cuMemPrefetchAsync_v2_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemPrefetchAsync_v2_n */ {__pyx_k_Function_cuMemRangeGetAttribute, sizeof(__pyx_k_Function_cuMemRangeGetAttribute), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemRangeGetAttribute */ {__pyx_k_Function_cuMemRangeGetAttributes, sizeof(__pyx_k_Function_cuMemRangeGetAttributes), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemRangeGetAttributes */ {__pyx_k_Function_cuMemRelease_not_found, sizeof(__pyx_k_Function_cuMemRelease_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemRelease_not_found */ {__pyx_k_Function_cuMemRetainAllocationHa, sizeof(__pyx_k_Function_cuMemRetainAllocationHa), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemRetainAllocationHa */ {__pyx_k_Function_cuMemSetAccess_not_foun, sizeof(__pyx_k_Function_cuMemSetAccess_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemSetAccess_not_foun */ {__pyx_k_Function_cuMemUnmap_not_found, sizeof(__pyx_k_Function_cuMemUnmap_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemUnmap_not_found */ {__pyx_k_Function_cuMemcpy2DAsync_v2_not, sizeof(__pyx_k_Function_cuMemcpy2DAsync_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy2DAsync_v2_not */ {__pyx_k_Function_cuMemcpy2DUnaligned_v2, sizeof(__pyx_k_Function_cuMemcpy2DUnaligned_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy2DUnaligned_v2 */ {__pyx_k_Function_cuMemcpy2D_v2_not_found, sizeof(__pyx_k_Function_cuMemcpy2D_v2_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy2D_v2_not_found */ {__pyx_k_Function_cuMemcpy3DAsync_v2_not, sizeof(__pyx_k_Function_cuMemcpy3DAsync_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy3DAsync_v2_not */ {__pyx_k_Function_cuMemcpy3DBatchAsync_no, sizeof(__pyx_k_Function_cuMemcpy3DBatchAsync_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy3DBatchAsync_no */ {__pyx_k_Function_cuMemcpy3DPeerAsync_not, sizeof(__pyx_k_Function_cuMemcpy3DPeerAsync_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy3DPeerAsync_not */ {__pyx_k_Function_cuMemcpy3DPeer_not_foun, sizeof(__pyx_k_Function_cuMemcpy3DPeer_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy3DPeer_not_foun */ {__pyx_k_Function_cuMemcpy3D_v2_not_found, sizeof(__pyx_k_Function_cuMemcpy3D_v2_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy3D_v2_not_found */ {__pyx_k_Function_cuMemcpyAsync_not_found, sizeof(__pyx_k_Function_cuMemcpyAsync_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyAsync_not_found */ {__pyx_k_Function_cuMemcpyAtoA_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyAtoA_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyAtoA_v2_not_fou */ {__pyx_k_Function_cuMemcpyAtoD_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyAtoD_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyAtoD_v2_not_fou */ {__pyx_k_Function_cuMemcpyAtoHAsync_v2_no, sizeof(__pyx_k_Function_cuMemcpyAtoHAsync_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyAtoHAsync_v2_no */ {__pyx_k_Function_cuMemcpyAtoH_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyAtoH_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyAtoH_v2_not_fou */ {__pyx_k_Function_cuMemcpyBatchAsync_not, sizeof(__pyx_k_Function_cuMemcpyBatchAsync_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyBatchAsync_not */ {__pyx_k_Function_cuMemcpyDtoA_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyDtoA_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyDtoA_v2_not_fou */ {__pyx_k_Function_cuMemcpyDtoDAsync_v2_no, sizeof(__pyx_k_Function_cuMemcpyDtoDAsync_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyDtoDAsync_v2_no */ {__pyx_k_Function_cuMemcpyDtoD_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyDtoD_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyDtoD_v2_not_fou */ {__pyx_k_Function_cuMemcpyDtoHAsync_v2_no, sizeof(__pyx_k_Function_cuMemcpyDtoHAsync_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyDtoHAsync_v2_no */ {__pyx_k_Function_cuMemcpyDtoH_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyDtoH_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyDtoH_v2_not_fou */ {__pyx_k_Function_cuMemcpyHtoAAsync_v2_no, sizeof(__pyx_k_Function_cuMemcpyHtoAAsync_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyHtoAAsync_v2_no */ {__pyx_k_Function_cuMemcpyHtoA_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyHtoA_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyHtoA_v2_not_fou */ {__pyx_k_Function_cuMemcpyHtoDAsync_v2_no, sizeof(__pyx_k_Function_cuMemcpyHtoDAsync_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyHtoDAsync_v2_no */ {__pyx_k_Function_cuMemcpyHtoD_v2_not_fou, sizeof(__pyx_k_Function_cuMemcpyHtoD_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyHtoD_v2_not_fou */ {__pyx_k_Function_cuMemcpyPeerAsync_not_f, sizeof(__pyx_k_Function_cuMemcpyPeerAsync_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyPeerAsync_not_f */ {__pyx_k_Function_cuMemcpyPeer_not_found, sizeof(__pyx_k_Function_cuMemcpyPeer_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpyPeer_not_found */ {__pyx_k_Function_cuMemcpy_not_found, sizeof(__pyx_k_Function_cuMemcpy_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemcpy_not_found */ {__pyx_k_Function_cuMemsetD16Async_not_fo, sizeof(__pyx_k_Function_cuMemsetD16Async_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD16Async_not_fo */ {__pyx_k_Function_cuMemsetD16_v2_not_foun, sizeof(__pyx_k_Function_cuMemsetD16_v2_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD16_v2_not_foun */ {__pyx_k_Function_cuMemsetD2D16Async_not, sizeof(__pyx_k_Function_cuMemsetD2D16Async_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD2D16Async_not */ {__pyx_k_Function_cuMemsetD2D16_v2_not_fo, sizeof(__pyx_k_Function_cuMemsetD2D16_v2_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD2D16_v2_not_fo */ {__pyx_k_Function_cuMemsetD2D32Async_not, sizeof(__pyx_k_Function_cuMemsetD2D32Async_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD2D32Async_not */ {__pyx_k_Function_cuMemsetD2D32_v2_not_fo, sizeof(__pyx_k_Function_cuMemsetD2D32_v2_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD2D32_v2_not_fo */ {__pyx_k_Function_cuMemsetD2D8Async_not_f, sizeof(__pyx_k_Function_cuMemsetD2D8Async_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD2D8Async_not_f */ {__pyx_k_Function_cuMemsetD2D8_v2_not_fou, sizeof(__pyx_k_Function_cuMemsetD2D8_v2_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD2D8_v2_not_fou */ {__pyx_k_Function_cuMemsetD32Async_not_fo, sizeof(__pyx_k_Function_cuMemsetD32Async_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD32Async_not_fo */ {__pyx_k_Function_cuMemsetD32_v2_not_foun, sizeof(__pyx_k_Function_cuMemsetD32_v2_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD32_v2_not_foun */ {__pyx_k_Function_cuMemsetD8Async_not_fou, sizeof(__pyx_k_Function_cuMemsetD8Async_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD8Async_not_fou */ {__pyx_k_Function_cuMemsetD8_v2_not_found, sizeof(__pyx_k_Function_cuMemsetD8_v2_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMemsetD8_v2_not_found */ {__pyx_k_Function_cuMipmappedArrayCreate, sizeof(__pyx_k_Function_cuMipmappedArrayCreate), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMipmappedArrayCreate */ {__pyx_k_Function_cuMipmappedArrayDestroy, sizeof(__pyx_k_Function_cuMipmappedArrayDestroy), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMipmappedArrayDestroy */ {__pyx_k_Function_cuMipmappedArrayGetLeve, sizeof(__pyx_k_Function_cuMipmappedArrayGetLeve), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMipmappedArrayGetLeve */ {__pyx_k_Function_cuMipmappedArrayGetMemo, sizeof(__pyx_k_Function_cuMipmappedArrayGetMemo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMipmappedArrayGetMemo */ {__pyx_k_Function_cuMipmappedArrayGetSpar, sizeof(__pyx_k_Function_cuMipmappedArrayGetSpar), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMipmappedArrayGetSpar */ {__pyx_k_Function_cuModuleEnumerateFuncti, sizeof(__pyx_k_Function_cuModuleEnumerateFuncti), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleEnumerateFuncti */ {__pyx_k_Function_cuModuleGetFunctionCoun, sizeof(__pyx_k_Function_cuModuleGetFunctionCoun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleGetFunctionCoun */ {__pyx_k_Function_cuModuleGetFunction_not, sizeof(__pyx_k_Function_cuModuleGetFunction_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleGetFunction_not */ {__pyx_k_Function_cuModuleGetGlobal_v2_no, sizeof(__pyx_k_Function_cuModuleGetGlobal_v2_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleGetGlobal_v2_no */ {__pyx_k_Function_cuModuleGetLoadingMode, sizeof(__pyx_k_Function_cuModuleGetLoadingMode), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleGetLoadingMode */ {__pyx_k_Function_cuModuleGetSurfRef_not, sizeof(__pyx_k_Function_cuModuleGetSurfRef_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleGetSurfRef_not */ {__pyx_k_Function_cuModuleGetTexRef_not_f, sizeof(__pyx_k_Function_cuModuleGetTexRef_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleGetTexRef_not_f */ {__pyx_k_Function_cuModuleLoadDataEx_not, sizeof(__pyx_k_Function_cuModuleLoadDataEx_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleLoadDataEx_not */ {__pyx_k_Function_cuModuleLoadData_not_fo, sizeof(__pyx_k_Function_cuModuleLoadData_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleLoadData_not_fo */ {__pyx_k_Function_cuModuleLoadFatBinary_n, sizeof(__pyx_k_Function_cuModuleLoadFatBinary_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleLoadFatBinary_n */ {__pyx_k_Function_cuModuleLoad_not_found, sizeof(__pyx_k_Function_cuModuleLoad_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleLoad_not_found */ {__pyx_k_Function_cuModuleUnload_not_foun, sizeof(__pyx_k_Function_cuModuleUnload_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuModuleUnload_not_foun */ {__pyx_k_Function_cuMulticastAddDevice_no, sizeof(__pyx_k_Function_cuMulticastAddDevice_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMulticastAddDevice_no */ {__pyx_k_Function_cuMulticastBindAddr_not, sizeof(__pyx_k_Function_cuMulticastBindAddr_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMulticastBindAddr_not */ {__pyx_k_Function_cuMulticastBindMem_not, sizeof(__pyx_k_Function_cuMulticastBindMem_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMulticastBindMem_not */ {__pyx_k_Function_cuMulticastCreate_not_f, sizeof(__pyx_k_Function_cuMulticastCreate_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMulticastCreate_not_f */ {__pyx_k_Function_cuMulticastGetGranulari, sizeof(__pyx_k_Function_cuMulticastGetGranulari), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMulticastGetGranulari */ {__pyx_k_Function_cuMulticastUnbind_not_f, sizeof(__pyx_k_Function_cuMulticastUnbind_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuMulticastUnbind_not_f */ {__pyx_k_Function_cuOccupancyAvailableDyn, sizeof(__pyx_k_Function_cuOccupancyAvailableDyn), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuOccupancyAvailableDyn */ {__pyx_k_Function_cuOccupancyMaxActiveBlo, sizeof(__pyx_k_Function_cuOccupancyMaxActiveBlo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuOccupancyMaxActiveBlo */ {__pyx_k_Function_cuOccupancyMaxActiveBlo_2, sizeof(__pyx_k_Function_cuOccupancyMaxActiveBlo_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuOccupancyMaxActiveBlo_2 */ {__pyx_k_Function_cuOccupancyMaxActiveClu, sizeof(__pyx_k_Function_cuOccupancyMaxActiveClu), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuOccupancyMaxActiveClu */ {__pyx_k_Function_cuOccupancyMaxPotential, sizeof(__pyx_k_Function_cuOccupancyMaxPotential), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuOccupancyMaxPotential */ {__pyx_k_Function_cuOccupancyMaxPotential_2, sizeof(__pyx_k_Function_cuOccupancyMaxPotential_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuOccupancyMaxPotential_2 */ {__pyx_k_Function_cuOccupancyMaxPotential_3, sizeof(__pyx_k_Function_cuOccupancyMaxPotential_3), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuOccupancyMaxPotential_3 */ {__pyx_k_Function_cuParamSetSize_not_foun, sizeof(__pyx_k_Function_cuParamSetSize_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuParamSetSize_not_foun */ {__pyx_k_Function_cuParamSetTexRef_not_fo, sizeof(__pyx_k_Function_cuParamSetTexRef_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuParamSetTexRef_not_fo */ {__pyx_k_Function_cuParamSetf_not_found, sizeof(__pyx_k_Function_cuParamSetf_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuParamSetf_not_found */ {__pyx_k_Function_cuParamSeti_not_found, sizeof(__pyx_k_Function_cuParamSeti_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuParamSeti_not_found */ {__pyx_k_Function_cuParamSetv_not_found, sizeof(__pyx_k_Function_cuParamSetv_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuParamSetv_not_found */ {__pyx_k_Function_cuPointerGetAttribute_n, sizeof(__pyx_k_Function_cuPointerGetAttribute_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuPointerGetAttribute_n */ {__pyx_k_Function_cuPointerGetAttributes, sizeof(__pyx_k_Function_cuPointerGetAttributes), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuPointerGetAttributes */ {__pyx_k_Function_cuPointerSetAttribute_n, sizeof(__pyx_k_Function_cuPointerSetAttribute_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuPointerSetAttribute_n */ {__pyx_k_Function_cuProfilerStart_not_fou, sizeof(__pyx_k_Function_cuProfilerStart_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuProfilerStart_not_fou */ {__pyx_k_Function_cuProfilerStop_not_foun, sizeof(__pyx_k_Function_cuProfilerStop_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuProfilerStop_not_foun */ {__pyx_k_Function_cuSignalExternalSemapho, sizeof(__pyx_k_Function_cuSignalExternalSemapho), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuSignalExternalSemapho */ {__pyx_k_Function_cuStreamAddCallback_not, sizeof(__pyx_k_Function_cuStreamAddCallback_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamAddCallback_not */ {__pyx_k_Function_cuStreamAttachMemAsync, sizeof(__pyx_k_Function_cuStreamAttachMemAsync), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamAttachMemAsync */ {__pyx_k_Function_cuStreamBatchMemOp_v2_n, sizeof(__pyx_k_Function_cuStreamBatchMemOp_v2_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamBatchMemOp_v2_n */ {__pyx_k_Function_cuStreamBeginCaptureToG, sizeof(__pyx_k_Function_cuStreamBeginCaptureToG), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamBeginCaptureToG */ {__pyx_k_Function_cuStreamBeginCapture_v2, sizeof(__pyx_k_Function_cuStreamBeginCapture_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamBeginCapture_v2 */ {__pyx_k_Function_cuStreamCopyAttributes, sizeof(__pyx_k_Function_cuStreamCopyAttributes), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamCopyAttributes */ {__pyx_k_Function_cuStreamCreateWithPrior, sizeof(__pyx_k_Function_cuStreamCreateWithPrior), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamCreateWithPrior */ {__pyx_k_Function_cuStreamCreate_not_foun, sizeof(__pyx_k_Function_cuStreamCreate_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamCreate_not_foun */ {__pyx_k_Function_cuStreamDestroy_v2_not, sizeof(__pyx_k_Function_cuStreamDestroy_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamDestroy_v2_not */ {__pyx_k_Function_cuStreamEndCapture_not, sizeof(__pyx_k_Function_cuStreamEndCapture_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamEndCapture_not */ {__pyx_k_Function_cuStreamGetAttribute_no, sizeof(__pyx_k_Function_cuStreamGetAttribute_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetAttribute_no */ {__pyx_k_Function_cuStreamGetCaptureInfo, sizeof(__pyx_k_Function_cuStreamGetCaptureInfo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetCaptureInfo */ {__pyx_k_Function_cuStreamGetCaptureInfo_2, sizeof(__pyx_k_Function_cuStreamGetCaptureInfo_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetCaptureInfo_2 */ {__pyx_k_Function_cuStreamGetCtx_not_foun, sizeof(__pyx_k_Function_cuStreamGetCtx_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetCtx_not_foun */ {__pyx_k_Function_cuStreamGetCtx_v2_not_f, sizeof(__pyx_k_Function_cuStreamGetCtx_v2_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetCtx_v2_not_f */ {__pyx_k_Function_cuStreamGetDevice_not_f, sizeof(__pyx_k_Function_cuStreamGetDevice_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetDevice_not_f */ {__pyx_k_Function_cuStreamGetFlags_not_fo, sizeof(__pyx_k_Function_cuStreamGetFlags_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetFlags_not_fo */ {__pyx_k_Function_cuStreamGetGreenCtx_not, sizeof(__pyx_k_Function_cuStreamGetGreenCtx_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetGreenCtx_not */ {__pyx_k_Function_cuStreamGetId_not_found, sizeof(__pyx_k_Function_cuStreamGetId_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetId_not_found */ {__pyx_k_Function_cuStreamGetPriority_not, sizeof(__pyx_k_Function_cuStreamGetPriority_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamGetPriority_not */ {__pyx_k_Function_cuStreamIsCapturing_not, sizeof(__pyx_k_Function_cuStreamIsCapturing_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamIsCapturing_not */ {__pyx_k_Function_cuStreamQuery_not_found, sizeof(__pyx_k_Function_cuStreamQuery_not_found), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamQuery_not_found */ {__pyx_k_Function_cuStreamSetAttribute_no, sizeof(__pyx_k_Function_cuStreamSetAttribute_no), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamSetAttribute_no */ {__pyx_k_Function_cuStreamSynchronize_not, sizeof(__pyx_k_Function_cuStreamSynchronize_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamSynchronize_not */ {__pyx_k_Function_cuStreamUpdateCaptureDe, sizeof(__pyx_k_Function_cuStreamUpdateCaptureDe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamUpdateCaptureDe */ {__pyx_k_Function_cuStreamUpdateCaptureDe_2, sizeof(__pyx_k_Function_cuStreamUpdateCaptureDe_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamUpdateCaptureDe_2 */ {__pyx_k_Function_cuStreamWaitEvent_not_f, sizeof(__pyx_k_Function_cuStreamWaitEvent_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamWaitEvent_not_f */ {__pyx_k_Function_cuStreamWaitValue32_v2, sizeof(__pyx_k_Function_cuStreamWaitValue32_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamWaitValue32_v2 */ {__pyx_k_Function_cuStreamWaitValue64_v2, sizeof(__pyx_k_Function_cuStreamWaitValue64_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamWaitValue64_v2 */ {__pyx_k_Function_cuStreamWriteValue32_v2, sizeof(__pyx_k_Function_cuStreamWriteValue32_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamWriteValue32_v2 */ {__pyx_k_Function_cuStreamWriteValue64_v2, sizeof(__pyx_k_Function_cuStreamWriteValue64_v2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuStreamWriteValue64_v2 */ {__pyx_k_Function_cuSurfObjectCreate_not, sizeof(__pyx_k_Function_cuSurfObjectCreate_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuSurfObjectCreate_not */ {__pyx_k_Function_cuSurfObjectDestroy_not, sizeof(__pyx_k_Function_cuSurfObjectDestroy_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuSurfObjectDestroy_not */ {__pyx_k_Function_cuSurfObjectGetResource, sizeof(__pyx_k_Function_cuSurfObjectGetResource), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuSurfObjectGetResource */ {__pyx_k_Function_cuSurfRefGetArray_not_f, sizeof(__pyx_k_Function_cuSurfRefGetArray_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuSurfRefGetArray_not_f */ {__pyx_k_Function_cuSurfRefSetArray_not_f, sizeof(__pyx_k_Function_cuSurfRefSetArray_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuSurfRefSetArray_not_f */ {__pyx_k_Function_cuTensorMapEncodeIm2col, sizeof(__pyx_k_Function_cuTensorMapEncodeIm2col), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTensorMapEncodeIm2col */ {__pyx_k_Function_cuTensorMapEncodeIm2col_2, sizeof(__pyx_k_Function_cuTensorMapEncodeIm2col_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTensorMapEncodeIm2col_2 */ {__pyx_k_Function_cuTensorMapEncodeTiled, sizeof(__pyx_k_Function_cuTensorMapEncodeTiled), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTensorMapEncodeTiled */ {__pyx_k_Function_cuTensorMapReplaceAddre, sizeof(__pyx_k_Function_cuTensorMapReplaceAddre), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTensorMapReplaceAddre */ {__pyx_k_Function_cuTexObjectCreate_not_f, sizeof(__pyx_k_Function_cuTexObjectCreate_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexObjectCreate_not_f */ {__pyx_k_Function_cuTexObjectDestroy_not, sizeof(__pyx_k_Function_cuTexObjectDestroy_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexObjectDestroy_not */ {__pyx_k_Function_cuTexObjectGetResourceD, sizeof(__pyx_k_Function_cuTexObjectGetResourceD), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexObjectGetResourceD */ {__pyx_k_Function_cuTexObjectGetResourceV, sizeof(__pyx_k_Function_cuTexObjectGetResourceV), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexObjectGetResourceV */ {__pyx_k_Function_cuTexObjectGetTextureDe, sizeof(__pyx_k_Function_cuTexObjectGetTextureDe), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexObjectGetTextureDe */ {__pyx_k_Function_cuTexRefCreate_not_foun, sizeof(__pyx_k_Function_cuTexRefCreate_not_foun), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefCreate_not_foun */ {__pyx_k_Function_cuTexRefDestroy_not_fou, sizeof(__pyx_k_Function_cuTexRefDestroy_not_fou), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefDestroy_not_fou */ {__pyx_k_Function_cuTexRefGetAddressMode, sizeof(__pyx_k_Function_cuTexRefGetAddressMode), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetAddressMode */ {__pyx_k_Function_cuTexRefGetAddress_v2_n, sizeof(__pyx_k_Function_cuTexRefGetAddress_v2_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetAddress_v2_n */ {__pyx_k_Function_cuTexRefGetArray_not_fo, sizeof(__pyx_k_Function_cuTexRefGetArray_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetArray_not_fo */ {__pyx_k_Function_cuTexRefGetBorderColor, sizeof(__pyx_k_Function_cuTexRefGetBorderColor), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetBorderColor */ {__pyx_k_Function_cuTexRefGetFilterMode_n, sizeof(__pyx_k_Function_cuTexRefGetFilterMode_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetFilterMode_n */ {__pyx_k_Function_cuTexRefGetFlags_not_fo, sizeof(__pyx_k_Function_cuTexRefGetFlags_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetFlags_not_fo */ {__pyx_k_Function_cuTexRefGetFormat_not_f, sizeof(__pyx_k_Function_cuTexRefGetFormat_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetFormat_not_f */ {__pyx_k_Function_cuTexRefGetMaxAnisotrop, sizeof(__pyx_k_Function_cuTexRefGetMaxAnisotrop), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetMaxAnisotrop */ {__pyx_k_Function_cuTexRefGetMipmapFilter, sizeof(__pyx_k_Function_cuTexRefGetMipmapFilter), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetMipmapFilter */ {__pyx_k_Function_cuTexRefGetMipmapLevelB, sizeof(__pyx_k_Function_cuTexRefGetMipmapLevelB), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetMipmapLevelB */ {__pyx_k_Function_cuTexRefGetMipmapLevelC, sizeof(__pyx_k_Function_cuTexRefGetMipmapLevelC), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetMipmapLevelC */ {__pyx_k_Function_cuTexRefGetMipmappedArr, sizeof(__pyx_k_Function_cuTexRefGetMipmappedArr), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefGetMipmappedArr */ {__pyx_k_Function_cuTexRefSetAddress2D_v3, sizeof(__pyx_k_Function_cuTexRefSetAddress2D_v3), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetAddress2D_v3 */ {__pyx_k_Function_cuTexRefSetAddressMode, sizeof(__pyx_k_Function_cuTexRefSetAddressMode), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetAddressMode */ {__pyx_k_Function_cuTexRefSetAddress_v2_n, sizeof(__pyx_k_Function_cuTexRefSetAddress_v2_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetAddress_v2_n */ {__pyx_k_Function_cuTexRefSetArray_not_fo, sizeof(__pyx_k_Function_cuTexRefSetArray_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetArray_not_fo */ {__pyx_k_Function_cuTexRefSetBorderColor, sizeof(__pyx_k_Function_cuTexRefSetBorderColor), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetBorderColor */ {__pyx_k_Function_cuTexRefSetFilterMode_n, sizeof(__pyx_k_Function_cuTexRefSetFilterMode_n), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetFilterMode_n */ {__pyx_k_Function_cuTexRefSetFlags_not_fo, sizeof(__pyx_k_Function_cuTexRefSetFlags_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetFlags_not_fo */ {__pyx_k_Function_cuTexRefSetFormat_not_f, sizeof(__pyx_k_Function_cuTexRefSetFormat_not_f), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetFormat_not_f */ {__pyx_k_Function_cuTexRefSetMaxAnisotrop, sizeof(__pyx_k_Function_cuTexRefSetMaxAnisotrop), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetMaxAnisotrop */ {__pyx_k_Function_cuTexRefSetMipmapFilter, sizeof(__pyx_k_Function_cuTexRefSetMipmapFilter), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetMipmapFilter */ {__pyx_k_Function_cuTexRefSetMipmapLevelB, sizeof(__pyx_k_Function_cuTexRefSetMipmapLevelB), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetMipmapLevelB */ {__pyx_k_Function_cuTexRefSetMipmapLevelC, sizeof(__pyx_k_Function_cuTexRefSetMipmapLevelC), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetMipmapLevelC */ {__pyx_k_Function_cuTexRefSetMipmappedArr, sizeof(__pyx_k_Function_cuTexRefSetMipmappedArr), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuTexRefSetMipmappedArr */ {__pyx_k_Function_cuThreadExchangeStreamC, sizeof(__pyx_k_Function_cuThreadExchangeStreamC), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuThreadExchangeStreamC */ {__pyx_k_Function_cuUserObjectCreate_not, sizeof(__pyx_k_Function_cuUserObjectCreate_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuUserObjectCreate_not */ {__pyx_k_Function_cuUserObjectRelease_not, sizeof(__pyx_k_Function_cuUserObjectRelease_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuUserObjectRelease_not */ {__pyx_k_Function_cuUserObjectRetain_not, sizeof(__pyx_k_Function_cuUserObjectRetain_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuUserObjectRetain_not */ {__pyx_k_Function_cuVDPAUCtxCreate_v2_not, sizeof(__pyx_k_Function_cuVDPAUCtxCreate_v2_not), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuVDPAUCtxCreate_v2_not */ {__pyx_k_Function_cuVDPAUGetDevice_not_fo, sizeof(__pyx_k_Function_cuVDPAUGetDevice_not_fo), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuVDPAUGetDevice_not_fo */ {__pyx_k_Function_cuWaitExternalSemaphore, sizeof(__pyx_k_Function_cuWaitExternalSemaphore), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Function_cuWaitExternalSemaphore */ {__pyx_k_Lock, sizeof(__pyx_k_Lock), 0, 1, 1}, /* PyObject cname: __pyx_n_u_Lock */ {__pyx_k_Note_that_Cython_is_deliberately, sizeof(__pyx_k_Note_that_Cython_is_deliberately), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_Note_that_Cython_is_deliberately */ {__pyx_k_RuntimeError, sizeof(__pyx_k_RuntimeError), 0, 1, 1}, /* PyObject cname: __pyx_n_u_RuntimeError */ {__pyx_k_add_note, sizeof(__pyx_k_add_note), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_add_note */ {__pyx_k_asyncio_coroutines, sizeof(__pyx_k_asyncio_coroutines), 0, 1, 1}, /* PyObject cname: __pyx_n_u_asyncio_coroutines */ {__pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cline_in_traceback */ {__pyx_k_cuArray3DCreate_v2, sizeof(__pyx_k_cuArray3DCreate_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArray3DCreate_v2 */ {__pyx_k_cuArray3DGetDescriptor_v2, sizeof(__pyx_k_cuArray3DGetDescriptor_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArray3DGetDescriptor_v2 */ {__pyx_k_cuArrayCreate_v2, sizeof(__pyx_k_cuArrayCreate_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArrayCreate_v2 */ {__pyx_k_cuArrayDestroy, sizeof(__pyx_k_cuArrayDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArrayDestroy */ {__pyx_k_cuArrayGetDescriptor_v2, sizeof(__pyx_k_cuArrayGetDescriptor_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArrayGetDescriptor_v2 */ {__pyx_k_cuArrayGetMemoryRequirements, sizeof(__pyx_k_cuArrayGetMemoryRequirements), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArrayGetMemoryRequirements */ {__pyx_k_cuArrayGetPlane, sizeof(__pyx_k_cuArrayGetPlane), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArrayGetPlane */ {__pyx_k_cuArrayGetSparseProperties, sizeof(__pyx_k_cuArrayGetSparseProperties), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuArrayGetSparseProperties */ {__pyx_k_cuCheckpointProcessCheckpoint, sizeof(__pyx_k_cuCheckpointProcessCheckpoint), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCheckpointProcessCheckpoint */ {__pyx_k_cuCheckpointProcessGetRestoreT, sizeof(__pyx_k_cuCheckpointProcessGetRestoreT), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCheckpointProcessGetRestoreT */ {__pyx_k_cuCheckpointProcessGetState, sizeof(__pyx_k_cuCheckpointProcessGetState), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCheckpointProcessGetState */ {__pyx_k_cuCheckpointProcessLock, sizeof(__pyx_k_cuCheckpointProcessLock), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCheckpointProcessLock */ {__pyx_k_cuCheckpointProcessRestore, sizeof(__pyx_k_cuCheckpointProcessRestore), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCheckpointProcessRestore */ {__pyx_k_cuCheckpointProcessUnlock, sizeof(__pyx_k_cuCheckpointProcessUnlock), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCheckpointProcessUnlock */ {__pyx_k_cuCoredumpGetAttribute, sizeof(__pyx_k_cuCoredumpGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCoredumpGetAttribute */ {__pyx_k_cuCoredumpGetAttributeGlobal, sizeof(__pyx_k_cuCoredumpGetAttributeGlobal), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCoredumpGetAttributeGlobal */ {__pyx_k_cuCoredumpSetAttribute, sizeof(__pyx_k_cuCoredumpSetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCoredumpSetAttribute */ {__pyx_k_cuCoredumpSetAttributeGlobal, sizeof(__pyx_k_cuCoredumpSetAttributeGlobal), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCoredumpSetAttributeGlobal */ {__pyx_k_cuCtxAttach, sizeof(__pyx_k_cuCtxAttach), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxAttach */ {__pyx_k_cuCtxCreate_v2, sizeof(__pyx_k_cuCtxCreate_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxCreate_v2 */ {__pyx_k_cuCtxCreate_v3, sizeof(__pyx_k_cuCtxCreate_v3), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxCreate_v3 */ {__pyx_k_cuCtxCreate_v4, sizeof(__pyx_k_cuCtxCreate_v4), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxCreate_v4 */ {__pyx_k_cuCtxDestroy_v2, sizeof(__pyx_k_cuCtxDestroy_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxDestroy_v2 */ {__pyx_k_cuCtxDetach, sizeof(__pyx_k_cuCtxDetach), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxDetach */ {__pyx_k_cuCtxDisablePeerAccess, sizeof(__pyx_k_cuCtxDisablePeerAccess), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxDisablePeerAccess */ {__pyx_k_cuCtxEnablePeerAccess, sizeof(__pyx_k_cuCtxEnablePeerAccess), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxEnablePeerAccess */ {__pyx_k_cuCtxFromGreenCtx, sizeof(__pyx_k_cuCtxFromGreenCtx), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxFromGreenCtx */ {__pyx_k_cuCtxGetApiVersion, sizeof(__pyx_k_cuCtxGetApiVersion), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetApiVersion */ {__pyx_k_cuCtxGetCacheConfig, sizeof(__pyx_k_cuCtxGetCacheConfig), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetCacheConfig */ {__pyx_k_cuCtxGetCurrent, sizeof(__pyx_k_cuCtxGetCurrent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetCurrent */ {__pyx_k_cuCtxGetDevResource, sizeof(__pyx_k_cuCtxGetDevResource), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetDevResource */ {__pyx_k_cuCtxGetDevice, sizeof(__pyx_k_cuCtxGetDevice), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetDevice */ {__pyx_k_cuCtxGetExecAffinity, sizeof(__pyx_k_cuCtxGetExecAffinity), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetExecAffinity */ {__pyx_k_cuCtxGetFlags, sizeof(__pyx_k_cuCtxGetFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetFlags */ {__pyx_k_cuCtxGetId, sizeof(__pyx_k_cuCtxGetId), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetId */ {__pyx_k_cuCtxGetLimit, sizeof(__pyx_k_cuCtxGetLimit), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetLimit */ {__pyx_k_cuCtxGetSharedMemConfig, sizeof(__pyx_k_cuCtxGetSharedMemConfig), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetSharedMemConfig */ {__pyx_k_cuCtxGetStreamPriorityRange, sizeof(__pyx_k_cuCtxGetStreamPriorityRange), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxGetStreamPriorityRange */ {__pyx_k_cuCtxPopCurrent_v2, sizeof(__pyx_k_cuCtxPopCurrent_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxPopCurrent_v2 */ {__pyx_k_cuCtxPushCurrent_v2, sizeof(__pyx_k_cuCtxPushCurrent_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxPushCurrent_v2 */ {__pyx_k_cuCtxRecordEvent, sizeof(__pyx_k_cuCtxRecordEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxRecordEvent */ {__pyx_k_cuCtxResetPersistingL2Cache, sizeof(__pyx_k_cuCtxResetPersistingL2Cache), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxResetPersistingL2Cache */ {__pyx_k_cuCtxSetCacheConfig, sizeof(__pyx_k_cuCtxSetCacheConfig), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxSetCacheConfig */ {__pyx_k_cuCtxSetCurrent, sizeof(__pyx_k_cuCtxSetCurrent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxSetCurrent */ {__pyx_k_cuCtxSetFlags, sizeof(__pyx_k_cuCtxSetFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxSetFlags */ {__pyx_k_cuCtxSetLimit, sizeof(__pyx_k_cuCtxSetLimit), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxSetLimit */ {__pyx_k_cuCtxSetSharedMemConfig, sizeof(__pyx_k_cuCtxSetSharedMemConfig), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxSetSharedMemConfig */ {__pyx_k_cuCtxSynchronize, sizeof(__pyx_k_cuCtxSynchronize), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxSynchronize */ {__pyx_k_cuCtxWaitEvent, sizeof(__pyx_k_cuCtxWaitEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuCtxWaitEvent */ {__pyx_k_cuDestroyExternalMemory, sizeof(__pyx_k_cuDestroyExternalMemory), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDestroyExternalMemory */ {__pyx_k_cuDestroyExternalSemaphore, sizeof(__pyx_k_cuDestroyExternalSemaphore), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDestroyExternalSemaphore */ {__pyx_k_cuDevResourceGenerateDesc, sizeof(__pyx_k_cuDevResourceGenerateDesc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDevResourceGenerateDesc */ {__pyx_k_cuDevSmResourceSplitByCount, sizeof(__pyx_k_cuDevSmResourceSplitByCount), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDevSmResourceSplitByCount */ {__pyx_k_cuDeviceCanAccessPeer, sizeof(__pyx_k_cuDeviceCanAccessPeer), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceCanAccessPeer */ {__pyx_k_cuDeviceComputeCapability, sizeof(__pyx_k_cuDeviceComputeCapability), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceComputeCapability */ {__pyx_k_cuDeviceGet, sizeof(__pyx_k_cuDeviceGet), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGet */ {__pyx_k_cuDeviceGetAttribute, sizeof(__pyx_k_cuDeviceGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetAttribute */ {__pyx_k_cuDeviceGetByPCIBusId, sizeof(__pyx_k_cuDeviceGetByPCIBusId), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetByPCIBusId */ {__pyx_k_cuDeviceGetCount, sizeof(__pyx_k_cuDeviceGetCount), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetCount */ {__pyx_k_cuDeviceGetDefaultMemPool, sizeof(__pyx_k_cuDeviceGetDefaultMemPool), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetDefaultMemPool */ {__pyx_k_cuDeviceGetDevResource, sizeof(__pyx_k_cuDeviceGetDevResource), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetDevResource */ {__pyx_k_cuDeviceGetExecAffinitySupport, sizeof(__pyx_k_cuDeviceGetExecAffinitySupport), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetExecAffinitySupport */ {__pyx_k_cuDeviceGetGraphMemAttribute, sizeof(__pyx_k_cuDeviceGetGraphMemAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetGraphMemAttribute */ {__pyx_k_cuDeviceGetLuid, sizeof(__pyx_k_cuDeviceGetLuid), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetLuid */ {__pyx_k_cuDeviceGetMemPool, sizeof(__pyx_k_cuDeviceGetMemPool), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetMemPool */ {__pyx_k_cuDeviceGetName, sizeof(__pyx_k_cuDeviceGetName), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetName */ {__pyx_k_cuDeviceGetNvSciSyncAttributes, sizeof(__pyx_k_cuDeviceGetNvSciSyncAttributes), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetNvSciSyncAttributes */ {__pyx_k_cuDeviceGetP2PAttribute, sizeof(__pyx_k_cuDeviceGetP2PAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetP2PAttribute */ {__pyx_k_cuDeviceGetPCIBusId, sizeof(__pyx_k_cuDeviceGetPCIBusId), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetPCIBusId */ {__pyx_k_cuDeviceGetProperties, sizeof(__pyx_k_cuDeviceGetProperties), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetProperties */ {__pyx_k_cuDeviceGetTexture1DLinearMaxW, sizeof(__pyx_k_cuDeviceGetTexture1DLinearMaxW), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetTexture1DLinearMaxW */ {__pyx_k_cuDeviceGetUuid, sizeof(__pyx_k_cuDeviceGetUuid), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetUuid */ {__pyx_k_cuDeviceGetUuid_v2, sizeof(__pyx_k_cuDeviceGetUuid_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGetUuid_v2 */ {__pyx_k_cuDeviceGraphMemTrim, sizeof(__pyx_k_cuDeviceGraphMemTrim), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceGraphMemTrim */ {__pyx_k_cuDevicePrimaryCtxGetState, sizeof(__pyx_k_cuDevicePrimaryCtxGetState), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDevicePrimaryCtxGetState */ {__pyx_k_cuDevicePrimaryCtxRelease_v2, sizeof(__pyx_k_cuDevicePrimaryCtxRelease_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDevicePrimaryCtxRelease_v2 */ {__pyx_k_cuDevicePrimaryCtxReset_v2, sizeof(__pyx_k_cuDevicePrimaryCtxReset_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDevicePrimaryCtxReset_v2 */ {__pyx_k_cuDevicePrimaryCtxRetain, sizeof(__pyx_k_cuDevicePrimaryCtxRetain), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDevicePrimaryCtxRetain */ {__pyx_k_cuDevicePrimaryCtxSetFlags_v2, sizeof(__pyx_k_cuDevicePrimaryCtxSetFlags_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDevicePrimaryCtxSetFlags_v2 */ {__pyx_k_cuDeviceRegisterAsyncNotificat, sizeof(__pyx_k_cuDeviceRegisterAsyncNotificat), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceRegisterAsyncNotificat */ {__pyx_k_cuDeviceSetGraphMemAttribute, sizeof(__pyx_k_cuDeviceSetGraphMemAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceSetGraphMemAttribute */ {__pyx_k_cuDeviceSetMemPool, sizeof(__pyx_k_cuDeviceSetMemPool), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceSetMemPool */ {__pyx_k_cuDeviceTotalMem_v2, sizeof(__pyx_k_cuDeviceTotalMem_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceTotalMem_v2 */ {__pyx_k_cuDeviceUnregisterAsyncNotific, sizeof(__pyx_k_cuDeviceUnregisterAsyncNotific), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDeviceUnregisterAsyncNotific */ {__pyx_k_cuDriverGetVersion, sizeof(__pyx_k_cuDriverGetVersion), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuDriverGetVersion */ {__pyx_k_cuEGLStreamConsumerAcquireFram, sizeof(__pyx_k_cuEGLStreamConsumerAcquireFram), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamConsumerAcquireFram */ {__pyx_k_cuEGLStreamConsumerConnect, sizeof(__pyx_k_cuEGLStreamConsumerConnect), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamConsumerConnect */ {__pyx_k_cuEGLStreamConsumerConnectWith, sizeof(__pyx_k_cuEGLStreamConsumerConnectWith), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamConsumerConnectWith */ {__pyx_k_cuEGLStreamConsumerDisconnect, sizeof(__pyx_k_cuEGLStreamConsumerDisconnect), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamConsumerDisconnect */ {__pyx_k_cuEGLStreamConsumerReleaseFram, sizeof(__pyx_k_cuEGLStreamConsumerReleaseFram), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamConsumerReleaseFram */ {__pyx_k_cuEGLStreamProducerConnect, sizeof(__pyx_k_cuEGLStreamProducerConnect), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamProducerConnect */ {__pyx_k_cuEGLStreamProducerDisconnect, sizeof(__pyx_k_cuEGLStreamProducerDisconnect), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamProducerDisconnect */ {__pyx_k_cuEGLStreamProducerPresentFram, sizeof(__pyx_k_cuEGLStreamProducerPresentFram), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamProducerPresentFram */ {__pyx_k_cuEGLStreamProducerReturnFrame, sizeof(__pyx_k_cuEGLStreamProducerReturnFrame), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEGLStreamProducerReturnFrame */ {__pyx_k_cuEventCreate, sizeof(__pyx_k_cuEventCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventCreate */ {__pyx_k_cuEventCreateFromEGLSync, sizeof(__pyx_k_cuEventCreateFromEGLSync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventCreateFromEGLSync */ {__pyx_k_cuEventDestroy_v2, sizeof(__pyx_k_cuEventDestroy_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventDestroy_v2 */ {__pyx_k_cuEventElapsedTime, sizeof(__pyx_k_cuEventElapsedTime), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventElapsedTime */ {__pyx_k_cuEventElapsedTime_v2, sizeof(__pyx_k_cuEventElapsedTime_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventElapsedTime_v2 */ {__pyx_k_cuEventQuery, sizeof(__pyx_k_cuEventQuery), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventQuery */ {__pyx_k_cuEventRecord, sizeof(__pyx_k_cuEventRecord), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventRecord */ {__pyx_k_cuEventRecordWithFlags, sizeof(__pyx_k_cuEventRecordWithFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventRecordWithFlags */ {__pyx_k_cuEventSynchronize, sizeof(__pyx_k_cuEventSynchronize), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuEventSynchronize */ {__pyx_k_cuExternalMemoryGetMappedBuffe, sizeof(__pyx_k_cuExternalMemoryGetMappedBuffe), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuExternalMemoryGetMappedBuffe */ {__pyx_k_cuExternalMemoryGetMappedMipma, sizeof(__pyx_k_cuExternalMemoryGetMappedMipma), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuExternalMemoryGetMappedMipma */ {__pyx_k_cuFlushGPUDirectRDMAWrites, sizeof(__pyx_k_cuFlushGPUDirectRDMAWrites), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFlushGPUDirectRDMAWrites */ {__pyx_k_cuFuncGetAttribute, sizeof(__pyx_k_cuFuncGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncGetAttribute */ {__pyx_k_cuFuncGetModule, sizeof(__pyx_k_cuFuncGetModule), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncGetModule */ {__pyx_k_cuFuncGetName, sizeof(__pyx_k_cuFuncGetName), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncGetName */ {__pyx_k_cuFuncGetParamInfo, sizeof(__pyx_k_cuFuncGetParamInfo), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncGetParamInfo */ {__pyx_k_cuFuncIsLoaded, sizeof(__pyx_k_cuFuncIsLoaded), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncIsLoaded */ {__pyx_k_cuFuncLoad, sizeof(__pyx_k_cuFuncLoad), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncLoad */ {__pyx_k_cuFuncSetAttribute, sizeof(__pyx_k_cuFuncSetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncSetAttribute */ {__pyx_k_cuFuncSetBlockShape, sizeof(__pyx_k_cuFuncSetBlockShape), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncSetBlockShape */ {__pyx_k_cuFuncSetCacheConfig, sizeof(__pyx_k_cuFuncSetCacheConfig), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncSetCacheConfig */ {__pyx_k_cuFuncSetSharedMemConfig, sizeof(__pyx_k_cuFuncSetSharedMemConfig), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncSetSharedMemConfig */ {__pyx_k_cuFuncSetSharedSize, sizeof(__pyx_k_cuFuncSetSharedSize), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuFuncSetSharedSize */ {__pyx_k_cuGLGetDevices_v2, sizeof(__pyx_k_cuGLGetDevices_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGLGetDevices_v2 */ {__pyx_k_cuGetErrorName, sizeof(__pyx_k_cuGetErrorName), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGetErrorName */ {__pyx_k_cuGetErrorString, sizeof(__pyx_k_cuGetErrorString), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGetErrorString */ {__pyx_k_cuGetExportTable, sizeof(__pyx_k_cuGetExportTable), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGetExportTable */ {__pyx_k_cuGetProcAddress_v2, sizeof(__pyx_k_cuGetProcAddress_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGetProcAddress_v2 */ {__pyx_k_cuGraphAddBatchMemOpNode, sizeof(__pyx_k_cuGraphAddBatchMemOpNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddBatchMemOpNode */ {__pyx_k_cuGraphAddChildGraphNode, sizeof(__pyx_k_cuGraphAddChildGraphNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddChildGraphNode */ {__pyx_k_cuGraphAddDependencies, sizeof(__pyx_k_cuGraphAddDependencies), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddDependencies */ {__pyx_k_cuGraphAddDependencies_v2, sizeof(__pyx_k_cuGraphAddDependencies_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddDependencies_v2 */ {__pyx_k_cuGraphAddEmptyNode, sizeof(__pyx_k_cuGraphAddEmptyNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddEmptyNode */ {__pyx_k_cuGraphAddEventRecordNode, sizeof(__pyx_k_cuGraphAddEventRecordNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddEventRecordNode */ {__pyx_k_cuGraphAddEventWaitNode, sizeof(__pyx_k_cuGraphAddEventWaitNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddEventWaitNode */ {__pyx_k_cuGraphAddExternalSemaphoresSi, sizeof(__pyx_k_cuGraphAddExternalSemaphoresSi), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddExternalSemaphoresSi */ {__pyx_k_cuGraphAddExternalSemaphoresWa, sizeof(__pyx_k_cuGraphAddExternalSemaphoresWa), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddExternalSemaphoresWa */ {__pyx_k_cuGraphAddHostNode, sizeof(__pyx_k_cuGraphAddHostNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddHostNode */ {__pyx_k_cuGraphAddKernelNode_v2, sizeof(__pyx_k_cuGraphAddKernelNode_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddKernelNode_v2 */ {__pyx_k_cuGraphAddMemAllocNode, sizeof(__pyx_k_cuGraphAddMemAllocNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddMemAllocNode */ {__pyx_k_cuGraphAddMemFreeNode, sizeof(__pyx_k_cuGraphAddMemFreeNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddMemFreeNode */ {__pyx_k_cuGraphAddMemcpyNode, sizeof(__pyx_k_cuGraphAddMemcpyNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddMemcpyNode */ {__pyx_k_cuGraphAddMemsetNode, sizeof(__pyx_k_cuGraphAddMemsetNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddMemsetNode */ {__pyx_k_cuGraphAddNode, sizeof(__pyx_k_cuGraphAddNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddNode */ {__pyx_k_cuGraphAddNode_v2, sizeof(__pyx_k_cuGraphAddNode_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphAddNode_v2 */ {__pyx_k_cuGraphBatchMemOpNodeGetParams, sizeof(__pyx_k_cuGraphBatchMemOpNodeGetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphBatchMemOpNodeGetParams */ {__pyx_k_cuGraphBatchMemOpNodeSetParams, sizeof(__pyx_k_cuGraphBatchMemOpNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphBatchMemOpNodeSetParams */ {__pyx_k_cuGraphChildGraphNodeGetGraph, sizeof(__pyx_k_cuGraphChildGraphNodeGetGraph), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphChildGraphNodeGetGraph */ {__pyx_k_cuGraphClone, sizeof(__pyx_k_cuGraphClone), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphClone */ {__pyx_k_cuGraphConditionalHandleCreate, sizeof(__pyx_k_cuGraphConditionalHandleCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphConditionalHandleCreate */ {__pyx_k_cuGraphCreate, sizeof(__pyx_k_cuGraphCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphCreate */ {__pyx_k_cuGraphDebugDotPrint, sizeof(__pyx_k_cuGraphDebugDotPrint), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphDebugDotPrint */ {__pyx_k_cuGraphDestroy, sizeof(__pyx_k_cuGraphDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphDestroy */ {__pyx_k_cuGraphDestroyNode, sizeof(__pyx_k_cuGraphDestroyNode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphDestroyNode */ {__pyx_k_cuGraphEventRecordNodeGetEvent, sizeof(__pyx_k_cuGraphEventRecordNodeGetEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphEventRecordNodeGetEvent */ {__pyx_k_cuGraphEventRecordNodeSetEvent, sizeof(__pyx_k_cuGraphEventRecordNodeSetEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphEventRecordNodeSetEvent */ {__pyx_k_cuGraphEventWaitNodeGetEvent, sizeof(__pyx_k_cuGraphEventWaitNodeGetEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphEventWaitNodeGetEvent */ {__pyx_k_cuGraphEventWaitNodeSetEvent, sizeof(__pyx_k_cuGraphEventWaitNodeSetEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphEventWaitNodeSetEvent */ {__pyx_k_cuGraphExecBatchMemOpNodeSetPa, sizeof(__pyx_k_cuGraphExecBatchMemOpNodeSetPa), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecBatchMemOpNodeSetPa */ {__pyx_k_cuGraphExecChildGraphNodeSetPa, sizeof(__pyx_k_cuGraphExecChildGraphNodeSetPa), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecChildGraphNodeSetPa */ {__pyx_k_cuGraphExecDestroy, sizeof(__pyx_k_cuGraphExecDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecDestroy */ {__pyx_k_cuGraphExecEventRecordNodeSetE, sizeof(__pyx_k_cuGraphExecEventRecordNodeSetE), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecEventRecordNodeSetE */ {__pyx_k_cuGraphExecEventWaitNodeSetEve, sizeof(__pyx_k_cuGraphExecEventWaitNodeSetEve), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecEventWaitNodeSetEve */ {__pyx_k_cuGraphExecExternalSemaphoresS, sizeof(__pyx_k_cuGraphExecExternalSemaphoresS), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecExternalSemaphoresS */ {__pyx_k_cuGraphExecExternalSemaphoresW, sizeof(__pyx_k_cuGraphExecExternalSemaphoresW), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecExternalSemaphoresW */ {__pyx_k_cuGraphExecGetFlags, sizeof(__pyx_k_cuGraphExecGetFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecGetFlags */ {__pyx_k_cuGraphExecHostNodeSetParams, sizeof(__pyx_k_cuGraphExecHostNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecHostNodeSetParams */ {__pyx_k_cuGraphExecKernelNodeSetParams, sizeof(__pyx_k_cuGraphExecKernelNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecKernelNodeSetParams */ {__pyx_k_cuGraphExecMemcpyNodeSetParams, sizeof(__pyx_k_cuGraphExecMemcpyNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecMemcpyNodeSetParams */ {__pyx_k_cuGraphExecMemsetNodeSetParams, sizeof(__pyx_k_cuGraphExecMemsetNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecMemsetNodeSetParams */ {__pyx_k_cuGraphExecNodeSetParams, sizeof(__pyx_k_cuGraphExecNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecNodeSetParams */ {__pyx_k_cuGraphExecUpdate_v2, sizeof(__pyx_k_cuGraphExecUpdate_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExecUpdate_v2 */ {__pyx_k_cuGraphExternalSemaphoresSigna, sizeof(__pyx_k_cuGraphExternalSemaphoresSigna), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExternalSemaphoresSigna */ {__pyx_k_cuGraphExternalSemaphoresSigna_2, sizeof(__pyx_k_cuGraphExternalSemaphoresSigna_2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExternalSemaphoresSigna_2 */ {__pyx_k_cuGraphExternalSemaphoresWaitN, sizeof(__pyx_k_cuGraphExternalSemaphoresWaitN), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExternalSemaphoresWaitN */ {__pyx_k_cuGraphExternalSemaphoresWaitN_2, sizeof(__pyx_k_cuGraphExternalSemaphoresWaitN_2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphExternalSemaphoresWaitN_2 */ {__pyx_k_cuGraphGetEdges, sizeof(__pyx_k_cuGraphGetEdges), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphGetEdges */ {__pyx_k_cuGraphGetEdges_v2, sizeof(__pyx_k_cuGraphGetEdges_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphGetEdges_v2 */ {__pyx_k_cuGraphGetNodes, sizeof(__pyx_k_cuGraphGetNodes), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphGetNodes */ {__pyx_k_cuGraphGetRootNodes, sizeof(__pyx_k_cuGraphGetRootNodes), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphGetRootNodes */ {__pyx_k_cuGraphHostNodeGetParams, sizeof(__pyx_k_cuGraphHostNodeGetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphHostNodeGetParams */ {__pyx_k_cuGraphHostNodeSetParams, sizeof(__pyx_k_cuGraphHostNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphHostNodeSetParams */ {__pyx_k_cuGraphInstantiateWithFlags, sizeof(__pyx_k_cuGraphInstantiateWithFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphInstantiateWithFlags */ {__pyx_k_cuGraphInstantiateWithParams, sizeof(__pyx_k_cuGraphInstantiateWithParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphInstantiateWithParams */ {__pyx_k_cuGraphKernelNodeCopyAttribute, sizeof(__pyx_k_cuGraphKernelNodeCopyAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphKernelNodeCopyAttribute */ {__pyx_k_cuGraphKernelNodeGetAttribute, sizeof(__pyx_k_cuGraphKernelNodeGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphKernelNodeGetAttribute */ {__pyx_k_cuGraphKernelNodeGetParams_v2, sizeof(__pyx_k_cuGraphKernelNodeGetParams_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphKernelNodeGetParams_v2 */ {__pyx_k_cuGraphKernelNodeSetAttribute, sizeof(__pyx_k_cuGraphKernelNodeSetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphKernelNodeSetAttribute */ {__pyx_k_cuGraphKernelNodeSetParams_v2, sizeof(__pyx_k_cuGraphKernelNodeSetParams_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphKernelNodeSetParams_v2 */ {__pyx_k_cuGraphLaunch, sizeof(__pyx_k_cuGraphLaunch), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphLaunch */ {__pyx_k_cuGraphMemAllocNodeGetParams, sizeof(__pyx_k_cuGraphMemAllocNodeGetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphMemAllocNodeGetParams */ {__pyx_k_cuGraphMemFreeNodeGetParams, sizeof(__pyx_k_cuGraphMemFreeNodeGetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphMemFreeNodeGetParams */ {__pyx_k_cuGraphMemcpyNodeGetParams, sizeof(__pyx_k_cuGraphMemcpyNodeGetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphMemcpyNodeGetParams */ {__pyx_k_cuGraphMemcpyNodeSetParams, sizeof(__pyx_k_cuGraphMemcpyNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphMemcpyNodeSetParams */ {__pyx_k_cuGraphMemsetNodeGetParams, sizeof(__pyx_k_cuGraphMemsetNodeGetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphMemsetNodeGetParams */ {__pyx_k_cuGraphMemsetNodeSetParams, sizeof(__pyx_k_cuGraphMemsetNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphMemsetNodeSetParams */ {__pyx_k_cuGraphNodeFindInClone, sizeof(__pyx_k_cuGraphNodeFindInClone), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeFindInClone */ {__pyx_k_cuGraphNodeGetDependencies, sizeof(__pyx_k_cuGraphNodeGetDependencies), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeGetDependencies */ {__pyx_k_cuGraphNodeGetDependencies_v2, sizeof(__pyx_k_cuGraphNodeGetDependencies_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeGetDependencies_v2 */ {__pyx_k_cuGraphNodeGetDependentNodes, sizeof(__pyx_k_cuGraphNodeGetDependentNodes), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeGetDependentNodes */ {__pyx_k_cuGraphNodeGetDependentNodes_v, sizeof(__pyx_k_cuGraphNodeGetDependentNodes_v), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeGetDependentNodes_v */ {__pyx_k_cuGraphNodeGetEnabled, sizeof(__pyx_k_cuGraphNodeGetEnabled), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeGetEnabled */ {__pyx_k_cuGraphNodeGetType, sizeof(__pyx_k_cuGraphNodeGetType), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeGetType */ {__pyx_k_cuGraphNodeSetEnabled, sizeof(__pyx_k_cuGraphNodeSetEnabled), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeSetEnabled */ {__pyx_k_cuGraphNodeSetParams, sizeof(__pyx_k_cuGraphNodeSetParams), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphNodeSetParams */ {__pyx_k_cuGraphReleaseUserObject, sizeof(__pyx_k_cuGraphReleaseUserObject), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphReleaseUserObject */ {__pyx_k_cuGraphRemoveDependencies, sizeof(__pyx_k_cuGraphRemoveDependencies), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphRemoveDependencies */ {__pyx_k_cuGraphRemoveDependencies_v2, sizeof(__pyx_k_cuGraphRemoveDependencies_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphRemoveDependencies_v2 */ {__pyx_k_cuGraphRetainUserObject, sizeof(__pyx_k_cuGraphRetainUserObject), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphRetainUserObject */ {__pyx_k_cuGraphUpload, sizeof(__pyx_k_cuGraphUpload), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphUpload */ {__pyx_k_cuGraphicsEGLRegisterImage, sizeof(__pyx_k_cuGraphicsEGLRegisterImage), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsEGLRegisterImage */ {__pyx_k_cuGraphicsGLRegisterBuffer, sizeof(__pyx_k_cuGraphicsGLRegisterBuffer), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsGLRegisterBuffer */ {__pyx_k_cuGraphicsGLRegisterImage, sizeof(__pyx_k_cuGraphicsGLRegisterImage), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsGLRegisterImage */ {__pyx_k_cuGraphicsMapResources, sizeof(__pyx_k_cuGraphicsMapResources), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsMapResources */ {__pyx_k_cuGraphicsResourceGetMappedEgl, sizeof(__pyx_k_cuGraphicsResourceGetMappedEgl), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsResourceGetMappedEgl */ {__pyx_k_cuGraphicsResourceGetMappedMip, sizeof(__pyx_k_cuGraphicsResourceGetMappedMip), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsResourceGetMappedMip */ {__pyx_k_cuGraphicsResourceGetMappedPoi, sizeof(__pyx_k_cuGraphicsResourceGetMappedPoi), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsResourceGetMappedPoi */ {__pyx_k_cuGraphicsResourceSetMapFlags, sizeof(__pyx_k_cuGraphicsResourceSetMapFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsResourceSetMapFlags */ {__pyx_k_cuGraphicsSubResourceGetMapped, sizeof(__pyx_k_cuGraphicsSubResourceGetMapped), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsSubResourceGetMapped */ {__pyx_k_cuGraphicsUnmapResources, sizeof(__pyx_k_cuGraphicsUnmapResources), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsUnmapResources */ {__pyx_k_cuGraphicsUnregisterResource, sizeof(__pyx_k_cuGraphicsUnregisterResource), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsUnregisterResource */ {__pyx_k_cuGraphicsVDPAURegisterOutputS, sizeof(__pyx_k_cuGraphicsVDPAURegisterOutputS), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsVDPAURegisterOutputS */ {__pyx_k_cuGraphicsVDPAURegisterVideoSu, sizeof(__pyx_k_cuGraphicsVDPAURegisterVideoSu), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGraphicsVDPAURegisterVideoSu */ {__pyx_k_cuGreenCtxCreate, sizeof(__pyx_k_cuGreenCtxCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGreenCtxCreate */ {__pyx_k_cuGreenCtxDestroy, sizeof(__pyx_k_cuGreenCtxDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGreenCtxDestroy */ {__pyx_k_cuGreenCtxGetDevResource, sizeof(__pyx_k_cuGreenCtxGetDevResource), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGreenCtxGetDevResource */ {__pyx_k_cuGreenCtxRecordEvent, sizeof(__pyx_k_cuGreenCtxRecordEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGreenCtxRecordEvent */ {__pyx_k_cuGreenCtxStreamCreate, sizeof(__pyx_k_cuGreenCtxStreamCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGreenCtxStreamCreate */ {__pyx_k_cuGreenCtxWaitEvent, sizeof(__pyx_k_cuGreenCtxWaitEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuGreenCtxWaitEvent */ {__pyx_k_cuImportExternalMemory, sizeof(__pyx_k_cuImportExternalMemory), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuImportExternalMemory */ {__pyx_k_cuImportExternalSemaphore, sizeof(__pyx_k_cuImportExternalSemaphore), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuImportExternalSemaphore */ {__pyx_k_cuInit, sizeof(__pyx_k_cuInit), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuInit */ {__pyx_k_cuIpcCloseMemHandle, sizeof(__pyx_k_cuIpcCloseMemHandle), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuIpcCloseMemHandle */ {__pyx_k_cuIpcGetEventHandle, sizeof(__pyx_k_cuIpcGetEventHandle), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuIpcGetEventHandle */ {__pyx_k_cuIpcGetMemHandle, sizeof(__pyx_k_cuIpcGetMemHandle), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuIpcGetMemHandle */ {__pyx_k_cuIpcOpenEventHandle, sizeof(__pyx_k_cuIpcOpenEventHandle), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuIpcOpenEventHandle */ {__pyx_k_cuIpcOpenMemHandle_v2, sizeof(__pyx_k_cuIpcOpenMemHandle_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuIpcOpenMemHandle_v2 */ {__pyx_k_cuKernelGetAttribute, sizeof(__pyx_k_cuKernelGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuKernelGetAttribute */ {__pyx_k_cuKernelGetFunction, sizeof(__pyx_k_cuKernelGetFunction), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuKernelGetFunction */ {__pyx_k_cuKernelGetLibrary, sizeof(__pyx_k_cuKernelGetLibrary), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuKernelGetLibrary */ {__pyx_k_cuKernelGetName, sizeof(__pyx_k_cuKernelGetName), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuKernelGetName */ {__pyx_k_cuKernelGetParamInfo, sizeof(__pyx_k_cuKernelGetParamInfo), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuKernelGetParamInfo */ {__pyx_k_cuKernelSetAttribute, sizeof(__pyx_k_cuKernelSetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuKernelSetAttribute */ {__pyx_k_cuKernelSetCacheConfig, sizeof(__pyx_k_cuKernelSetCacheConfig), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuKernelSetCacheConfig */ {__pyx_k_cuLaunch, sizeof(__pyx_k_cuLaunch), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunch */ {__pyx_k_cuLaunchCooperativeKernel, sizeof(__pyx_k_cuLaunchCooperativeKernel), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunchCooperativeKernel */ {__pyx_k_cuLaunchCooperativeKernelMulti, sizeof(__pyx_k_cuLaunchCooperativeKernelMulti), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunchCooperativeKernelMulti */ {__pyx_k_cuLaunchGrid, sizeof(__pyx_k_cuLaunchGrid), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunchGrid */ {__pyx_k_cuLaunchGridAsync, sizeof(__pyx_k_cuLaunchGridAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunchGridAsync */ {__pyx_k_cuLaunchHostFunc, sizeof(__pyx_k_cuLaunchHostFunc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunchHostFunc */ {__pyx_k_cuLaunchKernel, sizeof(__pyx_k_cuLaunchKernel), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunchKernel */ {__pyx_k_cuLaunchKernelEx, sizeof(__pyx_k_cuLaunchKernelEx), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLaunchKernelEx */ {__pyx_k_cuLibraryEnumerateKernels, sizeof(__pyx_k_cuLibraryEnumerateKernels), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryEnumerateKernels */ {__pyx_k_cuLibraryGetGlobal, sizeof(__pyx_k_cuLibraryGetGlobal), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryGetGlobal */ {__pyx_k_cuLibraryGetKernel, sizeof(__pyx_k_cuLibraryGetKernel), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryGetKernel */ {__pyx_k_cuLibraryGetKernelCount, sizeof(__pyx_k_cuLibraryGetKernelCount), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryGetKernelCount */ {__pyx_k_cuLibraryGetManaged, sizeof(__pyx_k_cuLibraryGetManaged), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryGetManaged */ {__pyx_k_cuLibraryGetModule, sizeof(__pyx_k_cuLibraryGetModule), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryGetModule */ {__pyx_k_cuLibraryGetUnifiedFunction, sizeof(__pyx_k_cuLibraryGetUnifiedFunction), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryGetUnifiedFunction */ {__pyx_k_cuLibraryLoadData, sizeof(__pyx_k_cuLibraryLoadData), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryLoadData */ {__pyx_k_cuLibraryLoadFromFile, sizeof(__pyx_k_cuLibraryLoadFromFile), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryLoadFromFile */ {__pyx_k_cuLibraryUnload, sizeof(__pyx_k_cuLibraryUnload), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLibraryUnload */ {__pyx_k_cuLinkAddData_v2, sizeof(__pyx_k_cuLinkAddData_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLinkAddData_v2 */ {__pyx_k_cuLinkAddFile_v2, sizeof(__pyx_k_cuLinkAddFile_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLinkAddFile_v2 */ {__pyx_k_cuLinkComplete, sizeof(__pyx_k_cuLinkComplete), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLinkComplete */ {__pyx_k_cuLinkCreate_v2, sizeof(__pyx_k_cuLinkCreate_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLinkCreate_v2 */ {__pyx_k_cuLinkDestroy, sizeof(__pyx_k_cuLinkDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLinkDestroy */ {__pyx_k_cuLogsCurrent, sizeof(__pyx_k_cuLogsCurrent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLogsCurrent */ {__pyx_k_cuLogsDumpToFile, sizeof(__pyx_k_cuLogsDumpToFile), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLogsDumpToFile */ {__pyx_k_cuLogsDumpToMemory, sizeof(__pyx_k_cuLogsDumpToMemory), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLogsDumpToMemory */ {__pyx_k_cuLogsRegisterCallback, sizeof(__pyx_k_cuLogsRegisterCallback), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLogsRegisterCallback */ {__pyx_k_cuLogsUnregisterCallback, sizeof(__pyx_k_cuLogsUnregisterCallback), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuLogsUnregisterCallback */ {__pyx_k_cuMemAddressFree, sizeof(__pyx_k_cuMemAddressFree), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAddressFree */ {__pyx_k_cuMemAddressReserve, sizeof(__pyx_k_cuMemAddressReserve), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAddressReserve */ {__pyx_k_cuMemAdvise, sizeof(__pyx_k_cuMemAdvise), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAdvise */ {__pyx_k_cuMemAdvise_v2, sizeof(__pyx_k_cuMemAdvise_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAdvise_v2 */ {__pyx_k_cuMemAllocAsync, sizeof(__pyx_k_cuMemAllocAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAllocAsync */ {__pyx_k_cuMemAllocFromPoolAsync, sizeof(__pyx_k_cuMemAllocFromPoolAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAllocFromPoolAsync */ {__pyx_k_cuMemAllocHost_v2, sizeof(__pyx_k_cuMemAllocHost_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAllocHost_v2 */ {__pyx_k_cuMemAllocManaged, sizeof(__pyx_k_cuMemAllocManaged), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAllocManaged */ {__pyx_k_cuMemAllocPitch_v2, sizeof(__pyx_k_cuMemAllocPitch_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAllocPitch_v2 */ {__pyx_k_cuMemAlloc_v2, sizeof(__pyx_k_cuMemAlloc_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemAlloc_v2 */ {__pyx_k_cuMemBatchDecompressAsync, sizeof(__pyx_k_cuMemBatchDecompressAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemBatchDecompressAsync */ {__pyx_k_cuMemCreate, sizeof(__pyx_k_cuMemCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemCreate */ {__pyx_k_cuMemExportToShareableHandle, sizeof(__pyx_k_cuMemExportToShareableHandle), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemExportToShareableHandle */ {__pyx_k_cuMemFreeAsync, sizeof(__pyx_k_cuMemFreeAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemFreeAsync */ {__pyx_k_cuMemFreeHost, sizeof(__pyx_k_cuMemFreeHost), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemFreeHost */ {__pyx_k_cuMemFree_v2, sizeof(__pyx_k_cuMemFree_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemFree_v2 */ {__pyx_k_cuMemGetAccess, sizeof(__pyx_k_cuMemGetAccess), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemGetAccess */ {__pyx_k_cuMemGetAddressRange_v2, sizeof(__pyx_k_cuMemGetAddressRange_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemGetAddressRange_v2 */ {__pyx_k_cuMemGetAllocationGranularity, sizeof(__pyx_k_cuMemGetAllocationGranularity), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemGetAllocationGranularity */ {__pyx_k_cuMemGetAllocationPropertiesFr, sizeof(__pyx_k_cuMemGetAllocationPropertiesFr), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemGetAllocationPropertiesFr */ {__pyx_k_cuMemGetHandleForAddressRange, sizeof(__pyx_k_cuMemGetHandleForAddressRange), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemGetHandleForAddressRange */ {__pyx_k_cuMemGetInfo_v2, sizeof(__pyx_k_cuMemGetInfo_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemGetInfo_v2 */ {__pyx_k_cuMemHostAlloc, sizeof(__pyx_k_cuMemHostAlloc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemHostAlloc */ {__pyx_k_cuMemHostGetDevicePointer_v2, sizeof(__pyx_k_cuMemHostGetDevicePointer_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemHostGetDevicePointer_v2 */ {__pyx_k_cuMemHostGetFlags, sizeof(__pyx_k_cuMemHostGetFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemHostGetFlags */ {__pyx_k_cuMemHostRegister_v2, sizeof(__pyx_k_cuMemHostRegister_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemHostRegister_v2 */ {__pyx_k_cuMemHostUnregister, sizeof(__pyx_k_cuMemHostUnregister), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemHostUnregister */ {__pyx_k_cuMemImportFromShareableHandle, sizeof(__pyx_k_cuMemImportFromShareableHandle), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemImportFromShareableHandle */ {__pyx_k_cuMemMap, sizeof(__pyx_k_cuMemMap), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemMap */ {__pyx_k_cuMemMapArrayAsync, sizeof(__pyx_k_cuMemMapArrayAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemMapArrayAsync */ {__pyx_k_cuMemPoolCreate, sizeof(__pyx_k_cuMemPoolCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolCreate */ {__pyx_k_cuMemPoolDestroy, sizeof(__pyx_k_cuMemPoolDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolDestroy */ {__pyx_k_cuMemPoolExportPointer, sizeof(__pyx_k_cuMemPoolExportPointer), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolExportPointer */ {__pyx_k_cuMemPoolExportToShareableHand, sizeof(__pyx_k_cuMemPoolExportToShareableHand), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolExportToShareableHand */ {__pyx_k_cuMemPoolGetAccess, sizeof(__pyx_k_cuMemPoolGetAccess), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolGetAccess */ {__pyx_k_cuMemPoolGetAttribute, sizeof(__pyx_k_cuMemPoolGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolGetAttribute */ {__pyx_k_cuMemPoolImportFromShareableHa, sizeof(__pyx_k_cuMemPoolImportFromShareableHa), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolImportFromShareableHa */ {__pyx_k_cuMemPoolImportPointer, sizeof(__pyx_k_cuMemPoolImportPointer), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolImportPointer */ {__pyx_k_cuMemPoolSetAccess, sizeof(__pyx_k_cuMemPoolSetAccess), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolSetAccess */ {__pyx_k_cuMemPoolSetAttribute, sizeof(__pyx_k_cuMemPoolSetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolSetAttribute */ {__pyx_k_cuMemPoolTrimTo, sizeof(__pyx_k_cuMemPoolTrimTo), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPoolTrimTo */ {__pyx_k_cuMemPrefetchAsync, sizeof(__pyx_k_cuMemPrefetchAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPrefetchAsync */ {__pyx_k_cuMemPrefetchAsync_v2, sizeof(__pyx_k_cuMemPrefetchAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemPrefetchAsync_v2 */ {__pyx_k_cuMemRangeGetAttribute, sizeof(__pyx_k_cuMemRangeGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemRangeGetAttribute */ {__pyx_k_cuMemRangeGetAttributes, sizeof(__pyx_k_cuMemRangeGetAttributes), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemRangeGetAttributes */ {__pyx_k_cuMemRelease, sizeof(__pyx_k_cuMemRelease), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemRelease */ {__pyx_k_cuMemRetainAllocationHandle, sizeof(__pyx_k_cuMemRetainAllocationHandle), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemRetainAllocationHandle */ {__pyx_k_cuMemSetAccess, sizeof(__pyx_k_cuMemSetAccess), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemSetAccess */ {__pyx_k_cuMemUnmap, sizeof(__pyx_k_cuMemUnmap), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemUnmap */ {__pyx_k_cuMemcpy, sizeof(__pyx_k_cuMemcpy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy */ {__pyx_k_cuMemcpy2DAsync_v2, sizeof(__pyx_k_cuMemcpy2DAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy2DAsync_v2 */ {__pyx_k_cuMemcpy2DUnaligned_v2, sizeof(__pyx_k_cuMemcpy2DUnaligned_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy2DUnaligned_v2 */ {__pyx_k_cuMemcpy2D_v2, sizeof(__pyx_k_cuMemcpy2D_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy2D_v2 */ {__pyx_k_cuMemcpy3DAsync_v2, sizeof(__pyx_k_cuMemcpy3DAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy3DAsync_v2 */ {__pyx_k_cuMemcpy3DBatchAsync, sizeof(__pyx_k_cuMemcpy3DBatchAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy3DBatchAsync */ {__pyx_k_cuMemcpy3DPeer, sizeof(__pyx_k_cuMemcpy3DPeer), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy3DPeer */ {__pyx_k_cuMemcpy3DPeerAsync, sizeof(__pyx_k_cuMemcpy3DPeerAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy3DPeerAsync */ {__pyx_k_cuMemcpy3D_v2, sizeof(__pyx_k_cuMemcpy3D_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpy3D_v2 */ {__pyx_k_cuMemcpyAsync, sizeof(__pyx_k_cuMemcpyAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyAsync */ {__pyx_k_cuMemcpyAtoA_v2, sizeof(__pyx_k_cuMemcpyAtoA_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyAtoA_v2 */ {__pyx_k_cuMemcpyAtoD_v2, sizeof(__pyx_k_cuMemcpyAtoD_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyAtoD_v2 */ {__pyx_k_cuMemcpyAtoHAsync_v2, sizeof(__pyx_k_cuMemcpyAtoHAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyAtoHAsync_v2 */ {__pyx_k_cuMemcpyAtoH_v2, sizeof(__pyx_k_cuMemcpyAtoH_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyAtoH_v2 */ {__pyx_k_cuMemcpyBatchAsync, sizeof(__pyx_k_cuMemcpyBatchAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyBatchAsync */ {__pyx_k_cuMemcpyDtoA_v2, sizeof(__pyx_k_cuMemcpyDtoA_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyDtoA_v2 */ {__pyx_k_cuMemcpyDtoDAsync_v2, sizeof(__pyx_k_cuMemcpyDtoDAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyDtoDAsync_v2 */ {__pyx_k_cuMemcpyDtoD_v2, sizeof(__pyx_k_cuMemcpyDtoD_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyDtoD_v2 */ {__pyx_k_cuMemcpyDtoHAsync_v2, sizeof(__pyx_k_cuMemcpyDtoHAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyDtoHAsync_v2 */ {__pyx_k_cuMemcpyDtoH_v2, sizeof(__pyx_k_cuMemcpyDtoH_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyDtoH_v2 */ {__pyx_k_cuMemcpyHtoAAsync_v2, sizeof(__pyx_k_cuMemcpyHtoAAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyHtoAAsync_v2 */ {__pyx_k_cuMemcpyHtoA_v2, sizeof(__pyx_k_cuMemcpyHtoA_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyHtoA_v2 */ {__pyx_k_cuMemcpyHtoDAsync_v2, sizeof(__pyx_k_cuMemcpyHtoDAsync_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyHtoDAsync_v2 */ {__pyx_k_cuMemcpyHtoD_v2, sizeof(__pyx_k_cuMemcpyHtoD_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyHtoD_v2 */ {__pyx_k_cuMemcpyPeer, sizeof(__pyx_k_cuMemcpyPeer), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyPeer */ {__pyx_k_cuMemcpyPeerAsync, sizeof(__pyx_k_cuMemcpyPeerAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemcpyPeerAsync */ {__pyx_k_cuMemsetD16Async, sizeof(__pyx_k_cuMemsetD16Async), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD16Async */ {__pyx_k_cuMemsetD16_v2, sizeof(__pyx_k_cuMemsetD16_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD16_v2 */ {__pyx_k_cuMemsetD2D16Async, sizeof(__pyx_k_cuMemsetD2D16Async), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD2D16Async */ {__pyx_k_cuMemsetD2D16_v2, sizeof(__pyx_k_cuMemsetD2D16_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD2D16_v2 */ {__pyx_k_cuMemsetD2D32Async, sizeof(__pyx_k_cuMemsetD2D32Async), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD2D32Async */ {__pyx_k_cuMemsetD2D32_v2, sizeof(__pyx_k_cuMemsetD2D32_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD2D32_v2 */ {__pyx_k_cuMemsetD2D8Async, sizeof(__pyx_k_cuMemsetD2D8Async), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD2D8Async */ {__pyx_k_cuMemsetD2D8_v2, sizeof(__pyx_k_cuMemsetD2D8_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD2D8_v2 */ {__pyx_k_cuMemsetD32Async, sizeof(__pyx_k_cuMemsetD32Async), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD32Async */ {__pyx_k_cuMemsetD32_v2, sizeof(__pyx_k_cuMemsetD32_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD32_v2 */ {__pyx_k_cuMemsetD8Async, sizeof(__pyx_k_cuMemsetD8Async), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD8Async */ {__pyx_k_cuMemsetD8_v2, sizeof(__pyx_k_cuMemsetD8_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMemsetD8_v2 */ {__pyx_k_cuMipmappedArrayCreate, sizeof(__pyx_k_cuMipmappedArrayCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMipmappedArrayCreate */ {__pyx_k_cuMipmappedArrayDestroy, sizeof(__pyx_k_cuMipmappedArrayDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMipmappedArrayDestroy */ {__pyx_k_cuMipmappedArrayGetLevel, sizeof(__pyx_k_cuMipmappedArrayGetLevel), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMipmappedArrayGetLevel */ {__pyx_k_cuMipmappedArrayGetMemoryRequi, sizeof(__pyx_k_cuMipmappedArrayGetMemoryRequi), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMipmappedArrayGetMemoryRequi */ {__pyx_k_cuMipmappedArrayGetSparsePrope, sizeof(__pyx_k_cuMipmappedArrayGetSparsePrope), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMipmappedArrayGetSparsePrope */ {__pyx_k_cuModuleEnumerateFunctions, sizeof(__pyx_k_cuModuleEnumerateFunctions), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleEnumerateFunctions */ {__pyx_k_cuModuleGetFunction, sizeof(__pyx_k_cuModuleGetFunction), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleGetFunction */ {__pyx_k_cuModuleGetFunctionCount, sizeof(__pyx_k_cuModuleGetFunctionCount), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleGetFunctionCount */ {__pyx_k_cuModuleGetGlobal_v2, sizeof(__pyx_k_cuModuleGetGlobal_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleGetGlobal_v2 */ {__pyx_k_cuModuleGetLoadingMode, sizeof(__pyx_k_cuModuleGetLoadingMode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleGetLoadingMode */ {__pyx_k_cuModuleGetSurfRef, sizeof(__pyx_k_cuModuleGetSurfRef), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleGetSurfRef */ {__pyx_k_cuModuleGetTexRef, sizeof(__pyx_k_cuModuleGetTexRef), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleGetTexRef */ {__pyx_k_cuModuleLoad, sizeof(__pyx_k_cuModuleLoad), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleLoad */ {__pyx_k_cuModuleLoadData, sizeof(__pyx_k_cuModuleLoadData), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleLoadData */ {__pyx_k_cuModuleLoadDataEx, sizeof(__pyx_k_cuModuleLoadDataEx), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleLoadDataEx */ {__pyx_k_cuModuleLoadFatBinary, sizeof(__pyx_k_cuModuleLoadFatBinary), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleLoadFatBinary */ {__pyx_k_cuModuleUnload, sizeof(__pyx_k_cuModuleUnload), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuModuleUnload */ {__pyx_k_cuMulticastAddDevice, sizeof(__pyx_k_cuMulticastAddDevice), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMulticastAddDevice */ {__pyx_k_cuMulticastBindAddr, sizeof(__pyx_k_cuMulticastBindAddr), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMulticastBindAddr */ {__pyx_k_cuMulticastBindMem, sizeof(__pyx_k_cuMulticastBindMem), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMulticastBindMem */ {__pyx_k_cuMulticastCreate, sizeof(__pyx_k_cuMulticastCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMulticastCreate */ {__pyx_k_cuMulticastGetGranularity, sizeof(__pyx_k_cuMulticastGetGranularity), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMulticastGetGranularity */ {__pyx_k_cuMulticastUnbind, sizeof(__pyx_k_cuMulticastUnbind), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuMulticastUnbind */ {__pyx_k_cuOccupancyAvailableDynamicSMe, sizeof(__pyx_k_cuOccupancyAvailableDynamicSMe), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuOccupancyAvailableDynamicSMe */ {__pyx_k_cuOccupancyMaxActiveBlocksPerM, sizeof(__pyx_k_cuOccupancyMaxActiveBlocksPerM), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuOccupancyMaxActiveBlocksPerM */ {__pyx_k_cuOccupancyMaxActiveBlocksPerM_2, sizeof(__pyx_k_cuOccupancyMaxActiveBlocksPerM_2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuOccupancyMaxActiveBlocksPerM_2 */ {__pyx_k_cuOccupancyMaxActiveClusters, sizeof(__pyx_k_cuOccupancyMaxActiveClusters), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuOccupancyMaxActiveClusters */ {__pyx_k_cuOccupancyMaxPotentialBlockSi, sizeof(__pyx_k_cuOccupancyMaxPotentialBlockSi), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuOccupancyMaxPotentialBlockSi */ {__pyx_k_cuOccupancyMaxPotentialBlockSi_2, sizeof(__pyx_k_cuOccupancyMaxPotentialBlockSi_2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuOccupancyMaxPotentialBlockSi_2 */ {__pyx_k_cuOccupancyMaxPotentialCluster, sizeof(__pyx_k_cuOccupancyMaxPotentialCluster), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuOccupancyMaxPotentialCluster */ {__pyx_k_cuParamSetSize, sizeof(__pyx_k_cuParamSetSize), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuParamSetSize */ {__pyx_k_cuParamSetTexRef, sizeof(__pyx_k_cuParamSetTexRef), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuParamSetTexRef */ {__pyx_k_cuParamSetf, sizeof(__pyx_k_cuParamSetf), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuParamSetf */ {__pyx_k_cuParamSeti, sizeof(__pyx_k_cuParamSeti), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuParamSeti */ {__pyx_k_cuParamSetv, sizeof(__pyx_k_cuParamSetv), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuParamSetv */ {__pyx_k_cuPointerGetAttribute, sizeof(__pyx_k_cuPointerGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuPointerGetAttribute */ {__pyx_k_cuPointerGetAttributes, sizeof(__pyx_k_cuPointerGetAttributes), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuPointerGetAttributes */ {__pyx_k_cuPointerSetAttribute, sizeof(__pyx_k_cuPointerSetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuPointerSetAttribute */ {__pyx_k_cuProfilerStart, sizeof(__pyx_k_cuProfilerStart), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuProfilerStart */ {__pyx_k_cuProfilerStop, sizeof(__pyx_k_cuProfilerStop), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuProfilerStop */ {__pyx_k_cuSignalExternalSemaphoresAsyn, sizeof(__pyx_k_cuSignalExternalSemaphoresAsyn), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuSignalExternalSemaphoresAsyn */ {__pyx_k_cuStreamAddCallback, sizeof(__pyx_k_cuStreamAddCallback), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamAddCallback */ {__pyx_k_cuStreamAttachMemAsync, sizeof(__pyx_k_cuStreamAttachMemAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamAttachMemAsync */ {__pyx_k_cuStreamBatchMemOp_v2, sizeof(__pyx_k_cuStreamBatchMemOp_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamBatchMemOp_v2 */ {__pyx_k_cuStreamBeginCaptureToGraph, sizeof(__pyx_k_cuStreamBeginCaptureToGraph), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamBeginCaptureToGraph */ {__pyx_k_cuStreamBeginCapture_v2, sizeof(__pyx_k_cuStreamBeginCapture_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamBeginCapture_v2 */ {__pyx_k_cuStreamCopyAttributes, sizeof(__pyx_k_cuStreamCopyAttributes), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamCopyAttributes */ {__pyx_k_cuStreamCreate, sizeof(__pyx_k_cuStreamCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamCreate */ {__pyx_k_cuStreamCreateWithPriority, sizeof(__pyx_k_cuStreamCreateWithPriority), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamCreateWithPriority */ {__pyx_k_cuStreamDestroy_v2, sizeof(__pyx_k_cuStreamDestroy_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamDestroy_v2 */ {__pyx_k_cuStreamEndCapture, sizeof(__pyx_k_cuStreamEndCapture), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamEndCapture */ {__pyx_k_cuStreamGetAttribute, sizeof(__pyx_k_cuStreamGetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetAttribute */ {__pyx_k_cuStreamGetCaptureInfo_v2, sizeof(__pyx_k_cuStreamGetCaptureInfo_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetCaptureInfo_v2 */ {__pyx_k_cuStreamGetCaptureInfo_v3, sizeof(__pyx_k_cuStreamGetCaptureInfo_v3), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetCaptureInfo_v3 */ {__pyx_k_cuStreamGetCtx, sizeof(__pyx_k_cuStreamGetCtx), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetCtx */ {__pyx_k_cuStreamGetCtx_v2, sizeof(__pyx_k_cuStreamGetCtx_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetCtx_v2 */ {__pyx_k_cuStreamGetDevice, sizeof(__pyx_k_cuStreamGetDevice), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetDevice */ {__pyx_k_cuStreamGetFlags, sizeof(__pyx_k_cuStreamGetFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetFlags */ {__pyx_k_cuStreamGetGreenCtx, sizeof(__pyx_k_cuStreamGetGreenCtx), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetGreenCtx */ {__pyx_k_cuStreamGetId, sizeof(__pyx_k_cuStreamGetId), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetId */ {__pyx_k_cuStreamGetPriority, sizeof(__pyx_k_cuStreamGetPriority), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamGetPriority */ {__pyx_k_cuStreamIsCapturing, sizeof(__pyx_k_cuStreamIsCapturing), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamIsCapturing */ {__pyx_k_cuStreamQuery, sizeof(__pyx_k_cuStreamQuery), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamQuery */ {__pyx_k_cuStreamSetAttribute, sizeof(__pyx_k_cuStreamSetAttribute), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamSetAttribute */ {__pyx_k_cuStreamSynchronize, sizeof(__pyx_k_cuStreamSynchronize), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamSynchronize */ {__pyx_k_cuStreamUpdateCaptureDependenc, sizeof(__pyx_k_cuStreamUpdateCaptureDependenc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamUpdateCaptureDependenc */ {__pyx_k_cuStreamUpdateCaptureDependenc_2, sizeof(__pyx_k_cuStreamUpdateCaptureDependenc_2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamUpdateCaptureDependenc_2 */ {__pyx_k_cuStreamWaitEvent, sizeof(__pyx_k_cuStreamWaitEvent), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamWaitEvent */ {__pyx_k_cuStreamWaitValue32_v2, sizeof(__pyx_k_cuStreamWaitValue32_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamWaitValue32_v2 */ {__pyx_k_cuStreamWaitValue64_v2, sizeof(__pyx_k_cuStreamWaitValue64_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamWaitValue64_v2 */ {__pyx_k_cuStreamWriteValue32_v2, sizeof(__pyx_k_cuStreamWriteValue32_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamWriteValue32_v2 */ {__pyx_k_cuStreamWriteValue64_v2, sizeof(__pyx_k_cuStreamWriteValue64_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuStreamWriteValue64_v2 */ {__pyx_k_cuSurfObjectCreate, sizeof(__pyx_k_cuSurfObjectCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuSurfObjectCreate */ {__pyx_k_cuSurfObjectDestroy, sizeof(__pyx_k_cuSurfObjectDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuSurfObjectDestroy */ {__pyx_k_cuSurfObjectGetResourceDesc, sizeof(__pyx_k_cuSurfObjectGetResourceDesc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuSurfObjectGetResourceDesc */ {__pyx_k_cuSurfRefGetArray, sizeof(__pyx_k_cuSurfRefGetArray), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuSurfRefGetArray */ {__pyx_k_cuSurfRefSetArray, sizeof(__pyx_k_cuSurfRefSetArray), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuSurfRefSetArray */ {__pyx_k_cuTensorMapEncodeIm2col, sizeof(__pyx_k_cuTensorMapEncodeIm2col), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTensorMapEncodeIm2col */ {__pyx_k_cuTensorMapEncodeIm2colWide, sizeof(__pyx_k_cuTensorMapEncodeIm2colWide), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTensorMapEncodeIm2colWide */ {__pyx_k_cuTensorMapEncodeTiled, sizeof(__pyx_k_cuTensorMapEncodeTiled), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTensorMapEncodeTiled */ {__pyx_k_cuTensorMapReplaceAddress, sizeof(__pyx_k_cuTensorMapReplaceAddress), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTensorMapReplaceAddress */ {__pyx_k_cuTexObjectCreate, sizeof(__pyx_k_cuTexObjectCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexObjectCreate */ {__pyx_k_cuTexObjectDestroy, sizeof(__pyx_k_cuTexObjectDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexObjectDestroy */ {__pyx_k_cuTexObjectGetResourceDesc, sizeof(__pyx_k_cuTexObjectGetResourceDesc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexObjectGetResourceDesc */ {__pyx_k_cuTexObjectGetResourceViewDesc, sizeof(__pyx_k_cuTexObjectGetResourceViewDesc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexObjectGetResourceViewDesc */ {__pyx_k_cuTexObjectGetTextureDesc, sizeof(__pyx_k_cuTexObjectGetTextureDesc), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexObjectGetTextureDesc */ {__pyx_k_cuTexRefCreate, sizeof(__pyx_k_cuTexRefCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefCreate */ {__pyx_k_cuTexRefDestroy, sizeof(__pyx_k_cuTexRefDestroy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefDestroy */ {__pyx_k_cuTexRefGetAddressMode, sizeof(__pyx_k_cuTexRefGetAddressMode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetAddressMode */ {__pyx_k_cuTexRefGetAddress_v2, sizeof(__pyx_k_cuTexRefGetAddress_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetAddress_v2 */ {__pyx_k_cuTexRefGetArray, sizeof(__pyx_k_cuTexRefGetArray), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetArray */ {__pyx_k_cuTexRefGetBorderColor, sizeof(__pyx_k_cuTexRefGetBorderColor), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetBorderColor */ {__pyx_k_cuTexRefGetFilterMode, sizeof(__pyx_k_cuTexRefGetFilterMode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetFilterMode */ {__pyx_k_cuTexRefGetFlags, sizeof(__pyx_k_cuTexRefGetFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetFlags */ {__pyx_k_cuTexRefGetFormat, sizeof(__pyx_k_cuTexRefGetFormat), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetFormat */ {__pyx_k_cuTexRefGetMaxAnisotropy, sizeof(__pyx_k_cuTexRefGetMaxAnisotropy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetMaxAnisotropy */ {__pyx_k_cuTexRefGetMipmapFilterMode, sizeof(__pyx_k_cuTexRefGetMipmapFilterMode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetMipmapFilterMode */ {__pyx_k_cuTexRefGetMipmapLevelBias, sizeof(__pyx_k_cuTexRefGetMipmapLevelBias), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetMipmapLevelBias */ {__pyx_k_cuTexRefGetMipmapLevelClamp, sizeof(__pyx_k_cuTexRefGetMipmapLevelClamp), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetMipmapLevelClamp */ {__pyx_k_cuTexRefGetMipmappedArray, sizeof(__pyx_k_cuTexRefGetMipmappedArray), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefGetMipmappedArray */ {__pyx_k_cuTexRefSetAddress2D_v3, sizeof(__pyx_k_cuTexRefSetAddress2D_v3), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetAddress2D_v3 */ {__pyx_k_cuTexRefSetAddressMode, sizeof(__pyx_k_cuTexRefSetAddressMode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetAddressMode */ {__pyx_k_cuTexRefSetAddress_v2, sizeof(__pyx_k_cuTexRefSetAddress_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetAddress_v2 */ {__pyx_k_cuTexRefSetArray, sizeof(__pyx_k_cuTexRefSetArray), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetArray */ {__pyx_k_cuTexRefSetBorderColor, sizeof(__pyx_k_cuTexRefSetBorderColor), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetBorderColor */ {__pyx_k_cuTexRefSetFilterMode, sizeof(__pyx_k_cuTexRefSetFilterMode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetFilterMode */ {__pyx_k_cuTexRefSetFlags, sizeof(__pyx_k_cuTexRefSetFlags), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetFlags */ {__pyx_k_cuTexRefSetFormat, sizeof(__pyx_k_cuTexRefSetFormat), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetFormat */ {__pyx_k_cuTexRefSetMaxAnisotropy, sizeof(__pyx_k_cuTexRefSetMaxAnisotropy), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetMaxAnisotropy */ {__pyx_k_cuTexRefSetMipmapFilterMode, sizeof(__pyx_k_cuTexRefSetMipmapFilterMode), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetMipmapFilterMode */ {__pyx_k_cuTexRefSetMipmapLevelBias, sizeof(__pyx_k_cuTexRefSetMipmapLevelBias), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetMipmapLevelBias */ {__pyx_k_cuTexRefSetMipmapLevelClamp, sizeof(__pyx_k_cuTexRefSetMipmapLevelClamp), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetMipmapLevelClamp */ {__pyx_k_cuTexRefSetMipmappedArray, sizeof(__pyx_k_cuTexRefSetMipmappedArray), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuTexRefSetMipmappedArray */ {__pyx_k_cuThreadExchangeStreamCaptureM, sizeof(__pyx_k_cuThreadExchangeStreamCaptureM), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuThreadExchangeStreamCaptureM */ {__pyx_k_cuUserObjectCreate, sizeof(__pyx_k_cuUserObjectCreate), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuUserObjectCreate */ {__pyx_k_cuUserObjectRelease, sizeof(__pyx_k_cuUserObjectRelease), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuUserObjectRelease */ {__pyx_k_cuUserObjectRetain, sizeof(__pyx_k_cuUserObjectRetain), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuUserObjectRetain */ {__pyx_k_cuVDPAUCtxCreate_v2, sizeof(__pyx_k_cuVDPAUCtxCreate_v2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuVDPAUCtxCreate_v2 */ {__pyx_k_cuVDPAUGetDevice, sizeof(__pyx_k_cuVDPAUGetDevice), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuVDPAUGetDevice */ {__pyx_k_cuWaitExternalSemaphoresAsync, sizeof(__pyx_k_cuWaitExternalSemaphoresAsync), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuWaitExternalSemaphoresAsync */ {__pyx_k_cuda_bindings__bindings_cydriver, sizeof(__pyx_k_cuda_bindings__bindings_cydriver), 0, 1, 1}, /* PyObject cname: __pyx_n_u_cuda_bindings__bindings_cydriver */ {__pyx_k_cuda_bindings__bindings_cydriver_2, sizeof(__pyx_k_cuda_bindings__bindings_cydriver_2), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_cuda_bindings__bindings_cydriver_2 */ {__pyx_k_default, sizeof(__pyx_k_default), 0, 1, 1}, /* PyObject cname: __pyx_n_u_default */ {__pyx_k_encoding, sizeof(__pyx_k_encoding), 0, 1, 1}, /* PyObject cname: __pyx_n_u_encoding */ {__pyx_k_enter, sizeof(__pyx_k_enter), 0, 1, 1}, /* PyObject cname: __pyx_n_u_enter */ {__pyx_k_exit, sizeof(__pyx_k_exit), 0, 1, 1}, /* PyObject cname: __pyx_n_u_exit */ {__pyx_k_func, sizeof(__pyx_k_func), 0, 1, 1}, /* PyObject cname: __pyx_n_u_func */ {__pyx_k_getenv, sizeof(__pyx_k_getenv), 0, 1, 1}, /* PyObject cname: __pyx_n_u_getenv */ {__pyx_k_initializing, sizeof(__pyx_k_initializing), 0, 1, 1}, /* PyObject cname: __pyx_n_u_initializing */ {__pyx_k_inspect_function_pointer, sizeof(__pyx_k_inspect_function_pointer), 0, 1, 1}, /* PyObject cname: __pyx_n_u_inspect_function_pointer */ {__pyx_k_inspect_function_pointers, sizeof(__pyx_k_inspect_function_pointers), 0, 1, 1}, /* PyObject cname: __pyx_n_u_inspect_function_pointers */ {__pyx_k_is_coroutine, sizeof(__pyx_k_is_coroutine), 0, 1, 1}, /* PyObject cname: __pyx_n_u_is_coroutine */ {__pyx_k_libcuda_so_1, sizeof(__pyx_k_libcuda_so_1), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_libcuda_so_1 */ {__pyx_k_main, sizeof(__pyx_k_main), 0, 1, 1}, /* PyObject cname: __pyx_n_u_main */ {__pyx_k_maxsize, sizeof(__pyx_k_maxsize), 0, 1, 1}, /* PyObject cname: __pyx_n_u_maxsize */ {__pyx_k_module, sizeof(__pyx_k_module), 0, 1, 1}, /* PyObject cname: __pyx_n_u_module */ {__pyx_k_name, sizeof(__pyx_k_name), 0, 1, 1}, /* PyObject cname: __pyx_n_u_name */ {__pyx_k_name_2, sizeof(__pyx_k_name_2), 0, 1, 1}, /* PyObject cname: __pyx_n_u_name_2 */ {__pyx_k_os, sizeof(__pyx_k_os), 0, 1, 1}, /* PyObject cname: __pyx_n_u_os */ {__pyx_k_pop, sizeof(__pyx_k_pop), 0, 1, 1}, /* PyObject cname: __pyx_n_u_pop */ {__pyx_k_qualname, sizeof(__pyx_k_qualname), 0, 1, 1}, /* PyObject cname: __pyx_n_u_qualname */ {__pyx_k_set_name, sizeof(__pyx_k_set_name), 0, 1, 1}, /* PyObject cname: __pyx_n_u_set_name */ {__pyx_k_spec, sizeof(__pyx_k_spec), 0, 1, 1}, /* PyObject cname: __pyx_n_u_spec */ {__pyx_k_sys, sizeof(__pyx_k_sys), 0, 1, 1}, /* PyObject cname: __pyx_n_u_sys */ {__pyx_k_test, sizeof(__pyx_k_test), 0, 1, 1}, /* PyObject cname: __pyx_n_u_test */ {__pyx_k_threading, sizeof(__pyx_k_threading), 0, 1, 1}, /* PyObject cname: __pyx_n_u_threading */ {__pyx_k_utf_8, sizeof(__pyx_k_utf_8), 0, 1, 0}, /* PyObject cname: __pyx_kp_u_utf_8 */ {0, 0, 0, 0, 0} }; /* InitStrings.proto */ static int __Pyx_InitStrings(__Pyx_StringTabEntry const *t, PyObject **target, const char* const* encoding_names); /* #### Code section: cached_builtins ### */ static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) { CYTHON_UNUSED_VAR(__pyx_mstate); __pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_RuntimeError); if (!__pyx_builtin_RuntimeError) __PYX_ERR(0, 510, __pyx_L1_error) return 0; __pyx_L1_error:; return -1; } /* #### Code section: cached_constants ### */ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0); /* "cuda/bindings/_bindings/cydriver.pyx":498 * cdef char libPath[260] * * with gil, __symbol_lock: # <<<<<<<<<<<<<< * usePTDS = os.getenv('CUDA_PYTHON_CUDA_PER_THREAD_DEFAULT_STREAM', default=0) * */ __pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 498, __pyx_L1_error) __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]); __Pyx_RefNannyFinishContext(); return 0; __pyx_L1_error:; __Pyx_RefNannyFinishContext(); return -1; } /* #### Code section: init_constants ### */ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) { CYTHON_UNUSED_VAR(__pyx_mstate); __pyx_mstate->__pyx_umethod_PyDict_Type_pop.type = (PyObject*)&PyDict_Type; __pyx_mstate->__pyx_umethod_PyDict_Type_pop.method_name = &__pyx_mstate->__pyx_n_u_pop; if (__Pyx_InitStrings(__pyx_string_tab, __pyx_mstate->__pyx_string_tab, __pyx_string_tab_encodings) < 0) __PYX_ERR(0, 1, __pyx_L1_error); __pyx_mstate->__pyx_int_0 = PyLong_FromLong(0); if (unlikely(!__pyx_mstate->__pyx_int_0)) __PYX_ERR(0, 1, __pyx_L1_error) __pyx_mstate->__pyx_int_4294967296 = PyLong_FromString("4294967296", 0, 0); if (unlikely(!__pyx_mstate->__pyx_int_4294967296)) __PYX_ERR(0, 1, __pyx_L1_error) return 0; __pyx_L1_error:; return -1; } /* #### Code section: init_codeobjects ### */ \ typedef struct { unsigned int argcount : 1; unsigned int num_posonly_args : 1; unsigned int num_kwonly_args : 1; unsigned int nlocals : 1; unsigned int flags : 10; unsigned int first_line : 13; unsigned int line_table_length : 18; } __Pyx_PyCode_New_function_description; /* NewCodeObj.proto */ static PyObject* __Pyx_PyCode_New( const __Pyx_PyCode_New_function_description descr, PyObject * const *varnames, PyObject *filename, PyObject *funcname, const char *line_table, PyObject *tuple_dedup_map ); static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { PyObject* tuple_dedup_map = PyDict_New(); if (unlikely(!tuple_dedup_map)) return -1; { const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 0, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 7038, 7133}; PyObject* const varnames[] = {0}; __pyx_mstate_global->__pyx_codeobj_tab[0] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_cuda_bindings__bindings_cydriver_2, __pyx_mstate->__pyx_n_u_inspect_function_pointers, __pyx_k_z_q_Q_1_z_z_Q_Ja_1_Q_Ja_3_Q_Zq, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[0])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 7996, 31}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_name}; __pyx_mstate_global->__pyx_codeobj_tab[1] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_cuda_bindings__bindings_cydriver_2, __pyx_mstate->__pyx_n_u_inspect_function_pointer, __pyx_k_z_A_a_9AQ, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[1])) goto bad; } Py_DECREF(tuple_dedup_map); return 0; bad: Py_DECREF(tuple_dedup_map); return -1; } /* #### Code section: init_globals ### */ static int __Pyx_InitGlobals(void) { /* PythonCompatibility.init */ if (likely(__Pyx_init_co_variables() == 0)); else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) /* CachedMethodType.init */ #if CYTHON_COMPILING_IN_LIMITED_API { PyObject *typesModule=NULL; typesModule = PyImport_ImportModule("types"); if (typesModule) { __pyx_mstate_global->__Pyx_CachedMethodType = PyObject_GetAttrString(typesModule, "MethodType"); Py_DECREF(typesModule); } } // error handling follows #endif if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) return 0; __pyx_L1_error:; return -1; } /* #### Code section: cleanup_globals ### */ /* #### Code section: cleanup_module ### */ /* #### Code section: main_method ### */ /* #### Code section: utility_code_pragmas ### */ #ifdef _MSC_VER #pragma warning( push ) /* Warning 4127: conditional expression is constant * Cython uses constant conditional expressions to allow in inline functions to be optimized at * compile-time, so this warning is not useful */ #pragma warning( disable : 4127 ) #endif /* #### Code section: utility_code_def ### */ /* --- Runtime support code --- */ /* Refnanny */ #if CYTHON_REFNANNY static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) { PyObject *m = NULL, *p = NULL; void *r = NULL; m = PyImport_ImportModule(modname); if (!m) goto end; p = PyObject_GetAttrString(m, "RefNannyAPI"); if (!p) goto end; r = PyLong_AsVoidPtr(p); end: Py_XDECREF(p); Py_XDECREF(m); return (__Pyx_RefNannyAPIStruct *)r; } #endif /* PyErrExceptionMatches */ #if CYTHON_FAST_THREAD_STATE static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { Py_ssize_t i, n; n = PyTuple_GET_SIZE(tuple); for (i=0; i= 0x030C00A6 PyObject *current_exception = tstate->current_exception; if (unlikely(!current_exception)) return 0; exc_type = (PyObject*) Py_TYPE(current_exception); if (exc_type == err) return 1; #else exc_type = tstate->curexc_type; if (exc_type == err) return 1; if (unlikely(!exc_type)) return 0; #endif #if CYTHON_AVOID_BORROWED_REFS Py_INCREF(exc_type); #endif if (unlikely(PyTuple_Check(err))) { result = __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err); } else { result = __Pyx_PyErr_GivenExceptionMatches(exc_type, err); } #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(exc_type); #endif return result; } #endif /* PyErrFetchRestore */ #if CYTHON_FAST_THREAD_STATE static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { #if PY_VERSION_HEX >= 0x030C00A6 PyObject *tmp_value; assert(type == NULL || (value != NULL && type == (PyObject*) Py_TYPE(value))); if (value) { #if CYTHON_COMPILING_IN_CPYTHON if (unlikely(((PyBaseExceptionObject*) value)->traceback != tb)) #endif PyException_SetTraceback(value, tb); } tmp_value = tstate->current_exception; tstate->current_exception = value; Py_XDECREF(tmp_value); Py_XDECREF(type); Py_XDECREF(tb); #else PyObject *tmp_type, *tmp_value, *tmp_tb; tmp_type = tstate->curexc_type; tmp_value = tstate->curexc_value; tmp_tb = tstate->curexc_traceback; tstate->curexc_type = type; tstate->curexc_value = value; tstate->curexc_traceback = tb; Py_XDECREF(tmp_type); Py_XDECREF(tmp_value); Py_XDECREF(tmp_tb); #endif } static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { #if PY_VERSION_HEX >= 0x030C00A6 PyObject* exc_value; exc_value = tstate->current_exception; tstate->current_exception = 0; *value = exc_value; *type = NULL; *tb = NULL; if (exc_value) { *type = (PyObject*) Py_TYPE(exc_value); Py_INCREF(*type); #if CYTHON_COMPILING_IN_CPYTHON *tb = ((PyBaseExceptionObject*) exc_value)->traceback; Py_XINCREF(*tb); #else *tb = PyException_GetTraceback(exc_value); #endif } #else *type = tstate->curexc_type; *value = tstate->curexc_value; *tb = tstate->curexc_traceback; tstate->curexc_type = 0; tstate->curexc_value = 0; tstate->curexc_traceback = 0; #endif } #endif /* PyObjectGetAttrStr */ #if CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) { PyTypeObject* tp = Py_TYPE(obj); if (likely(tp->tp_getattro)) return tp->tp_getattro(obj, attr_name); return PyObject_GetAttr(obj, attr_name); } #endif /* PyObjectGetAttrStrNoError */ #if __PYX_LIMITED_VERSION_HEX < 0x030d0000 static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError))) __Pyx_PyErr_Clear(); } #endif static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) { PyObject *result; #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 (void) PyObject_GetOptionalAttr(obj, attr_name, &result); return result; #else #if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS PyTypeObject* tp = Py_TYPE(obj); if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) { return _PyObject_GenericGetAttrWithDict(obj, attr_name, NULL, 1); } #endif result = __Pyx_PyObject_GetAttrStr(obj, attr_name); if (unlikely(!result)) { __Pyx_PyObject_GetAttrStr_ClearAttributeError(); } return result; #endif } /* GetBuiltinName */ static PyObject *__Pyx_GetBuiltinName(PyObject *name) { PyObject* result = __Pyx_PyObject_GetAttrStrNoError(__pyx_mstate_global->__pyx_b, name); if (unlikely(!result) && !PyErr_Occurred()) { PyErr_Format(PyExc_NameError, "name '%U' is not defined", name); } return result; } /* PyObjectLookupSpecial */ #if CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyObject* attr_name, int with_error) { PyObject *res; PyTypeObject *tp = Py_TYPE(obj); res = _PyType_Lookup(tp, attr_name); if (likely(res)) { descrgetfunc f = Py_TYPE(res)->tp_descr_get; if (!f) { Py_INCREF(res); } else { res = f(res, obj, (PyObject *)tp); } } else if (with_error) { PyErr_SetObject(PyExc_AttributeError, attr_name); } return res; } #endif /* PyFunctionFastCall */ #if CYTHON_FAST_PYCALL && !CYTHON_VECTORCALL static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObject *const *args, Py_ssize_t na, PyObject *globals) { PyFrameObject *f; PyThreadState *tstate = __Pyx_PyThreadState_Current; PyObject **fastlocals; Py_ssize_t i; PyObject *result; assert(globals != NULL); /* XXX Perhaps we should create a specialized PyFrame_New() that doesn't take locals, but does take builtins without sanity checking them. */ assert(tstate != NULL); f = PyFrame_New(tstate, co, globals, NULL); if (f == NULL) { return NULL; } fastlocals = __Pyx_PyFrame_GetLocalsplus(f); for (i = 0; i < na; i++) { Py_INCREF(*args); fastlocals[i] = *args++; } result = PyEval_EvalFrameEx(f,0); ++tstate->recursion_depth; Py_DECREF(f); --tstate->recursion_depth; return result; } static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject *const *args, Py_ssize_t nargs, PyObject *kwargs) { PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func); PyObject *globals = PyFunction_GET_GLOBALS(func); PyObject *argdefs = PyFunction_GET_DEFAULTS(func); PyObject *closure; PyObject *kwdefs; PyObject *kwtuple, **k; PyObject **d; Py_ssize_t nd; Py_ssize_t nk; PyObject *result; assert(kwargs == NULL || PyDict_Check(kwargs)); nk = kwargs ? PyDict_Size(kwargs) : 0; if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) { return NULL; } if ( co->co_kwonlyargcount == 0 && likely(kwargs == NULL || nk == 0) && co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) { if (argdefs == NULL && co->co_argcount == nargs) { result = __Pyx_PyFunction_FastCallNoKw(co, args, nargs, globals); goto done; } else if (nargs == 0 && argdefs != NULL && co->co_argcount == Py_SIZE(argdefs)) { /* function called with no arguments, but all parameters have a default value: use default values as arguments .*/ args = &PyTuple_GET_ITEM(argdefs, 0); result =__Pyx_PyFunction_FastCallNoKw(co, args, Py_SIZE(argdefs), globals); goto done; } } if (kwargs != NULL) { Py_ssize_t pos, i; kwtuple = PyTuple_New(2 * nk); if (kwtuple == NULL) { result = NULL; goto done; } k = &PyTuple_GET_ITEM(kwtuple, 0); pos = i = 0; while (PyDict_Next(kwargs, &pos, &k[i], &k[i+1])) { Py_INCREF(k[i]); Py_INCREF(k[i+1]); i += 2; } nk = i / 2; } else { kwtuple = NULL; k = NULL; } closure = PyFunction_GET_CLOSURE(func); kwdefs = PyFunction_GET_KW_DEFAULTS(func); if (argdefs != NULL) { d = &PyTuple_GET_ITEM(argdefs, 0); nd = Py_SIZE(argdefs); } else { d = NULL; nd = 0; } result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL, args, (int)nargs, k, (int)nk, d, (int)nd, kwdefs, closure); Py_XDECREF(kwtuple); done: Py_LeaveRecursiveCall(); return result; } #endif /* PyObjectCall */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) { PyObject *result; ternaryfunc call = Py_TYPE(func)->tp_call; if (unlikely(!call)) return PyObject_Call(func, arg, kw); if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) return NULL; result = (*call)(func, arg, kw); Py_LeaveRecursiveCall(); if (unlikely(!result) && unlikely(!PyErr_Occurred())) { PyErr_SetString( PyExc_SystemError, "NULL result without error in PyObject_Call"); } return result; } #endif /* PyObjectCallMethO */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) { PyObject *self, *result; PyCFunction cfunc; cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func); self = __Pyx_CyOrPyCFunction_GET_SELF(func); if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) return NULL; result = cfunc(self, arg); Py_LeaveRecursiveCall(); if (unlikely(!result) && unlikely(!PyErr_Occurred())) { PyErr_SetString( PyExc_SystemError, "NULL result without error in PyObject_Call"); } return result; } #endif /* PyObjectFastCall */ #if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs) { PyObject *argstuple; PyObject *result = 0; size_t i; argstuple = PyTuple_New((Py_ssize_t)nargs); if (unlikely(!argstuple)) return NULL; for (i = 0; i < nargs; i++) { Py_INCREF(args[i]); if (__Pyx_PyTuple_SET_ITEM(argstuple, (Py_ssize_t)i, args[i]) != (0)) goto bad; } result = __Pyx_PyObject_Call(func, argstuple, kwargs); bad: Py_DECREF(argstuple); return result; } #endif #if CYTHON_VECTORCALL && !CYTHON_COMPILING_IN_LIMITED_API #if PY_VERSION_HEX < 0x03090000 #define __Pyx_PyVectorcall_Function(callable) _PyVectorcall_Function(callable) #elif CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE vectorcallfunc __Pyx_PyVectorcall_Function(PyObject *callable) { PyTypeObject *tp = Py_TYPE(callable); #if defined(__Pyx_CyFunction_USED) if (__Pyx_CyFunction_CheckExact(callable)) { return __Pyx_CyFunction_func_vectorcall(callable); } #endif if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) { return NULL; } assert(PyCallable_Check(callable)); Py_ssize_t offset = tp->tp_vectorcall_offset; assert(offset > 0); vectorcallfunc ptr; memcpy(&ptr, (char *) callable + offset, sizeof(ptr)); return ptr; } #else #define __Pyx_PyVectorcall_Function(callable) PyVectorcall_Function(callable) #endif #endif static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject *const *args, size_t _nargs, PyObject *kwargs) { Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs); #if CYTHON_COMPILING_IN_CPYTHON if (nargs == 0 && kwargs == NULL) { if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS)) return __Pyx_PyObject_CallMethO(func, NULL); } else if (nargs == 1 && kwargs == NULL) { if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O)) return __Pyx_PyObject_CallMethO(func, args[0]); } #endif #if PY_VERSION_HEX < 0x030800B1 #if CYTHON_FAST_PYCCALL if (PyCFunction_Check(func)) { if (kwargs) { return _PyCFunction_FastCallDict(func, args, nargs, kwargs); } else { return _PyCFunction_FastCallKeywords(func, args, nargs, NULL); } } if (!kwargs && __Pyx_IS_TYPE(func, &PyMethodDescr_Type)) { return _PyMethodDescr_FastCallKeywords(func, args, nargs, NULL); } #endif #if CYTHON_FAST_PYCALL if (PyFunction_Check(func)) { return __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs); } #endif #endif if (kwargs == NULL) { #if CYTHON_VECTORCALL && !CYTHON_COMPILING_IN_LIMITED_API vectorcallfunc f = __Pyx_PyVectorcall_Function(func); if (f) { return f(func, args, _nargs, NULL); } #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL if (__Pyx_CyFunction_CheckExact(func)) { __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func); if (f) return f(func, args, _nargs, NULL); } #elif CYTHON_COMPILING_IN_LIMITED_API && CYTHON_VECTORCALL return PyObject_Vectorcall(func, args, _nargs, NULL); #endif } if (nargs == 0) { return __Pyx_PyObject_Call(func, __pyx_mstate_global->__pyx_empty_tuple, kwargs); } #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs); #else return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs); #endif } /* PyDictVersioning */ #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) { PyObject *dict = Py_TYPE(obj)->tp_dict; return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0; } static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj) { PyObject **dictptr = NULL; Py_ssize_t offset = Py_TYPE(obj)->tp_dictoffset; if (offset) { #if CYTHON_COMPILING_IN_CPYTHON dictptr = (likely(offset > 0)) ? (PyObject **) ((char *)obj + offset) : _PyObject_GetDictPtr(obj); #else dictptr = _PyObject_GetDictPtr(obj); #endif } return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0; } static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version) { PyObject *dict = Py_TYPE(obj)->tp_dict; if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict))) return 0; return obj_dict_version == __Pyx_get_object_dict_version(obj); } #endif /* GetModuleGlobalName */ #if CYTHON_USE_DICT_VERSIONS static PyObject *__Pyx__GetModuleGlobalName(PyObject *name, PY_UINT64_T *dict_version, PyObject **dict_cached_value) #else static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name) #endif { PyObject *result; #if CYTHON_COMPILING_IN_LIMITED_API if (unlikely(!__pyx_m)) { if (!PyErr_Occurred()) PyErr_SetNone(PyExc_NameError); return NULL; } result = PyObject_GetAttr(__pyx_m, name); if (likely(result)) { return result; } PyErr_Clear(); #elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS if (unlikely(__Pyx_PyDict_GetItemRef(__pyx_mstate_global->__pyx_d, name, &result) == -1)) PyErr_Clear(); __PYX_UPDATE_DICT_CACHE(__pyx_mstate_global->__pyx_d, result, *dict_cached_value, *dict_version) if (likely(result)) { return result; } #else result = _PyDict_GetItem_KnownHash(__pyx_mstate_global->__pyx_d, name, ((PyASCIIObject *) name)->hash); __PYX_UPDATE_DICT_CACHE(__pyx_mstate_global->__pyx_d, result, *dict_cached_value, *dict_version) if (likely(result)) { return __Pyx_NewRef(result); } PyErr_Clear(); #endif return __Pyx_GetBuiltinName(name); } /* PyObjectVectorCallKwBuilder */ #if CYTHON_VECTORCALL static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) { (void)__Pyx_PyObject_FastCallDict; if (__Pyx_PyTuple_SET_ITEM(builder, n, key) != (0)) return -1; Py_INCREF(key); args[n] = value; return 0; } CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) { (void)__Pyx_VectorcallBuilder_AddArgStr; if (unlikely(!PyUnicode_Check(key))) { PyErr_SetString(PyExc_TypeError, "keywords must be strings"); return -1; } return __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n); } static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n) { PyObject *pyKey = PyUnicode_FromString(key); if (!pyKey) return -1; return __Pyx_VectorcallBuilder_AddArg(pyKey, value, builder, args, n); } #else // CYTHON_VECTORCALL CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, CYTHON_UNUSED PyObject **args, CYTHON_UNUSED int n) { if (unlikely(!PyUnicode_Check(key))) { PyErr_SetString(PyExc_TypeError, "keywords must be strings"); return -1; } return PyDict_SetItem(builder, key, value); } #endif /* decode_c_string */ static CYTHON_INLINE PyObject* __Pyx_decode_c_string( const char* cstring, Py_ssize_t start, Py_ssize_t stop, const char* encoding, const char* errors, PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors)) { Py_ssize_t length; if (unlikely((start < 0) | (stop < 0))) { size_t slen = strlen(cstring); if (unlikely(slen > (size_t) PY_SSIZE_T_MAX)) { PyErr_SetString(PyExc_OverflowError, "c-string too long to convert to Python"); return NULL; } length = (Py_ssize_t) slen; if (start < 0) { start += length; if (start < 0) start = 0; } if (stop < 0) stop += length; } if (unlikely(stop <= start)) return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_unicode); length = stop - start; cstring += start; if (decode_func) { return decode_func(cstring, length, errors); } else { return PyUnicode_Decode(cstring, length, encoding, errors); } } /* RaiseException */ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) { PyObject* owned_instance = NULL; if (tb == Py_None) { tb = 0; } else if (tb && !PyTraceBack_Check(tb)) { PyErr_SetString(PyExc_TypeError, "raise: arg 3 must be a traceback or None"); goto bad; } if (value == Py_None) value = 0; if (PyExceptionInstance_Check(type)) { if (value) { PyErr_SetString(PyExc_TypeError, "instance exception may not have a separate value"); goto bad; } value = type; type = (PyObject*) Py_TYPE(value); } else if (PyExceptionClass_Check(type)) { PyObject *instance_class = NULL; if (value && PyExceptionInstance_Check(value)) { instance_class = (PyObject*) Py_TYPE(value); if (instance_class != type) { int is_subclass = PyObject_IsSubclass(instance_class, type); if (!is_subclass) { instance_class = NULL; } else if (unlikely(is_subclass == -1)) { goto bad; } else { type = instance_class; } } } if (!instance_class) { PyObject *args; if (!value) args = PyTuple_New(0); else if (PyTuple_Check(value)) { Py_INCREF(value); args = value; } else args = PyTuple_Pack(1, value); if (!args) goto bad; owned_instance = PyObject_Call(type, args, NULL); Py_DECREF(args); if (!owned_instance) goto bad; value = owned_instance; if (!PyExceptionInstance_Check(value)) { PyErr_Format(PyExc_TypeError, "calling %R should have returned an instance of " "BaseException, not %R", type, Py_TYPE(value)); goto bad; } } } else { PyErr_SetString(PyExc_TypeError, "raise: exception class must be a subclass of BaseException"); goto bad; } if (cause) { PyObject *fixed_cause; if (cause == Py_None) { fixed_cause = NULL; } else if (PyExceptionClass_Check(cause)) { fixed_cause = PyObject_CallObject(cause, NULL); if (fixed_cause == NULL) goto bad; } else if (PyExceptionInstance_Check(cause)) { fixed_cause = cause; Py_INCREF(fixed_cause); } else { PyErr_SetString(PyExc_TypeError, "exception causes must derive from " "BaseException"); goto bad; } PyException_SetCause(value, fixed_cause); } PyErr_SetObject(type, value); if (tb) { #if PY_VERSION_HEX >= 0x030C00A6 PyException_SetTraceback(value, tb); #elif CYTHON_FAST_THREAD_STATE PyThreadState *tstate = __Pyx_PyThreadState_Current; PyObject* tmp_tb = tstate->curexc_traceback; if (tb != tmp_tb) { Py_INCREF(tb); tstate->curexc_traceback = tb; Py_XDECREF(tmp_tb); } #else PyObject *tmp_type, *tmp_value, *tmp_tb; PyErr_Fetch(&tmp_type, &tmp_value, &tmp_tb); Py_INCREF(tb); PyErr_Restore(tmp_type, tmp_value, tb); Py_XDECREF(tmp_tb); #endif } bad: Py_XDECREF(owned_instance); return; } /* GetTopmostException */ #if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate) { _PyErr_StackItem *exc_info = tstate->exc_info; while ((exc_info->exc_value == NULL || exc_info->exc_value == Py_None) && exc_info->previous_item != NULL) { exc_info = exc_info->previous_item; } return exc_info; } #endif /* SaveResetException */ #if CYTHON_FAST_THREAD_STATE static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { #if CYTHON_USE_EXC_INFO_STACK && PY_VERSION_HEX >= 0x030B00a4 _PyErr_StackItem *exc_info = __Pyx_PyErr_GetTopmostException(tstate); PyObject *exc_value = exc_info->exc_value; if (exc_value == NULL || exc_value == Py_None) { *value = NULL; *type = NULL; *tb = NULL; } else { *value = exc_value; Py_INCREF(*value); *type = (PyObject*) Py_TYPE(exc_value); Py_INCREF(*type); *tb = PyException_GetTraceback(exc_value); } #elif CYTHON_USE_EXC_INFO_STACK _PyErr_StackItem *exc_info = __Pyx_PyErr_GetTopmostException(tstate); *type = exc_info->exc_type; *value = exc_info->exc_value; *tb = exc_info->exc_traceback; Py_XINCREF(*type); Py_XINCREF(*value); Py_XINCREF(*tb); #else *type = tstate->exc_type; *value = tstate->exc_value; *tb = tstate->exc_traceback; Py_XINCREF(*type); Py_XINCREF(*value); Py_XINCREF(*tb); #endif } static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { #if CYTHON_USE_EXC_INFO_STACK && PY_VERSION_HEX >= 0x030B00a4 _PyErr_StackItem *exc_info = tstate->exc_info; PyObject *tmp_value = exc_info->exc_value; exc_info->exc_value = value; Py_XDECREF(tmp_value); Py_XDECREF(type); Py_XDECREF(tb); #else PyObject *tmp_type, *tmp_value, *tmp_tb; #if CYTHON_USE_EXC_INFO_STACK _PyErr_StackItem *exc_info = tstate->exc_info; tmp_type = exc_info->exc_type; tmp_value = exc_info->exc_value; tmp_tb = exc_info->exc_traceback; exc_info->exc_type = type; exc_info->exc_value = value; exc_info->exc_traceback = tb; #else tmp_type = tstate->exc_type; tmp_value = tstate->exc_value; tmp_tb = tstate->exc_traceback; tstate->exc_type = type; tstate->exc_value = value; tstate->exc_traceback = tb; #endif Py_XDECREF(tmp_type); Py_XDECREF(tmp_value); Py_XDECREF(tmp_tb); #endif } #endif /* GetException */ #if CYTHON_FAST_THREAD_STATE static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) #else static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) #endif { PyObject *local_type = NULL, *local_value, *local_tb = NULL; #if CYTHON_FAST_THREAD_STATE PyObject *tmp_type, *tmp_value, *tmp_tb; #if PY_VERSION_HEX >= 0x030C0000 local_value = tstate->current_exception; tstate->current_exception = 0; #else local_type = tstate->curexc_type; local_value = tstate->curexc_value; local_tb = tstate->curexc_traceback; tstate->curexc_type = 0; tstate->curexc_value = 0; tstate->curexc_traceback = 0; #endif #elif __PYX_LIMITED_VERSION_HEX > 0x030C0000 local_value = PyErr_GetRaisedException(); #else PyErr_Fetch(&local_type, &local_value, &local_tb); #endif #if __PYX_LIMITED_VERSION_HEX > 0x030C0000 if (likely(local_value)) { local_type = (PyObject*) Py_TYPE(local_value); Py_INCREF(local_type); local_tb = PyException_GetTraceback(local_value); } #else PyErr_NormalizeException(&local_type, &local_value, &local_tb); #if CYTHON_FAST_THREAD_STATE if (unlikely(tstate->curexc_type)) #else if (unlikely(PyErr_Occurred())) #endif goto bad; if (local_tb) { if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0)) goto bad; } #endif // __PYX_LIMITED_VERSION_HEX > 0x030C0000 Py_XINCREF(local_tb); Py_XINCREF(local_type); Py_XINCREF(local_value); *type = local_type; *value = local_value; *tb = local_tb; #if CYTHON_FAST_THREAD_STATE #if CYTHON_USE_EXC_INFO_STACK { _PyErr_StackItem *exc_info = tstate->exc_info; #if PY_VERSION_HEX >= 0x030B00a4 tmp_value = exc_info->exc_value; exc_info->exc_value = local_value; tmp_type = NULL; tmp_tb = NULL; Py_XDECREF(local_type); Py_XDECREF(local_tb); #else tmp_type = exc_info->exc_type; tmp_value = exc_info->exc_value; tmp_tb = exc_info->exc_traceback; exc_info->exc_type = local_type; exc_info->exc_value = local_value; exc_info->exc_traceback = local_tb; #endif } #else tmp_type = tstate->exc_type; tmp_value = tstate->exc_value; tmp_tb = tstate->exc_traceback; tstate->exc_type = local_type; tstate->exc_value = local_value; tstate->exc_traceback = local_tb; #endif Py_XDECREF(tmp_type); Py_XDECREF(tmp_value); Py_XDECREF(tmp_tb); #elif __PYX_LIMITED_VERSION_HEX >= 0x030b0000 PyErr_SetHandledException(local_value); Py_XDECREF(local_value); Py_XDECREF(local_type); Py_XDECREF(local_tb); #else PyErr_SetExcInfo(local_type, local_value, local_tb); #endif return 0; #if __PYX_LIMITED_VERSION_HEX <= 0x030C0000 bad: *type = 0; *value = 0; *tb = 0; Py_XDECREF(local_type); Py_XDECREF(local_value); Py_XDECREF(local_tb); return -1; #endif } /* ErrOccurredWithGIL */ static CYTHON_INLINE int __Pyx_ErrOccurredWithGIL(void) { int err; PyGILState_STATE _save = PyGILState_Ensure(); err = !!PyErr_Occurred(); PyGILState_Release(_save); return err; } /* TupleAndListFromArray */ #if !CYTHON_COMPILING_IN_CPYTHON && CYTHON_METH_FASTCALL static CYTHON_INLINE PyObject * __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) { PyObject *res; Py_ssize_t i; if (n <= 0) { return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple); } res = PyTuple_New(n); if (unlikely(res == NULL)) return NULL; for (i = 0; i < n; i++) { if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) { Py_DECREF(res); return NULL; } Py_INCREF(src[i]); } return res; } #elif CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length) { PyObject *v; Py_ssize_t i; for (i = 0; i < length; i++) { v = dest[i] = src[i]; Py_INCREF(v); } } static CYTHON_INLINE PyObject * __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) { PyObject *res; if (n <= 0) { return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple); } res = PyTuple_New(n); if (unlikely(res == NULL)) return NULL; __Pyx_copy_object_array(src, ((PyTupleObject*)res)->ob_item, n); return res; } static CYTHON_INLINE PyObject * __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n) { PyObject *res; if (n <= 0) { return PyList_New(0); } res = PyList_New(n); if (unlikely(res == NULL)) return NULL; __Pyx_copy_object_array(src, ((PyListObject*)res)->ob_item, n); return res; } #endif /* BytesEquals */ static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) { #if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL ||\ !(CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS) return PyObject_RichCompareBool(s1, s2, equals); #else if (s1 == s2) { return (equals == Py_EQ); } else if (PyBytes_CheckExact(s1) & PyBytes_CheckExact(s2)) { const char *ps1, *ps2; Py_ssize_t length = PyBytes_GET_SIZE(s1); if (length != PyBytes_GET_SIZE(s2)) return (equals == Py_NE); ps1 = PyBytes_AS_STRING(s1); ps2 = PyBytes_AS_STRING(s2); if (ps1[0] != ps2[0]) { return (equals == Py_NE); } else if (length == 1) { return (equals == Py_EQ); } else { int result; #if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000) Py_hash_t hash1, hash2; hash1 = ((PyBytesObject*)s1)->ob_shash; hash2 = ((PyBytesObject*)s2)->ob_shash; if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { return (equals == Py_NE); } #endif result = memcmp(ps1, ps2, (size_t)length); return (equals == Py_EQ) ? (result == 0) : (result != 0); } } else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) { return (equals == Py_NE); } else if ((s2 == Py_None) & PyBytes_CheckExact(s1)) { return (equals == Py_NE); } else { int result; PyObject* py_result = PyObject_RichCompare(s1, s2, equals); if (!py_result) return -1; result = __Pyx_PyObject_IsTrue(py_result); Py_DECREF(py_result); return result; } #endif } /* UnicodeEquals */ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) { #if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL return PyObject_RichCompareBool(s1, s2, equals); #else int s1_is_unicode, s2_is_unicode; if (s1 == s2) { goto return_eq; } s1_is_unicode = PyUnicode_CheckExact(s1); s2_is_unicode = PyUnicode_CheckExact(s2); if (s1_is_unicode & s2_is_unicode) { Py_ssize_t length, length2; int kind; void *data1, *data2; #if !CYTHON_COMPILING_IN_LIMITED_API if (unlikely(__Pyx_PyUnicode_READY(s1) < 0) || unlikely(__Pyx_PyUnicode_READY(s2) < 0)) return -1; #endif length = __Pyx_PyUnicode_GET_LENGTH(s1); #if !CYTHON_ASSUME_SAFE_SIZE if (unlikely(length < 0)) return -1; #endif length2 = __Pyx_PyUnicode_GET_LENGTH(s2); #if !CYTHON_ASSUME_SAFE_SIZE if (unlikely(length2 < 0)) return -1; #endif if (length != length2) { goto return_ne; } #if CYTHON_USE_UNICODE_INTERNALS { Py_hash_t hash1, hash2; hash1 = ((PyASCIIObject*)s1)->hash; hash2 = ((PyASCIIObject*)s2)->hash; if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { goto return_ne; } } #endif kind = __Pyx_PyUnicode_KIND(s1); if (kind != __Pyx_PyUnicode_KIND(s2)) { goto return_ne; } data1 = __Pyx_PyUnicode_DATA(s1); data2 = __Pyx_PyUnicode_DATA(s2); if (__Pyx_PyUnicode_READ(kind, data1, 0) != __Pyx_PyUnicode_READ(kind, data2, 0)) { goto return_ne; } else if (length == 1) { goto return_eq; } else { int result = memcmp(data1, data2, (size_t)(length * kind)); return (equals == Py_EQ) ? (result == 0) : (result != 0); } } else if ((s1 == Py_None) & s2_is_unicode) { goto return_ne; } else if ((s2 == Py_None) & s1_is_unicode) { goto return_ne; } else { int result; PyObject* py_result = PyObject_RichCompare(s1, s2, equals); if (!py_result) return -1; result = __Pyx_PyObject_IsTrue(py_result); Py_DECREF(py_result); return result; } return_eq: return (equals == Py_EQ); return_ne: return (equals == Py_NE); #endif } /* fastcall */ #if CYTHON_METH_FASTCALL static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s) { Py_ssize_t i, n = __Pyx_PyTuple_GET_SIZE(kwnames); #if !CYTHON_ASSUME_SAFE_SIZE if (unlikely(n == -1)) return NULL; #endif for (i = 0; i < n; i++) { PyObject *namei = __Pyx_PyTuple_GET_ITEM(kwnames, i); #if !CYTHON_ASSUME_SAFE_MACROS if (unlikely(!namei)) return NULL; #endif if (s == namei) return kwvalues[i]; } for (i = 0; i < n; i++) { PyObject *namei = __Pyx_PyTuple_GET_ITEM(kwnames, i); #if !CYTHON_ASSUME_SAFE_MACROS if (unlikely(!namei)) return NULL; #endif int eq = __Pyx_PyUnicode_Equals(s, namei, Py_EQ); if (unlikely(eq != 0)) { if (unlikely(eq < 0)) return NULL; return kwvalues[i]; } } return NULL; } #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { Py_ssize_t i, nkwargs; PyObject *dict; #if !CYTHON_ASSUME_SAFE_SIZE nkwargs = PyTuple_Size(kwnames); if (unlikely(nkwargs < 0)) return NULL; #else nkwargs = PyTuple_GET_SIZE(kwnames); #endif dict = PyDict_New(); if (unlikely(!dict)) return NULL; for (i=0; itype, *target->method_name); if (unlikely(!method)) return -1; result = method; #if CYTHON_COMPILING_IN_CPYTHON if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type))) { PyMethodDescrObject *descr = (PyMethodDescrObject*) method; target->func = descr->d_method->ml_meth; target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS); } else #endif #if CYTHON_COMPILING_IN_PYPY #else if (PyCFunction_Check(method)) #endif { PyObject *self; int self_found; #if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY self = PyObject_GetAttrString(method, "__self__"); if (!self) { PyErr_Clear(); } #else self = PyCFunction_GET_SELF(method); #endif self_found = (self && self != Py_None); #if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY Py_XDECREF(self); #endif if (self_found) { PyObject *unbound_method = PyCFunction_New(&__Pyx_UnboundCMethod_Def, method); if (unlikely(!unbound_method)) return -1; Py_DECREF(method); result = unbound_method; } } #if !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING if (unlikely(target->method)) { Py_DECREF(result); } else #endif target->method = result; return 0; } /* CallUnboundCMethod2 */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2) { int was_initialized = __Pyx_CachedCFunction_GetAndSetInitializing(cfunc); if (likely(was_initialized == 2 && cfunc->func)) { PyObject *args[2] = {arg1, arg2}; if (cfunc->flag == METH_FASTCALL) { return __Pyx_CallCFunctionFast(cfunc, self, args, 2); } if (cfunc->flag == (METH_FASTCALL | METH_KEYWORDS)) return __Pyx_CallCFunctionFastWithKeywords(cfunc, self, args, 2, NULL); } #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING else if (unlikely(was_initialized == 1)) { __Pyx_CachedCFunction tmp_cfunc = { #ifndef __cplusplus 0 #endif }; tmp_cfunc.type = cfunc->type; tmp_cfunc.method_name = cfunc->method_name; return __Pyx__CallUnboundCMethod2(&tmp_cfunc, self, arg1, arg2); } #endif PyObject *result = __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2); __Pyx_CachedCFunction_SetFinishedInitializing(cfunc); return result; } #endif static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2){ if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL; #if CYTHON_COMPILING_IN_CPYTHON if (cfunc->func && (cfunc->flag & METH_VARARGS)) { PyObject *result = NULL; PyObject *args = PyTuple_New(2); if (unlikely(!args)) return NULL; Py_INCREF(arg1); PyTuple_SET_ITEM(args, 0, arg1); Py_INCREF(arg2); PyTuple_SET_ITEM(args, 1, arg2); if (cfunc->flag & METH_KEYWORDS) result = __Pyx_CallCFunctionWithKeywords(cfunc, self, args, NULL); else result = __Pyx_CallCFunction(cfunc, self, args); Py_DECREF(args); return result; } #endif { PyObject *args[4] = {NULL, self, arg1, arg2}; return __Pyx_PyObject_FastCall(cfunc->method, args+1, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); } } /* ParseKeywords */ static int __Pyx_ValidateDuplicatePosArgs( PyObject *kwds, PyObject ** const argnames[], PyObject ** const *first_kw_arg, const char* function_name) { PyObject ** const *name = argnames; while (name != first_kw_arg) { PyObject *key = **name; int found = PyDict_Contains(kwds, key); if (unlikely(found)) { if (found == 1) __Pyx_RaiseDoubleKeywordsError(function_name, key); goto bad; } name++; } return 0; bad: return -1; } #if CYTHON_USE_UNICODE_INTERNALS static CYTHON_INLINE int __Pyx_UnicodeKeywordsEqual(PyObject *s1, PyObject *s2) { int kind; Py_ssize_t len = PyUnicode_GET_LENGTH(s1); if (len != PyUnicode_GET_LENGTH(s2)) return 0; kind = PyUnicode_KIND(s1); if (kind != PyUnicode_KIND(s2)) return 0; const void *data1 = PyUnicode_DATA(s1); const void *data2 = PyUnicode_DATA(s2); return (memcmp(data1, data2, (size_t) len * (size_t) kind) == 0); } #endif static int __Pyx_MatchKeywordArg_str( PyObject *key, PyObject ** const argnames[], PyObject ** const *first_kw_arg, size_t *index_found, const char *function_name) { PyObject ** const *name; #if CYTHON_USE_UNICODE_INTERNALS Py_hash_t key_hash = ((PyASCIIObject*)key)->hash; if (unlikely(key_hash == -1)) { key_hash = PyObject_Hash(key); if (unlikely(key_hash == -1)) goto bad; } #endif name = first_kw_arg; while (*name) { PyObject *name_str = **name; #if CYTHON_USE_UNICODE_INTERNALS if (key_hash == ((PyASCIIObject*)name_str)->hash && __Pyx_UnicodeKeywordsEqual(name_str, key)) { *index_found = (size_t) (name - argnames); return 1; } #else #if CYTHON_ASSUME_SAFE_SIZE if (PyUnicode_GET_LENGTH(name_str) == PyUnicode_GET_LENGTH(key)) #endif { int cmp = PyUnicode_Compare(name_str, key); if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad; if (cmp == 0) { *index_found = (size_t) (name - argnames); return 1; } } #endif name++; } name = argnames; while (name != first_kw_arg) { PyObject *name_str = **name; #if CYTHON_USE_UNICODE_INTERNALS if (unlikely(key_hash == ((PyASCIIObject*)name_str)->hash)) { if (__Pyx_UnicodeKeywordsEqual(name_str, key)) goto arg_passed_twice; } #else #if CYTHON_ASSUME_SAFE_SIZE if (PyUnicode_GET_LENGTH(name_str) == PyUnicode_GET_LENGTH(key)) #endif { if (unlikely(name_str == key)) goto arg_passed_twice; int cmp = PyUnicode_Compare(name_str, key); if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad; if (cmp == 0) goto arg_passed_twice; } #endif name++; } return 0; arg_passed_twice: __Pyx_RaiseDoubleKeywordsError(function_name, key); goto bad; bad: return -1; } static int __Pyx_MatchKeywordArg_nostr( PyObject *key, PyObject ** const argnames[], PyObject ** const *first_kw_arg, size_t *index_found, const char *function_name) { PyObject ** const *name; if (unlikely(!PyUnicode_Check(key))) goto invalid_keyword_type; name = first_kw_arg; while (*name) { int cmp = PyObject_RichCompareBool(**name, key, Py_EQ); if (cmp == 1) { *index_found = (size_t) (name - argnames); return 1; } if (unlikely(cmp == -1)) goto bad; name++; } name = argnames; while (name != first_kw_arg) { int cmp = PyObject_RichCompareBool(**name, key, Py_EQ); if (unlikely(cmp != 0)) { if (cmp == 1) goto arg_passed_twice; else goto bad; } name++; } return 0; arg_passed_twice: __Pyx_RaiseDoubleKeywordsError(function_name, key); goto bad; invalid_keyword_type: PyErr_Format(PyExc_TypeError, "%.200s() keywords must be strings", function_name); goto bad; bad: return -1; } static CYTHON_INLINE int __Pyx_MatchKeywordArg( PyObject *key, PyObject ** const argnames[], PyObject ** const *first_kw_arg, size_t *index_found, const char *function_name) { return likely(PyUnicode_CheckExact(key)) ? __Pyx_MatchKeywordArg_str(key, argnames, first_kw_arg, index_found, function_name) : __Pyx_MatchKeywordArg_nostr(key, argnames, first_kw_arg, index_found, function_name); } static void __Pyx_RejectUnknownKeyword( PyObject *kwds, PyObject ** const argnames[], PyObject ** const *first_kw_arg, const char *function_name) { Py_ssize_t pos = 0; PyObject *key = NULL; __Pyx_BEGIN_CRITICAL_SECTION(kwds); while (PyDict_Next(kwds, &pos, &key, NULL)) { PyObject** const *name = first_kw_arg; while (*name && (**name != key)) name++; if (!*name) { #if CYTHON_AVOID_BORROWED_REFS Py_INCREF(key); #endif size_t index_found = 0; int cmp = __Pyx_MatchKeywordArg(key, argnames, first_kw_arg, &index_found, function_name); if (cmp != 1) { if (cmp == 0) { PyErr_Format(PyExc_TypeError, "%s() got an unexpected keyword argument '%U'", function_name, key); } #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(key); #endif break; } #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(key); #endif } } __Pyx_END_CRITICAL_SECTION(); assert(PyErr_Occurred()); } static int __Pyx_ParseKeywordDict( PyObject *kwds, PyObject ** const argnames[], PyObject *values[], Py_ssize_t num_pos_args, Py_ssize_t num_kwargs, const char* function_name, int ignore_unknown_kwargs) { PyObject** const *name; PyObject** const *first_kw_arg = argnames + num_pos_args; Py_ssize_t extracted = 0; #if !CYTHON_COMPILING_IN_PYPY || defined(PyArg_ValidateKeywordArguments) if (unlikely(!PyArg_ValidateKeywordArguments(kwds))) return -1; #endif name = first_kw_arg; while (*name && num_kwargs > extracted) { PyObject * key = **name; PyObject *value; int found = 0; #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 found = PyDict_GetItemRef(kwds, key, &value); #else value = PyDict_GetItemWithError(kwds, key); if (value) { Py_INCREF(value); found = 1; } else { if (unlikely(PyErr_Occurred())) goto bad; } #endif if (found) { if (unlikely(found < 0)) goto bad; values[name-argnames] = value; extracted++; } name++; } if (num_kwargs > extracted) { if (ignore_unknown_kwargs) { if (unlikely(__Pyx_ValidateDuplicatePosArgs(kwds, argnames, first_kw_arg, function_name) == -1)) goto bad; } else { __Pyx_RejectUnknownKeyword(kwds, argnames, first_kw_arg, function_name); goto bad; } } return 0; bad: return -1; } static int __Pyx_ParseKeywordDictToDict( PyObject *kwds, PyObject ** const argnames[], PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, const char* function_name) { PyObject** const *name; PyObject** const *first_kw_arg = argnames + num_pos_args; Py_ssize_t len; #if !CYTHON_COMPILING_IN_PYPY || defined(PyArg_ValidateKeywordArguments) if (unlikely(!PyArg_ValidateKeywordArguments(kwds))) return -1; #endif if (PyDict_Update(kwds2, kwds) < 0) goto bad; name = first_kw_arg; while (*name) { PyObject *key = **name; PyObject *value; #if !CYTHON_COMPILING_IN_LIMITED_API && (PY_VERSION_HEX >= 0x030d00A2 || defined(PyDict_Pop)) int found = PyDict_Pop(kwds2, key, &value); if (found) { if (unlikely(found < 0)) goto bad; values[name-argnames] = value; } #elif __PYX_LIMITED_VERSION_HEX >= 0x030d0000 int found = PyDict_GetItemRef(kwds2, key, &value); if (found) { if (unlikely(found < 0)) goto bad; values[name-argnames] = value; if (unlikely(PyDict_DelItem(kwds2, key) < 0)) goto bad; } #else #if CYTHON_COMPILING_IN_CPYTHON value = _PyDict_Pop(kwds2, key, kwds2); #else value = __Pyx_CallUnboundCMethod2(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_pop, kwds2, key, kwds2); #endif if (value == kwds2) { Py_DECREF(value); } else { if (unlikely(!value)) goto bad; values[name-argnames] = value; } #endif name++; } len = PyDict_Size(kwds2); if (len > 0) { return __Pyx_ValidateDuplicatePosArgs(kwds, argnames, first_kw_arg, function_name); } else if (unlikely(len == -1)) { goto bad; } return 0; bad: return -1; } static int __Pyx_ParseKeywordsTuple( PyObject *kwds, PyObject * const *kwvalues, PyObject ** const argnames[], PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, Py_ssize_t num_kwargs, const char* function_name, int ignore_unknown_kwargs) { PyObject *key = NULL; PyObject** const * name; PyObject** const *first_kw_arg = argnames + num_pos_args; for (Py_ssize_t pos = 0; pos < num_kwargs; pos++) { #if CYTHON_AVOID_BORROWED_REFS key = __Pyx_PySequence_ITEM(kwds, pos); #else key = __Pyx_PyTuple_GET_ITEM(kwds, pos); #endif #if !CYTHON_ASSUME_SAFE_MACROS if (unlikely(!key)) goto bad; #endif name = first_kw_arg; while (*name && (**name != key)) name++; if (*name) { PyObject *value = kwvalues[pos]; values[name-argnames] = __Pyx_NewRef(value); } else { size_t index_found = 0; int cmp = __Pyx_MatchKeywordArg(key, argnames, first_kw_arg, &index_found, function_name); if (cmp == 1) { PyObject *value = kwvalues[pos]; values[index_found] = __Pyx_NewRef(value); } else { if (unlikely(cmp == -1)) goto bad; if (kwds2) { PyObject *value = kwvalues[pos]; if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad; } else if (!ignore_unknown_kwargs) { goto invalid_keyword; } } } #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(key); key = NULL; #endif } return 0; invalid_keyword: PyErr_Format(PyExc_TypeError, "%s() got an unexpected keyword argument '%U'", function_name, key); goto bad; bad: #if CYTHON_AVOID_BORROWED_REFS Py_XDECREF(key); #endif return -1; } static int __Pyx_ParseKeywords( PyObject *kwds, PyObject * const *kwvalues, PyObject ** const argnames[], PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, Py_ssize_t num_kwargs, const char* function_name, int ignore_unknown_kwargs) { if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds))) return __Pyx_ParseKeywordsTuple(kwds, kwvalues, argnames, kwds2, values, num_pos_args, num_kwargs, function_name, ignore_unknown_kwargs); else if (kwds2) return __Pyx_ParseKeywordDictToDict(kwds, argnames, kwds2, values, num_pos_args, function_name); else return __Pyx_ParseKeywordDict(kwds, argnames, values, num_pos_args, num_kwargs, function_name, ignore_unknown_kwargs); } /* RaiseArgTupleInvalid */ static void __Pyx_RaiseArgtupleInvalid( const char* func_name, int exact, Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found) { Py_ssize_t num_expected; const char *more_or_less; if (num_found < num_min) { num_expected = num_min; more_or_less = "at least"; } else { num_expected = num_max; more_or_less = "at most"; } if (exact) { more_or_less = "exactly"; } PyErr_Format(PyExc_TypeError, "%.200s() takes %.8s %" CYTHON_FORMAT_SSIZE_T "d positional argument%.1s (%" CYTHON_FORMAT_SSIZE_T "d given)", func_name, more_or_less, num_expected, (num_expected == 1) ? "" : "s", num_found); } /* ArgTypeTest */ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact) { __Pyx_TypeName type_name; __Pyx_TypeName obj_type_name; PyObject *extra_info = __pyx_mstate_global->__pyx_empty_unicode; int from_annotation_subclass = 0; if (unlikely(!type)) { PyErr_SetString(PyExc_SystemError, "Missing type object"); return 0; } else if (!exact) { if (likely(__Pyx_TypeCheck(obj, type))) return 1; } else if (exact == 2) { if (__Pyx_TypeCheck(obj, type)) { from_annotation_subclass = 1; extra_info = __pyx_mstate_global->__pyx_kp_u_Note_that_Cython_is_deliberately; } } type_name = __Pyx_PyType_GetFullyQualifiedName(type); obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); PyErr_Format(PyExc_TypeError, "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME ", got " __Pyx_FMT_TYPENAME ")" #if __PYX_LIMITED_VERSION_HEX < 0x030C0000 "%s%U" #endif , name, type_name, obj_type_name #if __PYX_LIMITED_VERSION_HEX < 0x030C0000 , (from_annotation_subclass ? ". " : ""), extra_info #endif ); #if __PYX_LIMITED_VERSION_HEX >= 0x030C0000 if (exact == 2 && from_annotation_subclass) { PyObject *res; PyObject *vargs[2]; vargs[0] = PyErr_GetRaisedException(); vargs[1] = extra_info; res = PyObject_VectorcallMethod(__pyx_mstate_global->__pyx_kp_u_add_note, vargs, 2, NULL); Py_XDECREF(res); PyErr_SetRaisedException(vargs[0]); } #endif __Pyx_DECREF_TypeName(type_name); __Pyx_DECREF_TypeName(obj_type_name); return 0; } /* Import */ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) { PyObject *module = 0; PyObject *empty_dict = 0; PyObject *empty_list = 0; empty_dict = PyDict_New(); if (unlikely(!empty_dict)) goto bad; if (level == -1) { const char* package_sep = strchr(__Pyx_MODULE_NAME, '.'); if (package_sep != (0)) { module = PyImport_ImportModuleLevelObject( name, __pyx_mstate_global->__pyx_d, empty_dict, from_list, 1); if (unlikely(!module)) { if (unlikely(!PyErr_ExceptionMatches(PyExc_ImportError))) goto bad; PyErr_Clear(); } } level = 0; } if (!module) { module = PyImport_ImportModuleLevelObject( name, __pyx_mstate_global->__pyx_d, empty_dict, from_list, level); } bad: Py_XDECREF(empty_dict); Py_XDECREF(empty_list); return module; } /* ImportDottedModule */ static PyObject *__Pyx__ImportDottedModule_Error(PyObject *name, PyObject *parts_tuple, Py_ssize_t count) { PyObject *partial_name = NULL, *slice = NULL, *sep = NULL; Py_ssize_t size; if (unlikely(PyErr_Occurred())) { PyErr_Clear(); } #if CYTHON_ASSUME_SAFE_SIZE size = PyTuple_GET_SIZE(parts_tuple); #else size = PyTuple_Size(parts_tuple); if (size < 0) goto bad; #endif if (likely(size == count)) { partial_name = name; } else { slice = PySequence_GetSlice(parts_tuple, 0, count); if (unlikely(!slice)) goto bad; sep = PyUnicode_FromStringAndSize(".", 1); if (unlikely(!sep)) goto bad; partial_name = PyUnicode_Join(sep, slice); } PyErr_Format( PyExc_ModuleNotFoundError, "No module named '%U'", partial_name); bad: Py_XDECREF(sep); Py_XDECREF(slice); Py_XDECREF(partial_name); return NULL; } static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) { PyObject *imported_module; #if (CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM < 0x07030400) ||\ CYTHON_COMPILING_IN_GRAAL PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) return NULL; imported_module = __Pyx_PyDict_GetItemStr(modules, name); Py_XINCREF(imported_module); #else imported_module = PyImport_GetModule(name); #endif return imported_module; } static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple) { Py_ssize_t i, nparts; #if CYTHON_ASSUME_SAFE_SIZE nparts = PyTuple_GET_SIZE(parts_tuple); #else nparts = PyTuple_Size(parts_tuple); if (nparts < 0) return NULL; #endif for (i=1; i < nparts && module; i++) { PyObject *part, *submodule; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS part = PyTuple_GET_ITEM(parts_tuple, i); #else part = __Pyx_PySequence_ITEM(parts_tuple, i); if (!part) return NULL; #endif submodule = __Pyx_PyObject_GetAttrStrNoError(module, part); #if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS) Py_DECREF(part); #endif Py_DECREF(module); module = submodule; } if (unlikely(!module)) { return __Pyx__ImportDottedModule_Error(name, parts_tuple, i); } return module; } static PyObject *__Pyx__ImportDottedModule(PyObject *name, PyObject *parts_tuple) { PyObject *imported_module; PyObject *module = __Pyx_Import(name, NULL, 0); if (!parts_tuple || unlikely(!module)) return module; imported_module = __Pyx__ImportDottedModule_Lookup(name); if (likely(imported_module)) { Py_DECREF(module); return imported_module; } PyErr_Clear(); return __Pyx_ImportDottedModule_WalkParts(module, name, parts_tuple); } static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple) { #if CYTHON_COMPILING_IN_CPYTHON PyObject *module = __Pyx__ImportDottedModule_Lookup(name); if (likely(module)) { PyObject *spec = __Pyx_PyObject_GetAttrStrNoError(module, __pyx_mstate_global->__pyx_n_u_spec); if (likely(spec)) { PyObject *unsafe = __Pyx_PyObject_GetAttrStrNoError(spec, __pyx_mstate_global->__pyx_n_u_initializing); if (likely(!unsafe || !__Pyx_PyObject_IsTrue(unsafe))) { Py_DECREF(spec); spec = NULL; } Py_XDECREF(unsafe); } if (likely(!spec)) { PyErr_Clear(); return module; } Py_DECREF(spec); Py_DECREF(module); } else if (PyErr_Occurred()) { PyErr_Clear(); } #endif return __Pyx__ImportDottedModule(name, parts_tuple); } /* LimitedApiGetTypeDict */ #if CYTHON_COMPILING_IN_LIMITED_API static Py_ssize_t __Pyx_GetTypeDictOffset(void) { PyObject *tp_dictoffset_o; Py_ssize_t tp_dictoffset; tp_dictoffset_o = PyObject_GetAttrString((PyObject*)(&PyType_Type), "__dictoffset__"); if (unlikely(!tp_dictoffset_o)) return -1; tp_dictoffset = PyLong_AsSsize_t(tp_dictoffset_o); Py_DECREF(tp_dictoffset_o); if (unlikely(tp_dictoffset == 0)) { PyErr_SetString( PyExc_TypeError, "'type' doesn't have a dictoffset"); return -1; } else if (unlikely(tp_dictoffset < 0)) { PyErr_SetString( PyExc_TypeError, "'type' has an unexpected negative dictoffset. " "Please report this as Cython bug"); return -1; } return tp_dictoffset; } static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) { static Py_ssize_t tp_dictoffset = 0; if (unlikely(tp_dictoffset == 0)) { tp_dictoffset = __Pyx_GetTypeDictOffset(); if (unlikely(tp_dictoffset == -1 && PyErr_Occurred())) { tp_dictoffset = 0; // try again next time? return NULL; } } return *(PyObject**)((char*)tp + tp_dictoffset); } #endif /* SetItemOnTypeDict */ static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v) { int result; PyObject *tp_dict; #if CYTHON_COMPILING_IN_LIMITED_API tp_dict = __Pyx_GetTypeDict(tp); if (unlikely(!tp_dict)) return -1; #else tp_dict = tp->tp_dict; #endif result = PyDict_SetItem(tp_dict, k, v); if (likely(!result)) { PyType_Modified(tp); if (unlikely(PyObject_HasAttr(v, __pyx_mstate_global->__pyx_n_u_set_name))) { PyObject *setNameResult = PyObject_CallMethodObjArgs(v, __pyx_mstate_global->__pyx_n_u_set_name, (PyObject *) tp, k, NULL); if (!setNameResult) return -1; Py_DECREF(setNameResult); } } return result; } /* FixUpExtensionType */ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type) { #if __PYX_LIMITED_VERSION_HEX > 0x030900B1 CYTHON_UNUSED_VAR(spec); CYTHON_UNUSED_VAR(type); CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); #else const PyType_Slot *slot = spec->slots; int changed = 0; #if !CYTHON_COMPILING_IN_LIMITED_API while (slot && slot->slot && slot->slot != Py_tp_members) slot++; if (slot && slot->slot == Py_tp_members) { #if !CYTHON_COMPILING_IN_CPYTHON const #endif // !CYTHON_COMPILING_IN_CPYTHON) PyMemberDef *memb = (PyMemberDef*) slot->pfunc; while (memb && memb->name) { if (memb->name[0] == '_' && memb->name[1] == '_') { if (strcmp(memb->name, "__weaklistoffset__") == 0) { assert(memb->type == T_PYSSIZET); assert(memb->flags == READONLY); type->tp_weaklistoffset = memb->offset; changed = 1; } else if (strcmp(memb->name, "__dictoffset__") == 0) { assert(memb->type == T_PYSSIZET); assert(memb->flags == READONLY); type->tp_dictoffset = memb->offset; changed = 1; } #if CYTHON_METH_FASTCALL else if (strcmp(memb->name, "__vectorcalloffset__") == 0) { assert(memb->type == T_PYSSIZET); assert(memb->flags == READONLY); #if PY_VERSION_HEX >= 0x030800b4 type->tp_vectorcall_offset = memb->offset; #else type->tp_print = (printfunc) memb->offset; #endif changed = 1; } #endif // CYTHON_METH_FASTCALL #if !CYTHON_COMPILING_IN_PYPY else if (strcmp(memb->name, "__module__") == 0) { PyObject *descr; assert(memb->type == T_OBJECT); assert(memb->flags == 0 || memb->flags == READONLY); descr = PyDescr_NewMember(type, memb); if (unlikely(!descr)) return -1; int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr); Py_DECREF(descr); if (unlikely(set_item_result < 0)) { return -1; } changed = 1; } #endif // !CYTHON_COMPILING_IN_PYPY } memb++; } } #endif // !CYTHON_COMPILING_IN_LIMITED_API #if !CYTHON_COMPILING_IN_PYPY slot = spec->slots; while (slot && slot->slot && slot->slot != Py_tp_getset) slot++; if (slot && slot->slot == Py_tp_getset) { PyGetSetDef *getset = (PyGetSetDef*) slot->pfunc; while (getset && getset->name) { if (getset->name[0] == '_' && getset->name[1] == '_' && strcmp(getset->name, "__module__") == 0) { PyObject *descr = PyDescr_NewGetSet(type, getset); if (unlikely(!descr)) return -1; #if CYTHON_COMPILING_IN_LIMITED_API PyObject *pyname = PyUnicode_FromString(getset->name); if (unlikely(!pyname)) { Py_DECREF(descr); return -1; } int set_item_result = __Pyx_SetItemOnTypeDict(type, pyname, descr); Py_DECREF(pyname); #else CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr); #endif Py_DECREF(descr); if (unlikely(set_item_result < 0)) { return -1; } changed = 1; } ++getset; } } #endif // !CYTHON_COMPILING_IN_PYPY if (changed) PyType_Modified(type); #endif // PY_VERSION_HEX > 0x030900B1 return 0; } /* FetchSharedCythonModule */ static PyObject *__Pyx_FetchSharedCythonABIModule(void) { return __Pyx_PyImport_AddModuleRef(__PYX_ABI_MODULE_NAME); } /* dict_setdefault */ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value, int is_safe_type) { PyObject* value; CYTHON_MAYBE_UNUSED_VAR(is_safe_type); #if CYTHON_COMPILING_IN_LIMITED_API value = PyObject_CallMethod(d, "setdefault", "OO", key, default_value); #elif PY_VERSION_HEX >= 0x030d0000 PyDict_SetDefaultRef(d, key, default_value, &value); #else value = PyDict_SetDefault(d, key, default_value); if (unlikely(!value)) return NULL; Py_INCREF(value); #endif return value; } /* FetchCommonType */ #if __PYX_LIMITED_VERSION_HEX < 0x030C0000 static PyObject* __Pyx_PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { PyObject *result = __Pyx_PyType_FromModuleAndSpec(module, spec, bases); if (result && metaclass) { PyObject *old_tp = (PyObject*)Py_TYPE(result); Py_INCREF((PyObject*)metaclass); #if __PYX_LIMITED_VERSION_HEX >= 0x03090000 Py_SET_TYPE(result, metaclass); #else result->ob_type = metaclass; #endif Py_DECREF(old_tp); } return result; } #else #define __Pyx_PyType_FromMetaclass(me, mo, s, b) PyType_FromMetaclass(me, mo, s, b) #endif static int __Pyx_VerifyCachedType(PyObject *cached_type, const char *name, Py_ssize_t expected_basicsize) { Py_ssize_t basicsize; if (!PyType_Check(cached_type)) { PyErr_Format(PyExc_TypeError, "Shared Cython type %.200s is not a type object", name); return -1; } if (expected_basicsize == 0) { return 0; // size is inherited, nothing useful to check } #if CYTHON_COMPILING_IN_LIMITED_API PyObject *py_basicsize; py_basicsize = PyObject_GetAttrString(cached_type, "__basicsize__"); if (unlikely(!py_basicsize)) return -1; basicsize = PyLong_AsSsize_t(py_basicsize); Py_DECREF(py_basicsize); py_basicsize = NULL; if (unlikely(basicsize == (Py_ssize_t)-1) && PyErr_Occurred()) return -1; #else basicsize = ((PyTypeObject*) cached_type)->tp_basicsize; #endif if (basicsize != expected_basicsize) { PyErr_Format(PyExc_TypeError, "Shared Cython type %.200s has the wrong size, try recompiling", name); return -1; } return 0; } static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { PyObject *abi_module = NULL, *cached_type = NULL, *abi_module_dict, *new_cached_type, *py_object_name; int get_item_ref_result; const char* object_name = strrchr(spec->name, '.'); object_name = object_name ? object_name+1 : spec->name; py_object_name = PyUnicode_FromString(object_name); if (!py_object_name) return NULL; abi_module = __Pyx_FetchSharedCythonABIModule(); if (!abi_module) goto done; abi_module_dict = PyModule_GetDict(abi_module); if (!abi_module_dict) goto done; get_item_ref_result = __Pyx_PyDict_GetItemRef(abi_module_dict, py_object_name, &cached_type); if (get_item_ref_result == 1) { if (__Pyx_VerifyCachedType( cached_type, object_name, spec->basicsize) < 0) { goto bad; } goto done; } else if (unlikely(get_item_ref_result == -1)) { goto bad; } CYTHON_UNUSED_VAR(module); cached_type = __Pyx_PyType_FromMetaclass(metaclass, abi_module, spec, bases); if (unlikely(!cached_type)) goto bad; if (unlikely(__Pyx_fix_up_extension_type_from_spec(spec, (PyTypeObject *) cached_type) < 0)) goto bad; new_cached_type = __Pyx_PyDict_SetDefault(abi_module_dict, py_object_name, cached_type, 1); if (unlikely(new_cached_type != cached_type)) { if (unlikely(!new_cached_type)) goto bad; Py_DECREF(cached_type); cached_type = new_cached_type; if (__Pyx_VerifyCachedType( cached_type, object_name, spec->basicsize) < 0) { goto bad; } goto done; } else { Py_DECREF(new_cached_type); } done: Py_XDECREF(abi_module); Py_DECREF(py_object_name); assert(cached_type == NULL || PyType_Check(cached_type)); return (PyTypeObject *) cached_type; bad: Py_XDECREF(cached_type); cached_type = NULL; goto done; } /* CommonTypesMetaclass */ static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) { return PyUnicode_FromString(__PYX_ABI_MODULE_NAME); } static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = { {"__module__", __pyx_CommonTypesMetaclass_get_module, NULL, NULL, NULL}, {0, 0, 0, 0, 0} }; static PyType_Slot __pyx_CommonTypesMetaclass_slots[] = { {Py_tp_getset, (void *)__pyx_CommonTypesMetaclass_getset}, {0, 0} }; static PyType_Spec __pyx_CommonTypesMetaclass_spec = { __PYX_TYPE_MODULE_PREFIX "_common_types_metatype", 0, 0, #if PY_VERSION_HEX >= 0x030A0000 Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_DISALLOW_INSTANTIATION | #endif Py_TPFLAGS_DEFAULT, __pyx_CommonTypesMetaclass_slots }; static int __pyx_CommonTypesMetaclass_init(PyObject *module) { __pyx_mstatetype *mstate = __Pyx_PyModule_GetState(module); PyObject *bases = PyTuple_Pack(1, &PyType_Type); if (unlikely(!bases)) { return -1; } mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases); Py_DECREF(bases); if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) { return -1; } return 0; } /* CallTypeTraverse */ #if !CYTHON_USE_TYPE_SPECS || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x03090000) #else static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg) { #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x03090000 if (__Pyx_get_runtime_version() < 0x03090000) return 0; #endif if (!always_call) { PyTypeObject *base = __Pyx_PyObject_GetSlot(o, tp_base, PyTypeObject*); unsigned long flags = PyType_GetFlags(base); if (flags & Py_TPFLAGS_HEAPTYPE) { return 0; } } Py_VISIT((PyObject*)Py_TYPE(o)); return 0; } #endif /* PyMethodNew */ #if CYTHON_COMPILING_IN_LIMITED_API static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) { PyObject *result; CYTHON_UNUSED_VAR(typ); if (!self) return __Pyx_NewRef(func); #if __PYX_LIMITED_VERSION_HEX >= 0x030C0000 { PyObject *args[] = {func, self}; result = PyObject_Vectorcall(__pyx_mstate_global->__Pyx_CachedMethodType, args, 2, NULL); } #else result = PyObject_CallFunctionObjArgs(__pyx_mstate_global->__Pyx_CachedMethodType, func, self, NULL); #endif return result; } #else static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) { CYTHON_UNUSED_VAR(typ); if (!self) return __Pyx_NewRef(func); return PyMethod_New(func, self); } #endif /* PyVectorcallFastCallDict */ #if CYTHON_METH_FASTCALL && (CYTHON_VECTORCALL || CYTHON_BACKPORT_VECTORCALL) static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw) { PyObject *res = NULL; PyObject *kwnames; PyObject **newargs; PyObject **kwvalues; Py_ssize_t i, pos; size_t j; PyObject *key, *value; unsigned long keys_are_strings; #if !CYTHON_ASSUME_SAFE_SIZE Py_ssize_t nkw = PyDict_Size(kw); if (unlikely(nkw == -1)) return NULL; #else Py_ssize_t nkw = PyDict_GET_SIZE(kw); #endif newargs = (PyObject **)PyMem_Malloc((nargs + (size_t)nkw) * sizeof(args[0])); if (unlikely(newargs == NULL)) { PyErr_NoMemory(); return NULL; } for (j = 0; j < nargs; j++) newargs[j] = args[j]; kwnames = PyTuple_New(nkw); if (unlikely(kwnames == NULL)) { PyMem_Free(newargs); return NULL; } kwvalues = newargs + nargs; pos = i = 0; keys_are_strings = Py_TPFLAGS_UNICODE_SUBCLASS; while (PyDict_Next(kw, &pos, &key, &value)) { keys_are_strings &= #if CYTHON_COMPILING_IN_LIMITED_API PyType_GetFlags(Py_TYPE(key)); #else Py_TYPE(key)->tp_flags; #endif Py_INCREF(key); Py_INCREF(value); #if !CYTHON_ASSUME_SAFE_MACROS if (unlikely(PyTuple_SetItem(kwnames, i, key) < 0)) goto cleanup; #else PyTuple_SET_ITEM(kwnames, i, key); #endif kwvalues[i] = value; i++; } if (unlikely(!keys_are_strings)) { PyErr_SetString(PyExc_TypeError, "keywords must be strings"); goto cleanup; } res = vc(func, newargs, nargs, kwnames); cleanup: Py_DECREF(kwnames); for (i = 0; i < nkw; i++) Py_DECREF(kwvalues[i]); PyMem_Free(newargs); return res; } static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw) { Py_ssize_t kw_size = likely(kw == NULL) ? 0 : #if !CYTHON_ASSUME_SAFE_SIZE PyDict_Size(kw); #else PyDict_GET_SIZE(kw); #endif if (kw_size == 0) { return vc(func, args, nargs, NULL); } #if !CYTHON_ASSUME_SAFE_SIZE else if (unlikely(kw_size == -1)) { return NULL; } #endif return __Pyx_PyVectorcall_FastCallDict_kw(func, vc, args, nargs, kw); } #endif /* CythonFunctionShared */ #if CYTHON_COMPILING_IN_LIMITED_API static CYTHON_INLINE int __Pyx__IsSameCyOrCFunctionNoMethod(PyObject *func, void (*cfunc)(void)) { if (__Pyx_CyFunction_Check(func)) { return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc; } else if (PyCFunction_Check(func)) { return PyCFunction_GetFunction(func) == (PyCFunction) cfunc; } return 0; } static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { if ((PyObject*)Py_TYPE(func) == __pyx_mstate_global->__Pyx_CachedMethodType) { int result; PyObject *newFunc = PyObject_GetAttr(func, __pyx_mstate_global->__pyx_n_u_func); if (unlikely(!newFunc)) { PyErr_Clear(); // It's only an optimization, so don't throw an error return 0; } result = __Pyx__IsSameCyOrCFunctionNoMethod(newFunc, cfunc); Py_DECREF(newFunc); return result; } return __Pyx__IsSameCyOrCFunctionNoMethod(func, cfunc); } #else static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { if (PyMethod_Check(func)) { func = PyMethod_GET_FUNCTION(func); } return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; } #endif static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) { #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API __Pyx_Py_XDECREF_SET( __Pyx_CyFunction_GetClassObj(f), ((classobj) ? __Pyx_NewRef(classobj) : NULL)); #else __Pyx_Py_XDECREF_SET( ((PyCMethodObject *) (f))->mm_class, (PyTypeObject*)((classobj) ? __Pyx_NewRef(classobj) : NULL)); #endif } static PyObject * __Pyx_CyFunction_get_doc_locked(__pyx_CyFunctionObject *op) { if (unlikely(op->func_doc == NULL)) { #if CYTHON_COMPILING_IN_LIMITED_API op->func_doc = PyObject_GetAttrString(op->func, "__doc__"); if (unlikely(!op->func_doc)) return NULL; #else if (((PyCFunctionObject*)op)->m_ml->ml_doc) { op->func_doc = PyUnicode_FromString(((PyCFunctionObject*)op)->m_ml->ml_doc); if (unlikely(op->func_doc == NULL)) return NULL; } else { Py_INCREF(Py_None); return Py_None; } #endif } Py_INCREF(op->func_doc); return op->func_doc; } static PyObject * __Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, void *closure) { PyObject *result; CYTHON_UNUSED_VAR(closure); __Pyx_BEGIN_CRITICAL_SECTION(op); result = __Pyx_CyFunction_get_doc_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static int __Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (value == NULL) { value = Py_None; } Py_INCREF(value); __Pyx_BEGIN_CRITICAL_SECTION(op); __Pyx_Py_XDECREF_SET(op->func_doc, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * __Pyx_CyFunction_get_name_locked(__pyx_CyFunctionObject *op) { if (unlikely(op->func_name == NULL)) { #if CYTHON_COMPILING_IN_LIMITED_API op->func_name = PyObject_GetAttrString(op->func, "__name__"); #else op->func_name = PyUnicode_InternFromString(((PyCFunctionObject*)op)->m_ml->ml_name); #endif if (unlikely(op->func_name == NULL)) return NULL; } Py_INCREF(op->func_name); return op->func_name; } static PyObject * __Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op, void *context) { PyObject *result = NULL; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); result = __Pyx_CyFunction_get_name_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static int __Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (unlikely(value == NULL || !PyUnicode_Check(value))) { PyErr_SetString(PyExc_TypeError, "__name__ must be set to a string object"); return -1; } Py_INCREF(value); __Pyx_BEGIN_CRITICAL_SECTION(op); __Pyx_Py_XDECREF_SET(op->func_name, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * __Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op, void *context) { CYTHON_UNUSED_VAR(context); PyObject *result; __Pyx_BEGIN_CRITICAL_SECTION(op); Py_INCREF(op->func_qualname); result = op->func_qualname; __Pyx_END_CRITICAL_SECTION(); return result; } static int __Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (unlikely(value == NULL || !PyUnicode_Check(value))) { PyErr_SetString(PyExc_TypeError, "__qualname__ must be set to a string object"); return -1; } Py_INCREF(value); __Pyx_BEGIN_CRITICAL_SECTION(op); __Pyx_Py_XDECREF_SET(op->func_qualname, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * __Pyx_CyFunction_get_dict_locked(__pyx_CyFunctionObject *op) { if (unlikely(op->func_dict == NULL)) { op->func_dict = PyDict_New(); if (unlikely(op->func_dict == NULL)) return NULL; } Py_INCREF(op->func_dict); return op->func_dict; } static PyObject * __Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op, void *context) { CYTHON_UNUSED_VAR(context); PyObject *result; __Pyx_BEGIN_CRITICAL_SECTION(op); result = __Pyx_CyFunction_get_dict_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static int __Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (unlikely(value == NULL)) { PyErr_SetString(PyExc_TypeError, "function's dictionary may not be deleted"); return -1; } if (unlikely(!PyDict_Check(value))) { PyErr_SetString(PyExc_TypeError, "setting function's dictionary to a non-dict"); return -1; } Py_INCREF(value); __Pyx_BEGIN_CRITICAL_SECTION(op); __Pyx_Py_XDECREF_SET(op->func_dict, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * __Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op, void *context) { CYTHON_UNUSED_VAR(context); Py_INCREF(op->func_globals); return op->func_globals; } static PyObject * __Pyx_CyFunction_get_closure(__pyx_CyFunctionObject *op, void *context) { CYTHON_UNUSED_VAR(op); CYTHON_UNUSED_VAR(context); Py_INCREF(Py_None); return Py_None; } static PyObject * __Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op, void *context) { PyObject* result = (op->func_code) ? op->func_code : Py_None; CYTHON_UNUSED_VAR(context); Py_INCREF(result); return result; } static int __Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) { int result = 0; PyObject *res = op->defaults_getter((PyObject *) op); if (unlikely(!res)) return -1; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS op->defaults_tuple = PyTuple_GET_ITEM(res, 0); Py_INCREF(op->defaults_tuple); op->defaults_kwdict = PyTuple_GET_ITEM(res, 1); Py_INCREF(op->defaults_kwdict); #else op->defaults_tuple = __Pyx_PySequence_ITEM(res, 0); if (unlikely(!op->defaults_tuple)) result = -1; else { op->defaults_kwdict = __Pyx_PySequence_ITEM(res, 1); if (unlikely(!op->defaults_kwdict)) result = -1; } #endif Py_DECREF(res); return result; } static int __Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); if (!value) { value = Py_None; } else if (unlikely(value != Py_None && !PyTuple_Check(value))) { PyErr_SetString(PyExc_TypeError, "__defaults__ must be set to a tuple object"); return -1; } PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__defaults__ will not " "currently affect the values used in function calls", 1); Py_INCREF(value); __Pyx_BEGIN_CRITICAL_SECTION(op); __Pyx_Py_XDECREF_SET(op->defaults_tuple, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * __Pyx_CyFunction_get_defaults_locked(__pyx_CyFunctionObject *op) { PyObject* result = op->defaults_tuple; if (unlikely(!result)) { if (op->defaults_getter) { if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; result = op->defaults_tuple; } else { result = Py_None; } } Py_INCREF(result); return result; } static PyObject * __Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op, void *context) { PyObject* result = NULL; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); result = __Pyx_CyFunction_get_defaults_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static int __Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); if (!value) { value = Py_None; } else if (unlikely(value != Py_None && !PyDict_Check(value))) { PyErr_SetString(PyExc_TypeError, "__kwdefaults__ must be set to a dict object"); return -1; } PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__kwdefaults__ will not " "currently affect the values used in function calls", 1); Py_INCREF(value); __Pyx_BEGIN_CRITICAL_SECTION(op); __Pyx_Py_XDECREF_SET(op->defaults_kwdict, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * __Pyx_CyFunction_get_kwdefaults_locked(__pyx_CyFunctionObject *op) { PyObject* result = op->defaults_kwdict; if (unlikely(!result)) { if (op->defaults_getter) { if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; result = op->defaults_kwdict; } else { result = Py_None; } } Py_INCREF(result); return result; } static PyObject * __Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op, void *context) { PyObject* result; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); result = __Pyx_CyFunction_get_kwdefaults_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static int __Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); if (!value || value == Py_None) { value = NULL; } else if (unlikely(!PyDict_Check(value))) { PyErr_SetString(PyExc_TypeError, "__annotations__ must be set to a dict object"); return -1; } Py_XINCREF(value); __Pyx_BEGIN_CRITICAL_SECTION(op); __Pyx_Py_XDECREF_SET(op->func_annotations, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * __Pyx_CyFunction_get_annotations_locked(__pyx_CyFunctionObject *op) { PyObject* result = op->func_annotations; if (unlikely(!result)) { result = PyDict_New(); if (unlikely(!result)) return NULL; op->func_annotations = result; } Py_INCREF(result); return result; } static PyObject * __Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op, void *context) { PyObject *result; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); result = __Pyx_CyFunction_get_annotations_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static PyObject * __Pyx_CyFunction_get_is_coroutine_value(__pyx_CyFunctionObject *op) { int is_coroutine = op->flags & __Pyx_CYFUNCTION_COROUTINE; if (is_coroutine) { PyObject *is_coroutine_value, *module, *fromlist, *marker = __pyx_mstate_global->__pyx_n_u_is_coroutine; fromlist = PyList_New(1); if (unlikely(!fromlist)) return NULL; Py_INCREF(marker); #if CYTHON_ASSUME_SAFE_MACROS PyList_SET_ITEM(fromlist, 0, marker); #else if (unlikely(PyList_SetItem(fromlist, 0, marker) < 0)) { Py_DECREF(marker); Py_DECREF(fromlist); return NULL; } #endif module = PyImport_ImportModuleLevelObject(__pyx_mstate_global->__pyx_n_u_asyncio_coroutines, NULL, NULL, fromlist, 0); Py_DECREF(fromlist); if (unlikely(!module)) goto ignore; is_coroutine_value = __Pyx_PyObject_GetAttrStr(module, marker); Py_DECREF(module); if (likely(is_coroutine_value)) { return is_coroutine_value; } ignore: PyErr_Clear(); } return __Pyx_PyBool_FromLong(is_coroutine); } static PyObject * __Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { PyObject *result; CYTHON_UNUSED_VAR(context); if (op->func_is_coroutine) { return __Pyx_NewRef(op->func_is_coroutine); } result = __Pyx_CyFunction_get_is_coroutine_value(op); if (unlikely(!result)) return NULL; __Pyx_BEGIN_CRITICAL_SECTION(op); if (op->func_is_coroutine) { Py_DECREF(result); result = __Pyx_NewRef(op->func_is_coroutine); } else { op->func_is_coroutine = __Pyx_NewRef(result); } __Pyx_END_CRITICAL_SECTION(); return result; } static void __Pyx_CyFunction_raise_argument_count_error(__pyx_CyFunctionObject *func, const char* message, Py_ssize_t size) { #if CYTHON_COMPILING_IN_LIMITED_API PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL); if (!py_name) return; PyErr_Format(PyExc_TypeError, "%.200S() %s (%" CYTHON_FORMAT_SSIZE_T "d given)", py_name, message, size); Py_DECREF(py_name); #else const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name; PyErr_Format(PyExc_TypeError, "%.200s() %s (%" CYTHON_FORMAT_SSIZE_T "d given)", name, message, size); #endif } static void __Pyx_CyFunction_raise_type_error(__pyx_CyFunctionObject *func, const char* message) { #if CYTHON_COMPILING_IN_LIMITED_API PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL); if (!py_name) return; PyErr_Format(PyExc_TypeError, "%.200S() %s", py_name, message); Py_DECREF(py_name); #else const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name; PyErr_Format(PyExc_TypeError, "%.200s() %s", name, message); #endif } #if CYTHON_COMPILING_IN_LIMITED_API static PyObject * __Pyx_CyFunction_get_module(__pyx_CyFunctionObject *op, void *context) { CYTHON_UNUSED_VAR(context); return PyObject_GetAttrString(op->func, "__module__"); } static int __Pyx_CyFunction_set_module(__pyx_CyFunctionObject *op, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); return PyObject_SetAttrString(op->func, "__module__", value); } #endif static PyGetSetDef __pyx_CyFunction_getsets[] = { {"func_doc", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0}, {"__doc__", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0}, {"func_name", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0}, {"__name__", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0}, {"__qualname__", (getter)__Pyx_CyFunction_get_qualname, (setter)__Pyx_CyFunction_set_qualname, 0, 0}, {"func_dict", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0}, {"__dict__", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0}, {"func_globals", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0}, {"__globals__", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0}, {"func_closure", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0}, {"__closure__", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0}, {"func_code", (getter)__Pyx_CyFunction_get_code, 0, 0, 0}, {"__code__", (getter)__Pyx_CyFunction_get_code, 0, 0, 0}, {"func_defaults", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0}, {"__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0}, {"__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0}, {"__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0}, {"_is_coroutine", (getter)__Pyx_CyFunction_get_is_coroutine, 0, 0, 0}, #if CYTHON_COMPILING_IN_LIMITED_API {"__module__", (getter)__Pyx_CyFunction_get_module, (setter)__Pyx_CyFunction_set_module, 0, 0}, #endif {0, 0, 0, 0, 0} }; static PyMemberDef __pyx_CyFunction_members[] = { #if !CYTHON_COMPILING_IN_LIMITED_API {"__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), 0, 0}, #endif {"__dictoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_dict), READONLY, 0}, #if CYTHON_METH_FASTCALL #if CYTHON_BACKPORT_VECTORCALL || CYTHON_COMPILING_IN_LIMITED_API {"__vectorcalloffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_vectorcall), READONLY, 0}, #else {"__vectorcalloffset__", T_PYSSIZET, offsetof(PyCFunctionObject, vectorcall), READONLY, 0}, #endif #if CYTHON_COMPILING_IN_LIMITED_API {"__weaklistoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_weakreflist), READONLY, 0}, #else {"__weaklistoffset__", T_PYSSIZET, offsetof(PyCFunctionObject, m_weakreflist), READONLY, 0}, #endif #endif {0, 0, 0, 0, 0} }; static PyObject * __Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, PyObject *args) { PyObject *result = NULL; CYTHON_UNUSED_VAR(args); __Pyx_BEGIN_CRITICAL_SECTION(m); Py_INCREF(m->func_qualname); result = m->func_qualname; __Pyx_END_CRITICAL_SECTION(); return result; } static PyMethodDef __pyx_CyFunction_methods[] = { {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0}, {0, 0, 0, 0} }; #if CYTHON_COMPILING_IN_LIMITED_API #define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist) #else #define __Pyx_CyFunction_weakreflist(cyfunc) (((PyCFunctionObject*)cyfunc)->m_weakreflist) #endif static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { #if !CYTHON_COMPILING_IN_LIMITED_API PyCFunctionObject *cf = (PyCFunctionObject*) op; #endif if (unlikely(op == NULL)) return NULL; #if CYTHON_COMPILING_IN_LIMITED_API op->func = PyCFunction_NewEx(ml, (PyObject*)op, module); if (unlikely(!op->func)) return NULL; #endif op->flags = flags; __Pyx_CyFunction_weakreflist(op) = NULL; #if !CYTHON_COMPILING_IN_LIMITED_API cf->m_ml = ml; cf->m_self = (PyObject *) op; #endif Py_XINCREF(closure); op->func_closure = closure; #if !CYTHON_COMPILING_IN_LIMITED_API Py_XINCREF(module); cf->m_module = module; #endif op->func_dict = NULL; op->func_name = NULL; Py_INCREF(qualname); op->func_qualname = qualname; op->func_doc = NULL; #if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API op->func_classobj = NULL; #else ((PyCMethodObject*)op)->mm_class = NULL; #endif op->func_globals = globals; Py_INCREF(op->func_globals); Py_XINCREF(code); op->func_code = code; op->defaults = NULL; op->defaults_tuple = NULL; op->defaults_kwdict = NULL; op->defaults_getter = NULL; op->func_annotations = NULL; op->func_is_coroutine = NULL; #if CYTHON_METH_FASTCALL switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | METH_KEYWORDS | METH_METHOD)) { case METH_NOARGS: __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_NOARGS; break; case METH_O: __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_O; break; case METH_METHOD | METH_FASTCALL | METH_KEYWORDS: __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD; break; case METH_FASTCALL | METH_KEYWORDS: __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS; break; case METH_VARARGS | METH_KEYWORDS: __Pyx_CyFunction_func_vectorcall(op) = NULL; break; default: PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction"); Py_DECREF(op); return NULL; } #endif return (PyObject *) op; } static int __Pyx_CyFunction_clear(__pyx_CyFunctionObject *m) { Py_CLEAR(m->func_closure); #if CYTHON_COMPILING_IN_LIMITED_API Py_CLEAR(m->func); #else Py_CLEAR(((PyCFunctionObject*)m)->m_module); #endif Py_CLEAR(m->func_dict); Py_CLEAR(m->func_name); Py_CLEAR(m->func_qualname); Py_CLEAR(m->func_doc); Py_CLEAR(m->func_globals); Py_CLEAR(m->func_code); #if !CYTHON_COMPILING_IN_LIMITED_API #if PY_VERSION_HEX < 0x030900B1 Py_CLEAR(__Pyx_CyFunction_GetClassObj(m)); #else { PyObject *cls = (PyObject*) ((PyCMethodObject *) (m))->mm_class; ((PyCMethodObject *) (m))->mm_class = NULL; Py_XDECREF(cls); } #endif #endif Py_CLEAR(m->defaults_tuple); Py_CLEAR(m->defaults_kwdict); Py_CLEAR(m->func_annotations); Py_CLEAR(m->func_is_coroutine); Py_CLEAR(m->defaults); return 0; } static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m) { if (__Pyx_CyFunction_weakreflist(m) != NULL) PyObject_ClearWeakRefs((PyObject *) m); __Pyx_CyFunction_clear(m); __Pyx_PyHeapTypeObject_GC_Del(m); } static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m) { PyObject_GC_UnTrack(m); __Pyx__CyFunction_dealloc(m); } static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg) { { int e = __Pyx_call_type_traverse((PyObject*)m, 1, visit, arg); if (e) return e; } Py_VISIT(m->func_closure); #if CYTHON_COMPILING_IN_LIMITED_API Py_VISIT(m->func); #else Py_VISIT(((PyCFunctionObject*)m)->m_module); #endif Py_VISIT(m->func_dict); __Pyx_VISIT_CONST(m->func_name); __Pyx_VISIT_CONST(m->func_qualname); Py_VISIT(m->func_doc); Py_VISIT(m->func_globals); __Pyx_VISIT_CONST(m->func_code); #if !CYTHON_COMPILING_IN_LIMITED_API Py_VISIT(__Pyx_CyFunction_GetClassObj(m)); #endif Py_VISIT(m->defaults_tuple); Py_VISIT(m->defaults_kwdict); Py_VISIT(m->func_is_coroutine); Py_VISIT(m->defaults); return 0; } static PyObject* __Pyx_CyFunction_repr(__pyx_CyFunctionObject *op) { PyObject *repr; __Pyx_BEGIN_CRITICAL_SECTION(op); repr = PyUnicode_FromFormat("", op->func_qualname, (void *)op); __Pyx_END_CRITICAL_SECTION(); return repr; } static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) { #if CYTHON_COMPILING_IN_LIMITED_API PyObject *f = ((__pyx_CyFunctionObject*)func)->func; PyCFunction meth; int flags; meth = PyCFunction_GetFunction(f); if (unlikely(!meth)) return NULL; flags = PyCFunction_GetFlags(f); if (unlikely(flags < 0)) return NULL; #else PyCFunctionObject* f = (PyCFunctionObject*)func; PyCFunction meth = f->m_ml->ml_meth; int flags = f->m_ml->ml_flags; #endif Py_ssize_t size; switch (flags & (METH_VARARGS | METH_KEYWORDS | METH_NOARGS | METH_O)) { case METH_VARARGS: if (likely(kw == NULL || PyDict_Size(kw) == 0)) return (*meth)(self, arg); break; case METH_VARARGS | METH_KEYWORDS: return (*(PyCFunctionWithKeywords)(void(*)(void))meth)(self, arg, kw); case METH_NOARGS: if (likely(kw == NULL || PyDict_Size(kw) == 0)) { #if CYTHON_ASSUME_SAFE_SIZE size = PyTuple_GET_SIZE(arg); #else size = PyTuple_Size(arg); if (unlikely(size < 0)) return NULL; #endif if (likely(size == 0)) return (*meth)(self, NULL); __Pyx_CyFunction_raise_argument_count_error( (__pyx_CyFunctionObject*)func, "takes no arguments", size); return NULL; } break; case METH_O: if (likely(kw == NULL || PyDict_Size(kw) == 0)) { #if CYTHON_ASSUME_SAFE_SIZE size = PyTuple_GET_SIZE(arg); #else size = PyTuple_Size(arg); if (unlikely(size < 0)) return NULL; #endif if (likely(size == 1)) { PyObject *result, *arg0; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS arg0 = PyTuple_GET_ITEM(arg, 0); #else arg0 = __Pyx_PySequence_ITEM(arg, 0); if (unlikely(!arg0)) return NULL; #endif result = (*meth)(self, arg0); #if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS) Py_DECREF(arg0); #endif return result; } __Pyx_CyFunction_raise_argument_count_error( (__pyx_CyFunctionObject*)func, "takes exactly one argument", size); return NULL; } break; default: PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction"); return NULL; } __Pyx_CyFunction_raise_type_error( (__pyx_CyFunctionObject*)func, "takes no keyword arguments"); return NULL; } static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) { PyObject *self, *result; #if CYTHON_COMPILING_IN_LIMITED_API self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)func)->func); if (unlikely(!self) && PyErr_Occurred()) return NULL; #else self = ((PyCFunctionObject*)func)->m_self; #endif result = __Pyx_CyFunction_CallMethod(func, self, arg, kw); return result; } static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) { PyObject *result; __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func; #if CYTHON_METH_FASTCALL && (CYTHON_VECTORCALL || CYTHON_BACKPORT_VECTORCALL) __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc); if (vc) { #if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw); #else (void) &__Pyx_PyVectorcall_FastCallDict; return PyVectorcall_Call(func, args, kw); #endif } #endif if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) { Py_ssize_t argc; PyObject *new_args; PyObject *self; #if CYTHON_ASSUME_SAFE_SIZE argc = PyTuple_GET_SIZE(args); #else argc = PyTuple_Size(args); if (unlikely(argc < 0)) return NULL; #endif new_args = PyTuple_GetSlice(args, 1, argc); if (unlikely(!new_args)) return NULL; self = PyTuple_GetItem(args, 0); if (unlikely(!self)) { Py_DECREF(new_args); PyErr_Format(PyExc_TypeError, "unbound method %.200S() needs an argument", cyfunc->func_qualname); return NULL; } result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw); Py_DECREF(new_args); } else { result = __Pyx_CyFunction_Call(func, args, kw); } return result; } #if CYTHON_METH_FASTCALL && (CYTHON_VECTORCALL || CYTHON_BACKPORT_VECTORCALL) static CYTHON_INLINE int __Pyx_CyFunction_Vectorcall_CheckArgs(__pyx_CyFunctionObject *cyfunc, Py_ssize_t nargs, PyObject *kwnames) { int ret = 0; if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) { if (unlikely(nargs < 1)) { __Pyx_CyFunction_raise_type_error( cyfunc, "needs an argument"); return -1; } ret = 1; } if (unlikely(kwnames) && unlikely(__Pyx_PyTuple_GET_SIZE(kwnames))) { __Pyx_CyFunction_raise_type_error( cyfunc, "takes no keyword arguments"); return -1; } return ret; } static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; #if CYTHON_BACKPORT_VECTORCALL Py_ssize_t nargs = (Py_ssize_t)nargsf; #else Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); #endif PyObject *self; #if CYTHON_COMPILING_IN_LIMITED_API PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); if (unlikely(!meth)) return NULL; #else PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; #endif switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: #if CYTHON_COMPILING_IN_LIMITED_API self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); if (unlikely(!self) && PyErr_Occurred()) return NULL; #else self = ((PyCFunctionObject*)cyfunc)->m_self; #endif break; default: return NULL; } if (unlikely(nargs != 0)) { __Pyx_CyFunction_raise_argument_count_error( cyfunc, "takes no arguments", nargs); return NULL; } return meth(self, NULL); } static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; #if CYTHON_BACKPORT_VECTORCALL Py_ssize_t nargs = (Py_ssize_t)nargsf; #else Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); #endif PyObject *self; #if CYTHON_COMPILING_IN_LIMITED_API PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); if (unlikely(!meth)) return NULL; #else PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; #endif switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: #if CYTHON_COMPILING_IN_LIMITED_API self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); if (unlikely(!self) && PyErr_Occurred()) return NULL; #else self = ((PyCFunctionObject*)cyfunc)->m_self; #endif break; default: return NULL; } if (unlikely(nargs != 1)) { __Pyx_CyFunction_raise_argument_count_error( cyfunc, "takes exactly one argument", nargs); return NULL; } return meth(self, args[0]); } static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; #if CYTHON_BACKPORT_VECTORCALL Py_ssize_t nargs = (Py_ssize_t)nargsf; #else Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); #endif PyObject *self; #if CYTHON_COMPILING_IN_LIMITED_API PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); if (unlikely(!meth)) return NULL; #else PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; #endif switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: #if CYTHON_COMPILING_IN_LIMITED_API self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); if (unlikely(!self) && PyErr_Occurred()) return NULL; #else self = ((PyCFunctionObject*)cyfunc)->m_self; #endif break; default: return NULL; } return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))meth)(self, args, nargs, kwnames); } static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; PyTypeObject *cls = (PyTypeObject *) __Pyx_CyFunction_GetClassObj(cyfunc); #if CYTHON_BACKPORT_VECTORCALL Py_ssize_t nargs = (Py_ssize_t)nargsf; #else Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); #endif PyObject *self; #if CYTHON_COMPILING_IN_LIMITED_API PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); if (unlikely(!meth)) return NULL; #else PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; #endif switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: #if CYTHON_COMPILING_IN_LIMITED_API self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); if (unlikely(!self) && PyErr_Occurred()) return NULL; #else self = ((PyCFunctionObject*)cyfunc)->m_self; #endif break; default: return NULL; } return ((__Pyx_PyCMethod)(void(*)(void))meth)(self, cls, args, (size_t)nargs, kwnames); } #endif static PyType_Slot __pyx_CyFunctionType_slots[] = { {Py_tp_dealloc, (void *)__Pyx_CyFunction_dealloc}, {Py_tp_repr, (void *)__Pyx_CyFunction_repr}, {Py_tp_call, (void *)__Pyx_CyFunction_CallAsMethod}, {Py_tp_traverse, (void *)__Pyx_CyFunction_traverse}, {Py_tp_clear, (void *)__Pyx_CyFunction_clear}, {Py_tp_methods, (void *)__pyx_CyFunction_methods}, {Py_tp_members, (void *)__pyx_CyFunction_members}, {Py_tp_getset, (void *)__pyx_CyFunction_getsets}, {Py_tp_descr_get, (void *)__Pyx_PyMethod_New}, {0, 0}, }; static PyType_Spec __pyx_CyFunctionType_spec = { __PYX_TYPE_MODULE_PREFIX "cython_function_or_method", sizeof(__pyx_CyFunctionObject), 0, #ifdef Py_TPFLAGS_METHOD_DESCRIPTOR Py_TPFLAGS_METHOD_DESCRIPTOR | #endif #if CYTHON_METH_FASTCALL #if defined(Py_TPFLAGS_HAVE_VECTORCALL) Py_TPFLAGS_HAVE_VECTORCALL | #elif defined(_Py_TPFLAGS_HAVE_VECTORCALL) _Py_TPFLAGS_HAVE_VECTORCALL | #endif #endif // CYTHON_METH_FASTCALL #if PY_VERSION_HEX >= 0x030A0000 Py_TPFLAGS_IMMUTABLETYPE | #endif Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, __pyx_CyFunctionType_slots }; static int __pyx_CyFunction_init(PyObject *module) { __pyx_mstatetype *mstate = __Pyx_PyModule_GetState(module); mstate->__pyx_CyFunctionType = __Pyx_FetchCommonTypeFromSpec( mstate->__pyx_CommonTypesMetaclassType, module, &__pyx_CyFunctionType_spec, NULL); if (unlikely(mstate->__pyx_CyFunctionType == NULL)) { return -1; } return 0; } static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type) { __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; m->defaults = PyObject_CallObject((PyObject*)defaults_type, NULL); // _PyObject_New(defaults_type); if (unlikely(!m->defaults)) return NULL; return m->defaults; } static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) { __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; m->defaults_tuple = tuple; Py_INCREF(tuple); } static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) { __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; m->defaults_kwdict = dict; Py_INCREF(dict); } static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) { __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; m->func_annotations = dict; Py_INCREF(dict); } /* CythonFunction */ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { PyObject *op = __Pyx_CyFunction_Init( PyObject_GC_New(__pyx_CyFunctionObject, __pyx_mstate_global->__pyx_CyFunctionType), ml, flags, qualname, closure, module, globals, code ); if (likely(op)) { PyObject_GC_Track(op); } return op; } /* CLineInTraceback */ #if CYTHON_CLINE_IN_TRACEBACK && CYTHON_CLINE_IN_TRACEBACK_RUNTIME static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line) { PyObject *use_cline; PyObject *ptype, *pvalue, *ptraceback; #if CYTHON_COMPILING_IN_CPYTHON PyObject **cython_runtime_dict; #endif CYTHON_MAYBE_UNUSED_VAR(tstate); if (unlikely(!__pyx_mstate_global->__pyx_cython_runtime)) { return c_line; } __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback); #if CYTHON_COMPILING_IN_CPYTHON cython_runtime_dict = _PyObject_GetDictPtr(__pyx_mstate_global->__pyx_cython_runtime); if (likely(cython_runtime_dict)) { __Pyx_BEGIN_CRITICAL_SECTION(*cython_runtime_dict); __PYX_PY_DICT_LOOKUP_IF_MODIFIED( use_cline, *cython_runtime_dict, __Pyx_PyDict_GetItemStr(*cython_runtime_dict, __pyx_mstate_global->__pyx_n_u_cline_in_traceback)) Py_XINCREF(use_cline); __Pyx_END_CRITICAL_SECTION(); } else #endif { PyObject *use_cline_obj = __Pyx_PyObject_GetAttrStrNoError(__pyx_mstate_global->__pyx_cython_runtime, __pyx_mstate_global->__pyx_n_u_cline_in_traceback); if (use_cline_obj) { use_cline = PyObject_Not(use_cline_obj) ? Py_False : Py_True; Py_INCREF(use_cline); Py_DECREF(use_cline_obj); } else { PyErr_Clear(); use_cline = NULL; } } if (!use_cline) { c_line = 0; (void) PyObject_SetAttr(__pyx_mstate_global->__pyx_cython_runtime, __pyx_mstate_global->__pyx_n_u_cline_in_traceback, Py_False); } else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) { c_line = 0; } Py_XDECREF(use_cline); __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback); return c_line; } #endif /* CodeObjectCache */ static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) { int start = 0, mid = 0, end = count - 1; if (end >= 0 && code_line > entries[end].code_line) { return count; } while (start < end) { mid = start + (end - start) / 2; if (code_line < entries[mid].code_line) { end = mid; } else if (code_line > entries[mid].code_line) { start = mid + 1; } else { return mid; } } if (code_line <= entries[mid].code_line) { return mid; } else { return mid + 1; } } static __Pyx_CachedCodeObjectType *__pyx__find_code_object(struct __Pyx_CodeObjectCache *code_cache, int code_line) { __Pyx_CachedCodeObjectType* code_object; int pos; if (unlikely(!code_line) || unlikely(!code_cache->entries)) { return NULL; } pos = __pyx_bisect_code_objects(code_cache->entries, code_cache->count, code_line); if (unlikely(pos >= code_cache->count) || unlikely(code_cache->entries[pos].code_line != code_line)) { return NULL; } code_object = code_cache->entries[pos].code_object; Py_INCREF(code_object); return code_object; } static __Pyx_CachedCodeObjectType *__pyx_find_code_object(int code_line) { #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS (void)__pyx__find_code_object; return NULL; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just miss. #else struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache; #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING __pyx_nonatomic_int_type old_count = __pyx_atomic_incr_acq_rel(&code_cache->accessor_count); if (old_count < 0) { __pyx_atomic_decr_acq_rel(&code_cache->accessor_count); return NULL; } #endif __Pyx_CachedCodeObjectType *result = __pyx__find_code_object(code_cache, code_line); #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING __pyx_atomic_decr_acq_rel(&code_cache->accessor_count); #endif return result; #endif } static void __pyx__insert_code_object(struct __Pyx_CodeObjectCache *code_cache, int code_line, __Pyx_CachedCodeObjectType* code_object) { int pos, i; __Pyx_CodeObjectCacheEntry* entries = code_cache->entries; if (unlikely(!code_line)) { return; } if (unlikely(!entries)) { entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry)); if (likely(entries)) { code_cache->entries = entries; code_cache->max_count = 64; code_cache->count = 1; entries[0].code_line = code_line; entries[0].code_object = code_object; Py_INCREF(code_object); } return; } pos = __pyx_bisect_code_objects(code_cache->entries, code_cache->count, code_line); if ((pos < code_cache->count) && unlikely(code_cache->entries[pos].code_line == code_line)) { __Pyx_CachedCodeObjectType* tmp = entries[pos].code_object; entries[pos].code_object = code_object; Py_INCREF(code_object); Py_DECREF(tmp); return; } if (code_cache->count == code_cache->max_count) { int new_max = code_cache->max_count + 64; entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc( code_cache->entries, ((size_t)new_max) * sizeof(__Pyx_CodeObjectCacheEntry)); if (unlikely(!entries)) { return; } code_cache->entries = entries; code_cache->max_count = new_max; } for (i=code_cache->count; i>pos; i--) { entries[i] = entries[i-1]; } entries[pos].code_line = code_line; entries[pos].code_object = code_object; code_cache->count++; Py_INCREF(code_object); } static void __pyx_insert_code_object(int code_line, __Pyx_CachedCodeObjectType* code_object) { #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS (void)__pyx__insert_code_object; return; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just fail. #else struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache; #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING __pyx_nonatomic_int_type expected = 0; if (!__pyx_atomic_int_cmp_exchange(&code_cache->accessor_count, &expected, INT_MIN)) { return; } #endif __pyx__insert_code_object(code_cache, code_line, code_object); #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING __pyx_atomic_sub(&code_cache->accessor_count, INT_MIN); #endif #endif } /* AddTraceback */ #include "compile.h" #include "frameobject.h" #include "traceback.h" #if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION) #ifndef Py_BUILD_CORE #define Py_BUILD_CORE 1 #endif #include "internal/pycore_frame.h" #endif #if CYTHON_COMPILING_IN_LIMITED_API static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject *scratch_dict, PyObject *firstlineno, PyObject *name) { PyObject *replace = NULL; if (unlikely(PyDict_SetItemString(scratch_dict, "co_firstlineno", firstlineno))) return NULL; if (unlikely(PyDict_SetItemString(scratch_dict, "co_name", name))) return NULL; replace = PyObject_GetAttrString(code, "replace"); if (likely(replace)) { PyObject *result = PyObject_Call(replace, __pyx_mstate_global->__pyx_empty_tuple, scratch_dict); Py_DECREF(replace); return result; } PyErr_Clear(); return NULL; } static void __Pyx_AddTraceback(const char *funcname, int c_line, int py_line, const char *filename) { PyObject *code_object = NULL, *py_py_line = NULL, *py_funcname = NULL, *dict = NULL; PyObject *replace = NULL, *getframe = NULL, *frame = NULL; PyObject *exc_type, *exc_value, *exc_traceback; int success = 0; if (c_line) { (void) __pyx_cfilenm; (void) __Pyx_CLineForTraceback(__Pyx_PyThreadState_Current, c_line); } PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); code_object = __pyx_find_code_object(c_line ? -c_line : py_line); if (!code_object) { code_object = Py_CompileString("_getframe()", filename, Py_eval_input); if (unlikely(!code_object)) goto bad; py_py_line = PyLong_FromLong(py_line); if (unlikely(!py_py_line)) goto bad; py_funcname = PyUnicode_FromString(funcname); if (unlikely(!py_funcname)) goto bad; dict = PyDict_New(); if (unlikely(!dict)) goto bad; { PyObject *old_code_object = code_object; code_object = __Pyx_PyCode_Replace_For_AddTraceback(code_object, dict, py_py_line, py_funcname); Py_DECREF(old_code_object); } if (unlikely(!code_object)) goto bad; __pyx_insert_code_object(c_line ? -c_line : py_line, code_object); } else { dict = PyDict_New(); } getframe = PySys_GetObject("_getframe"); if (unlikely(!getframe)) goto bad; if (unlikely(PyDict_SetItemString(dict, "_getframe", getframe))) goto bad; frame = PyEval_EvalCode(code_object, dict, dict); if (unlikely(!frame) || frame == Py_None) goto bad; success = 1; bad: PyErr_Restore(exc_type, exc_value, exc_traceback); Py_XDECREF(code_object); Py_XDECREF(py_py_line); Py_XDECREF(py_funcname); Py_XDECREF(dict); Py_XDECREF(replace); if (success) { PyTraceBack_Here( (struct _frame*)frame); } Py_XDECREF(frame); } #else static PyCodeObject* __Pyx_CreateCodeObjectForTraceback( const char *funcname, int c_line, int py_line, const char *filename) { PyCodeObject *py_code = NULL; PyObject *py_funcname = NULL; if (c_line) { py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line); if (!py_funcname) goto bad; funcname = PyUnicode_AsUTF8(py_funcname); if (!funcname) goto bad; } py_code = PyCode_NewEmpty(filename, funcname, py_line); Py_XDECREF(py_funcname); return py_code; bad: Py_XDECREF(py_funcname); return NULL; } static void __Pyx_AddTraceback(const char *funcname, int c_line, int py_line, const char *filename) { PyCodeObject *py_code = 0; PyFrameObject *py_frame = 0; PyThreadState *tstate = __Pyx_PyThreadState_Current; PyObject *ptype, *pvalue, *ptraceback; if (c_line) { c_line = __Pyx_CLineForTraceback(tstate, c_line); } py_code = __pyx_find_code_object(c_line ? -c_line : py_line); if (!py_code) { __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback); py_code = __Pyx_CreateCodeObjectForTraceback( funcname, c_line, py_line, filename); if (!py_code) { /* If the code object creation fails, then we should clear the fetched exception references and propagate the new exception */ Py_XDECREF(ptype); Py_XDECREF(pvalue); Py_XDECREF(ptraceback); goto bad; } __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback); __pyx_insert_code_object(c_line ? -c_line : py_line, py_code); } py_frame = PyFrame_New( tstate, /*PyThreadState *tstate,*/ py_code, /*PyCodeObject *code,*/ __pyx_mstate_global->__pyx_d, /*PyObject *globals,*/ 0 /*PyObject *locals*/ ); if (!py_frame) goto bad; __Pyx_PyFrame_SetLineNumber(py_frame, py_line); PyTraceBack_Here(py_frame); bad: Py_XDECREF(py_code); Py_XDECREF(py_frame); } #endif /* FormatTypeName */ #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 static __Pyx_TypeName __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp) { PyObject *module = NULL, *name = NULL, *result = NULL; #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 name = __Pyx_PyObject_GetAttrStr((PyObject *)tp, __pyx_mstate_global->__pyx_n_u_qualname); #else name = PyType_GetQualName(tp); #endif if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) goto bad; module = __Pyx_PyObject_GetAttrStr((PyObject *)tp, __pyx_mstate_global->__pyx_n_u_module); if (unlikely(module == NULL) || unlikely(!PyUnicode_Check(module))) goto bad; if (PyUnicode_CompareWithASCIIString(module, "builtins") == 0) { result = name; name = NULL; goto done; } result = PyUnicode_FromFormat("%U.%U", module, name); if (unlikely(result == NULL)) goto bad; done: Py_XDECREF(name); Py_XDECREF(module); return result; bad: PyErr_Clear(); if (name) { result = name; name = NULL; } else { result = __Pyx_NewRef(__pyx_mstate_global->__pyx_kp_u_); } goto done; } #endif /* CIntToPy */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_long(long value) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" #endif const long neg_one = (long) -1, const_zero = (long) 0; #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; if (is_unsigned) { if (sizeof(long) < sizeof(long)) { return PyLong_FromLong((long) value); } else if (sizeof(long) <= sizeof(unsigned long)) { return PyLong_FromUnsignedLong((unsigned long) value); #if defined(HAVE_LONG_LONG) && !CYTHON_COMPILING_IN_PYPY } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) { return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value); #endif } } else { if (sizeof(long) <= sizeof(long)) { return PyLong_FromLong((long) value); #ifdef HAVE_LONG_LONG } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) { return PyLong_FromLongLong((PY_LONG_LONG) value); #endif } } { unsigned char *bytes = (unsigned char *)&value; #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d00A4 if (is_unsigned) { return PyLong_FromUnsignedNativeBytes(bytes, sizeof(value), -1); } else { return PyLong_FromNativeBytes(bytes, sizeof(value), -1); } #elif !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000 int one = 1; int little = (int)*(unsigned char *)&one; return _PyLong_FromByteArray(bytes, sizeof(long), little, !is_unsigned); #else int one = 1; int little = (int)*(unsigned char *)&one; PyObject *from_bytes, *result = NULL, *kwds = NULL; PyObject *py_bytes = NULL, *order_str = NULL; from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); if (!from_bytes) return NULL; py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long)); if (!py_bytes) goto limited_bad; order_str = PyUnicode_FromString(little ? "little" : "big"); if (!order_str) goto limited_bad; { PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str }; if (!is_unsigned) { kwds = __Pyx_MakeVectorcallBuilderKwds(1); if (!kwds) goto limited_bad; if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad; } result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); } limited_bad: Py_XDECREF(kwds); Py_XDECREF(order_str); Py_XDECREF(py_bytes); Py_XDECREF(from_bytes); return result; #endif } } /* CIntFromPyVerify */ #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\ __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0) #define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\ __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 1) #define __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, exc)\ {\ func_type value = func_value;\ if (sizeof(target_type) < sizeof(func_type)) {\ if (unlikely(value != (func_type) (target_type) value)) {\ func_type zero = 0;\ if (exc && unlikely(value == (func_type)-1 && PyErr_Occurred()))\ return (target_type) -1;\ if (is_unsigned && unlikely(value < zero))\ goto raise_neg_overflow;\ else\ goto raise_overflow;\ }\ }\ return (target_type) value;\ } /* CIntFromPy */ static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *x) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" #endif const long neg_one = (long) -1, const_zero = (long) 0; #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; if (unlikely(!PyLong_Check(x))) { long val; PyObject *tmp = __Pyx_PyNumber_Long(x); if (!tmp) return (long) -1; val = __Pyx_PyLong_As_long(tmp); Py_DECREF(tmp); return val; } if (is_unsigned) { #if CYTHON_USE_PYLONG_INTERNALS if (unlikely(__Pyx_PyLong_IsNeg(x))) { goto raise_neg_overflow; } else if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) } else { const digit* digits = __Pyx_PyLong_Digits(x); assert(__Pyx_PyLong_DigitCount(x) > 1); switch (__Pyx_PyLong_DigitCount(x)) { case 2: if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) { return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); } } break; case 3: if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) { return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); } } break; case 4: if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) { return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); } } break; } } #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } #else { int result = PyObject_RichCompareBool(x, Py_False, Py_LT); if (unlikely(result < 0)) return (long) -1; if (unlikely(result == 1)) goto raise_neg_overflow; } #endif if ((sizeof(long) <= sizeof(unsigned long))) { __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x)) #ifdef HAVE_LONG_LONG } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) { __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) #endif } } else { #if CYTHON_USE_PYLONG_INTERNALS if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) } else { const digit* digits = __Pyx_PyLong_Digits(x); assert(__Pyx_PyLong_DigitCount(x) > 1); switch (__Pyx_PyLong_SignedDigitCount(x)) { case -2: if ((8 * sizeof(long) - 1 > 1 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); } } break; case 2: if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); } } break; case -3: if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); } } break; case 3: if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); } } break; case -4: if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); } } break; case 4: if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); } } break; } } #endif if ((sizeof(long) <= sizeof(long))) { __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x)) #ifdef HAVE_LONG_LONG } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) { __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x)) #endif } } { long val; int ret = -1; #if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API Py_ssize_t bytes_copied = PyLong_AsNativeBytes( x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); if (unlikely(bytes_copied == -1)) { } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { goto raise_overflow; } else { ret = 0; } #elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) int one = 1; int is_little = (int)*(unsigned char *)&one; unsigned char *bytes = (unsigned char *)&val; ret = _PyLong_AsByteArray((PyLongObject *)x, bytes, sizeof(val), is_little, !is_unsigned); #else PyObject *v; PyObject *stepval = NULL, *mask = NULL, *shift = NULL; int bits, remaining_bits, is_negative = 0; int chunk_size = (sizeof(long) < 8) ? 30 : 62; if (likely(PyLong_CheckExact(x))) { v = __Pyx_NewRef(x); } else { v = PyNumber_Long(x); if (unlikely(!v)) return (long) -1; assert(PyLong_CheckExact(v)); } { int result = PyObject_RichCompareBool(v, Py_False, Py_LT); if (unlikely(result < 0)) { Py_DECREF(v); return (long) -1; } is_negative = result == 1; } if (is_unsigned && unlikely(is_negative)) { Py_DECREF(v); goto raise_neg_overflow; } else if (is_negative) { stepval = PyNumber_Invert(v); Py_DECREF(v); if (unlikely(!stepval)) return (long) -1; } else { stepval = v; } v = NULL; val = (long) 0; mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) { PyObject *tmp, *digit; long idigit; digit = PyNumber_And(stepval, mask); if (unlikely(!digit)) goto done; idigit = PyLong_AsLong(digit); Py_DECREF(digit); if (unlikely(idigit < 0)) goto done; val |= ((long) idigit) << bits; tmp = PyNumber_Rshift(stepval, shift); if (unlikely(!tmp)) goto done; Py_DECREF(stepval); stepval = tmp; } Py_DECREF(shift); shift = NULL; Py_DECREF(mask); mask = NULL; { long idigit = PyLong_AsLong(stepval); if (unlikely(idigit < 0)) goto done; remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1); if (unlikely(idigit >= (1L << remaining_bits))) goto raise_overflow; val |= ((long) idigit) << bits; } if (!is_unsigned) { if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1)))) goto raise_overflow; if (is_negative) val = ~val; } ret = 0; done: Py_XDECREF(shift); Py_XDECREF(mask); Py_XDECREF(stepval); #endif if (unlikely(ret)) return (long) -1; return val; } raise_overflow: PyErr_SetString(PyExc_OverflowError, "value too large to convert to long"); return (long) -1; raise_neg_overflow: PyErr_SetString(PyExc_OverflowError, "can't convert negative value to long"); return (long) -1; } /* CIntFromPy */ static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *x) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" #endif const int neg_one = (int) -1, const_zero = (int) 0; #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; if (unlikely(!PyLong_Check(x))) { int val; PyObject *tmp = __Pyx_PyNumber_Long(x); if (!tmp) return (int) -1; val = __Pyx_PyLong_As_int(tmp); Py_DECREF(tmp); return val; } if (is_unsigned) { #if CYTHON_USE_PYLONG_INTERNALS if (unlikely(__Pyx_PyLong_IsNeg(x))) { goto raise_neg_overflow; } else if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) } else { const digit* digits = __Pyx_PyLong_Digits(x); assert(__Pyx_PyLong_DigitCount(x) > 1); switch (__Pyx_PyLong_DigitCount(x)) { case 2: if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) { return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); } } break; case 3: if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) { return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); } } break; case 4: if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) { return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); } } break; } } #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 if (unlikely(Py_SIZE(x) < 0)) { goto raise_neg_overflow; } #else { int result = PyObject_RichCompareBool(x, Py_False, Py_LT); if (unlikely(result < 0)) return (int) -1; if (unlikely(result == 1)) goto raise_neg_overflow; } #endif if ((sizeof(int) <= sizeof(unsigned long))) { __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x)) #ifdef HAVE_LONG_LONG } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) { __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) #endif } } else { #if CYTHON_USE_PYLONG_INTERNALS if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) } else { const digit* digits = __Pyx_PyLong_Digits(x); assert(__Pyx_PyLong_DigitCount(x) > 1); switch (__Pyx_PyLong_SignedDigitCount(x)) { case -2: if ((8 * sizeof(int) - 1 > 1 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); } } break; case 2: if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); } } break; case -3: if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); } } break; case 3: if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); } } break; case -4: if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); } } break; case 4: if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); } } break; } } #endif if ((sizeof(int) <= sizeof(long))) { __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x)) #ifdef HAVE_LONG_LONG } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) { __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x)) #endif } } { int val; int ret = -1; #if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API Py_ssize_t bytes_copied = PyLong_AsNativeBytes( x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); if (unlikely(bytes_copied == -1)) { } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { goto raise_overflow; } else { ret = 0; } #elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) int one = 1; int is_little = (int)*(unsigned char *)&one; unsigned char *bytes = (unsigned char *)&val; ret = _PyLong_AsByteArray((PyLongObject *)x, bytes, sizeof(val), is_little, !is_unsigned); #else PyObject *v; PyObject *stepval = NULL, *mask = NULL, *shift = NULL; int bits, remaining_bits, is_negative = 0; int chunk_size = (sizeof(long) < 8) ? 30 : 62; if (likely(PyLong_CheckExact(x))) { v = __Pyx_NewRef(x); } else { v = PyNumber_Long(x); if (unlikely(!v)) return (int) -1; assert(PyLong_CheckExact(v)); } { int result = PyObject_RichCompareBool(v, Py_False, Py_LT); if (unlikely(result < 0)) { Py_DECREF(v); return (int) -1; } is_negative = result == 1; } if (is_unsigned && unlikely(is_negative)) { Py_DECREF(v); goto raise_neg_overflow; } else if (is_negative) { stepval = PyNumber_Invert(v); Py_DECREF(v); if (unlikely(!stepval)) return (int) -1; } else { stepval = v; } v = NULL; val = (int) 0; mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) { PyObject *tmp, *digit; long idigit; digit = PyNumber_And(stepval, mask); if (unlikely(!digit)) goto done; idigit = PyLong_AsLong(digit); Py_DECREF(digit); if (unlikely(idigit < 0)) goto done; val |= ((int) idigit) << bits; tmp = PyNumber_Rshift(stepval, shift); if (unlikely(!tmp)) goto done; Py_DECREF(stepval); stepval = tmp; } Py_DECREF(shift); shift = NULL; Py_DECREF(mask); mask = NULL; { long idigit = PyLong_AsLong(stepval); if (unlikely(idigit < 0)) goto done; remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1); if (unlikely(idigit >= (1L << remaining_bits))) goto raise_overflow; val |= ((int) idigit) << bits; } if (!is_unsigned) { if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1)))) goto raise_overflow; if (is_negative) val = ~val; } ret = 0; done: Py_XDECREF(shift); Py_XDECREF(mask); Py_XDECREF(stepval); #endif if (unlikely(ret)) return (int) -1; return val; } raise_overflow: PyErr_SetString(PyExc_OverflowError, "value too large to convert to int"); return (int) -1; raise_neg_overflow: PyErr_SetString(PyExc_OverflowError, "can't convert negative value to int"); return (int) -1; } /* FastTypeChecks */ #if CYTHON_COMPILING_IN_CPYTHON static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) { while (a) { a = __Pyx_PyType_GetSlot(a, tp_base, PyTypeObject*); if (a == b) return 1; } return b == &PyBaseObject_Type; } static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) { PyObject *mro; if (a == b) return 1; mro = a->tp_mro; if (likely(mro)) { Py_ssize_t i, n; n = PyTuple_GET_SIZE(mro); for (i = 0; i < n; i++) { if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) return 1; } return 0; } return __Pyx_InBases(a, b); } static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b) { PyObject *mro; if (cls == a || cls == b) return 1; mro = cls->tp_mro; if (likely(mro)) { Py_ssize_t i, n; n = PyTuple_GET_SIZE(mro); for (i = 0; i < n; i++) { PyObject *base = PyTuple_GET_ITEM(mro, i); if (base == (PyObject *)a || base == (PyObject *)b) return 1; } return 0; } return __Pyx_InBases(cls, a) || __Pyx_InBases(cls, b); } static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) { if (exc_type1) { return __Pyx_IsAnySubtype2((PyTypeObject*)err, (PyTypeObject*)exc_type1, (PyTypeObject*)exc_type2); } else { return __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2); } } static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { Py_ssize_t i, n; assert(PyExceptionClass_Check(exc_type)); n = PyTuple_GET_SIZE(tuple); for (i=0; i= 0x030b0000 return Py_Version & ~0xFFUL; #else static unsigned long __Pyx_cached_runtime_version = 0; if (__Pyx_cached_runtime_version == 0) { const char* rt_version = Py_GetVersion(); unsigned long version = 0; unsigned long factor = 0x01000000UL; unsigned int digit = 0; int i = 0; while (factor) { while ('0' <= rt_version[i] && rt_version[i] <= '9') { digit = digit * 10 + (unsigned int) (rt_version[i] - '0'); ++i; } version += factor * digit; if (rt_version[i] != '.') break; digit = 0; factor >>= 8; ++i; } __Pyx_cached_runtime_version = version; } return __Pyx_cached_runtime_version; #endif } /* CheckBinaryVersion */ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) { const unsigned long MAJOR_MINOR = 0xFFFF0000UL; if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR)) return 0; if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR))) return 1; { char message[200]; PyOS_snprintf(message, sizeof(message), "compile time Python version %d.%d " "of module '%.100s' " "%s " "runtime version %d.%d", (int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF), __Pyx_MODULE_NAME, (allow_newer) ? "was newer than" : "does not match", (int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF) ); return PyErr_WarnEx(NULL, message, 1); } } /* FunctionExport */ static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig) { PyObject *d = 0; PyObject *cobj = 0; union { void (*fp)(void); void *p; } tmp; d = PyObject_GetAttrString(__pyx_m, "__pyx_capi__"); if (!d) { PyErr_Clear(); d = PyDict_New(); if (!d) goto bad; Py_INCREF(d); if (PyModule_AddObject(__pyx_m, "__pyx_capi__", d) < 0) goto bad; } tmp.fp = f; cobj = PyCapsule_New(tmp.p, sig, 0); if (!cobj) goto bad; if (PyDict_SetItemString(d, name, cobj) < 0) goto bad; Py_DECREF(cobj); Py_DECREF(d); return 0; bad: Py_XDECREF(cobj); Py_XDECREF(d); return -1; } /* NewCodeObj */ #if CYTHON_COMPILING_IN_LIMITED_API static PyObject* __Pyx__PyCode_New(int a, int p, int k, int l, int s, int f, PyObject *code, PyObject *c, PyObject* n, PyObject *v, PyObject *fv, PyObject *cell, PyObject* fn, PyObject *name, int fline, PyObject *lnos) { PyObject *exception_table = NULL; PyObject *types_module=NULL, *code_type=NULL, *result=NULL; #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 PyObject *version_info; PyObject *py_minor_version = NULL; #endif long minor_version = 0; PyObject *type, *value, *traceback; PyErr_Fetch(&type, &value, &traceback); #if __PYX_LIMITED_VERSION_HEX >= 0x030b0000 minor_version = 11; #else if (!(version_info = PySys_GetObject("version_info"))) goto end; if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end; minor_version = PyLong_AsLong(py_minor_version); Py_DECREF(py_minor_version); if (minor_version == -1 && PyErr_Occurred()) goto end; #endif if (!(types_module = PyImport_ImportModule("types"))) goto end; if (!(code_type = PyObject_GetAttrString(types_module, "CodeType"))) goto end; if (minor_version <= 7) { (void)p; result = PyObject_CallFunction(code_type, "iiiiiOOOOOOiOOO", a, k, l, s, f, code, c, n, v, fn, name, fline, lnos, fv, cell); } else if (minor_version <= 10) { result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOiOOO", a,p, k, l, s, f, code, c, n, v, fn, name, fline, lnos, fv, cell); } else { if (!(exception_table = PyBytes_FromStringAndSize(NULL, 0))) goto end; result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOOiOOOO", a,p, k, l, s, f, code, c, n, v, fn, name, name, fline, lnos, exception_table, fv, cell); } end: Py_XDECREF(code_type); Py_XDECREF(exception_table); Py_XDECREF(types_module); if (type) { PyErr_Restore(type, value, traceback); } return result; } #elif PY_VERSION_HEX >= 0x030B0000 static PyCodeObject* __Pyx__PyCode_New(int a, int p, int k, int l, int s, int f, PyObject *code, PyObject *c, PyObject* n, PyObject *v, PyObject *fv, PyObject *cell, PyObject* fn, PyObject *name, int fline, PyObject *lnos) { PyCodeObject *result; result = #if PY_VERSION_HEX >= 0x030C0000 PyUnstable_Code_NewWithPosOnlyArgs #else PyCode_NewWithPosOnlyArgs #endif (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1 if (likely(result)) result->_co_firsttraceable = 0; #endif return result; } #elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY #define __Pyx__PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\ PyCode_NewWithPosOnlyArgs(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) #else #define __Pyx__PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\ PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) #endif static PyObject* __Pyx_PyCode_New( const __Pyx_PyCode_New_function_description descr, PyObject * const *varnames, PyObject *filename, PyObject *funcname, const char *line_table, PyObject *tuple_dedup_map ) { PyObject *code_obj = NULL, *varnames_tuple_dedup = NULL, *code_bytes = NULL, *line_table_bytes = NULL; Py_ssize_t var_count = (Py_ssize_t) descr.nlocals; PyObject *varnames_tuple = PyTuple_New(var_count); if (unlikely(!varnames_tuple)) return NULL; for (Py_ssize_t i=0; i < var_count; i++) { Py_INCREF(varnames[i]); if (__Pyx_PyTuple_SET_ITEM(varnames_tuple, i, varnames[i]) != (0)) goto done; } #if CYTHON_COMPILING_IN_LIMITED_API varnames_tuple_dedup = PyDict_GetItem(tuple_dedup_map, varnames_tuple); if (!varnames_tuple_dedup) { if (unlikely(PyDict_SetItem(tuple_dedup_map, varnames_tuple, varnames_tuple) < 0)) goto done; varnames_tuple_dedup = varnames_tuple; } #else varnames_tuple_dedup = PyDict_SetDefault(tuple_dedup_map, varnames_tuple, varnames_tuple); if (unlikely(!varnames_tuple_dedup)) goto done; #endif #if CYTHON_AVOID_BORROWED_REFS Py_INCREF(varnames_tuple_dedup); #endif if (__PYX_LIMITED_VERSION_HEX >= (0x030b0000) && line_table != NULL && !CYTHON_COMPILING_IN_GRAAL) { line_table_bytes = PyBytes_FromStringAndSize(line_table, descr.line_table_length); if (unlikely(!line_table_bytes)) goto done; Py_ssize_t code_len = (descr.line_table_length * 2 + 4) & ~3; code_bytes = PyBytes_FromStringAndSize(NULL, code_len); if (unlikely(!code_bytes)) goto done; char* c_code_bytes = PyBytes_AsString(code_bytes); if (unlikely(!c_code_bytes)) goto done; memset(c_code_bytes, 0, (size_t) code_len); } code_obj = (PyObject*) __Pyx__PyCode_New( (int) descr.argcount, (int) descr.num_posonly_args, (int) descr.num_kwonly_args, (int) descr.nlocals, 0, (int) descr.flags, code_bytes ? code_bytes : __pyx_mstate_global->__pyx_empty_bytes, __pyx_mstate_global->__pyx_empty_tuple, __pyx_mstate_global->__pyx_empty_tuple, varnames_tuple_dedup, __pyx_mstate_global->__pyx_empty_tuple, __pyx_mstate_global->__pyx_empty_tuple, filename, funcname, (int) descr.first_line, (__PYX_LIMITED_VERSION_HEX >= (0x030b0000) && line_table_bytes) ? line_table_bytes : __pyx_mstate_global->__pyx_empty_bytes ); done: Py_XDECREF(code_bytes); Py_XDECREF(line_table_bytes); #if CYTHON_AVOID_BORROWED_REFS Py_XDECREF(varnames_tuple_dedup); #endif Py_DECREF(varnames_tuple); return code_obj; } /* InitStrings */ static int __Pyx_InitStrings(__Pyx_StringTabEntry const *t, PyObject **target, const char* const* encoding_names) { while (t->s) { PyObject *str; if (t->is_unicode) { if (t->intern) { str = PyUnicode_InternFromString(t->s); } else if (t->encoding) { str = PyUnicode_Decode(t->s, t->n - 1, encoding_names[t->encoding], NULL); } else { str = PyUnicode_FromStringAndSize(t->s, t->n - 1); } } else { str = PyBytes_FromStringAndSize(t->s, t->n - 1); } if (!str) return -1; *target = str; if (PyObject_Hash(str) == -1) return -1; ++t; ++target; } return 0; } #include static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) { size_t len = strlen(s); if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) { PyErr_SetString(PyExc_OverflowError, "byte string is too long"); return -1; } return (Py_ssize_t) len; } static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) { Py_ssize_t len = __Pyx_ssize_strlen(c_str); if (unlikely(len < 0)) return NULL; return __Pyx_PyUnicode_FromStringAndSize(c_str, len); } static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) { Py_ssize_t len = __Pyx_ssize_strlen(c_str); if (unlikely(len < 0)) return NULL; return PyByteArray_FromStringAndSize(c_str, len); } static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) { Py_ssize_t ignore; return __Pyx_PyObject_AsStringAndSize(o, &ignore); } #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) { if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL; #if CYTHON_COMPILING_IN_LIMITED_API { const char* result; Py_ssize_t unicode_length; CYTHON_MAYBE_UNUSED_VAR(unicode_length); // only for __PYX_DEFAULT_STRING_ENCODING_IS_ASCII #if __PYX_LIMITED_VERSION_HEX < 0x030A0000 if (unlikely(PyArg_Parse(o, "s#", &result, length) < 0)) return NULL; #else result = PyUnicode_AsUTF8AndSize(o, length); #endif #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII unicode_length = PyUnicode_GetLength(o); if (unlikely(unicode_length < 0)) return NULL; if (unlikely(unicode_length != *length)) { PyUnicode_AsASCIIString(o); return NULL; } #endif return result; } #else #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII if (likely(PyUnicode_IS_ASCII(o))) { *length = PyUnicode_GET_LENGTH(o); return PyUnicode_AsUTF8(o); } else { PyUnicode_AsASCIIString(o); return NULL; } #else return PyUnicode_AsUTF8AndSize(o, length); #endif #endif } #endif static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) { #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 if (PyUnicode_Check(o)) { return __Pyx_PyUnicode_AsStringAndSize(o, length); } else #endif if (PyByteArray_Check(o)) { #if (CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS) || (CYTHON_COMPILING_IN_PYPY && (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE))) *length = PyByteArray_GET_SIZE(o); return PyByteArray_AS_STRING(o); #else *length = PyByteArray_Size(o); if (*length == -1) return NULL; return PyByteArray_AsString(o); #endif } else { char* result; int r = PyBytes_AsStringAndSize(o, &result, length); if (unlikely(r < 0)) { return NULL; } else { return result; } } } static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) { int is_true = x == Py_True; if (is_true | (x == Py_False) | (x == Py_None)) return is_true; else return PyObject_IsTrue(x); } static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) { int retval; if (unlikely(!x)) return -1; retval = __Pyx_PyObject_IsTrue(x); Py_DECREF(x); return retval; } static PyObject* __Pyx_PyNumber_LongWrongResultType(PyObject* result) { __Pyx_TypeName result_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(result)); if (PyLong_Check(result)) { if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1, "__int__ returned non-int (type " __Pyx_FMT_TYPENAME "). " "The ability to return an instance of a strict subclass of int is deprecated, " "and may be removed in a future version of Python.", result_type_name)) { __Pyx_DECREF_TypeName(result_type_name); Py_DECREF(result); return NULL; } __Pyx_DECREF_TypeName(result_type_name); return result; } PyErr_Format(PyExc_TypeError, "__int__ returned non-int (type " __Pyx_FMT_TYPENAME ")", result_type_name); __Pyx_DECREF_TypeName(result_type_name); Py_DECREF(result); return NULL; } static CYTHON_INLINE PyObject* __Pyx_PyNumber_Long(PyObject* x) { #if CYTHON_USE_TYPE_SLOTS PyNumberMethods *m; #endif PyObject *res = NULL; if (likely(PyLong_Check(x))) return __Pyx_NewRef(x); #if CYTHON_USE_TYPE_SLOTS m = Py_TYPE(x)->tp_as_number; if (likely(m && m->nb_int)) { res = m->nb_int(x); } #else if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) { res = PyNumber_Long(x); } #endif if (likely(res)) { if (unlikely(!PyLong_CheckExact(res))) { return __Pyx_PyNumber_LongWrongResultType(res); } } else if (!PyErr_Occurred()) { PyErr_SetString(PyExc_TypeError, "an integer is required"); } return res; } static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { Py_ssize_t ival; PyObject *x; if (likely(PyLong_CheckExact(b))) { #if CYTHON_USE_PYLONG_INTERNALS if (likely(__Pyx_PyLong_IsCompact(b))) { return __Pyx_PyLong_CompactValue(b); } else { const digit* digits = __Pyx_PyLong_Digits(b); const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(b); switch (size) { case 2: if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { return (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); } break; case -2: if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { return -(Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); } break; case 3: if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { return (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); } break; case -3: if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { return -(Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); } break; case 4: if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { return (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); } break; case -4: if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { return -(Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); } break; } } #endif return PyLong_AsSsize_t(b); } x = PyNumber_Index(b); if (!x) return -1; ival = PyLong_AsSsize_t(x); Py_DECREF(x); return ival; } static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) { if (sizeof(Py_hash_t) == sizeof(Py_ssize_t)) { return (Py_hash_t) __Pyx_PyIndex_AsSsize_t(o); } else { Py_ssize_t ival; PyObject *x; x = PyNumber_Index(o); if (!x) return -1; ival = PyLong_AsLong(x); Py_DECREF(x); return ival; } } static CYTHON_INLINE PyObject *__Pyx_Owned_Py_None(int b) { CYTHON_UNUSED_VAR(b); return __Pyx_NewRef(Py_None); } static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) { return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False); } static CYTHON_INLINE PyObject * __Pyx_PyLong_FromSize_t(size_t ival) { return PyLong_FromSize_t(ival); } #if CYTHON_USE_PYLONG_INTERNALS static CYTHON_INLINE int __Pyx_PyLong_CompactAsLong(PyObject *x, long *return_value) { if (unlikely(!__Pyx_PyLong_IsCompact(x))) return 0; Py_ssize_t value = __Pyx_PyLong_CompactValue(x); if ((sizeof(long) < sizeof(Py_ssize_t)) && unlikely(value != (long) value)) return 0; *return_value = (long) value; return 1; } #endif /* MultiPhaseInitModuleState */ #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE #ifndef CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE #if (CYTHON_COMPILING_IN_LIMITED_API || PY_VERSION_HEX >= 0x030C0000) #define CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE 1 #else #define CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE 0 #endif #endif #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE && !CYTHON_ATOMICS #error "Module state with PEP489 requires atomics. Currently that's one of\ C11, C++11, gcc atomic intrinsics or MSVC atomic intrinsics" #endif #if !CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE #define __Pyx_ModuleStateLookup_Lock() #define __Pyx_ModuleStateLookup_Unlock() #elif !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d0000 static PyMutex __Pyx_ModuleStateLookup_mutex = {0}; #define __Pyx_ModuleStateLookup_Lock() PyMutex_Lock(&__Pyx_ModuleStateLookup_mutex) #define __Pyx_ModuleStateLookup_Unlock() PyMutex_Unlock(&__Pyx_ModuleStateLookup_mutex) #elif defined(__cplusplus) && __cplusplus >= 201103L #include static std::mutex __Pyx_ModuleStateLookup_mutex; #define __Pyx_ModuleStateLookup_Lock() __Pyx_ModuleStateLookup_mutex.lock() #define __Pyx_ModuleStateLookup_Unlock() __Pyx_ModuleStateLookup_mutex.unlock() #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ > 201112L) && !defined(__STDC_NO_THREADS__) #include static mtx_t __Pyx_ModuleStateLookup_mutex; static once_flag __Pyx_ModuleStateLookup_mutex_once_flag = ONCE_FLAG_INIT; static void __Pyx_ModuleStateLookup_initialize_mutex(void) { mtx_init(&__Pyx_ModuleStateLookup_mutex, mtx_plain); } #define __Pyx_ModuleStateLookup_Lock()\ call_once(&__Pyx_ModuleStateLookup_mutex_once_flag, __Pyx_ModuleStateLookup_initialize_mutex);\ mtx_lock(&__Pyx_ModuleStateLookup_mutex) #define __Pyx_ModuleStateLookup_Unlock() mtx_unlock(&__Pyx_ModuleStateLookup_mutex) #elif defined(HAVE_PTHREAD_H) #include static pthread_mutex_t __Pyx_ModuleStateLookup_mutex = PTHREAD_MUTEX_INITIALIZER; #define __Pyx_ModuleStateLookup_Lock() pthread_mutex_lock(&__Pyx_ModuleStateLookup_mutex) #define __Pyx_ModuleStateLookup_Unlock() pthread_mutex_unlock(&__Pyx_ModuleStateLookup_mutex) #elif defined(_WIN32) #include // synchapi.h on its own doesn't work static SRWLOCK __Pyx_ModuleStateLookup_mutex = SRWLOCK_INIT; #define __Pyx_ModuleStateLookup_Lock() AcquireSRWLockExclusive(&__Pyx_ModuleStateLookup_mutex) #define __Pyx_ModuleStateLookup_Unlock() ReleaseSRWLockExclusive(&__Pyx_ModuleStateLookup_mutex) #else #error "No suitable lock available for CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE.\ Requires C standard >= C11, or C++ standard >= C++11,\ or pthreads, or the Windows 32 API, or Python >= 3.13." #endif typedef struct { int64_t id; PyObject *module; } __Pyx_InterpreterIdAndModule; typedef struct { char interpreter_id_as_index; Py_ssize_t count; Py_ssize_t allocated; __Pyx_InterpreterIdAndModule table[1]; } __Pyx_ModuleStateLookupData; #define __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE 32 #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE static __pyx_atomic_int_type __Pyx_ModuleStateLookup_read_counter = 0; #endif #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE static __pyx_atomic_ptr_type __Pyx_ModuleStateLookup_data = 0; #else static __Pyx_ModuleStateLookupData* __Pyx_ModuleStateLookup_data = NULL; #endif static __Pyx_InterpreterIdAndModule* __Pyx_State_FindModuleStateLookupTableLowerBound( __Pyx_InterpreterIdAndModule* table, Py_ssize_t count, int64_t interpreterId) { __Pyx_InterpreterIdAndModule* begin = table; __Pyx_InterpreterIdAndModule* end = begin + count; if (begin->id == interpreterId) { return begin; } while ((end - begin) > __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE) { __Pyx_InterpreterIdAndModule* halfway = begin + (end - begin)/2; if (halfway->id == interpreterId) { return halfway; } if (halfway->id < interpreterId) { begin = halfway; } else { end = halfway; } } for (; begin < end; ++begin) { if (begin->id >= interpreterId) return begin; } return begin; } static PyObject *__Pyx_State_FindModule(CYTHON_UNUSED void* dummy) { int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); if (interpreter_id == -1) return NULL; #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __Pyx_ModuleStateLookupData* data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_relaxed(&__Pyx_ModuleStateLookup_data); { __pyx_atomic_incr_acq_rel(&__Pyx_ModuleStateLookup_read_counter); if (likely(data)) { __Pyx_ModuleStateLookupData* new_data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_acquire(&__Pyx_ModuleStateLookup_data); if (likely(data == new_data)) { goto read_finished; } } __pyx_atomic_decr_acq_rel(&__Pyx_ModuleStateLookup_read_counter); __Pyx_ModuleStateLookup_Lock(); __pyx_atomic_incr_relaxed(&__Pyx_ModuleStateLookup_read_counter); data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_relaxed(&__Pyx_ModuleStateLookup_data); __Pyx_ModuleStateLookup_Unlock(); } read_finished:; #else __Pyx_ModuleStateLookupData* data = __Pyx_ModuleStateLookup_data; #endif __Pyx_InterpreterIdAndModule* found = NULL; if (unlikely(!data)) goto end; if (data->interpreter_id_as_index) { if (interpreter_id < data->count) { found = data->table+interpreter_id; } } else { found = __Pyx_State_FindModuleStateLookupTableLowerBound( data->table, data->count, interpreter_id); } end: { PyObject *result=NULL; if (found && found->id == interpreter_id) { result = found->module; } #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __pyx_atomic_decr_acq_rel(&__Pyx_ModuleStateLookup_read_counter); #endif return result; } } #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE static void __Pyx_ModuleStateLookup_wait_until_no_readers(void) { while (__pyx_atomic_load(&__Pyx_ModuleStateLookup_read_counter) != 0); } #else #define __Pyx_ModuleStateLookup_wait_until_no_readers() #endif static int __Pyx_State_AddModuleInterpIdAsIndex(__Pyx_ModuleStateLookupData **old_data, PyObject* module, int64_t interpreter_id) { Py_ssize_t to_allocate = (*old_data)->allocated; while (to_allocate <= interpreter_id) { if (to_allocate == 0) to_allocate = 1; else to_allocate *= 2; } __Pyx_ModuleStateLookupData *new_data = *old_data; if (to_allocate != (*old_data)->allocated) { new_data = (__Pyx_ModuleStateLookupData *)realloc( *old_data, sizeof(__Pyx_ModuleStateLookupData)+(to_allocate-1)*sizeof(__Pyx_InterpreterIdAndModule)); if (!new_data) { PyErr_NoMemory(); return -1; } for (Py_ssize_t i = new_data->allocated; i < to_allocate; ++i) { new_data->table[i].id = i; new_data->table[i].module = NULL; } new_data->allocated = to_allocate; } new_data->table[interpreter_id].module = module; if (new_data->count < interpreter_id+1) { new_data->count = interpreter_id+1; } *old_data = new_data; return 0; } static void __Pyx_State_ConvertFromInterpIdAsIndex(__Pyx_ModuleStateLookupData *data) { __Pyx_InterpreterIdAndModule *read = data->table; __Pyx_InterpreterIdAndModule *write = data->table; __Pyx_InterpreterIdAndModule *end = read + data->count; for (; readmodule) { write->id = read->id; write->module = read->module; ++write; } } data->count = write - data->table; for (; writeid = 0; write->module = NULL; } data->interpreter_id_as_index = 0; } static int __Pyx_State_AddModule(PyObject* module, CYTHON_UNUSED void* dummy) { int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); if (interpreter_id == -1) return -1; int result = 0; __Pyx_ModuleStateLookup_Lock(); #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __Pyx_ModuleStateLookupData *old_data = (__Pyx_ModuleStateLookupData *) __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, 0); #else __Pyx_ModuleStateLookupData *old_data = __Pyx_ModuleStateLookup_data; #endif __Pyx_ModuleStateLookupData *new_data = old_data; if (!new_data) { new_data = (__Pyx_ModuleStateLookupData *)calloc(1, sizeof(__Pyx_ModuleStateLookupData)); if (!new_data) { result = -1; PyErr_NoMemory(); goto end; } new_data->allocated = 1; new_data->interpreter_id_as_index = 1; } __Pyx_ModuleStateLookup_wait_until_no_readers(); if (new_data->interpreter_id_as_index) { if (interpreter_id < __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE) { result = __Pyx_State_AddModuleInterpIdAsIndex(&new_data, module, interpreter_id); goto end; } __Pyx_State_ConvertFromInterpIdAsIndex(new_data); } { Py_ssize_t insert_at = 0; { __Pyx_InterpreterIdAndModule* lower_bound = __Pyx_State_FindModuleStateLookupTableLowerBound( new_data->table, new_data->count, interpreter_id); assert(lower_bound); insert_at = lower_bound - new_data->table; if (unlikely(insert_at < new_data->count && lower_bound->id == interpreter_id)) { lower_bound->module = module; goto end; // already in table, nothing more to do } } if (new_data->count+1 >= new_data->allocated) { Py_ssize_t to_allocate = (new_data->count+1)*2; new_data = (__Pyx_ModuleStateLookupData*)realloc( new_data, sizeof(__Pyx_ModuleStateLookupData) + (to_allocate-1)*sizeof(__Pyx_InterpreterIdAndModule)); if (!new_data) { result = -1; new_data = old_data; PyErr_NoMemory(); goto end; } new_data->allocated = to_allocate; } ++new_data->count; int64_t last_id = interpreter_id; PyObject *last_module = module; for (Py_ssize_t i=insert_at; icount; ++i) { int64_t current_id = new_data->table[i].id; new_data->table[i].id = last_id; last_id = current_id; PyObject *current_module = new_data->table[i].module; new_data->table[i].module = last_module; last_module = current_module; } } end: #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, new_data); #else __Pyx_ModuleStateLookup_data = new_data; #endif __Pyx_ModuleStateLookup_Unlock(); return result; } static int __Pyx_State_RemoveModule(CYTHON_UNUSED void* dummy) { int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); if (interpreter_id == -1) return -1; __Pyx_ModuleStateLookup_Lock(); #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __Pyx_ModuleStateLookupData *data = (__Pyx_ModuleStateLookupData *) __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, 0); #else __Pyx_ModuleStateLookupData *data = __Pyx_ModuleStateLookup_data; #endif if (data->interpreter_id_as_index) { if (interpreter_id < data->count) { data->table[interpreter_id].module = NULL; } goto done; } { __Pyx_ModuleStateLookup_wait_until_no_readers(); __Pyx_InterpreterIdAndModule* lower_bound = __Pyx_State_FindModuleStateLookupTableLowerBound( data->table, data->count, interpreter_id); if (!lower_bound) goto done; if (lower_bound->id != interpreter_id) goto done; __Pyx_InterpreterIdAndModule *end = data->table+data->count; for (;lower_boundid = (lower_bound+1)->id; lower_bound->module = (lower_bound+1)->module; } } --data->count; if (data->count == 0) { free(data); data = NULL; } done: #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, data); #else __Pyx_ModuleStateLookup_data = data; #endif __Pyx_ModuleStateLookup_Unlock(); return 0; } #endif /* #### Code section: utility_code_pragmas_end ### */ #ifdef _MSC_VER #pragma warning( pop ) #endif /* #### Code section: end ### */ #endif /* Py_PYTHON_H */