-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
70 lines (63 loc) · 1.82 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
[package]
name = "blaze-rs"
description = "A Rustified OpenCL Experience"
version = "1.0.3"
edition = "2021"
authors = ["Alex Andreba <aandrebafreelancer@gmail.com>"]
license = "MIT"
homepage = "https://blaze-rs.com"
repository = "https://github.com/Aandreba/blaze"
readme = "docs/src/intro.md"
keywords = ["opencl", "rust", "blaze", "gpgpu", "gpu"]
categories = [
"api-bindings",
"concurrency",
"hardware-support",
"science",
"rust-patterns",
]
exclude = [".github", "Makefile", "TODO.md", "CHANGELOG.md", "blase"]
build = "build.rs"
[features]
# OpenCL version
cl1_1 = ["opencl-sys/CL_VERSION_1_1"]
cl1_2 = ["cl1_1", "opencl-sys/CL_VERSION_1_2"]
cl2 = ["cl1_2", "opencl-sys/CL_VERSION_2_0"]
cl2_1 = ["cl2", "opencl-sys/CL_VERSION_2_1"]
cl2_2 = ["cl2_1", "opencl-sys/CL_VERSION_2_2"]
cl3 = ["cl2_2", "opencl-sys/CL_VERSION_3_0"]
# Blaze features
strict = []
# half = ["dep:half"]
# image = ["dep:ffmpeg-sys-next"]
svm = ["nightly", "cl2", "utils-atomics/alloc_api"]
futures = ["dep:futures", "utils-atomics/futures"]
nightly = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
blaze-proc = { path = "blaze-proc", version = "1.0.0" }
opencl-sys = { version = "0.2.1", default-features = false }
futures = { version = "0.3.21", optional = true }
# ffmpeg-sys-next = { version = "5.0.1", optional = true }
# half = { version = "2", features = ["num-traits", "bytemuck"], optional = true }
bytemuck = "1.10.0"
bytemuck_derive = "1.1.1"
crossbeam = "0.8.2"
once_cell = "1.13.0"
utils-atomics = "1.0.0"
num-traits = "0.2.15"
num_enum = "0.6.0"
bitflags = "1"
cfg-if = "1"
bitvec = "1"
elor = "1"
pin-project = "1.0.12"
[dev-dependencies]
tokio = { version = "1.19.2", features = ["full"] }
rand = "0.8.5"
[build-dependencies]
camino = "1.1.2"
[workspace]
members = ["blaze-proc", "blase"]