-
Notifications
You must be signed in to change notification settings - Fork 99
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
caffeOnACL requires OpenCL device support? #8
Comments
I don't know much about the Caffe integration, but you can compile the Compute Library with OpenCL enabled: it uses dlopen to resolve OpenCL symbols at runtime when the first OpenCL entry point is called so if your system doesn't have OpenCL it should still work. Hope this helps |
@AnthonyARM thanks for pointing me in this direction, I got it running but performance is approx 1.7x slower than compiling caffe and all it's dependencies from source with optimizations turned on and targetting mcpu=cortex-a53 |
I got similar results. |
@mihailescu2m I want to running caffe on Odroid XU4 with GPU mode, but I can only find few tutorials about this. How do you achieve this? thanks :) |
Issue summary
Cannot link against caffeOnACL libraries when ACL is compiled without opencl. My target device, RPi 3, has a CortexA53 and no OpenCL runtime, but would benefit from NEON acceleration. Thoughts?
Steps to reproduce
Compile ACL
scons -j3 debug=0 asserts=0 arch=arm64-v8a os=linux Werror=1 build=cross_compile neon=1 opencl=0 embed_kernels=0 openmp=0 cppthreads=1
Compile caffeOnACL
Your system configuration
Operating system: Host OS Linux, target OS Linux
Compiler: aarch64-linux-gnu-g++-6
The text was updated successfully, but these errors were encountered: