# 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 = "2021"
name = "runmat-accelerate"
version = "0.2.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pluggable GPU acceleration layer for RunMat (CUDA, ROCm, Metal, Vulkan/Spir-V)"
readme = "README.md"
license = "MIT OR Apache-2.0"

[features]
cuda = []
metal = []
opencl = []
rocm = []
vulkan = []
wgpu = [
    "dep:wgpu",
    "dep:pollster",
]

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

[[bin]]
name = "wgpu_profile"
path = "src/bin/wgpu_profile.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bytemuck]
version = "1.14"
features = ["derive"]

[dependencies.dirs]
version = "5.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.log]
version = "0.4"

[dependencies.num-complex]
version = "0.4"

[dependencies.once_cell]
version = "1"

[dependencies.pollster]
version = "0.3"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.runmat-accelerate-api]
version = "=0.2.6"

[dependencies.runmat-builtins]
version = "=0.2.6"

[dependencies.runmat-hir]
version = "=0.2.6"

[dependencies.runmat-runtime]
version = "=0.2.6"

[dependencies.rustfft]
version = "6.2"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1"

[dependencies.smallvec]
version = "1.13"

[dependencies.thiserror]
version = "1"

[dependencies.wgpu]
version = "0.19"
optional = true
