clMathLibraries / clBLAS

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

sgemm example failing on CPU device #288

Open Ulfgard opened 7 years ago

Ulfgard commented 7 years ago

Hi,

I am currently trying to implement a backend for clBLAS version 2.10. my development system only has a cpu implementation of opencl, unfortunately clblasSgemm fails, even in the example code.

Steps to reproduce: run example_sgemm.c while using CL_DEVICE_TYPE_CPU result: clblasSgemmEx result: 11 12 13 21 440 460 31 640 660 41 840 860 expected: something where the 4 lower right entries are not C*beta.

cirosantilli commented 7 years ago

also give your exact OpenCL implementation. CPU model, OS, implementation version.