We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bde540f commit a2e9c92Copy full SHA for a2e9c92
third_party/nvidia/backend/driver.c
@@ -9,6 +9,7 @@
9
10
#include <stdbool.h>
11
#define PY_SSIZE_T_CLEAN
12
+#define Py_LIMITED_API 0x03090000
13
#include <Python.h>
14
// #include <stdatomic.h>
15
third_party/nvidia/backend/driver.py
@@ -179,6 +179,8 @@ def format_of(ty):
179
src = f"""
180
#include \"cuda.h\"
181
182
+#define PY_SSIZE_T_CLEAN
183
184
185
186
#ifndef _WIN32
0 commit comments