Skip to content

Commit

Permalink
Bump version to 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Oct 25, 2024
1 parent b7c3121 commit 08e98dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [

[workspace.package]
edition = "2021"
version = "0.0.4"
version = "0.0.5"
license = "MIT OR Apache-2.0"
readme = "README.md"

Expand Down
7 changes: 3 additions & 4 deletions crates/cubecl-hip-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" __global__ void kernel(float a, float *x, float *b, float *out, int n
}
"#,
)
.expect("Should construct kernel string");
.expect("Should construct kernel string");

let func_name = CString::new("kernel".to_string()).unwrap();
// reference: https://rocm.docs.amd.com/projects/HIP/en/docs-6.0.0/user_guide/hip_rtc.html
Expand Down Expand Up @@ -194,7 +194,8 @@ extern "C" __global__ void kernel(float a, float *x, float *b, float *out, int n
let mut module: hipModule_t = ptr::null_mut();
let mut function: hipFunction_t = ptr::null_mut();
unsafe {
let status_module = hipModuleLoadData(&mut module, code.as_ptr() as *const libc::c_void);
let status_module =
hipModuleLoadData(&mut module, code.as_ptr() as *const libc::c_void);
assert_eq!(
status_module, HIP_SUCCESS,
"Should load compiled code into module"
Expand Down Expand Up @@ -278,5 +279,3 @@ extern "C" __global__ void kernel(float a, float *x, float *b, float *out, int n
}
}
}


0 comments on commit 08e98dd

Please sign in to comment.