[package]
name = "gemmkit"
description = "A clean, extensible, high-performance GEMM (general matrix multiply) engine"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
readme = "README.md"
[features]
default = ["std", "parallel"]
std = ["dep:raw-cpuid"]
parallel = ["std", "dep:rayon"]
wasm_threads = ["parallel"]
complex = ["dep:num-complex"]
half = ["dep:half"]
int8 = []
epilogue = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
rayon = { version = "1.10", optional = true }
half = { version = "2", default-features = false, optional = true }
num-complex = { version = "0.4", default-features = false, optional = true }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = { version = "11", optional = true }
[target.'cfg(all(not(miri), not(target_family = "wasm")))'.dev-dependencies]
criterion = { version = "0.8.2", features = ["html_reports"] }
gemm = "0.19"
matrixmultiply = "0.3"
proptest = "1"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
rayon = "1.10"
[[bench]]
name = "gemm_bench"
harness = false