-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
37 lines (33 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "ggblas"
version = "0.1.2"
edition = "2021"
homepage = "https://github.com/Narsil/ggblas"
repository = "https://github.com/Narsil/ggblas"
documentation = "https://docs.rs/ggblas/"
license = "Apache-2.0"
keywords = ["blas", "ml", "ggml", "avx", "neon"]
readme = "./README.md"
description = """
Matrix multiplicatiosn in simple pure rust multithreadded blas-like interface.
Exploits intrinsics on available targets.
"""
exclude = [ "rust-toolchain", "target/*", "Cargo.lock"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libc = { version = "0.2", default-features = false, optional = true }
cblas-sys = { version = "0.1.4", default-features = false, optional= true }
threadpool = "1.8.1"
num_cpus = "1.15.0"
core_affinity = "0.8.0"
matrixmultiply = { version = "0.3.2", features = ["threading"], optional=true }
faer-core = { version = "0.7.0", optional = true }
half = { version = "2.3.1", features = ["use-intrinsics"], optional = true }
[dev-dependencies]
num_cpus = "1.15.0"
[features]
default = []
intel-mkl = ["dep:cblas-sys", "dep:libc"]
cblas = ["dep:cblas-sys", "dep:libc"]
faer-rs = ["dep:faer-core"]
f16 = ["dep:half"]