# 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-cutlass"
version = "0.0.1-alpha.62"
authors = ["The baracuda contributors"]
build = false
exclude = [
    "*.profraw",
    "target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust wrapper for compiled CUTLASS kernels: plan-based GEMM and grouped GEMM with caller-supplied workspace, typed device-buffer arguments, and capture-safe launch."
homepage = "https://github.com/ciresnave/baracuda"
readme = "README.md"
keywords = [
    "cuda",
    "cutlass",
    "gemm",
    "gpu",
    "ml",
]
categories = [
    "api-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]
cutlass-2-11 = ["baracuda-cutlass-kernels-sys/cutlass-2-11"]
default = ["sm80"]
ozimmu = ["dep:baracuda-ozimmu"]
sm80 = ["baracuda-cutlass-kernels-sys/sm80"]
sm90a = ["baracuda-cutlass-kernels-sys/sm90a"]

[lib]
name = "baracuda_cutlass"
path = "src/lib.rs"

[[test]]
name = "bias_act_smoke"
path = "tests/bias_act_smoke.rs"

[[test]]
name = "bias_gemm_smoke"
path = "tests/bias_gemm_smoke.rs"

[[test]]
name = "bias_rrr_smoke"
path = "tests/bias_rrr_smoke.rs"

[[test]]
name = "bias_tf32_smoke"
path = "tests/bias_tf32_smoke.rs"

[[test]]
name = "capture_replay_smoke"
path = "tests/capture_replay_smoke.rs"

[[test]]
name = "cublas_backend_smoke"
path = "tests/cublas_backend_smoke.rs"

[[test]]
name = "f32_strict_smoke"
path = "tests/f32_strict_smoke.rs"

[[test]]
name = "f64_smoke"
path = "tests/f64_smoke.rs"

[[test]]
name = "gemm_alpha9_smoke"
path = "tests/gemm_alpha9_smoke.rs"

[[test]]
name = "gemm_smoke"
path = "tests/gemm_smoke.rs"

[[test]]
name = "grouped_gemm_smoke"
path = "tests/grouped_gemm_smoke.rs"

[[test]]
name = "int8_smoke"
path = "tests/int8_smoke.rs"

[[test]]
name = "tf32_rrr_smoke"
path = "tests/tf32_rrr_smoke.rs"

[dependencies.baracuda-cublas]
version = "0.0.1-alpha.62"

[dependencies.baracuda-cublas-sys]
version = "0.0.1-alpha.62"

[dependencies.baracuda-cutlass-kernels-sys]
version = "0.0.1-alpha.62"

[dependencies.baracuda-driver]
version = "0.0.1-alpha.62"

[dependencies.baracuda-kernels-types]
version = "0.0.1-alpha.62"

[dependencies.baracuda-ozimmu]
version = "0.0.1-alpha.62"
optional = true

[dependencies.baracuda-types]
version = "0.0.1-alpha.62"
features = ["half-crate"]

[dependencies.half]
version = "2"
default-features = false

[dependencies.thiserror]
version = "1"
