caffe
caffe copied to clipboard
TestRandomSeed fails on ARM platforms
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