[package]
edition = "2024"
name = "cubecl-cuda"
version = "0.10.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CUDA runtime for CubeCL"
readme = "README.md"
keywords = [
"gpu",
"cuda",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-cuda"
resolver = "2"
[features]
default = [
"std",
"cubecl-runtime/default",
"cubecl-common/default",
"cubecl-core/default",
]
ptx-wmma = []
std = [
"cubecl-runtime/std",
"cubecl-common/std",
"cubecl-core/std",
]
tracing = [
"dep:tracing",
"cubecl-runtime/tracing",
"cubecl-common/tracing",
"cubecl-core/tracing",
]
[lib]
name = "cubecl_cuda"
path = "src/lib.rs"
[dependencies.bytemuck]
version = "1.16.1"
[dependencies.cubecl-common]
version = "0.10.0"
features = [
"compilation-cache",
"hash",
]
default-features = false
[dependencies.cubecl-core]
version = "0.10.0"
default-features = false
[dependencies.cubecl-cpp]
version = "0.10.0"
features = ["cuda"]
default-features = false
[dependencies.cubecl-runtime]
version = "0.10.0"
features = [
"channel-mutex",
"std",
]
default-features = false
[dependencies.cudarc]
version = "0.19.0"
features = [
"std",
"driver",
"nvrtc",
"nccl",
"fallback-dynamic-loading",
"cuda-version-from-build-system",
"fallback-latest",
]
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.serde]
version = "1.0.204"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.tracing]
version = "^0.1.43"
features = ["attributes"]
optional = true
default-features = false
[dev-dependencies.cubecl-core]
version = "0.10.0"
features = ["export_tests"]
[dev-dependencies.cubecl-std]
version = "0.10.0"
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.cudarc]
version = "0.19.0"
features = [
"std",
"driver",
"nvrtc",
"nccl",
"fallback-dynamic-loading",
"cuda-version-from-build-system",
"fallback-latest",
]
default-features = false
[lints.clippy]
doc_markdown = "warn"
[lints.rust]
warnings = "warn"
[lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"