[package]
edition = "2021"
name = "hanzo-kernel"
version = "0.2.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hanzo's first-party GPU kernel DSL: one Rust source, lowered to CUDA/ROCm/Vulkan/Metal."
readme = false
keywords = [
"gpu",
"kernel",
"cuda",
"vulkan",
"metal",
]
categories = [
"hardware-support",
"science",
]
license = "BSD-3-Clause"
repository = "https://github.com/hanzoai/ml"
[features]
cpu = ["cubecl/cpu"]
cuda = ["cubecl/cuda"]
default = ["cpu"]
metal = [
"cubecl/wgpu",
"cubecl/metal",
]
rocm = [
"cubecl/hip",
"cubecl/rocm",
]
spirv-dump = ["cubecl/spirv-dump"]
vulkan = [
"cubecl/wgpu",
"cubecl/vulkan",
]
[lib]
name = "hanzo_kernel"
path = "src/lib.rs"
[[bin]]
name = "dp4a-probe"
path = "src/dp4a_probe.rs"
required-features = ["vulkan"]
[[bin]]
name = "matvec-check"
path = "src/main.rs"
[dependencies.cubecl]
version = "0.10"
default-features = false
[dependencies.half]
version = "2"
[dependencies.hanzo-kernel-macros]
version = "0.1.0"