[package]
edition = "2021"
name = "optirs-gpu"
version = "0.3.2"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OptiRS GPU acceleration and multi-GPU optimization"
readme = "README.md"
keywords = [
"gpu",
"wgpu",
"metal",
"opencl",
"optimization",
]
categories = [
"science",
"algorithms",
"hardware-support",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/optirs"
[package.metadata.docs.rs]
features = [
"wgpu",
"metal",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cuda = []
default = ["wgpu"]
metal = ["scirs2-core/metal"]
opencl = ["scirs2-core/opencl"]
wgpu = ["scirs2-core/wgpu"]
[lib]
name = "optirs_gpu"
path = "src/lib.rs"
[[test]]
name = "gpu_parity"
path = "tests/gpu_parity.rs"
[[test]]
name = "shader_compilation"
path = "tests/shader_compilation.rs"
[dependencies.log]
version = "0.4"
[dependencies.scirs2-core]
version = "0.6.5"
features = [
"gpu",
"random",
]
[dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.approx]
version = "0.5.1"
[target.'cfg(target_os = "macos")'.dependencies.scirs2-core]
version = "0.6.5"
features = ["metal"]
[lints.rust]