-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
85 lines (64 loc) · 1.41 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
[package]
name = "poc-kokkos-rs"
version = "0.1.0"
edition = "2021"
# OPTIMIZATION
[profile.release]
codegen-units = 1
lto = "fat"
panic = "abort"
debug = true
# FEATURES
[features]
threads = ["dep:atomic", "dep:num_cpus"]
rayon = ["dep:atomic", "dep:num_cpus", "dep:rayon"]
gpu = ["dep:atomic"]
# DEPENDENCIES
[dependencies]
cxx = "*"
cfg-if = "*"
rayon = { version = "*", optional = true }
atomic = { version = "0.5.3", optional = true }
num_cpus = { version = "*", optional = true }
#bytemuck = {version = "*", optional=true} # needed for atomic >= 0.6.0
rand = { version = "*", features = ["small_rng", "alloc"] }
[dev-dependencies]
criterion = { version = "*", features = ["html_reports"] }
atomic = { version = "0.5.3" }
rayon = { version = "*" }
[build-dependencies]
cxx-build = "*"
# BENCHMARKS
## misc
[[bench]]
name = "view_init"
harness = false
[[bench]]
name = "view_access"
harness = false
## layout
[[bench]]
name = "layout-size"
path = "benches/layout/size.rs"
harness = false
[[bench]]
name = "layout-comparison"
path = "benches/layout/comparison.rs"
harness = false
## blas speedup measures
[[bench]]
name = "axpy"
path = "benches/blas-speedup/axpy.rs"
harness = false
[[bench]]
name = "gemv"
path = "benches/blas-speedup/gemv.rs"
harness = false
[[bench]]
name = "gemm"
path = "benches/blas-speedup/gemm.rs"
harness = false
## library overhead measures
[[bench]]
name = "hardcoded_gemm"
harness = false