-
Notifications
You must be signed in to change notification settings - Fork 57
/
Cargo.toml
109 lines (91 loc) · 2.66 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
edition = "2018"
name = "arrayfire"
description = "ArrayFire is a high performance software library for parallel computing with an easy-to-use API. Its array based function set makes parallel programming simple. ArrayFire's multiple backends (CUDA, OpenCL and native CPU) make it platform independent and highly portable. A few lines of code in ArrayFire can replace dozens of lines of parallel computing code, saving you valuable time and lowering development costs. This crate provides Rust bindings for ArrayFire library."
version = "3.8.0"
documentation = "http://arrayfire.github.io/arrayfire-rust/arrayfire/index.html"
homepage = "https://github.com/arrayfire/arrayfire"
repository = "https://github.com/arrayfire/arrayfire-rust"
authors = ["Pradeep Garigipati <[email protected]>", "Jason Ramapuram <[email protected]>"]
readme = "./README.md"
keywords = ["CUDA", "OpenCL", "ArrayFire", "Compute"]
license = "BSD-3-Clause"
build = "build.rs"
exclude = [
"arrayfire/*",
]
[workspace]
members = [
"cuda-interop",
"opencl-interop",
]
[lib]
name = "arrayfire"
path = "src/lib.rs"
[package.metadata.docs.rs]
rustdoc-args = [ "--html-in-header", "./scripts/mathjax.script", ]
[features]
algorithm = []
arithmetic = []
blas = []
data = []
indexing = []
graphics = []
image = []
lapack = []
ml = []
macros = []
random = []
signal = []
sparse = []
statistics = []
vision = []
default = ["algorithm", "arithmetic", "blas", "data", "indexing", "graphics", "image", "lapack",
"ml", "macros", "random", "signal", "sparse", "statistics", "vision"]
afserde = ["serde"]
[dependencies]
libc = "0.2"
num = "0.4.0"
lazy_static = "1.0"
half = { version = "2.2.1" , features = ["num-traits"] }
serde = { version = "1.0", features = ["derive"], optional = true }
[dev-dependencies]
half = { version = "2.2.1" , features = ["num-traits"] }
serde_json = "1.0"
bincode = "1.3"
mnist = {version="0.5.0", features = ["download"]}
[build-dependencies]
serde_json = "1.0"
serde_derive = "1.0"
serde = "1.0"
rustc_version = "0.3.3"
[[example]]
name = "helloworld"
path = "examples/helloworld.rs"
[[example]]
name = "unified"
path = "examples/unified.rs"
[[example]]
name = "pi"
path = "examples/pi.rs"
[[example]]
name = "snow"
path = "examples/snow.rs"
[[example]]
name = "histogram"
path = "examples/histogram.rs"
[[example]]
name = "acoustic_wave"
path = "examples/acoustic_wave.rs"
[[example]]
name = "conway"
path = "examples/conway.rs"
[[example]]
name = "fft"
path = "examples/fft.rs"
[[example]]
name = "using_half"
path = "examples/using_half.rs"
[[example]]
name = "neural_network"
path = "examples/neural_network.rs"