diff --git a/Project.toml b/Project.toml index b2cea14ba2..623346cc9a 100644 --- a/Project.toml +++ b/Project.toml @@ -55,10 +55,10 @@ AbstractFFTs = "0.4, 0.5, 1.0" Adapt = "4" BFloat16s = "0.2, 0.3, 0.4, 0.5" CEnum = "0.2, 0.3, 0.4, 0.5" -CUDA_Compiler_jll = "0.1.0" -CUDA_Driver_jll = "12" +CUDA_Compiler_jll = "0.2" +CUDA_Driver_jll = "13" CUDA_Runtime_Discovery = "1" -CUDA_Runtime_jll = "0.18" +CUDA_Runtime_jll = "0.19" ChainRulesCore = "1" Crayons = "4" DataFrames = "1" diff --git a/src/initialization.jl b/src/initialization.jl index 3f1999bad3..99160f2a58 100644 --- a/src/initialization.jl +++ b/src/initialization.jl @@ -66,8 +66,8 @@ function __init__() return end - if !(v"11" <= driver < v"13-") - @error "This version of CUDA.jl only supports NVIDIA drivers for CUDA 11.x or 12.x (yours is for CUDA $driver)" + if !(v"11" <= driver < v"14-") + @error "This version of CUDA.jl only supports NVIDIA drivers for CUDA 11.x, 12.x or 13.x (yours is for CUDA $driver)" _initialization_error[] = "CUDA driver unsupported" return end @@ -160,7 +160,7 @@ function __init__() end # if we're not running under an external profiler, let CUPTI handle NVTX events - if !NVTX.isactive() + if !NVTX.isactive() && toolkit_version < v"13" # NVIDIA/NVTX#125 ENV["NVTX_INJECTION64_PATH"] = CUDA_Runtime.libcupti NVTX.activate() end