No CUDA-capable device ist detected

2,671 views
Skip to first unread message

Andreas ten Pas

unread,
Aug 5, 2015, 5:48:19 PM8/5/15
to Caffe Users
I've pulled the caffe repo today, but now make runtest fails:

F0805 17:44:16.708216 29544 syncedmem.cpp:57] Check failed: error == cudaSuccess (38 vs. 0)  no CUDA-capable device is detected
*** Check failure stack trace: ***
    @     0x2aeb68de0daa  (unknown)
    @     0x2aeb68de0ce4  (unknown)
    @     0x2aeb68de06e6  (unknown)
    @     0x2aeb68de3687  (unknown)
    @     0x2aeb6a724f7c  caffe::SyncedMemory::gpu_data()
    @     0x2aeb6a6e1542  caffe::Blob<>::gpu_data()
    @     0x2aeb6a7fb832  caffe::MVNLayer<>::Forward_gpu()
    @           0x4560c8  caffe::Layer<>::Forward()
    @           0x548649  caffe::MVNLayerTest_TestForwardAcrossChannels_Test<>::TestBody()
    @           0x75bc03  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x752847  testing::Test::Run()
    @           0x7528ee  testing::TestInfo::Run()
    @           0x7529f5  testing::TestCase::Run()
    @           0x755d38  testing::internal::UnitTestImpl::RunAllTests()
    @           0x755fc7  testing::UnitTest::Run()
    @           0x44a16a  main
    @     0x2aeb6b3f5ec5  (unknown)
    @           0x44fc59  (unknown)
    @              (nil)  (unknown)
make: *** [runtest] Aborted (core dumped)

However, CUDA 7 is installed:

$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Mon_Feb_16_22:59:02_CST_2015
Cuda compilation tools, release 7.0, V7.0.27

And the Makefile.config contains: CUDA_DIR := /usr/local/cuda-7.0

Andreas ten Pas

unread,
Aug 5, 2015, 6:31:52 PM8/5/15
to Caffe Users
Actually, I already solved it by reinstalling the drivers and CUDA.

--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/WDOD3E04Avg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/433a1990-6c09-43d7-962f-a306aaa0dc48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

sharath s

unread,
Aug 6, 2015, 7:44:31 AM8/6/15
to Caffe Users
I had the same Problem yesterday.

Just restarting my workstation solved the problem.

Ravikant Gupta

unread,
May 30, 2017, 3:27:57 AM5/30/17
to Caffe Users
A simple restart solved the problem for me too (Ubuntu 16.04)
Reply all
Reply to author
Forward
0 new messages