We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e4aec commit 2459743Copy full SHA for 2459743
third_party/nvidia/backend/driver.c
@@ -1,3 +1,4 @@
1
+#define _CRT_SECURE_NO_WARNINGS
2
#include "cuda.h"
3
4
#ifndef _WIN32
third_party/nvidia/backend/driver.py
@@ -208,6 +208,7 @@ def format_of(ty):
208
params = [f"&arg{i}" for i, ty in signature.items() if ty != "constexpr"]
209
params.append("&global_scratch")
210
src = f"""
211
212
#include \"cuda.h\"
213
#include <stdbool.h>
214
#define PY_SSIZE_T_CLEAN
0 commit comments