[package]
edition = "2024"
rust-version = "1.89"
name = "gemmkit"
version = "0.1.2"
authors = ["SomeB1oody"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A clean, extensible, high-performance GEMM (general matrix multiply) engine"
readme = "README.md"
keywords = [
"gemm",
"matrix",
"blas",
"linear-algebra",
"simd",
]
categories = [
"mathematics",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SomeB1oody/gemmkit"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
complex = ["dep:num-complex"]
default = [
"std",
"parallel",
]
epilogue = []
half = ["dep:half"]
int8 = []
parallel = [
"std",
"dep:rayon",
]
std = ["dep:raw-cpuid"]
wasm_threads = ["parallel"]
[lib]
name = "gemmkit"
path = "src/lib.rs"
[[test]]
name = "api_surface"
path = "tests/api_surface.rs"
[[test]]
name = "batched"
path = "tests/batched.rs"
[[test]]
name = "correctness"
path = "tests/correctness/main.rs"
[[test]]
name = "deep_k_narrow"
path = "tests/deep_k_narrow.rs"
[[test]]
name = "env"
path = "tests/env.rs"
[[test]]
name = "env_isa_avx512f"
path = "tests/env_isa_avx512f.rs"
[[test]]
name = "env_isa_bf16"
path = "tests/env_isa_bf16.rs"
[[test]]
name = "env_isa_garbage"
path = "tests/env_isa_garbage.rs"
[[test]]
name = "env_isa_neon"
path = "tests/env_isa_neon.rs"
[[test]]
name = "env_isa_scalar"
path = "tests/env_isa_scalar.rs"
[[test]]
name = "env_isa_vnni"
path = "tests/env_isa_vnni.rs"
[[test]]
name = "env_isa_wasm"
path = "tests/env_isa_wasm.rs"
[[test]]
name = "epilogue"
path = "tests/epilogue/main.rs"
[[test]]
name = "open_closed"
path = "tests/open_closed.rs"
[[test]]
name = "perf"
path = "tests/perf/main.rs"
[[test]]
name = "props_api"
path = "tests/props_api.rs"
[[test]]
name = "props_knobs"
path = "tests/props_knobs.rs"
[[test]]
name = "props_packed"
path = "tests/props_packed.rs"
[[test]]
name = "simd_conformance"
path = "tests/simd_conformance.rs"
[[test]]
name = "tuning"
path = "tests/tuning.rs"
[[test]]
name = "workspace_alloc"
path = "tests/workspace_alloc.rs"
[[bench]]
name = "gemm_bench"
path = "benches/gemm_bench.rs"
harness = false
[dependencies.half]
version = "2"
optional = true
default-features = false
[dependencies.num-complex]
version = "0.4"
optional = true
default-features = false
[dependencies.rayon]
version = "1.10"
optional = true
[target.'cfg(all(not(miri), not(target_family = "wasm")))'.dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[target.'cfg(all(not(miri), not(target_family = "wasm")))'.dev-dependencies.gemm]
version = "0.19"
[target.'cfg(all(not(miri), not(target_family = "wasm")))'.dev-dependencies.matrixmultiply]
version = "0.3"
[target.'cfg(all(not(miri), not(target_family = "wasm")))'.dev-dependencies.proptest]
version = "1"
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies.raw-cpuid]
version = "11"
optional = true
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.rayon]
version = "1.10"