Skip to content

Commit c05359d

Browse files
authored
Merge pull request #2834 from JuliaGPU/tb/cuda13
Initial compatibility with CUDA 13
2 parents 205c238 + 55b4150 commit c05359d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ AbstractFFTs = "0.4, 0.5, 1.0"
5555
Adapt = "4"
5656
BFloat16s = "0.2, 0.3, 0.4, 0.5"
5757
CEnum = "0.2, 0.3, 0.4, 0.5"
58-
CUDA_Compiler_jll = "0.1.0"
59-
CUDA_Driver_jll = "12"
58+
CUDA_Compiler_jll = "0.2"
59+
CUDA_Driver_jll = "13"
6060
CUDA_Runtime_Discovery = "1"
61-
CUDA_Runtime_jll = "0.18"
61+
CUDA_Runtime_jll = "0.19"
6262
ChainRulesCore = "1"
6363
Crayons = "4"
6464
DataFrames = "1"

src/initialization.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ function __init__()
6666
return
6767
end
6868

69-
if !(v"11" <= driver < v"13-")
70-
@error "This version of CUDA.jl only supports NVIDIA drivers for CUDA 11.x or 12.x (yours is for CUDA $driver)"
69+
if !(v"11" <= driver < v"14-")
70+
@error "This version of CUDA.jl only supports NVIDIA drivers for CUDA 11.x, 12.x or 13.x (yours is for CUDA $driver)"
7171
_initialization_error[] = "CUDA driver unsupported"
7272
return
7373
end
@@ -160,7 +160,7 @@ function __init__()
160160
end
161161

162162
# if we're not running under an external profiler, let CUPTI handle NVTX events
163-
if !NVTX.isactive()
163+
if !NVTX.isactive() && toolkit_version < v"13" # NVIDIA/NVTX#125
164164
ENV["NVTX_INJECTION64_PATH"] = CUDA_Runtime.libcupti
165165
NVTX.activate()
166166
end

0 commit comments

Comments
 (0)