[package]
edition = "2024"
name = "singe-cuda"
version = "0.1.0-alpha.8"
build = false
include = [
"**/*.rs",
"Cargo.toml",
"dist",
"README.md",
"LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust wrappers for CUDA driver, runtime, NVRTC, NVVM, NVTX, memory, streams, modules, and graphs."
readme = "README.md"
keywords = [
"cuda",
"nvidia",
"gpu",
"nvtx",
]
license-file = "LICENSE"
repository = "https://github.com/tinrab/singe"
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header",
"dist/katex_header.html",
]
[features]
default = [
"macros",
"driver_13_2",
"runtime_13_2",
"nvrtc_13_2",
"nvvm_13_2",
"nvtx_3",
]
driver_13_2 = ["singe-cuda-sys/driver_13_2"]
macros = ["dep:singe-cuda-macros"]
nvrtc_13_2 = ["singe-cuda-sys/nvrtc_13_2"]
nvtx_3 = ["singe-cuda-sys/nvtx_3"]
nvvm_13_2 = ["singe-cuda-sys/nvvm_13_2"]
runtime_13_2 = ["singe-cuda-sys/runtime_13_2"]
testing = []
[lib]
name = "singe_cuda"
path = "src/lib.rs"
[[test]]
name = "checkpoint"
path = "tests/checkpoint.rs"
[[test]]
name = "cuda_async"
path = "tests/cuda_async.rs"
[[test]]
name = "cuda_module"
path = "tests/cuda_module.rs"
[dependencies.bitflags]
version = "2.13.0"
[dependencies.half]
version = "2.7.1"
[dependencies.num-complex]
version = "0.4.6"
[dependencies.num_enum]
version = "0.7.6"
[dependencies.singe-core]
version = "0.1.0-alpha.6"
[dependencies.singe-cuda-macros]
version = "0.1.0-alpha.8"
optional = true
[dependencies.singe-cuda-sys]
version = "0.1.0-alpha.7"
[dependencies.thiserror]
version = "2.0.18"