Skip to content
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

Error when make runtest #30

Open
ghost opened this issue Feb 10, 2016 · 3 comments
Open

Error when make runtest #30

ghost opened this issue Feb 10, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 10, 2016

Linking CXX executable ../../../test/test.testbin
[100%] Built target test.testbin
Scanning dependencies of target runtest
Current device id: 0
Err: Failed to build program
�ց�Note: Google Test filter = -GPU
Note: Randomizing tests' orders with a seed of 58344 .
[==========] Running 1297 tests from 201 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from ThresholdLayerTest/1, where TypeParam = caffe::CPUDevice
[ RUN ] ThresholdLayerTest/1.Test
Err: Failed to build program
�F0210 10:46:10.775442 26667 syncedmem.cpp:62] Check failed: error == 0 (-46 vs. 0) -46
*** Check failure stack trace: ***
@ 0x2b1e80fb9daa (unknown)
@ 0x2b1e80fb9ce4 (unknown)
@ 0x2b1e80fb96e6 (unknown)
@ 0x2b1e80fbc687 (unknown)
@ 0x2b1e80ab7781 caffe::SyncedMemory::ocl_setup()
@ 0x2b1e80ab4383 caffe::Blob<>::Reshape()
@ 0x2b1e80ab4659 caffe::Blob<>::Reshape()
@ 0x2b1e80ab46dc caffe::Blob<>::Blob()
@ 0x7037ba caffe::ThresholdLayerTest<>::ThresholdLayerTest()
@ 0x703b3b testing::internal::TestFactoryImpl<>::CreateTest()
@ 0xa3f1a3 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0xa358e5 testing::TestInfo::Run()
@ 0xa35a05 testing::TestCase::Run()
@ 0xa38758 testing::internal::UnitTestImpl::RunAllTests()
@ 0xa389f7 testing::UnitTest::Run()
@ 0x6f79c5 main
@ 0x2b1e82f82ec5 (unknown)
@ 0x6f7d32 (unknown)
@ (nil) (unknown)
Aborted (core dumped)
make[3]: *** [src/caffe/test/CMakeFiles/runtest] 错误 134
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] 错误 2
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] 错误 2
make: *** [runtest] 错误 2

@Spencer-Dawson
Copy link

I think that openCL lib is returning an error of CL_INVALID_KERNEL_NAME per line 62 of syncedmem.cpp and this ref http://www.techdarting.com/2014/01/opencl-errors.html

@jianrui1
Copy link

Have you solve the problem? I have a similar problem. As follow:
[ 73%] Building CXX object src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o
/home/jr/SegStereo/src/caffe/test/test_deconvolution_layer.cpp:8:47: fatal error: caffe/layers/cudnn_deconv_layer.hpp: No such file or directory
compilation terminated.
src/caffe/test/CMakeFiles/test.testbin.dir/build.make:643: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o' failed
make[3]: *** [src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o] Error 1
CMakeFiles/Makefile2:394: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/all' failed
make[2]: *** [src/caffe/test/CMakeFiles/test.testbin.dir/all] Error 2
CMakeFiles/Makefile2:367: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2
Makefile:253: recipe for target 'runtest' failed
make: *** [runtest] Error 2

I check the code file, it did not have the 'cudnn_deconv_layer.hpp' file.While in my computer's caffe, the 'cudnn_deconv_layer.hpp' appeared.

Can you help me out.
Thanks for advance.

@Spencer-Dawson
Copy link

No idea, but this project is clearly abandoned. Try BVLC/caffe/tree/opencl instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants