[package]
edition = "2024"
name = "cubecl-cpu"
version = "0.10.0-pre.2"
authors = ["marcantoinem <marc-antoine.m@outlook.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CPU runtime for CubeCL"
readme = "README.md"
keywords = ["cpu"]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-cpu"
resolver = "2"
[features]
default = [
"std",
"cubecl-runtime/default",
"cubecl-common/default",
"cubecl-core/default",
]
mlir-dump = []
std = [
"cubecl-runtime/std",
"cubecl-common/std",
"cubecl-core/std",
]
tracing = [
"cubecl-runtime/tracing",
"cubecl-common/tracing",
"cubecl-core/tracing",
"cubecl-opt/tracing",
]
[lib]
name = "cubecl_cpu"
path = "src/lib.rs"
[dependencies.bytemuck]
version = "1.16.1"
[dependencies.cubecl-common]
version = "=0.10.0-pre.2"
features = ["std"]
default-features = false
[dependencies.cubecl-core]
version = "=0.10.0-pre.2"
features = ["std"]
default-features = false
[dependencies.cubecl-opt]
version = "=0.10.0-pre.2"
features = ["std"]
default-features = false
[dependencies.cubecl-runtime]
version = "=0.10.0-pre.2"
features = [
"channel-mutex",
"std",
"storage-bytes",
]
default-features = false
[dependencies.cubecl-std]
version = "=0.10.0-pre.2"
default-features = false
[dependencies.derive-new]
version = "0.7.0"
default-features = false
[dependencies.half]
version = "2.5"
features = [
"alloc",
"num-traits",
"serde",
]
default-features = false
[dependencies.log]
version = "^0.4.22"
default-features = false
[dependencies.paste]
version = "1"
[dependencies.serde]
version = "1.0.204"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.sysinfo]
version = "0.38.0"
[dependencies.tracel-llvm]
version = "20.1.4-6"
features = ["mlir-helpers"]
[dev-dependencies.cubecl-core]
version = "=0.10.0-pre.2"
features = ["export_tests"]
[dev-dependencies.cubecl-std]
version = "=0.10.0-pre.2"
features = ["export_tests"]
[dev-dependencies.paste]
version = "1"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.test-log]
version = "^0.2"
features = ["trace"]
default-features = false
[build-dependencies.tracel-llvm-bundler]
version = "20.1.4-6"
[lints.clippy]
doc_markdown = "warn"
[lints.rust]
warnings = "warn"
[lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"