Skip to content

Commit

Permalink
Fix typos in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Dec 9, 2024
1 parent 1773784 commit 5e0e5d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cubecl-hip-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fn get_system_hip_version(rocm_path: impl AsRef<Path>) -> std::io::Result<(u8, u
/// in the header files. In the header files the patch number is a monotonic build
/// that changes only when there are actual changes in the HIP libraries.
/// This function maps the header patch number to their official latest release number.
/// For instance if both version 6.2.2 and 6.2.4 have the same patch version in their
/// For instance if both versions 6.2.2 and 6.2.4 have the same patch version in their
/// header file then this function will return 4.
fn hip_header_patch_number_to_release_patch_number(number: u32) -> Option<u32> {
match number {
Expand Down Expand Up @@ -74,7 +74,7 @@ fn get_rocm_feature_version() -> io::Result<(u8, u8, u32)> {

Err(io::Error::new(
io::ErrorKind::NotFound,
"No valid ROCm feature version found. One 'rocm__<version>' feature must be set. For insance for ROCm 6.2.2 the feature is rocm__6_2_2.",
"No valid ROCm feature version found. One 'rocm__<version>' feature must be set. For instance for ROCm 6.2.2 the feature is rocm__6_2_2.",
))
}

Expand Down

0 comments on commit 5e0e5d3

Please sign in to comment.