cubecl 0.10.0-pre.2

Multi-platform high-performance compute language extension for Rust.
Documentation
# 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 = "cubecl"
version = "0.10.0-pre.2"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
build = "build.rs"
autolib = 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"
resolver = "2"

[features]
autotune-checks = ["cubecl-runtime/autotune-checks"]
cpu = ["cubecl-cpu"]
cuda = ["cubecl-cuda"]
cuda-ptx-wmma = ["cubecl-cuda?/ptx-wmma"]
default = [
    "std",
    "stdlib",
    "cubecl-core/default",
    "cubecl-cuda?/default",
    "cubecl-cpu?/default",
    "cubecl-hip?/default",
    "cubecl-wgpu?/default",
]
exclusive-memory-only = ["cubecl-wgpu?/exclusive-memory-only"]
hip = ["cubecl-hip"]
hip-rocwmma = ["cubecl-hip?/rocwmma"]
metal = ["wgpu-msl"]
profile-tracy = [
    "cubecl-runtime/profile-tracy",
    "cubecl-wgpu?/profile-tracy",
]
rocm = ["hip"]
spirv-dump = ["cubecl-wgpu/spirv-dump"]
std = [
    "cubecl-core/std",
    "cubecl-wgpu?/std",
    "cubecl-cuda?/std",
]
stdlib = ["cubecl-std"]
template = ["cubecl-core/template"]
test-runtime = ["cubecl-wgpu"]
tracing = [
    "cubecl-core/tracing",
    "cubecl-cuda?/tracing",
    "cubecl-cpu?/tracing",
    "cubecl-hip?/tracing",
    "cubecl-wgpu?/tracing",
]
vulkan = ["wgpu-spirv"]
webgpu = ["wgpu"]
wgpu = ["cubecl-wgpu"]
wgpu-msl = [
    "wgpu",
    "cubecl-wgpu/msl",
]
wgpu-spirv = [
    "wgpu",
    "cubecl-wgpu/spirv",
]

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

[dependencies.cubecl-core]
version = "=0.10.0-pre.2"
default-features = false

[dependencies.cubecl-cpu]
version = "=0.10.0-pre.2"
optional = true
default-features = false

[dependencies.cubecl-cuda]
version = "=0.10.0-pre.2"
optional = true
default-features = false

[dependencies.cubecl-hip]
version = "=0.10.0-pre.2"
optional = true
default-features = false

[dependencies.cubecl-ir]
version = "=0.10.0-pre.2"
default-features = false

[dependencies.cubecl-runtime]
version = "=0.10.0-pre.2"
default-features = false

[dependencies.cubecl-std]
version = "=0.10.0-pre.2"
optional = true

[dependencies.cubecl-wgpu]
version = "=0.10.0-pre.2"
optional = true
default-features = false

[dependencies.half]
version = "2.5"
features = [
    "alloc",
    "num-traits",
    "serde",
]
default-features = false

[lints.clippy]
doc_markdown = "warn"

[lints.rust]
warnings = "warn"

[lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"