naibaf7 / caffe

Caffe: a fast open framework for deep learning. With OpenCL and CUDA support.
http://caffe.berkeleyvision.org/
Other
85 stars 20 forks source link

Does the branch support the android OS? #48

Open jht19880529 opened 7 years ago

jht19880529 commented 7 years ago

Hi @naibaf7 Can the branch be built by ndk toolchain and run on android device? What I want is to run caffe on the S7 edge cellphone with OpenCL enable.

I noticed that another project https://github.com/sh1r0/caffe-android-lib was for the android devices. However, this repository seems more promising as it is the official OpenCL branch of the caffe.

naibaf7 commented 7 years ago

Yes, it supports Android devices. But you still need the project mentioned above, the compile scripts for android are not included in the base repository. Try with this branch: https://github.com/sh1r0/caffe-android-lib/tree/opencl_dev

DVEfremov commented 7 years ago

I'll prepare PR soon with android support for opencl version from my fork. Yes special thanks to https://github.com/sh1r0

It contains several commits from https://github.com/sh1r0/caffe-android-lib

but with my minor fixes and tested for Mali GPUs

DVEfremov commented 7 years ago

PR: https://github.com/naibaf7/caffe/pull/50

haibara-ai commented 7 years ago

@DVEfremov How to build this branch for android? Does it need to follow https://github.com/sh1r0/caffe-android-lib? or just like caffe in this repo.