[package]
edition = "2024"
rust-version = "1.87"
name = "rlx-vulkan"
version = "0.2.10"
authors = [
"Eugene Hauptmann",
"Nataliya Kosmyna",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Vulkan compute backend for RLX (raw `ash` + embedded SPIR-V compute kernels)"
homepage = "https://github.com/MIT-RLX/rlx"
documentation = "https://docs.rs/rlx"
readme = "README.md"
keywords = [
"ml",
"tensor",
"compiler",
"neural-network",
"autodiff",
]
categories = [
"science",
"algorithms",
"compilers",
]
license = "GPL-3.0-only"
repository = "https://github.com/MIT-RLX/rlx"
resolver = "2"
[features]
default = []
validation = []
[lib]
name = "rlx_vulkan"
path = "src/lib.rs"
[[test]]
name = "gpu_handle_residency"
path = "tests/gpu_handle_residency.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.ash]
version = "0.38"
features = [
"loaded",
"std",
]
default-features = false
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.half]
version = "2"
[dependencies.rlx-compile]
version = "0.2.10"
[dependencies.rlx-cpu]
version = "0.2.10"
default-features = false
[dependencies.rlx-ir]
version = "0.2.10"
[dependencies.rlx-opt]
version = "0.2.10"
features = ["compile"]
default-features = false
[dev-dependencies.half]
version = "2"
[build-dependencies.naga]
version = "29"
features = [
"glsl-in",
"spv-out",
]
[lints.clippy]
collapsible_if = "allow"
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
large_enum_variant = "allow"
manual_range_contains = "allow"
missing_safety_doc = "allow"
needless_range_loop = "allow"
should_implement_trait = "allow"
single_range_in_vec_init = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_wraps = "allow"
upper_case_acronyms = "allow"
useless_conversion = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust.unused]
level = "warn"
priority = 0