[package]
edition = "2018"
name = "unlab-gpu"
version = "0.1.0"
authors = ["Ćukasz Szpakowski <luckboy@vp.pl>"]
description = "Micro scripting language for neural networks that uses unmtx-gpu."
documentation = "https://docs.rs/unlab-gpu"
readme = "README.md"
keywords = [
"language",
"scripting-language",
"matrix",
"gpu",
"neural-network",
]
categories = [
"mathematics",
"science",
]
license = "MPL-2.0"
repository = "https://github.com/luckboy/unlab-gpu"
[package.metadata.docs.rs]
features = [
"opencl",
"cuda",
"cuda-12060",
]
[dependencies.bzip2]
version = "0.5.0"
[dependencies.clap]
version = ">=4.5.0,<=4.5.61"
features = [
"std",
"help",
"usage",
"error-context",
"derive",
]
default-features = false
[dependencies.clap_lex]
version = ">=1.0.0,<=1.0.1"
[dependencies.ctrlc]
version = "3.5"
[dependencies.curl]
version = ">=0.4.0,<=0.4.47"
[dependencies.deflate64]
version = ">=0.1.9,<=0.1.10"
[dependencies.dlopen2_derive]
version = ">=0.4.0,<=0.4.1"
[dependencies.flate2]
version = "1.1.5"
[dependencies.getopts]
version = "0.2"
[dependencies.home]
version = ">=0.5.0,<=0.5.9"
[dependencies.image]
version = "0.24"
features = ["png"]
optional = true
default-features = false
[dependencies.indexmap]
version = ">=2.0.0,<=2.11.4"
[dependencies.jammdb]
version = "0.11"
[dependencies.latex2mathml]
version = "0.2.3"
[dependencies.liblzma]
version = "0.4.1"
[dependencies.markdown]
version = "1.0"
[dependencies.opener]
version = "0.8"
[dependencies.openssl-sys]
version = ">=0.9.64,<=0.9.114"
[dependencies.pathfinder_simd]
version = ">=0.5.3,<=0.5.5"
optional = true
[dependencies.plotters]
version = ">=0.3.3,<=0.3.6"
features = [
"bitmap_backend",
"bitmap_encoder",
"svg_backend",
"ttf",
"all_series",
"all_elements",
]
optional = true
default-features = false
[dependencies.plotters-backend]
version = ">=0.3.3,<=0.3.6"
optional = true
[dependencies.plotters-bitmap]
version = ">=0.3.3,<=0.3.6"
optional = true
[dependencies.plotters-svg]
version = ">=0.3.3,<=0.3.6"
optional = true
[dependencies.rand]
version = "0.9"
[dependencies.rustyline]
version = "14.0"
features = ["with-file-history"]
default-features = false
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.softbuffer]
version = "0.4"
optional = true
[dependencies.tar]
version = "0.4"
[dependencies.time]
version = ">=0.3.37,<=0.3.41"
[dependencies.toml]
version = "0.8"
[dependencies.unicode-segmentation]
version = ">=1.0.0,<=1.12.0"
[dependencies.unmtx-gpu]
version = "0.1.9"
default-features = false
[dependencies.winit]
version = "0.30"
optional = true
[dependencies.zeroize]
version = ">=1.8.0,<=1.8.2"
[dependencies.zeroize_derive]
version = ">=1.3.0,<=1.4.3"
[dependencies.zip]
version = ">=4.0,<=4.2"
[dev-dependencies.sealed_test]
version = "1.1.0"
[dev-dependencies.tempfile]
version = ">=3.0.0,<=3.24.0"
[features]
cuda = ["unmtx-gpu/cuda"]
cuda-11040 = [
"cuda",
"unmtx-gpu/cuda-11040",
]
cuda-11050 = [
"cuda",
"unmtx-gpu/cuda-11050",
]
cuda-11060 = [
"cuda",
"unmtx-gpu/cuda-11060",
]
cuda-11070 = [
"cuda",
"unmtx-gpu/cuda-11070",
]
cuda-11080 = [
"cuda",
"unmtx-gpu/cuda-11080",
]
cuda-12000 = [
"cuda",
"unmtx-gpu/cuda-12000",
]
cuda-12010 = [
"cuda",
"unmtx-gpu/cuda-12010",
]
cuda-12020 = [
"cuda",
"unmtx-gpu/cuda-12020",
]
cuda-12030 = [
"cuda",
"unmtx-gpu/cuda-12030",
]
cuda-12040 = [
"cuda",
"unmtx-gpu/cuda-12040",
]
cuda-12050 = [
"cuda",
"unmtx-gpu/cuda-12050",
]
cuda-12060 = [
"cuda",
"unmtx-gpu/cuda-12060",
]
cuda-version-from-build-system = [
"cuda",
"unmtx-gpu/cuda-version-from-build-system",
]
default = [
"opencl",
"plot",
]
default_cublas = ["unmtx-gpu/default_cublas"]
default_mma = ["unmtx-gpu/default_mma"]
opencl = ["unmtx-gpu/opencl"]
plot = [
"dep:image",
"dep:plotters",
"dep:softbuffer",
"dep:winit",
"dep:pathfinder_simd",
"dep:plotters-backend",
"dep:plotters-bitmap",
"dep:plotters-svg",
"dep:wayland-backend",
"dep:wayland-client",
"dep:wayland-csd-frame",
"dep:wayland-cursor",
"dep:wayland-protocols",
"dep:wayland-protocols-plasma",
"dep:wayland-protocols-wlr",
"dep:wayland-scanner",
]
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-backend]
version = ">=0.3.0,<=0.3.15"
optional = true
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-client]
version = ">=0.31.1,<=0.31.14"
optional = true
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-csd-frame]
version = "=0.3.0"
optional = true
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-cursor]
version = ">=0.31.0,<=0.31.14"
optional = true
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-protocols]
version = ">=0.32.1,<=0.32.12"
features = [
"client",
"staging",
"unstable",
]
optional = true
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-protocols-plasma]
version = ">=0.3.0,<=0.3.12"
features = ["client"]
optional = true
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-protocols-wlr]
version = ">=0.3.1,<=0.3.12"
features = ["client"]
optional = true
[target."cfg(all(unix, not(any(target_os = \"redox\", target_family = \"wasm\", target_os = \"android\", target_os = \"ios\", target_os = \"macos\"))))".dependencies.wayland-scanner]
version = ">=0.31.0,<=0.31.10"
optional = true