viennacl / viennacl-dev

Developer repository for ViennaCL. Visit http://viennacl.sourceforge.net/ for the latest releases.
Other
281 stars 89 forks source link

Problems on Intel Atom E3825 #253

Closed twmht closed 6 years ago

twmht commented 6 years ago

I follow the wiki guide to install clcaffe (https://github.com/01org/caffe/wiki/clCaffe)

everything is fine until I query all the devices

./tools/caffe device_query -gpu all

terminate called after throwing an instance of 'viennacl::ocl::unknown_error'
  what():  ViennaCL: FATAL ERROR: ViennaCL encountered an unknown OpenCL error. Most likely your OpenCL SDK or driver is not installed properly. In some cases, this error is due to an invalid global work size or several kernel compilation errors.
If you think that this is a bug in ViennaCL, please report it at viennacl-support@lists.sourceforge.net and supply at least the following information:
 * Operating System
 * Which OpenCL implementation (AMD, NVIDIA, etc.)
 * ViennaCL version
Many thanks in advance!
*** Aborted at 1516184535 (unix time) try "date -d @1516184535" if you are using GNU date ***
PC: @     0x7fd28afb9428 gsignal
*** SIGABRT (@0x3e800000457) received by PID 1111 (TID 0x7fd28d222ac0) from PID 1111; stack trace: ***
    @     0x7fd28afb94b0 (unknown)
    @     0x7fd28afb9428 gsignal
    @     0x7fd28afbb02a abort
    @     0x7fd28b5f384d __gnu_cxx::__verbose_terminate_handler()
    @     0x7fd28b5f16b6 (unknown)
    @     0x7fd28b5f1701 std::terminate()
    @     0x7fd28b5f1919 __cxa_throw
    @     0x55dab6a7ef50 viennacl::ocl::error_checker<>::raise_exception()
    @     0x7fd28ca805ab viennacl::ocl::get_platforms()
    @     0x7fd28ca7af4a caffe::Caffe::EnumerateDevices()
    @     0x55dab6a78cd0 device_query()
    @     0x55dab6a75612 main
    @     0x7fd28afa4830 __libc_start_main
    @     0x55dab6a760b9 _start
    @                0x0 (unknown)
Aborted (core dumped)

HW is Intel Atom E3825

My OS is ubuntu 16.04 and the opencl driver is downloaded from http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB4.1_linux64.zip.

Any suggestion?

thank you

karlrupp commented 6 years ago

As the error message says, this looks a lot like the OpenCL SDK is not installed properly. Can you run any other OpenCL code?