[package]
edition = "2024"
name = "cubecl-metal"
version = "0.11.0"
authors = ["dcvz <david@dcvz.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metal runtime for CubeCL"
readme = "README.md"
keywords = [
"gpu",
"metal",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-metal"
resolver = "2"
[features]
default = ["std"]
persistence = ["cubecl-server/persistence"]
pliron-dump = ["cubecl-cpp/pliron-dump"]
std = [
"cubecl-server/std",
"cubecl-common/std",
"cubecl-core/std",
"cubecl-cpp/std",
]
[lib]
name = "cubecl_metal"
path = "src/lib.rs"
[dependencies.bytemuck]
version = "1.16.1"
[dependencies.cubecl-common]
version = "0.11.0"
default-features = false
[dependencies.cubecl-core]
version = "0.11.0"
default-features = false
[dependencies.cubecl-cpp]
version = "0.11.0"
features = ["metal"]
[dependencies.cubecl-environment]
version = "0.11.0"
default-features = false
[dependencies.cubecl-ir]
version = "0.11.0"
default-features = false
[dependencies.cubecl-monitoring]
version = "0.11.0"
features = ["io-accelerator"]
default-features = false
[dependencies.cubecl-server]
version = "0.11.0"
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.hashbrown]
version = "0.17"
[dependencies.log]
version = "^0.4.22"
default-features = false
[dependencies.serde]
version = "1.0.204"
features = [
"derive",
"alloc",
]
default-features = false
[dev-dependencies.cubecl-core]
version = "0.11.0"
features = ["export_tests"]
[dev-dependencies.cubecl-std]
version = "0.11.0"
features = ["export_tests"]
[dev-dependencies.paste]
version = "1"
[dev-dependencies.test-log]
version = "^0.2"
features = ["trace"]
default-features = false
[target.'cfg(target_vendor = "apple")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
version = "0.3"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-metal]
version = "0.3"
features = [
"block2",
"MTLLibrary",
"objc2-core-foundation",
]
[lints.clippy]
doc_markdown = "warn"
redundant_field_names = "allow"
[lints.rust]
warnings = "warn"
[lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"