请教一下各位,刚开始学习cuda,用vs2017新建了一个项目,跑自带的向量相加出错。应该怎么解决?
addKernel launch failed: no kernel image is available for execution on the device
addWithCuda failed!请按任意键继续. . .
...全文
1052612打赏收藏
新建的cuda项目出错,no kernel image is available for execution on the device
请教一下各位,刚开始学习cuda,用vs2017新建了一个项目,跑自带的向量相加出错。应该怎么解决? addKernel launch failed: no kernel image is available for execution on the device addWithCuda failed!请按任意键继续. . .
Caffe-SSD 安装过程中 make runtest出现错误:
[ RUN ] AdaDeltaSolverTest/1.TestAdaDeltaLeastSquaresUpdate
[ OK ] AdaDeltaSolverTest/1.TestAdaDeltaLeastSquaresUpdate (17 ms)
[ RUN ] AdaDeltaSolverTest/1.TestAdaDeltaLeastSquaresUpdateWithWeightDecay
[ OK ] AdaDeltaSolverTest/1.TestAdaDeltaLeastSquaresUpdateWithWeightDecay (16 ms)
[----------] 11 tests from AdaDeltaSolverTest/1 (524 ms total)
[----------] 7 tests from PermuteLayerTest/2, where TypeParam = caffe::GPUDevice<float>
[ RUN ] PermuteLayerTest/2.TestSetUpIdentity
[ OK ] PermuteLayerTest/2.TestSetUpIdentity (2 ms)
[ RUN ] PermuteLayerTest/2.TestFowrad3D
F0907 18:15:52.541024 12953 permute_layer.cu:46] Check failed: error == cudaSuccess (48 vs. 0) no kernel image is available for execution on the device
*** Check failure stack trace: ***
@ 0x7f7ec74718 google::LogMessage::Fail()
@ 0x7f7ec76614 google::LogMessage::SendToLog()
@ 0x7f7ec74290 google::LogMessage::Flush()
@ 0x7f7ec76eb4 google::LogMessageFatal::~LogMessageFatal()
@ 0x7f7d437d28 caffe::PermuteLayer<>::Forward_gpu()
@ 0x55dc5c caffe::Layer<>::Forward()
@ 0x6dc374 caffe::PermuteLayerTest_TestFowrad3D_Test<>::TestBody()
@ 0xa5971c testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0xa519c4 testing::Test::Run()
@ 0xa51b00 testing::TestInfo::Run()
@ 0xa51bc0 testing::TestCase::Run()
@ 0xa52d20 testing::internal::UnitTestImpl::RunAllTests()
@ 0xa53034 testing::UnitTest::Run()
@ 0x53b588 main
@ 0x7f7cd778a0 __libc_start_main
Makefile:526: recipe for target 'runtest' failed
make: *** [runtest] Aborted (core dumped)
哪位大神能帮忙解决一下?