-
Notifications
You must be signed in to change notification settings - Fork 268
Description
Hi All,
I am new here. I have cuda and cuda nn installed with paths setup. I cannot run the example files for some reason.
Am I missing something?
System is Ubuntu 16.04
`akhileshsk@akhileshsk-home:$ cd rust_leaf_tutorials/leaf/rust_leaf_tutorials/leaf$ cargo run --release --no-default-features --features cuda --example benchmarks alexnet
akhileshsk@akhileshsk-home:
Compiling linear-map v0.0.4
Compiling num-traits v0.1.37
Compiling pkg-config v0.3.9
Compiling winapi v0.2.8
Compiling byteorder v0.4.2
Compiling lazy_static v0.1.16
Compiling rustc-serialize v0.3.24
Compiling utf8-ranges v0.1.3
Compiling libc v0.2.23
Compiling log v0.3.7
Compiling rblas v0.0.11
Compiling capnp v0.6.2
Compiling winapi-build v0.1.1
Compiling regex-syntax v0.3.9
Compiling bitflags v0.3.3
Compiling num-integer v0.1.34
Compiling enum_primitive v0.1.1
Compiling rand v0.3.15
Compiling kernel32-sys v0.2.2
Compiling time v0.1.37
Compiling memchr v0.1.11
Compiling num-iter v0.1.33
Compiling cublas-sys v0.1.0
Compiling cudnn-sys v0.0.3
Compiling thread-id v2.0.0
Compiling thread_local v0.2.7
Compiling aho-corasick v0.5.3
Compiling cudnn v1.3.1
Compiling cublas v0.2.0
Compiling timeit v0.1.2
Compiling capnpc v0.6.2
Compiling num-bigint v0.1.37
Compiling num-complex v0.1.37
Compiling regex v0.1.80
Compiling num-rational v0.1.36
Compiling num v0.1.37
Compiling collenchyma v0.0.8
Compiling collenchyma-blas v0.2.0
Compiling collenchyma-nn v0.3.4
Compiling leaf v0.2.1 (file:///home/akhileshsk/rust_leaf_tutorials/leaf)
Compiling leaf v0.2.1
error[E0004]: non-exhaustive patterns: &mut Cuda(_) not covered
--> /home/akhileshsk/.cargo/registry/src/github.com-1ecc6299db9ec823/leaf-0.2.1/src/util.rs:28:11
|
28 | match mem {
| ^^^ pattern &mut Cuda(_) not covered
error[E0004]: non-exhaustive patterns: &Cuda(_) not covered
--> /home/akhileshsk/.cargo/registry/src/github.com-1ecc6299db9ec823/leaf-0.2.1/src/solvers/mod.rs:77:24
|
77 | match result.get(native.device()).unwrap() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern &Cuda(_) not covered
error: aborting due to 2 previous errors
error: Could not compile leaf.
Build failed, waiting for other jobs to finish...
error: build failed
akhileshsk@akhileshsk-home:/rust_leaf_tutorials/leaf$/rust_leaf_tutorials/leaf$ ^C
akhileshsk@akhileshsk-home:
akhileshsk@akhileshsk-home:~/rust_leaf_tutorials/leaf$ `