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
Got error: array initializer must be an initializer list #153
Comments
I cannot reproduce your error on my end (mostly because I did not build Caffe). One thing I am (pretty) sure is that with 1x1 matrix the above kernel won't be used. Anyway, can you give me a set of parameters to sgemm that causes this error? |
I also got failed test RowMajor_SmallRange/GEMM.sgemm/0 |
Sounds like OpenCL compiler threw the errors. It is not test fail per se. But the compiler does not like the kernel generated. Is this an Intel graphic card? |
Yes, it is Beignet at Haswell i5-4200 GPU |
Same error, NVIDIA 940M |
Some of the errors I get:
|
And the test code:
|
It's caused by line 213 of zgemm_gcn.cl:
|
Actually, I think it's in library/blas/AutoGemm, line 221:
But changing this to:
... I still get incorrect results, and some errors, eg:
test case:
|
Ah, changing KernelOpenCL.py like this gets rid of the incorrect results for some tests:
Successful test results:
Crashed test:
|
Got error using caffe OpenCL port BVLC/caffe#2610
Seems like clBLAS producing incorrect kernel.
Error message:
Inside sgemm_Col_TN_B1_MX032_NX032_KX16_BRANCH_src kernel we see
Possible it caused because I tested it on data with input dimension 1x1 (trying to solve cosine problem) which is very non-standard fort most caffe and clBLAS using scenarios. Platforms tested - AMD and beignet (Intel® GPU)
The text was updated successfully, but these errors were encountered: