rename crate rocm-rs -> hanzo-rocm; publish to crates.io 0.5.2

Publish the Windows/MSVC-portable fork as a first-class crate (hanzo-rocm) so
downstream depends on a proper crates.io crate instead of a git patch. Examples
alias the package (their code still uses rocm_rs::).
This commit is contained in:
z
2026-06-22 17:29:03 -07:00
parent 67973910b0
commit 9765513f9a
11 changed files with 31 additions and 31 deletions
Generated
+19 -19
View File
@@ -127,7 +127,7 @@ dependencies = [
name = "example"
version = "0.1.0"
dependencies = [
"rocm-rs",
"hanzo-rocm",
]
[[package]]
@@ -146,6 +146,16 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
[[package]]
name = "hanzo-rocm"
version = "0.5.2"
dependencies = [
"bindgen 0.71.1",
"paste",
"rocm_kernel_macros",
"rocm_smi_lib",
]
[[package]]
name = "home"
version = "0.5.11"
@@ -235,7 +245,7 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
name = "miopen_basic"
version = "0.1.0"
dependencies = [
"rocm-rs",
"hanzo-rocm",
]
[[package]]
@@ -243,7 +253,7 @@ name = "multi_tensor"
version = "0.1.0"
dependencies = [
"csv",
"rocm-rs",
"hanzo-rocm",
]
[[package]]
@@ -329,17 +339,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
name = "rocblas_basic"
version = "0.1.0"
dependencies = [
"rocm-rs",
]
[[package]]
name = "rocm-rs"
version = "0.5.1"
dependencies = [
"bindgen 0.71.1",
"paste",
"rocm_kernel_macros",
"rocm_smi_lib",
"hanzo-rocm",
]
[[package]]
@@ -381,14 +381,14 @@ dependencies = [
name = "rust_kernel"
version = "0.1.0"
dependencies = [
"rocm-rs",
"hanzo-rocm",
]
[[package]]
name = "rust_kernel_async"
version = "0.1.0"
dependencies = [
"rocm-rs",
"hanzo-rocm",
]
[[package]]
@@ -426,7 +426,7 @@ checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
name = "saxpy"
version = "0.1.0"
dependencies = [
"rocm-rs",
"hanzo-rocm",
]
[[package]]
@@ -482,7 +482,7 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
name = "sort"
version = "0.1.0"
dependencies = [
"rocm-rs",
"hanzo-rocm",
]
[[package]]
@@ -506,7 +506,7 @@ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
name = "vector_add_example"
version = "0.1.0"
dependencies = [
"rocm-rs",
"hanzo-rocm",
]
[[package]]
+3 -3
View File
@@ -1,11 +1,11 @@
[package]
name = "rocm-rs"
name = "hanzo-rocm"
version = "0.5.2"
edition = "2024"
description = "Rust bindings for AMD ROCm libraries"
license = "MIT"
repository = "https://github.com/RustNSparks/rocm-rs"
documentation = "https://docs.rs/rocm-rs"
repository = "https://github.com/hanzoai/rocm-rs"
documentation = "https://docs.rs/hanzo-rocm"
readme = "README.md"
keywords = ["gpu", "rocm", "amd", "hpc", "bindings"]
categories = ["api-bindings", "external-ffi-bindings"]
+1 -1
View File
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rocm-rs = { path = "../../../.." }
rocm-rs = { package = "hanzo-rocm", path = "../../../.." }
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rocm-rs = { path = "../../../..", features = ["macros"]}
rocm-rs = { package = "hanzo-rocm", path = "../../../..", features = ["macros"]}
+1 -1
View File
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rocm-rs = { path = "../../../../", features = ["macros"] }
rocm-rs = { package = "hanzo-rocm", path = "../../../../", features = ["macros"] }
+1 -1
View File
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rocm-rs = { path = "../../../../", features = ["macros"] }
rocm-rs = { package = "hanzo-rocm", path = "../../../../", features = ["macros"] }
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
rocm-rs = { path = "../../../.." } # Adjust this path to point to your rocm_rs crate
rocm-rs = { package = "hanzo-rocm", path = "../../../.." } # Adjust this path to point to your rocm_rs crate
[[bin]]
name = "vector_add_example"
+1 -1
View File
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rocm-rs = { path = "../../../.." , features = ["miopen"]}
rocm-rs = { package = "hanzo-rocm", path = "../../../.." , features = ["miopen"]}
+1 -1
View File
@@ -5,4 +5,4 @@ edition = "2024"
[dependencies]
csv = "1.4.0"
rocm-rs = { path = "../../../.." , features = ["miopen"]}
rocm-rs = { package = "hanzo-rocm", path = "../../../.." , features = ["miopen"]}
+1 -1
View File
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rocm-rs = {path = "../../../.."}
rocm-rs = { package = "hanzo-rocm", path = "../../../.."}
+1 -1
View File
@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
rocm-rs = { path = "../../../.." }
rocm-rs = { package = "hanzo-rocm", path = "../../../.." }