Skip to content

Update cuda.bindings to 13.0.0 #792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 91 commits into from
Aug 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
78b89cb
Propagate generated path finder changes
vzhurba01 May 20, 2025
b423deb
Rebase to 13.0 RC14
vzhurba01 May 27, 2025
6413bab
Update license headers on examples
vzhurba01 May 27, 2025
1773388
Regenerate after merging upstream
vzhurba01 May 28, 2025
af48e18
Update benchmarks and run pre-commit
vzhurba01 May 28, 2025
2dbc870
Merge pull request #79 from vzhurba01/69-bindings-ctk-13.0
vzhurba01 May 28, 2025
6509f3c
cython-gen output, NO manual changes
rwgk May 29, 2025
3d33553
Bump cuda/bindings/_version.py → 13.0.0
rwgk May 29, 2025
1d45862
Merge pull request #82 from rwgk/automatically_generated_with_version_13
rwgk May 29, 2025
6f1eacf
Merge branch 'world-main' into unreleased-13.0
rwgk May 29, 2025
033512b
Merge branch 'world-main' into unreleased-13.0
rwgk May 31, 2025
47622f3
Merge branch 'world-main' into unreleased-13.0
rwgk Jun 2, 2025
e209238
`path_finder` and cybind updates for CTK 13.0 (#81)
rwgk Jun 4, 2025
0aa9a1f
Merge branch 'world-main' into unreleased-13.0
rwgk Jun 4, 2025
2ac7571
Merge branch 'world-main' into unreleased-13.0
rwgk Jun 7, 2025
fa33045
Fixes from windows testing (#89)
rwgk Jun 10, 2025
4eb228a
Merge branch 'world-main' into unreleased-13.0
rwgk Jun 10, 2025
104abbd
print *prog pointers in nvrtcCreateProgram, nvrtcCompileProgram bindings
rwgk Jun 12, 2025
f64edeb
Remove stray `"nvrtc64_*_0.alt.dll"` entries in `SUPPORTED_WINDOWS_DLLS`
rwgk Jun 12, 2025
50e41bb
Revert "print *prog pointers in nvrtcCreateProgram, nvrtcCompileProgr…
rwgk Jun 12, 2025
de74968
Merge pull request #92 from rwgk/unreleased-13.0_dbg01
leofang Jun 12, 2025
d8ff357
Merge branch 'world-main' into unreleased-13.0
rwgk Jun 13, 2025
eaf66f2
_find_lib_dir_using_cuda_home(): Windows CTK 13 → bin\x64
rwgk Jun 13, 2025
ebc9920
getLocalRuntimeVersion(): Search for libcudart.so.13
robertmaynard Jun 17, 2025
d760969
SUPPORTED_LINUX_SONAMES: Add CTK 13 soname values
robertmaynard Jun 17, 2025
d67a293
Merge pull request #95 from robertmaynard/cuda-13-soname-updates
leofang Jun 17, 2025
7f8fa90
Update path_finder/supported_libs.py from kitpicks 13.0.0/025 (#96)
rwgk Jun 18, 2025
718b3db
Merge branch 'world-main' into unreleased-13.0
rwgk Jun 20, 2025
3bec7e3
This trivial change should have been included in PR #81, but was over…
rwgk Jun 21, 2025
669fbc1
cuda_core forward compatibility changes (private development branch) …
rwgk Jun 24, 2025
b6fd97f
Fix `cuda_bindings` and `cuda_core` examples (#98)
rwgk Jun 26, 2025
6d9167d
Update driver_cu_result_explanations.py, runtime_cuda_error_explanati…
rwgk Jun 30, 2025
17f0d79
Merge branch 'world-main' into unreleased-13.0
rwgk Jul 8, 2025
333f4ad
Merge pull request #105 from rwgk/unreleased-13.0_merge_world-main
rwgk Jul 8, 2025
c83ee83
kitpicks/cuda-r13-0/13.0.0/033: CUDA_HOME=/usr/local/cuda python cyth…
rwgk Jul 8, 2025
ac0f2b0
Merge commit 'a93b760e01a16c7f80e7b802095a1d4d069c001e' into unreleas…
rwgk Jul 15, 2025
943aee8
Merge branch 'world-main' into unreleased-13.0_merge_world-main_just_…
rwgk Jul 15, 2025
3031100
Update cuda_pathfinder supported_nvidia_libs.py from kitpicks 13.0.0/…
rwgk Jul 16, 2025
16c86bd
Update driver_cu_result_explanations.py, runtime_cuda_error_explanati…
rwgk Jul 16, 2025
bbb3585
Update cuda_pathfinder supported_nvidia_libs.py EXPECTED_LIB_SYMBOLS …
rwgk Jul 17, 2025
a30fece
Merge pull request #109 from rwgk/unreleased-13.0_merge_world-main_ju…
rwgk Jul 17, 2025
ca968c1
cython-gen changes due to PR #101 (#115)
rwgk Jul 21, 2025
8681e71
cython-gen changes due to release_gil_revert_leos_commits_fix_cast_er…
rwgk Jul 21, 2025
6c55c80
cython-gen changes due to cython-gen PR #118 (#120)
rwgk Jul 22, 2025
665538d
Merge branch 'world-main' into unreleased-13.0_git_merge_world-main
rwgk Jul 22, 2025
aec7d10
test_cufile.py: pytest.skip("NEEDS DEBUGGING (unreleased-13.0)")
rwgk Jul 22, 2025
5972722
Merge pull request #122 from rwgk/unreleased-13.0_git_merge_world-main
rwgk Jul 22, 2025
7e54152
Merge branch 'world-main' into unreleased-13.0_git_merge_world-main
rwgk Jul 23, 2025
9fc982f
cython-gen changes on top of `git merge world-main -X ours` product.
rwgk Jul 23, 2025
29628ea
Add missing imports (related to NVIDIA/cuda-python#769). These got lo…
rwgk Jul 23, 2025
2109ea8
Merge branch 'world-main' into unreleased-13.0_git_merge_world-main
rwgk Jul 24, 2025
3f03312
Revert obsolete aec7d10c6d608e9184a81cc52583f1de38217e3a
rwgk Jul 24, 2025
27d84d9
Remove cuda_bindings/site-packages entirely.
rwgk Jul 24, 2025
470060b
Merge branch 'world-main' into unreleased-13.0_git_merge_world-main
rwgk Jul 27, 2025
fa4f39c
Change test_batch_io_large_operations to avoid a flood of output (`as…
rwgk Jul 27, 2025
68fc5e9
Remove `(scope="module")` from `cufile_env_json` fixture: resolves te…
rwgk Jul 27, 2025
5175997
Merge pull request #123 from rwgk/unreleased-13.0_git_merge_world-main
rwgk Jul 27, 2025
9701995
Merge branch 'world-main' into unreleased-13.0_git_merge_world-main
rwgk Jul 30, 2025
8dfaa56
Merge pull request #125 from rwgk/unreleased-13.0_git_merge_world-main
rwgk Jul 30, 2025
d4204da
[unreleased-13.0] `test_cufile.py`: Remove fallback to `/etc/cufile.j…
rwgk Jul 30, 2025
5934b31
update win driver to 580.88
leofang Aug 4, 2025
c41290f
change backport branch to 12.9.x
leofang Aug 4, 2025
de1e084
update build ver to 13.0.0
leofang Aug 4, 2025
dc956ca
crt headers are now split from cudart (or nvcc?)
leofang Aug 4, 2025
02cf5f7
remove the outdated cufile skip condition (it was buggy anyway)
leofang Aug 4, 2025
8abed96
Merge branch 'main' into unreleased-13.0
leofang Aug 4, 2025
1bae8f1
remove 11.8 CI and add 13.0 CI
leofang Aug 5, 2025
c09bb7a
update cuda-bindings optional dependencies
leofang Aug 5, 2025
6edac58
update release notes
leofang Aug 5, 2025
f014791
update cuda-bindings docs
leofang Aug 5, 2025
1458112
update cuda-python docs
leofang Aug 5, 2025
d65d0f0
libnvvm is also split out
leofang Aug 5, 2025
11664e7
ensure using sanitizer from the latest release of the same major ver
leofang Aug 5, 2025
de3c184
Remove -cu12 suffixes and add nvidia-nvvm in cuda_pathfinder/pyprojec…
rwgk Aug 5, 2025
074bfa9
fix backport branch's ci name
leofang Aug 5, 2025
34f84f0
restore nvidia_wheels_cu12
leofang Aug 5, 2025
0d4450b
remove tests
leofang Aug 5, 2025
47b961f
always test 12.9.x with the latest driver
leofang Aug 5, 2025
d4bf846
ensure fetch_ctk works with 12.x
leofang Aug 5, 2025
d1d8748
Fix Linux libnvvm site-packages search for CTK 13
rwgk Aug 6, 2025
8f5bfe5
update docs
leofang Aug 6, 2025
89250c4
add PTX ISA 9.0 to utils
leofang Aug 6, 2025
f6ebdbc
sync 13.0.0 docs
leofang Aug 6, 2025
de1e83a
Fix Windows site-packages search for CTK 13
rwgk Aug 6, 2025
e18a5e8
Also add "nvidia-nvvm~=13.0" in cuda_bindings/pyproject.toml
rwgk Aug 6, 2025
ff339b6
Add _work_around_known_bugs() in load_dl_linux.py
rwgk Aug 6, 2025
25d4b0a
driver_cu_result_explanations.py, runtime_cuda_error_explanations.py …
rwgk Aug 6, 2025
db83fbe
SUPPORTED_LINUX_SONAMES refresh (no-op)
rwgk Aug 6, 2025
36d9f06
SUPPORTED_WINDOWS_DLLS refresh (no-op)
rwgk Aug 6, 2025
37ef8e0
Update generated files: nvjitlink, nvvm (trivial changes, functional …
rwgk Aug 6, 2025
ba95fc9
update release dates
leofang Aug 6, 2025
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: 1 addition & 1 deletion .github/BACKPORT_BRANCH
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.8.x
12.9.x
13 changes: 7 additions & 6 deletions .github/actions/fetch_ctk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
description: "A list of the CTK components to install as a comma-separated list. e.g. 'cuda_nvcc,cuda_nvrtc,cuda_cudart'"
required: false
type: string
default: "cuda_nvcc,cuda_cudart,cuda_nvrtc,cuda_profiler_api,cuda_cccl,libnvjitlink,libcufile"
default: "cuda_nvcc,cuda_cudart,cuda_crt,libnvvm,cuda_nvrtc,cuda_profiler_api,cuda_cccl,libnvjitlink,libcufile"

runs:
using: composite
Expand All @@ -32,15 +32,16 @@ runs:
if [[ "$CUDA_MAJOR_VER" -lt 12 ]]; then
CTK_CACHE_COMPONENTS="${CTK_CACHE_COMPONENTS//libnvjitlink/}"
fi
# Conditionally strip out cuda_crt and libnvvm for CUDA versions < 13
CUDA_MAJOR_VER="$(cut -d '.' -f 1 <<< ${{ inputs.cuda-version }})"
if [[ "$CUDA_MAJOR_VER" -lt 13 ]]; then
CTK_CACHE_COMPONENTS="${CTK_CACHE_COMPONENTS//cuda_crt/}"
CTK_CACHE_COMPONENTS="${CTK_CACHE_COMPONENTS//libnvvm/}"
fi
# Conditionally strip out libcufile since it does not support Windows
if [[ "${{ inputs.host-platform }}" == win-* ]]; then
CTK_CACHE_COMPONENTS="${CTK_CACHE_COMPONENTS//libcufile/}"
fi
# Conditionally strip out libcufile for CUDA versions < 12.2.0 + aarch64 (redist not available)
CUDA_MINOR_VER="$(cut -d '.' -f 2 <<< ${{ inputs.cuda-version }})"
if [[ ("$CUDA_MAJOR_VER" -lt 12 || "$CUDA_MINOR_VER" -lt 2) && "${{ inputs.host-platform }}" == "linux-aarch64" ]]; then
CTK_CACHE_COMPONENTS="${CTK_CACHE_COMPONENTS//libcufile/}"
fi
# Cleanup stray commas after removing components
CTK_CACHE_COMPONENTS="${CTK_CACHE_COMPONENTS//,,/,}"

Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/guess_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,27 @@
# URL to search
URL="https://developer.download.nvidia.com/compute/cuda/redist/"

# Ensure exactly one argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <CUDA_major_version>"
exit 1
fi

# Accept major version as the first argument
MAJOR_VERSION="$1"

# Fetch the directory listing and extract the latest version number
get_latest_version() {
# Get the HTML content of the page
local html_content=$(wget -q -O - "$URL")

# Extract links matching the pattern redistrib_?.?.?.json
local files=$(echo "$html_content" | grep -oP 'redistrib_[0-9]+\.[0-9]+\.[0-9]+\.json' | cut -d'"' -f2)
local files=$(echo "$html_content" | grep -oP "redistrib_${MAJOR_VERSION}\.[0-9]+\.[0-9]+\.json" | cut -d'"' -f2)

# If files were found, extract the version numbers and find the latest
if [ -n "$files" ]; then
# Extract just the version numbers using regex
local versions=$(echo "$files" | grep -oP 'redistrib_\K[0-9]+\.[0-9]+\.[0-9]+(?=\.json)')
local versions=$(echo "$files" | grep -oP "redistrib_\K${MAJOR_VERSION}\.[0-9]+\.[0-9]+(?=\.json)")

# Sort the versions and get the latest
local latest_version=$(echo "$versions" | sort -V | tail -n 1)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/install_gpu_driver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
function Install-Driver {

# Set the correct URL, filename, and arguments to the installer
# This driver is picked to support Windows 11 & CUDA 12.8
$url = 'https://us.download.nvidia.com/tesla/572.13/572.13-data-center-tesla-desktop-win10-win11-64bit-dch-international.exe';
$file_dir = 'C:\NVIDIA-Driver\572.13-data-center-tesla-desktop-win10-win11-64bit-dch-international.exe';
# This driver is picked to support Windows 11 & CUDA 13.0
$url = 'https://us.download.nvidia.com/tesla/580.88/580.88-data-center-tesla-desktop-win10-win11-64bit-dch-international.exe';
$file_dir = 'C:\NVIDIA-Driver\580.88-data-center-tesla-desktop-win10-win11-64bit-dch-international.exe';
$install_args = '/s /noeula /noreboot';

# Create the folder for the driver download
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/test-wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
# Add a special entry for the H100 runner on amd64.
special_runner=""
if [[ "${ARCH}" == "amd64" ]]; then
special_runner="- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '12.9.0', LOCAL_CTK: '1', GPU: 'H100', DRIVER: 'latest' }"
special_runner="- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '13.0.0', LOCAL_CTK: '1', GPU: 'H100', DRIVER: 'latest' }"
fi

# Please keep the matrices sorted in ascending order by the following:
Expand All @@ -62,18 +62,16 @@ jobs:
#
export MATRICES="
pull-request:
- { ARCH: ${ARCH}, PY_VER: '3.9', CUDA_VER: '11.8.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'earliest' }
- { ARCH: ${ARCH}, PY_VER: '3.9', CUDA_VER: '12.0.1', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.9', CUDA_VER: '12.9.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.10', CUDA_VER: '11.8.0', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'earliest' }
- { ARCH: ${ARCH}, PY_VER: '3.9', CUDA_VER: '13.0.0', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.10', CUDA_VER: '12.9.0', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.11', CUDA_VER: '11.8.0', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.10', CUDA_VER: '13.0.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.11', CUDA_VER: '12.9.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '12.0.1', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'earliest' }
- { ARCH: ${ARCH}, PY_VER: '3.11', CUDA_VER: '13.0.0', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '12.9.0', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '11.8.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '12.0.1', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '13.0.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '12.9.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'latest' }
- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '13.0.0', LOCAL_CTK: '1', GPU: ${gpu}, DRIVER: 'latest' }
${special_runner}
nightly:
- { ARCH: ${ARCH}, PY_VER: '3.9', CUDA_VER: '11.8.0', LOCAL_CTK: '0', GPU: ${gpu}, DRIVER: 'earliest' }
Expand Down Expand Up @@ -200,13 +198,14 @@ jobs:

OLD_BRANCH=$(cat .github/BACKPORT_BRANCH)
OLD_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda*-${{ inputs.host-platform }}*"
LATEST_PRIOR_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "build-and-test.yml" -s completed -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
LATEST_PRIOR_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "ci.yml" -s completed -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
if [[ "$LATEST_PRIOR_RUN_ID" == "" ]]; then
echo "LATEST_PRIOR_RUN_ID not found!"
exit 1
fi

gh run download $LATEST_PRIOR_RUN_ID -p ${OLD_BASENAME} -R NVIDIA/cuda-python
rm -rf ${OLD_BASENAME}-tests # exclude cython test artifacts
ls -al $OLD_BASENAME
mkdir -p "${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}"
mv $OLD_BASENAME/*.whl "${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}"/
Expand Down Expand Up @@ -318,16 +317,16 @@ jobs:
pip install $(ls cuda_python*.whl)[all]
fi

- name: Install cuda.pathfinder nvidia_wheels_cu12
if: startsWith(matrix.CUDA_VER, '12.')
- name: Install cuda.pathfinder nvidia_wheels_cu13
if: startsWith(matrix.CUDA_VER, '13.')
run: |
pushd cuda_pathfinder
pip install -v .[nvidia_wheels_cu12]
pip install -v .[nvidia_wheels_cu13]
pip freeze
popd

- name: Run cuda.pathfinder tests with all_must_work
if: startsWith(matrix.CUDA_VER, '12.')
if: startsWith(matrix.CUDA_VER, '13.')
env:
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
run: run-tests pathfinder
15 changes: 8 additions & 7 deletions .github/workflows/test-wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
#
export MATRICES="
pull-request:
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '11.8.0', LOCAL_CTK: '0' }
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '11.8.0', LOCAL_CTK: '1' }
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '12.9.0', LOCAL_CTK: '0' }
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '12.9.0', LOCAL_CTK: '1' }
- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '13.0.0', LOCAL_CTK: '0' }
- { ARCH: ${ARCH}, PY_VER: '3.13', CUDA_VER: '13.0.0', LOCAL_CTK: '1' }
nightly:
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '11.8.0', LOCAL_CTK: '0' }
- { ARCH: ${ARCH}, PY_VER: '3.12', CUDA_VER: '11.8.0', LOCAL_CTK: '1' }
Expand Down Expand Up @@ -178,14 +178,15 @@ jobs:
run: |
$OLD_BRANCH = Get-Content .github/BACKPORT_BRANCH
$OLD_BASENAME = "cuda-bindings-python${env:PYTHON_VERSION_FORMATTED}-cuda*-${{ inputs.host-platform }}*"
$runData = gh run list -b $OLD_BRANCH -L 1 -w "build-and-test.yml" -s completed -R NVIDIA/cuda-python --json databaseId | ConvertFrom-Json
$runData = gh run list -b $OLD_BRANCH -L 1 -w "ci.yml" -s completed -R NVIDIA/cuda-python --json databaseId | ConvertFrom-Json
if (-not $runData -or $runData.Length -eq 0 -or -not $runData[0].databaseId -or [string]::IsNullOrEmpty($runData[0].databaseId)) {
Write-Host "LATEST_PRIOR_RUN_ID not found!"
exit 1
}
$LATEST_PRIOR_RUN_ID = $runData[0].databaseId

gh run download $LATEST_PRIOR_RUN_ID -p $OLD_BASENAME -R NVIDIA/cuda-python
Remove-Item -Recurse -Force "${OLD_BASENAME}-tests" # exclude cython test artifacts
Get-ChildItem -Path $OLD_BASENAME
New-Item -Path "${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}" -ItemType Directory -Force
Move-Item -Path "$OLD_BASENAME/*.whl" -Destination "${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}"
Expand Down Expand Up @@ -285,17 +286,17 @@ jobs:
pip install "$((Get-ChildItem -Filter cuda_python*.whl).FullName)[all]"
}

- name: Install cuda.pathfinder nvidia_wheels_cu12
if: startsWith(matrix.CUDA_VER, '12.')
- name: Install cuda.pathfinder nvidia_wheels_cu13
if: startsWith(matrix.CUDA_VER, '13.')
shell: bash --noprofile --norc -xeuo pipefail {0}
run: |
pushd cuda_pathfinder
pip install -v .[nvidia_wheels_cu12]
pip install -v .[nvidia_wheels_cu13]
pip freeze
popd

- name: Run cuda.pathfinder tests with all_must_work
if: startsWith(matrix.CUDA_VER, '12.')
if: startsWith(matrix.CUDA_VER, '13.')
env:
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
shell: bash --noprofile --norc -xeuo pipefail {0}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ The list of available interfaces is:
* NVRTC
* nvJitLink
* NVVM
* cuFile
2 changes: 1 addition & 1 deletion ci/tools/env-vars
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ elif [[ "${1}" == "test" ]]; then
# We only test compute-sanitizer on python 3.12 arbitrarily; we don't need to use sanitizer on the entire matrix
# Only local ctk installs have compute-sanitizer; there is no wheel for it
if [[ "${PY_VER}" == "3.12" && "${CUDA_VER}" != "11.8.0" && "${LOCAL_CTK}" == 1 && "${HOST_PLATFORM}" == linux* ]]; then
echo "LATEST_CUDA_VERSION=$(bash .github/workflows/guess_latest.sh)" >> $GITHUB_ENV
echo "LATEST_CUDA_VERSION=$(bash .github/workflows/guess_latest.sh $TEST_CUDA_MAJOR)" >> $GITHUB_ENV
SETUP_SANITIZER=1
else
SETUP_SANITIZER=0
Expand Down
2 changes: 1 addition & 1 deletion ci/versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cuda": {
"build": {
"version": "12.9.0"
"version": "13.0.0"
}
}
}
6 changes: 4 additions & 2 deletions cuda_bindings/benchmarks/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import numpy as np
import pytest

from cuda import cuda, cudart, nvrtc
from cuda.bindings import driver as cuda
from cuda.bindings import nvrtc
from cuda.bindings import runtime as cudart


def ASSERT_DRV(err):
Expand All @@ -28,7 +30,7 @@ def init_cuda():
ASSERT_DRV(err)
err, device = cuda.cuDeviceGet(0)
ASSERT_DRV(err)
err, ctx = cuda.cuCtxCreate(0, device)
err, ctx = cuda.cuCtxCreate(None, 0, device)
ASSERT_DRV(err)

# create stream
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/benchmarks/test_launch_latency.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from conftest import ASSERT_DRV
from kernels import kernel_string

from cuda import cuda
from cuda.bindings import driver as cuda


def launch(kernel, stream, args=(), arg_types=()):
Expand Down
2 changes: 1 addition & 1 deletion cuda_bindings/benchmarks/test_pointer_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from conftest import ASSERT_DRV

from cuda import cuda
from cuda.bindings import driver as cuda

random.seed(0)

Expand Down
Loading