cubecl-runtime 0.9.0-pre.6

Crate that helps creating high performance async runtimes for CubeCL.
Documentation
[[bench]]
harness = false
name = "dynamic"
path = "benches/dynamic.rs"

[build-dependencies.cfg_aliases]
version = "0.2.1"

[dependencies.async-channel]
version = "2.3"

[dependencies.bytemuck]
version = "1.16.1"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.cubecl-common]
default-features = false
version = "=0.9.0-pre.6"

[dependencies.cubecl-ir]
default-features = false
features = ["serde"]
version = "=0.9.0-pre.6"

[dependencies.derive-new]
default-features = false
version = "0.7.0"

[dependencies.dirs]
optional = true
version = "6.0.0"

[dependencies.enumset]
default-features = false
version = "1.1.10"

[dependencies.foldhash]
default-features = false
version = "0.1.2"

[dependencies.hashbrown]
version = "0.15.5"

[dependencies.log]
default-features = false
version = "0.4.22"

[dependencies.serde]
default-features = false
features = ["derive", "alloc"]
version = "1.0.204"

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

[dependencies.toml]
optional = true
version = "0.9.1"

[dependencies.tracing]
default-features = false
features = ["attributes"]
optional = true
version = "0.1.43"

[dependencies.variadics_please]
version = "1"

[dependencies.web-time]
version = "1.1.0"

[dev-dependencies.rand]
default-features = false
features = ["std_rng", "thread_rng"]
version = "0.9.2"

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

[features]
autotune-checks = []
channel-cell = []
channel-mpsc = []
channel-mutex = []
default = ["std", "channel-mutex", "channel-mpsc", "channel-cell", "storage-bytes", "cubecl-common/default"]
exclusive-memory-only = []
profile-tracy = ["dep:tracy-client"]
std = ["cubecl-common/std", "toml", "dirs", "thiserror/std", "tracing"]
storage-bytes = []
tracing = ["dep:tracing", "cubecl-common/tracing"]

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

[package]
authors = ["louisfd <louisfd94@gmail.com>", "Nathaniel Simard"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["science"]
description = "Crate that helps creating high performance async runtimes for CubeCL."
edition = "2024"
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT OR Apache-2.0"
name = "cubecl-runtime"
readme = "README.md"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-runtime"
resolver = "2"
version = "0.9.0-pre.6"

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.cubecl-common]
default-features = false
features = ["cache", "serde"]
version = "=0.9.0-pre.6"

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.md5]
version = "0.8.0"

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.serde_json]
default-features = false
features = ["std"]
version = "1.0.119"

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.tracy-client]
optional = true
version = "0.18.0"

[target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.spin]
features = ["mutex", "spin_mutex", "mutex", "spin_mutex", "portable_atomic"]
version = "0.10.0"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.45"

[target.'cfg(target_has_atomic = "ptr")'.dependencies.spin]
features = ["mutex", "spin_mutex", "mutex", "spin_mutex"]
version = "0.10.0"

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