[package]
edition = "2024"
rust-version = "1.94"
name = "kaio"
version = "0.4.1"
authors = ["Dave Riding <david@netviper.gr>"]
build = false
include = [
"/src/**/*.rs",
"/LICENSE-MIT",
"/LICENSE-APACHE",
"/Cargo.toml",
"/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-native GPU kernel authoring framework. Write GPU compute kernels in Rust, automatically lower to PTX. Cross-platform (Windows + Linux), type-safe, no CUDA C++ required."
readme = "README.md"
keywords = [
"gpu",
"cuda",
"ptx",
"kernel",
"compute",
]
categories = [
"hardware-support",
"compilers",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dmriding/kaio"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
[features]
default = ["dynamic-loading"]
dynamic-linking = ["kaio-runtime/dynamic-linking"]
dynamic-loading = ["kaio-runtime/dynamic-loading"]
[lib]
name = "kaio"
path = "src/lib.rs"
[dependencies.kaio-core]
version = "0.4.1"
[dependencies.kaio-macros]
version = "0.4.1"
[dependencies.kaio-runtime]
version = "0.4.1"
default-features = false
[dev-dependencies.cudarc]
version = "0.19"
features = [
"driver",
"std",
"cuda-12080",
"nvrtc",
"f16",
]
default-features = false
[dev-dependencies.half]
version = "2"
[dev-dependencies.trybuild]
version = "1"