Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cuda_bindings/build_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def _build_cuda_bindings(debug=False):
that metadata queries do not require a CUDA toolkit installation.
"""
from Cython.Build import cythonize
from Cython.Compiler import Options as _CythonOptions

global _extensions

Expand Down Expand Up @@ -230,6 +231,7 @@ def get_static_libraries(f):
)

# Cythonize
_CythonOptions.warning_errors = True
cython_directives = {"language_level": 3, "embedsignature": True, "binding": True, "freethreading_compatible": True}
if compile_for_coverage:
cython_directives["linetrace"] = True
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/cuda/bindings/_lib/windll.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cdef extern from "windows.h" nogil:
ctypedef const char *LPCSTR
ctypedef int BOOL

cdef DWORD LOAD_LIBRARY_SEARCH_SYSTEM32 = 0x00000800
const DWORD LOAD_LIBRARY_SEARCH_SYSTEM32

HMODULE _LoadLibraryExW "LoadLibraryExW"(
LPCWSTR lpLibFileName,
Expand Down
Loading