Skip to content

Commit 40f2bf2

Browse files
authored
Merge branch 'main' into ipc-mempool
2 parents bb12ac9 + 4754292 commit 40f2bf2

File tree

20 files changed

+900
-117
lines changed

20 files changed

+900
-117
lines changed

.github/workflows/build-wheel.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ jobs:
230230
with:
231231
# workaround for actions/runner-images#12377 (the cached 3.13.4 is buggy on Windows)
232232
python-version: ${{ matrix.python-version == '3.13' && '3.13.5' || matrix.python-version }}
233-
# allow prereleases only fetches prereleases for unreleased versions of Python
234-
allow-prereleases: true
235233

236234
- name: verify free-threaded build
237235
if: endsWith(matrix.python-version, 't')

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ jobs:
193193

194194
checks:
195195
name: Check job status
196+
if: always()
196197
runs-on: ubuntu-latest
197198
needs:
198199
- test-linux-64

.github/workflows/test-wheel-linux.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ jobs:
228228
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
229229
with:
230230
python-version: ${{ matrix.PY_VER }}
231-
allow-prereleases: true
232231
env:
233232
# we use self-hosted runners on which setup-python behaves weirdly...
234233
AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache"

.github/workflows/test-wheel-windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ jobs:
213213
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
214214
with:
215215
python-version: ${{ matrix.PY_VER }}
216-
allow-prereleases: true
217216

218217
- name: Set up mini CTK
219218
if: ${{ matrix.LOCAL_CTK == '1' }}

cuda_bindings/docs/nv-versions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "latest",
44
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/latest/"
55
},
6+
{
7+
"version": "13.0.2",
8+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.2/"
9+
},
610
{
711
"version": "13.0.1",
812
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.1/"

cuda_bindings/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def do_cythonize(extensions):
329329
return cythonize(
330330
extensions,
331331
nthreads=nthreads,
332-
compiler_directives=dict(language_level=3, embedsignature=True, binding=True),
332+
compiler_directives=dict(language_level=3, embedsignature=True, binding=True, freethreading_compatible=True),
333333
**extra_cythonize_kwargs,
334334
)
335335

cuda_bindings/tests/cython/build_tests.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ REM SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
55

66
setlocal
77
set CL=%CL% /I"%CUDA_HOME%\include"
8-
cythonize -3 -i %~dp0test_*.pyx
8+
cythonize -3 -i -Xfreethreading_compatible=True %~dp0test_*.pyx
99
endlocal

cuda_bindings/tests/cython/build_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ else
1414
exit 1
1515
fi
1616

17-
cythonize -3 -i ${SCRIPTPATH}/test_*.pyx
17+
cythonize -3 -i -Xfreethreading_compatible=True ${SCRIPTPATH}/test_*.pyx

cuda_core/build_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_cuda_paths():
101101
verbose=True,
102102
language_level=3,
103103
nthreads=nthreads,
104-
compiler_directives={"embedsignature": True, "warn.deprecated.IF": False},
104+
compiler_directives={"embedsignature": True, "warn.deprecated.IF": False, "freethreading_compatible": True},
105105
compile_time_env=compile_time_env,
106106
)
107107

cuda_core/cuda/core/experimental/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
DeviceMemoryResourceOptions,
5656
LegacyPinnedMemoryResource,
5757
MemoryResource,
58+
VirtualMemoryResource,
59+
VirtualMemoryResourceOptions,
5860
)
5961
from cuda.core.experimental._module import Kernel, ObjectCode # noqa: E402
6062
from cuda.core.experimental._program import Program, ProgramOptions # noqa: E402

0 commit comments

Comments
 (0)