Skip to content

Commit 5e0e5d3

Browse files
committed
Fix typos in build.rs
1 parent 1773784 commit 5e0e5d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cubecl-hip-sys/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn get_system_hip_version(rocm_path: impl AsRef<Path>) -> std::io::Result<(u8, u
4343
/// in the header files. In the header files the patch number is a monotonic build
4444
/// that changes only when there are actual changes in the HIP libraries.
4545
/// This function maps the header patch number to their official latest release number.
46-
/// For instance if both version 6.2.2 and 6.2.4 have the same patch version in their
46+
/// For instance if both versions 6.2.2 and 6.2.4 have the same patch version in their
4747
/// header file then this function will return 4.
4848
fn hip_header_patch_number_to_release_patch_number(number: u32) -> Option<u32> {
4949
match number {
@@ -74,7 +74,7 @@ fn get_rocm_feature_version() -> io::Result<(u8, u8, u32)> {
7474

7575
Err(io::Error::new(
7676
io::ErrorKind::NotFound,
77-
"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.",
77+
"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.",
7878
))
7979
}
8080

0 commit comments

Comments
 (0)