-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
In the toml I set:
[dependencies]
leaf = { version = "0.2.0", default-features = false }
[features]
default = ["native"
native = ["leaf/native"]
However the compilation is failing.
Compiling collenchyma-nn v0.3.4
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:19:5: 28:6 error: non-exhaustive patterns: `&mut OpenCL(_)` not covered [E0004]
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:19 match mem {
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:20 &mut MemoryType::Native(ref mut mem) => {
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:21 let mut mem_buffer = mem.as_mut_slice::<T::Item>();
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:22 for (index, datum) in data.enumerate() {
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:23 mem_buffer[index] = datum;
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:24 }
...
/home/fuego/.cargo/registry/src/github.com-88ac128001ac3a9a/collenchyma-nn-0.3.4/src/frameworks/native/helper.rs:19:5: 28:6 help: run `rustc --explain E0004` to see a detailed explanation
error: aborting due to previous error
Could not compile `collenchyma-nn`.
Is this not supported?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels