-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile and run opencl version of caffe for android #22
Comments
@DVEfremov A single file implementing missing functions would be a good solution, which could be merged into CLBlast itself. |
- I've merged my wraper program without gflags with opencl version of caffe.cpp (opencl version uses different caffe API) and it works fine now using ck without segfaults and same json timing as well as caffe-time version
Compile and run opencl version of caffe for android #22
- non invasive changes for caffe.cpp from BVLC/caffe branch opencl to remove gflags (gflags leads to segmentation faults on android) - switch pachage to fork based BVLC/caffe branch opencl with required changes to get it works on android - some experiment with disabling USE_INTEL_SPATIAL but it's not cause of problem still persist with kernal
- remove uselesss disabling ling USE_INTEL_SPATIAL (it's OFF by default)
Compile and run opencl version of caffe for android #22 - intermediate version
So I've fixed issue with run time cl code compilation
with explicit abstract type cast to float: because
looks strange and seems like leads to unsupported argument type errors |
So I'me faced with another problem now
and I've found some related issues |
I've found cause for my case
and got
so just for my device it means just not enough memory
|
I've tested CPU version works fine after all my changes. |
I've tested caffe-time-opencl for
works fine |
- classification.cpp for opencl version of caffe
Compile and run opencl version of caffe for android #22
- classification.cpp for opencl version of caffe
It works fine now and and merged to official branch. |
Steps to reprodice
Now compilation fails with error like:
This problem also discussed at CNugteren/CLBlast#65
The text was updated successfully, but these errors were encountered: