naibaf7 / caffe

Caffe: a fast open framework for deep learning. With OpenCL and CUDA support.
http://caffe.berkeleyvision.org/
Other
85 stars 20 forks source link

TestRandomSeed fails on ARM platforms #29

Open psyhtest opened 8 years ago

psyhtest commented 8 years ago

The InternalThreadTest.TestRandomSeed fails on at least two ARM Mali-based platforms (Samsung Chromebook 2 and Hardkernel Odroid XU3) as follows:

LD_LIBRARY_PATH=/data/install/lib-openblas-v0.2.18/lib:$LD_LIBRARY_PATH \
/data/caffe-naibaf7/build/test/test_all.testbin \
--gtest_filter=InternalThreadTest.TestRandomSeed

Setting to use device 0
Note: Google Test filter = InternalThreadTest.TestRandomSeed
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from InternalThreadTest
[ RUN      ] InternalThreadTest.TestRandomSeed
src/caffe/test/test_internal_thread.cpp:36: Failure
Value of: caffe_rng_rand()
  Actual: 231000038
Expected: 887095485U
Which is: 887095485
[  FAILED  ] InternalThreadTest.TestRandomSeed (27 ms)
[----------] 1 test from InternalThreadTest (27 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (28 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] InternalThreadTest.TestRandomSeed

 1 FAILED TEST