Skip to content

Commit

Permalink
Fix CUDA v9 check
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Feb 17, 2020
1 parent 1dd92ee commit 502b2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CUDAdrv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function __init__()

cuInit(0)

if version() <= v"9"
if version() < v"9"
silent || @warn "CUDAdrv.jl only supports NVIDIA drivers for CUDA 9.0 or higher (yours is for CUDA $(version()))"
end

Expand Down

0 comments on commit 502b2da

Please sign in to comment.