[package]
edition = "2021"
name = "ha-ndarray"
version = "0.5.0"
authors = ["code@tinychain.net"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A hardware-accelerated n-dimensional array"
readme = "README.md"
keywords = [
"ndarray",
"tensor",
"gpu",
"ml",
"parallel",
]
categories = [
"data-structures",
"hardware-support",
"mathematics",
]
license = "Apache-2.0"
repository = "https://github.com/TinyChain-Inc/ha-ndarray.git"
[features]
all = [
"complex",
"freqfs",
"opencl",
"stream",
]
complex = [
"num-complex",
"rustfft",
]
debug_crash = []
freqfs = [
"freqfs/stream",
"stream",
]
opencl = [
"memoize",
"ocl",
]
stream = [
"destream",
"futures",
]
wasm = ["wasm-bindgen"]
[lib]
name = "ha_ndarray"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "arithmetic"
path = "tests/arithmetic.rs"
[[test]]
name = "compare"
path = "tests/compare.rs"
[[test]]
name = "cond"
path = "tests/cond.rs"
[[test]]
name = "construct"
path = "tests/construct.rs"
[[test]]
name = "linalg"
path = "tests/linalg.rs"
[[test]]
name = "reduce"
path = "tests/reduce.rs"
[[test]]
name = "reference"
path = "tests/reference.rs"
[[test]]
name = "transform"
path = "tests/transform.rs"
[dependencies.destream]
version = "0.10.1"
optional = true
[dependencies.frand]
version = "0.10"
[dependencies.freqfs]
version = "0.12.0"
optional = true
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.get-size]
version = "0.1"
[dependencies.lazy_static]
version = "1.5"
[dependencies.memoize]
version = "0.5"
optional = true
[dependencies.num-complex]
version = "0.4"
optional = true
[dependencies.num_cpus]
version = "1.16"
[dependencies.number-general]
version = "0.14"
[dependencies.ocl]
version = "0.19"
optional = true
[dependencies.rayon]
version = "1.10"
[dependencies.rustfft]
version = "6.2"
optional = true
[dependencies.safecast]
version = "0.2"
[dependencies.smallvec]
version = "1.13"
[dependencies.transpose]
version = "0.2"
[dependencies.wasm-bindgen]
version = "0.2"
optional = true