[dependencies.cudarc]
features = ["cuda-12000"]
optional = true
version = "0.18"
[dependencies.futures]
version = "0.3.31"
[dependencies.log]
version = "0.4"
[dependencies.opencl3]
optional = true
version = "0.12"
[dependencies.optirs-core]
version = "0.1.0"
[dependencies.pollster]
optional = true
version = "0.4"
[dependencies.scirs2-core]
version = "0.1.1"
[dependencies.serde]
features = ["derive", "derive"]
version = "1.0"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
features = ["full", "rt"]
version = "1.48.0"
[dependencies.wgpu]
optional = true
version = "28.0"
[dev-dependencies.approx]
version = "0.5.1"
[dev-dependencies.tokio-test]
version = "0.4.4"
[features]
cuda = ["cudarc"]
default = ["wgpu"]
opencl = ["opencl3"]
wgpu = ["dep:wgpu", "pollster"]
[lib]
name = "optirs_gpu"
path = "src/lib.rs"
[lints.rust]
dead_code = "allow"
mismatched_lifetime_syntaxes = "allow"
unknown_lints = "allow"
unpredictable_function_pointer_comparisons = "allow"
unused_imports = "allow"
unused_variables = "allow"
[package]
authors = ["COOLJAPAN OU (Team KitaSan)"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["science", "algorithms", "hardware-support"]
description = "OptiRS GPU acceleration and multi-GPU optimization"
edition = "2021"
keywords = ["gpu", "cuda", "metal", "opencl", "optimization"]
license = "MIT OR Apache-2.0"
name = "optirs-gpu"
readme = "README.md"
repository = "https://github.com/cool-japan/optirs"
version = "0.1.0"
[package.metadata.docs.rs]
features = ["wgpu"]
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(target_os = "macos")'.dependencies.metal]
optional = true
version = "0.33.0"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
optional = true
version = "0.6.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
optional = true
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-metal-performance-shaders]
optional = true
version = "0.3.2"