[package]
edition = "2024"
rust-version = "1.87"
name = "rlx-wgpu"
version = "0.2.6"
authors = [
"Eugene Hauptmann",
"Nataliya Kosmyna",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform GPU backend for RLX via wgpu (Metal/Vulkan/DX12/WebGPU)"
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 = []
native-splat = []
splat = ["rlx-cpu/splat"]
[lib]
name = "rlx_wgpu"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "coop16_matmul"
path = "tests/coop16_matmul.rs"
[[test]]
name = "coop16_perf"
path = "tests/coop16_perf.rs"
[[test]]
name = "coop_f16_vk_bert_baseline"
path = "tests/coop_f16_vk_bert_baseline.rs"
[[test]]
name = "coop_f16_vk_correctness"
path = "tests/coop_f16_vk_correctness.rs"
[[test]]
name = "coop_f16_vk_dx12"
path = "tests/coop_f16_vk_dx12.rs"
[[test]]
name = "coop_f32_correctness"
path = "tests/coop_f32_correctness.rs"
[[test]]
name = "coop_f32_probe"
path = "tests/coop_f32_probe.rs"
[[test]]
name = "coop_mat_probe"
path = "tests/coop_mat_probe.rs"
[[test]]
name = "f16_matmul"
path = "tests/f16_matmul.rs"
[[test]]
name = "subgroup_probe"
path = "tests/subgroup_probe.rs"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.half]
version = "2"
[dependencies.pollster]
version = "0.3"
[dependencies.rlx-compile]
version = "0.2.6"
[dependencies.rlx-cpu]
version = "0.2.6"
features = ["splat"]
[dependencies.rlx-ir]
version = "0.2.6"
[dependencies.rlx-opt]
version = "0.2.4"
features = ["compile"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.wgpu]
version = "29"
features = [
"std",
"parking_lot",
"vulkan",
"dx12",
"metal",
"wgsl",
"webgpu",
]
default-features = false
[dev-dependencies.rlx]
version = "0.2.4"
features = [
"cpu",
"gpu",
]
default-features = false
[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