[package]
name = "ringkernel-cuda"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
rust-version.workspace = true
description = "CUDA backend for RingKernel - NVIDIA GPU support via cudarc"
keywords = ["gpu", "actor", "cuda", "nvidia"]
categories = ["hardware-support"]
readme = "README.md"
build = "build.rs"
[dependencies]
ringkernel-core = { workspace = true }
cudarc = { version = "0.18.2", optional = true, features = ["cuda-version-from-build-system", "nvtx"] }
tokio = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
parking_lot = { workspace = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
sha2 = { version = "0.10", optional = true }
tempfile = { workspace = true, optional = true }
[dev-dependencies]
tokio = { workspace = true, features = ["test-util", "macros", "rt-multi-thread"] }
[features]
default = []
cuda = ["cudarc"]
cooperative = ["cuda"]
profiling = ["cuda", "serde", "serde_json"]
ptx-cache = ["cuda", "sha2", "tempfile"]