clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
839 stars 240 forks source link

Fatal error, OpenCL or clblas initialization failed! Leaving the test. #156

Closed inferrna closed 8 years ago

inferrna commented 8 years ago

Trying to repeat https://gist.github.com/inferrna/5e3fd6ec9d9c990a3256 with CPU I got another error

$ staging/test-short --gtest_filter=RowMajor_SmallRange/GEMM.sgemm/0
Initialize OpenCL and clblas...
/home/inferno/.dev/OpenCL/clBLAS/src/tests/BlasBase.cpp:217: Failure
Value of: clGetDeviceIDs(platform_, devType_, 1, &primaryDevice_, __null)
  Actual: -1
Expected: 0
Fatal error, OpenCL or clblas initialization failed! Leaving the test.

But actually I have 2 CPU-only implementation of OpenCL My clinfo: https://gist.github.com/inferrna/5e3fd6ec9d9c990a3256

anadon commented 8 years ago

2 CPU implementations of OpenCL? Could you clarify your setup? It sounds unusual.

hughperkins commented 8 years ago

Seems like this is really old and could be closed?