-
Notifications
You must be signed in to change notification settings - Fork 20
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
Gradient tests fail on Samsung Chromebook 2 #28
Comments
I'd need to know if there is a pattern on the data index: Not having one of those GPUs myself it is a bit difficult to track this problem. |
@psyhtest I'm going to run caffe on ARM, using opencl or cuda. But I have tried another opencl caffe version and finally I failed for the complex cross compile. Could you tell me, if you successfully use caffe on arm(opencl or cuda)?So nice as you if you can tell me some details. My mail is [email protected] best regards to you. |
@psyhtest The example you provide shows the test passes on the GPU for floats and the same test fails on the GPU for doubles. Are all the failed tests only double precision and on the GPU? If so, this suggests to me perhaps the MALI GPU does not support double, which is optional under the spec. Search for CL_DEVICE_DOUBLE_FP_CONFIG and clGetDeviceInfo, which is how the GPU indicates if it supports double. |
@naibaf7 @zhenghuitian @jyegerlehner |
@psyhtest Hah hah OK I guess that rules that out. I thought it was a rather parsimonious theory though. |
@psyhtest Thank you for your answer. It do help me a lot. I am preparing to use CLBlast instead of clBlas because my arm has not AMD gpu. I am reading your IWOCL abstract.Thank you again. |
Please see the full (compressed) log from running the following command:
Also attached is my Makefile.config. |
I also observed a similar failure on Odroid-XU3 (similar chip to Chromebook 2 but with the Mali driver v4.0, rather than v6.0):
It is, however, much more intermittent. (I could not reproduce it since.) |
@psyhtest |
@naibaf7
In configuration
USE_GREENTEA := 1
, I see lots of Caffe test failures on Samsung Chromebook 2 (ARM Cortex-A15 CPU, ARM Mali-T628 GPU) with this fork (latest commit04503ee
).What they all seem to have in common is the word "Gradient" in their name. For example:
The suspicious line is:
but sometimes I see the reverse of this situation when it is
computed_gradient evaluates to 0
, butestimated_gradient
evaluates to a non-zero.This happens both for
float
anddouble
tests.Any ideas?
The text was updated successfully, but these errors were encountered: