I have been completed the installation for Caffe framework with GPU: Geforce 9500 GT, CUDA 6.5, Ubuntu 14.04 x64
lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1)
cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.29 Thu Jul 31 20:23:19 PDT 2014
GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2014 NVIDIA Corporation
Built on Thu_Jul_17_21:41:27_CDT_2014
Cuda compilation tools, release 6.5, V6.5.12
However, when I run : make runtest, the following errors appeared
make runtest
.build_debug/tools/caffe
.build_debug/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 60641 .
[==========] Running 1356 tests from 214 test cases.
[----------] Global test environment set-up.
[----------] 10 tests from PowerLayerTest/3, where TypeParam = caffe::GPUDevice<double>
[ RUN ] PowerLayerTest/3.TestPower
F0616 20:08:47.978885 31913 math_functions.cu:81] Check failed: error == cudaSuccess (11 vs. 0) invalid argument
*** Check failure stack trace: ***
@ 0x2b2716c57daa (unknown)
@ 0x2b2716c57ce4 (unknown)
@ 0x2b2716c576e6 (unknown)
@ 0x2b2716c5a687 (unknown)
@ 0x2b27187a66fd caffe::caffe_gpu_memcpy()
@ 0x2b27186fa15d caffe::SyncedMemory::to_gpu()
@ 0x2b27186f9b44 caffe::SyncedMemory::gpu_data()
@ 0x2b27186a4701 caffe::Blob<>::gpu_data()
@ 0x2b27187b3a70 caffe::PowerLayer<>::Forward_gpu()
@ 0x4adaca caffe::Layer<>::Forward()
@ 0x5a033e caffe::PowerLayerTest<>::TestForward()
@ 0x59f381 caffe::PowerLayerTest_TestPower_Test<>::TestBody()
@ 0x7cf479 testing::internal::HandleSehExceptionsInMethodIfSupported<>()
@ 0x7caa12 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x7b7e29 testing::Test::Run()
@ 0x7b85c2 testing::TestInfo::Run()
@ 0x7b8bb0 testing::TestCase::Run()
@ 0x7bda3a testing::internal::UnitTestImpl::RunAllTests()
@ 0x7d04ac testing::internal::HandleSehExceptionsInMethodIfSupported<>()
@ 0x7cb6c9 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x7bc7ce testing::UnitTest::Run()
@ 0x480a13 main
@ 0x2b27196a1ec5 (unknown)
@ 0x480819 (unknown)
@ (nil) (unknown)
make: *** [runtest] Aborted (core dumped)
I tried to test CUDA with deviceQuery and it worked correctly"
./deviceQuery
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce 9500 GT"
CUDA Driver Version / Runtime Version 6.5 / 6.5
CUDA Capability Major/Minor version number: 1.1
Total amount of global memory: 512 MBytes (536543232 bytes)
( 4) Multiprocessors, ( 8) CUDA Cores/MP: 32 CUDA Cores
GPU Clock rate: 1400 MHz (1.40 GHz)
Memory Clock rate: 800 Mhz
Memory Bus Width: 128-bit
Maximum Texture Dimension Size (x,y,z) 1D=(8192), 2D=(65536, 32768), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(8192), 512 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(8192, 8192), 512 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 16384 bytes
Total number of registers available per block: 8192
Warp size: 32
Maximum number of threads per multiprocessor: 768
Maximum number of threads per block: 512
Max dimension size of a thread block (x,y,z): (512, 512, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 1)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 256 bytes
Concurrent copy and kernel execution: Yes with 1 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
Device supports Unified Addressing (UVA): No
Device PCI Bus ID / PCI location ID: 1 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.5, CUDA Runtime Version = 6.5, NumDevs = 1, Device0 = GeForce 9500 GT
Result = PASS
Is there anyone also got this problem and have figured it out?