vortx 0.2.0

Cross-platform GPU tensor library with Rust.
# 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"
name = "vortx"
version = "0.2.0"
authors = ["Sébastien Crozet <sebcrozet@dimforge.com>"]
build = "build.rs"
exclude = [
    "assets/vortx-logo.png",
    "assets/vortx-logo2.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform GPU tensor library with Rust."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dimforge/vortx"
resolver = "2"

[features]
cpu = [
    "khal/cpu",
    "vortx-shaders/cpu",
]
cpu-parallel = [
    "cpu",
    "vortx-shaders/cpu-parallel",
]
cuda = [
    "khal/cuda",
    "khal-builder/cuda",
    "vortx-shaders/cuda",
]
default = ["webgpu"]
metal = ["khal/metal"]
push_constants = [
    "khal/push_constants",
    "vortx-shaders/push_constants",
]
subgroup_ops = [
    "khal/subgroup_ops",
    "vortx-shaders/subgroup_ops",
]
webgpu = ["khal/webgpu"]

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

[[example]]
name = "gemm_bench"
path = "examples/gemm_bench.rs"

[dependencies.bytemuck]
version = "1"

[dependencies.include_dir]
version = "0.7"

[dependencies.khal]
version = "0.2"
features = ["derive"]

[dependencies.khal-std]
version = "0.2"

[dependencies.nalgebra]
version = "0.35"

[dependencies.vortx-shaders]
version = "0.2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.async-std]
version = "1"
features = ["attributes"]

[dev-dependencies.futures-test]
version = "0.3"

[dev-dependencies.indexmap]
version = "2"

[dev-dependencies.nalgebra]
version = "0.35"
features = ["rand"]

[dev-dependencies.plotly]
version = "0.12.1"

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.wgpu]
version = "29"

[build-dependencies.khal-builder]
version = "0.2"

[build-dependencies.vortx-shaders]
version = "0.2"