Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix CUDA version error message
Browse files Browse the repository at this point in the history
  • Loading branch information
robik75 committed Aug 5, 2024
1 parent 70cb1fe commit 00e5f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cudart-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn main() {
}
#[cfg(not(no_cuda))]
{
let cuda_version = get_cuda_version().expect("Failed to determine CUDA version");
let cuda_version = get_cuda_version().expect("Failed to determine the CUDA version.");
if !cuda_version.starts_with("12.") {
println!("cargo::warning=CUDA version {cuda_version} detected. This crate is only tested with CUDA 12.*.");
}
Expand Down

0 comments on commit 00e5f0e

Please sign in to comment.