# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2024"
rust-version = "1.85"
name = "baracuda-kernels-sys"
version = "0.0.1-alpha.68"
authors = ["The baracuda contributors"]
build = "build.rs"
links = "baracuda_kernels"
exclude = [
"*.profraw",
"target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'Compiled bespoke .cu kernel template instantiations for the baracuda ML kernel facade plus C-ABI FFI facades for the library-backed plans (cuDNN conv/pool, cuSOLVER linalg, cuFFT/cuRAND, CUTLASS GEMM re-export). Hosts curated CUDA kernel sources (int8/FP8/int4/bin GEMM RRR, elementwise, reduce, norm, attention, …), builds them via baracuda-forge, exposes extern "C" entry points for the safe baracuda-kernels crate. CUTLASS template kernels live in the sibling baracuda-cutlass-kernels-sys crate and are re-exported here under the unified baracuda_kernels_gemm_* namespace.'
homepage = "https://github.com/ciresnave/baracuda"
readme = "README.md"
keywords = [
"cuda",
"kernel",
"gemm",
"ml",
"ffi",
]
categories = [
"external-ffi-bindings",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ciresnave/baracuda"
[package.metadata.docs.rs]
features = ["sm80"]
no-default-features = false
[features]
awq = ["sm80"]
bnb_nf4 = ["sm80"]
cudnn = []
default = ["sm80"]
fa2 = ["sm80"]
flashinfer = ["sm80"]
mamba = ["sm80"]
marlin = ["sm80"]
mhc = ["sm80"]
ring_attention = ["sm80"]
sm80 = ["baracuda-cutlass-kernels-sys/sm80"]
sm89 = []
sm90a = ["baracuda-cutlass-kernels-sys/sm90a"]
xformers_blocksparse = ["sm80"]
xformers_sparse24 = ["sm80"]
[lib]
name = "baracuda_kernels_sys"
path = "src/lib.rs"
[dependencies.baracuda-cutlass-kernels-sys]
version = "0.0.1-alpha.68"
[dependencies.baracuda-cutlass-sys]
version = "0.0.1-alpha.68"
[build-dependencies.baracuda-forge]
version = "0.0.1-alpha.68"
[lints.clippy]
too_many_arguments = "allow"
type_complexity = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"