Skip to content

Commit

Permalink
Bump CUDA driver JLL. (#2463)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Aug 7, 2024
1 parent f689f04 commit 763164d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ 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_Driver_jll = "0.9"
CUDA_Driver_jll = "0.10"
CUDA_Runtime_Discovery = "0.3.3"
CUDA_Runtime_jll = "0.15"
ChainRulesCore = "1"
Expand Down
1 change: 0 additions & 1 deletion docs/src/lib/driver.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ CUDA.description(::CuError)

```@docs
CUDA.driver_version()
CUDA.system_driver_version()
CUDA.runtime_version()
CUDA.set_runtime_version!
CUDA.reset_runtime_version!
Expand Down
14 changes: 0 additions & 14 deletions lib/cudadrv/version.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,6 @@ function driver_version()
_driver_version[]
end

"""
system_driver_version()
Returns the latest version of CUDA supported by the original system driver, or
`nothing` if the driver was not upgraded.
"""
function system_driver_version()
# on unsupported platforms, CUDA_Driver_jll's init function does not run
if !isdefined(CUDA_Driver_jll, :libcuda_original_version)
return nothing
end
CUDA_Driver_jll.libcuda_original_version
end

"""
runtime_version()
Expand Down
9 changes: 2 additions & 7 deletions src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,9 @@ function versioninfo(io::IO=stdout)
end
println(io, "CUDA driver $(driver_version().major).$(driver_version().minor)")
if has_nvml()
print(io, "NVIDIA driver $(NVML.driver_version())")
println(io, "NVIDIA driver $(NVML.driver_version())")
else
print(io, "Unknown NVIDIA driver")
end
if system_driver_version() !== nothing
println(io, ", originally for CUDA $(system_driver_version().major).$(system_driver_version().minor)")
else
println(io)
println(io, "Unknown NVIDIA driver")
end
println(io)

Expand Down

0 comments on commit 763164d

Please sign in to comment.