Skip to content

Commit d6c4ca4

Browse files
committed
Test CUDA 13.0 on Linux CI.
The CUDA 13.0 Dockerfiles were added in #328. Also update where to look for cuDNN.
1 parent 92217f0 commit d6c4ca4

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/ci_linux.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,18 @@ jobs:
2828
- name: Ubuntu-24.04 / CUDA-12.8.1 / ARM64
2929
image: "ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda12:latest"
3030
runner: ubuntu-24.04-arm
31+
- name: Ubuntu-24.04 / CUDA-13.0.2 / x86_64
32+
image: "ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda13:latest"
33+
runner: ubuntu-latest
34+
- name: Ubuntu-24.04 / CUDA-13.0.2 / ARM64
35+
image: "ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda13:latest"
36+
runner: ubuntu-24.04-arm
3137
- name: RockyLinux-9 / CUDA-12.8.1 / x86_64
3238
image: "ghcr.io/rust-gpu/rust-cuda-rockylinux9-cuda12:latest"
3339
runner: ubuntu-latest
40+
- name: RockyLinux-9 / CUDA-13.0.2 / x86_64
41+
image: "ghcr.io/rust-gpu/rust-cuda-rockylinux9-cuda13:latest"
42+
runner: ubuntu-latest
3443

3544
steps:
3645
- name: Free up space

crates/cudnn-sys/build/cudnn_sdk.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,15 @@ impl CudnnSdk {
6262
let cudnn_include_dir = env::var_os("CUDNN_INCLUDE_DIR");
6363

6464
#[cfg(not(target_os = "windows"))]
65-
const CUDNN_DEFAULT_PATHS: &[&str] = &["/usr/include", "/usr/local/include"];
65+
const CUDNN_DEFAULT_PATHS: &[&str] = &[
66+
"/usr/include",
67+
"/usr/local/include",
68+
// CUDA 13 seems to have moved the headers into arch-specific directories.
69+
"/usr/include/x86_64-linux-gnu",
70+
"/usr/include/aarch64-linux-gnu",
71+
"/usr/local/include/x86_64-linux-gnu",
72+
"/usr/local/include/aarch64-linux-gnu",
73+
];
6674
#[cfg(target_os = "windows")]
6775
const CUDNN_DEFAULT_PATHS: &[&str] = &[
6876
"C:/Program Files/NVIDIA/CUDNN/v9.x/include",

0 commit comments

Comments
 (0)