# 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" rust-version = "1.80" name = "cubecl" version = "0.3.0" authors = ["nathanielsimard "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Multi-platform high-performance compute language extension for Rust." readme = "README.md" keywords = [ "gpu", "cuda", "wgpu", "gpgpu", "tensor", ] categories = [ "science", "mathematics", "algorithms", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tracel-ai/cubecl" [lib] name = "cubecl" path = "src/lib.rs" [[bench]] name = "matmul" path = "benches/matmul.rs" harness = false [[bench]] name = "unary" path = "benches/unary.rs" harness = false [dependencies.cubecl-core] version = "0.3.0" default-features = false [dependencies.cubecl-cuda] version = "0.3.0" optional = true default-features = false [dependencies.cubecl-hip] version = "0.3.0" optional = true default-features = false [dependencies.cubecl-linalg] version = "0.3.0" optional = true default-features = false [dependencies.cubecl-runtime] version = "0.3.0" default-features = false [dependencies.cubecl-wgpu] version = "0.3.0" optional = true default-features = false [dev-dependencies.half] version = "2.4.1" features = [ "alloc", "num-traits", "serde", ] default-features = false [features] cuda = ["cubecl-cuda"] default = [ "std", "linalg", "cubecl-core/default", "cubecl-cuda?/default", "cubecl-hip?/default", "cubecl-wgpu?/default", ] exclusive-memory-only = [ "cubecl-wgpu?/exclusive-memory-only", "cubecl-runtime/exclusive-memory-only", ] hip = ["cubecl-hip"] linalg = ["dep:cubecl-linalg"] std = [ "cubecl-core/std", "cubecl-wgpu?/std", "cubecl-cuda?/std", ] template = ["cubecl-core/template"] wgpu = ["cubecl-wgpu"] wgpu-spirv = [ "wgpu", "cubecl-wgpu/spirv", ]