autumnai / leaf

Open Machine Intelligence Framework for Hackers. (GPU/CPU)
Apache License 2.0
5.56k stars 270 forks source link

opencl and missing layer ops for cnn #109

Closed drahnr closed 8 years ago

drahnr commented 8 years ago
 cargo build --features=opencl
   Compiling leaf v0.2.1
   Compiling collenchyma v0.0.8
   Compiling collenchyma-nn v0.3.4
   Compiling collenchyma-blas v0.2.0
/home/bernhard/.cargo/registry/src/github.com-88ac128001ac3a9a/leaf-0.2.1/src/layers/container/sequential.rs:8:21: 8:29 error: unresolved import `util::LayerOps`. There is no `LayerOps` in `util` [E0432]
/home/bernhard/.cargo/registry/src/github.com-88ac128001ac3a9a/leaf-0.2.1/src/layers/container/sequential.rs:8 use util::{ArcLock, LayerOps};
# yada yada

Is this due to a limitation that only cuda supports something or is this a different issue?

drahnr commented 8 years ago

I guess it is due to #[cfg(all(feature="cuda", not(feature="native")))] in utils.rs.

So is this a native limitation or just not yet implemented.

There are a lot of those not mentioning opencl, is this all TBD or is this just a old crudge to be fixed?

Do you have feature map what is implemented for which feature backend? Or: Where is that implemented?

drahnr commented 8 years ago

nvm I missed the https://github.com/autumnai/collenchyma-nn support table...