Thanks for sharing this nice source code. I managed to compile it on my laptop with GeForce 840M card with Ubuntu 16.04 and CUDA 7.5. However, make runtest
produced several test failures and crashed with a core dump.
This is my Makefile.config:
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# CUDA directory contains bin/ and lib/ directories that we need.
CUDA_DIR := /usr
# CUDA architecture setting: going with all of them (up to CUDA 5.5 compatible).
# For the latest architecture, you need to install CUDA >= 6.0 and uncomment
# the *_50 lines below.
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
-gencode arch=compute_20,code=sm_21 \
-gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_35,code=sm_35
-gencode=arch=compute_50,code=sm_50 \
-gencode=arch=compute_50,code=compute_50
# BLAS choice:
# atlas for ATLAS (default)
# mkl for MKL
# open for OpenBlas
BLAS := open
# Custom (MKL/ATLAS/OpenBLAS) include and lib directories.
# Leave commented to accept the defaults for your choice of BLAS
# (which should work)!
# BLAS_INCLUDE := /path/to/your/blas
# BLAS_LIB := /path/to/your/blas
# This is required only if you will compile the matlab interface.
# MATLAB directory should contain the mex binary in /bin.
MATLAB_DIR := /usr/local/MATLAB/R2016a/
# MATLAB_DIR := /Applications/MATLAB_R2012b.app
# NOTE: this is required only if you will compile the python interface.
# We need to be able to find Python.h and numpy/arrayobject.h.
PYTHON_INCLUDE := /usr/local/include/python2.7 \
/usr/local/lib/python2.7/dist-packages/numpy/core/include
# Anaconda Python distribution is quite popular. Include path:
# PYTHON_INCLUDE := $(HOME)/anaconda/include \
# $(HOME)/anaconda/include/python2.7 \
# $(HOME)/anaconda/lib/python2.7/site-packages/numpy/core/include
# We need to be able to find libpythonX.X.so or .dylib.
PYTHON_LIB := /usr/local/lib
# PYTHON_LIB := $(HOME)/anaconda/lib
# Whatever else you find you need goes here.
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib
BUILD_DIR := build
DISTRIBUTE_DIR := distribute
# Uncomment for debugging.
# DEBUG := 1
# The ID of the GPU that 'make runtest' will use to run unit tests.
TEST_GPUID := 0
Below is the output of runtest:
$ make runtest
build/test/test_all.testbin 0 --gtest_shuffle
Cuda number of devices: 1
Setting to use device 0
Current device id: 0
Note: Randomizing tests' orders with a seed of 65971 .
[==========] Running 417 tests from 74 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from SoftmaxWithLossLayerTest/0, where TypeParam = float
[ RUN ] SoftmaxWithLossLayerTest/0.TestGradientCPU
[ OK ] SoftmaxWithLossLayerTest/0.TestGradientCPU (230 ms)
[ RUN ] SoftmaxWithLossLayerTest/0.TestGradientGPU
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2.1941887140274048, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.10926592350006104,
estimated_gradient evaluates to 2.0849227905273438, and
threshold_ * scale evaluates to 0.020849227905273438.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,0
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 1367.8038898706436, which exceeds threshold_ * scale, where
computed_gradient evaluates to -1.6719402074813843,
estimated_gradient evaluates to -1369.475830078125, and
threshold_ * scale evaluates to 13.694758415222168.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,1
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 1871.9518399685621, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.20477624237537384,
estimated_gradient evaluates to -1872.1566162109375, and
threshold_ * scale evaluates to 18.721565246582031.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,2
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 1937.4213381409645, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.52714818716049194,
estimated_gradient evaluates to -1937.948486328125, and
threshold_ * scale evaluates to 19.379484176635742.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,3
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2000.9808031320572, which exceeds threshold_ * scale, where
computed_gradient evaluates to -1.3934644460678101,
estimated_gradient evaluates to -2002.374267578125, and
threshold_ * scale evaluates to 20.02374267578125.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,4
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2067.3268105387688, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.57290428876876831,
estimated_gradient evaluates to -2066.75390625, and
threshold_ * scale evaluates to 20.667537689208984.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,5
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2132.0294613242149, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.8981136679649353,
estimated_gradient evaluates to -2131.13134765625, and
threshold_ * scale evaluates to 21.311313629150391.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,6
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2196.1026052832603, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.59381622076034546,
estimated_gradient evaluates to -2195.5087890625, and
threshold_ * scale evaluates to 21.955087661743164.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,7
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2258.0986850261688, which exceeds threshold_ * scale, where
computed_gradient evaluates to -1.7880337238311768,
estimated_gradient evaluates to -2259.88671875, and
threshold_ * scale evaluates to 22.598867416381836.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,8
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2323.8749594688416, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.38895654678344727,
estimated_gradient evaluates to -2324.263916015625, and
threshold_ * scale evaluates to 23.242639541625977.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,9
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2386.3956198692322, which exceeds threshold_ * scale, where
computed_gradient evaluates to -2.2457375526428223,
estimated_gradient evaluates to -2388.641357421875, and
threshold_ * scale evaluates to 23.88641357421875.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,10
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2450.3957705497742, which exceeds threshold_ * scale, where
computed_gradient evaluates to -2.6227841377258301,
estimated_gradient evaluates to -2453.0185546875, and
threshold_ * scale evaluates to 24.530185699462891.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,11
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2517.0021805465221, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.3943038284778595,
estimated_gradient evaluates to -2517.396484375, and
threshold_ * scale evaluates to 25.17396354675293.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,12
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2581.223292350769, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.55063343048095703,
estimated_gradient evaluates to -2581.77392578125, and
threshold_ * scale evaluates to 25.817739486694336.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,13
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2645.8555200994015, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.295847088098526,
estimated_gradient evaluates to -2646.1513671875, and
threshold_ * scale evaluates to 26.461513519287109.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,14
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2708.9229011535645, which exceeds threshold_ * scale, where
computed_gradient evaluates to -1.6061515808105469,
estimated_gradient evaluates to -2710.529052734375, and
threshold_ * scale evaluates to 27.105289459228516.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,15
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2774.1294550299644, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.77703911066055298,
estimated_gradient evaluates to -2774.906494140625, and
threshold_ * scale evaluates to 27.749063491821289.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,16
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2838.3582728505135, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.92566269636154175,
estimated_gradient evaluates to -2839.283935546875, and
threshold_ * scale evaluates to 28.392839431762695.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,17
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2904.4807693362236, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.81939238309860229,
estimated_gradient evaluates to -2903.661376953125, and
threshold_ * scale evaluates to 29.036613464355469.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,18
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 2968.9486039280891, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.90954142808914185,
estimated_gradient evaluates to -2968.0390625, and
threshold_ * scale evaluates to 29.680389404296875.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,19
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 3031.4549759030342, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.96152800321578979,
estimated_gradient evaluates to -3032.41650390625, and
threshold_ * scale evaluates to 30.324163436889648.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,20
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 3096.3903590738773, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.40334209799766541,
estimated_gradient evaluates to -3096.793701171875, and
threshold_ * scale evaluates to 30.967935562133789.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,21
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 3161.3736805468798, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.20204968750476837,
estimated_gradient evaluates to -3161.171630859375, and
threshold_ * scale evaluates to 31.611715316772461.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,22
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 3225.3918676525354, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.15720461308956146,
estimated_gradient evaluates to -3225.549072265625, and
threshold_ * scale evaluates to 32.255489349365234.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,23
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 3290.1285521090031, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.20155015587806702,
estimated_gradient evaluates to -3289.927001953125, and
threshold_ * scale evaluates to 32.899269104003906.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,24
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 3354.6566629111767, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.35246369242668152,
estimated_gradient evaluates to -3354.30419921875, and
threshold_ * scale evaluates to 33.543041229248047.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,25
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is 3417.3534735441208, which exceeds threshold_ * scale, where
computed_gradient evaluates to -1.3284112215042114,
estimated_gradient evaluates to -3418.681884765625, and
threshold_ * scale evaluates to 34.186817169189453.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,26
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 2.0507621765136719,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.020507620647549629.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,27
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.14714376628398895,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,28
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.092538051307201385,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,29
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 1.4348338842391968,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.014348338358104229.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,30
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -1.8200397491455078,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.018200397491455078.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,31
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.63687032461166382,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,32
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.27529597282409668,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,33
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 1.6539856195449829,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.016539854928851128.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,34
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 1.559444785118103,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.015594447962939739.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,35
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.47840580344200134,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,36
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -2.1084423065185547,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.021084422245621681.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,37
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.64734846353530884,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,38
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 1.2536804676055908,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.012536804191768169.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,39
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.70361709594726562,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,40
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.28150025010108948,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,41
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 2.1712429523468018,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.021712429821491241.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,42
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.31444552540779114,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,43
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 0.21716280281543732,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,44
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.14974787831306458,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,45
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.66217285394668579,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,46
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to 1.8779197931289673,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.018779197707772255.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,47
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.46108913421630859,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,48
./src/caffe/test/test_gradient_check_util.hpp:163: Failure
The difference between computed_gradient and estimated_gradient is nan, which exceeds threshold_ * scale, where
computed_gradient evaluates to -0.88383305072784424,
estimated_gradient evaluates to -nan, and
threshold_ * scale evaluates to 0.0099999997764825821.
debug: (top_id, top_data_id, blob_id, feat_id)=-1,-1,0,49
[ FAILED ] SoftmaxWithLossLayerTest/0.TestGradientGPU, where TypeParam = float (54 ms)
[----------] 2 tests from SoftmaxWithLossLayerTest/0 (284 ms total)
[----------] 2 tests from SoftmaxLayerTest/1, where TypeParam = double
[ RUN ] SoftmaxLayerTest/1.TestGradientCPU
[ OK ] SoftmaxLayerTest/1.TestGradientCPU (285 ms)
[ RUN ] SoftmaxLayerTest/1.TestForwardCPU
[ OK ] SoftmaxLayerTest/1.TestForwardCPU (0 ms)
[----------] 2 tests from SoftmaxLayerTest/1 (285 ms total)
[----------] 8 tests from SplitLayerInsertionTest
[ RUN ] SplitLayerInsertionTest.TestNoInsertionImageNet
[ OK ] SplitLayerInsertionTest.TestNoInsertionImageNet (2 ms)
[ RUN ] SplitLayerInsertionTest.TestNoInsertion2
[ OK ] SplitLayerInsertionTest.TestNoInsertion2 (0 ms)
[ RUN ] SplitLayerInsertionTest.TestNoInsertion1
[ OK ] SplitLayerInsertionTest.TestNoInsertion1 (0 ms)
[ RUN ] SplitLayerInsertionTest.TestInsertion
[ OK ] SplitLayerInsertionTest.TestInsertion (0 ms)
[ RUN ] SplitLayerInsertionTest.TestInputInsertion
[ OK ] SplitLayerInsertionTest.TestInputInsertion (0 ms)
[ RUN ] SplitLayerInsertionTest.TestInsertionTwoTop
[ OK ] SplitLayerInsertionTest.TestInsertionTwoTop (0 ms)
[ RUN ] SplitLayerInsertionTest.TestWithInPlace
[ OK ] SplitLayerInsertionTest.TestWithInPlace (0 ms)
[ RUN ] SplitLayerInsertionTest.TestNoInsertionWithInPlace
[ OK ] SplitLayerInsertionTest.TestNoInsertionWithInPlace (0 ms)
[----------] 8 tests from SplitLayerInsertionTest (2 ms total)
[----------] 4 tests from SyncedMemoryTest
[ RUN ] SyncedMemoryTest.TestInitialization
[ OK ] SyncedMemoryTest.TestInitialization (0 ms)
[ RUN ] SyncedMemoryTest.TestGPUWrite
[ OK ] SyncedMemoryTest.TestGPUWrite (1 ms)
[ RUN ] SyncedMemoryTest.TestCPUWrite
[ OK ] SyncedMemoryTest.TestCPUWrite (0 ms)
[ RUN ] SyncedMemoryTest.TestAllocation
[ OK ] SyncedMemoryTest.TestAllocation (0 ms)
[----------] 4 tests from SyncedMemoryTest (1 ms total)
[----------] 10 tests from LRNLayerTest/1, where TypeParam = double
[ RUN ] LRNLayerTest/1.TestGPUGradientAcrossChannels
F1006 11:55:23.656641 14987 lrn_layer.cu:96] Check failed: error == cudaSuccess (8 vs. 0) invalid device function
*** Check failure stack trace: ***
@ 0x7f1423f725cd google::LogMessage::Fail()
@ 0x7f1423f74433 google::LogMessage::SendToLog()
@ 0x7f1423f7215b google::LogMessage::Flush()
@ 0x7f1423f74e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x62c532 caffe::LRNLayer<>::CrossChannelForward_gpu()
@ 0x435391 caffe::Layer<>::Forward()
@ 0x437b74 caffe::LRNLayerTest_TestGPUGradientAcrossChannels_Test<>::TestBody()
@ 0x55dd53 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x5571ca testing::Test::Run()
@ 0x557318 testing::TestInfo::Run()
@ 0x5573f5 testing::TestCase::Run()
@ 0x5586cf testing::internal::UnitTestImpl::RunAllTests()
@ 0x5589f3 testing::UnitTest::Run()
@ 0x4155bf main
@ 0x7f141fb56830 __libc_start_main
@ 0x41a629 _start
@ (nil) (unknown)
Makefile:279: recipe for target 'runtest' failed
make: *** [runtest] Aborted (core dumped)