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

make runtest error in ocl_util.cpp #40

Open
295988101 opened this issue Mar 23, 2016 · 1 comment
Open

make runtest error in ocl_util.cpp #40

295988101 opened this issue Mar 23, 2016 · 1 comment

Comments

@295988101
Copy link

when I make runtest,I get the error that:
[ RUN ] SoftmaxWithLossLayerTest/3.TestForwardIgnoreLabel
F0323 15:31:53.025662 2818 ocl_util.cpp:77] Check failed: error == 0 (-54 vs. 0) -54
*** Check failure stack trace: ***
@ 0x2b4e19c16daa (unknown)
@ 0x2b4e19c16ce4 (unknown)
@ 0x2b4e19c166e6 (unknown)
@ 0x2b4e19c19687 (unknown)
@ 0x2b4e1964b5e8 caffe::ocl_memset()
@ 0x2b4e1964e35b caffe::SyncedMemory::mutable_gpu_data()
@ 0x2b4e195ab632 caffe::Blob<>::mutable_gpu_data()
@ 0x2b4e19707d41 caffe::SoftmaxLayer<>::Forward_gpu()
@ 0x2b4e19670599 caffe::SoftmaxWithLossLayer<>::Forward_gpu()
@ 0x721ab8 caffe::Layer<>::Forward()
@ 0x9f41d5 caffe::SoftmaxWithLossLayerTest_TestForwardIgnoreLabel_Test<>::TestBody()
@ 0xa409d3 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0xa371f7 testing::Test::Run()
@ 0xa3729e testing::TestInfo::Run()
@ 0xa373a5 testing::TestCase::Run()
@ 0xa3a0f8 testing::internal::UnitTestImpl::RunAllTests()
@ 0xa3a397 testing::UnitTest::Run()
@ 0x6f2c25 main
@ 0x2b4e1bc51ec5 (unknown)
@ 0x6f7d62 (unknown)
@ (nil) (unknown)
Aborted (core dumped)
make[3]: *** [src/caffe/test/CMakeFiles/runtest] error 134
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] error 2
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] error 2
make: *** [runtest] error 2

How can I solve the error?
It seems that the problem is due to the opencl, but I install opencl from AMDAPPSDK-2.9-1, and I can find opencl when cmake

thank you!

@295988101
Copy link
Author

The error code is that :
OCL_CHECK(
clEnqueueNDRangeKernel(amdDevice.CommandQueue, Kernel, 1, NULL,
Global_Work_Size, Local_Work_Size, 0, NULL, NULL));

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

1 participant