Bitcoin Forum
June 25, 2024, 11:44:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cudaminer Unable to query CUDA driver version (but devicequery is working)  (Read 5902 times)
vainkop (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 23, 2013, 06:12:25 PM
Last edit: December 23, 2013, 06:35:36 PM by vainkop
 #1

Hello.

I'm trying to make cudaminer 2013.12.18 (or any of them) work on my test machine: Asus 1215N ion which supports cuda. Win7x64SP1

I installed Visual Studio 2008 + C++ redistributables + cuda toolkit+sdk 3.2 & drivers which were included.

When I run cudaminer I get:
Code:
c:\cudaminer\x64>cudaminer
           *** CudaMiner for nVidia GPUs by Christian Buchner ***
                     This is version 2013-12-18 (beta)
        based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler
               Cuda additions Copyright 2013 Christian Buchner
           My donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm

[2013-12-23 09:56:27] Unable to query CUDA driver version! Is an nVidia driver installed?

But if I run devicequery & bandwidthTestI successfully get:

Code:
devicequery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

There is 1 device supporting CUDA

Device 0: "ION"
  CUDA Driver Version:                           3.20
  CUDA Runtime Version:                          3.20
  CUDA Capability Major/Minor version number:    1.2
  Total amount of global memory:                 431620096 bytes
  Multiprocessors x Cores/MP = Cores:            2 (MP) x 8 (Cores/MP) = 16 (Cores)
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       16384 bytes
  Total number of registers available per block: 16384
  Warp size:                                     32
  Maximum number of threads per block:           512
  Maximum sizes of each dimension of a block:    512 x 512 x 64
  Maximum sizes of each dimension of a grid:     65535 x 65535 x 1
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             256 bytes
  Clock rate:                                    1.09 GHz
  Concurrent copy and execution:                 Yes
  Run time limit on kernels:                     Yes
  Integrated:                                    No
  Support host page-locked memory mapping:       Yes
  Compute mode:                                  Default (multiple host threads can use this device simultaneously)
  Concurrent kernel execution:                   No
  Device has ECC support enabled:                No
  Device is using TCC driver mode:               No

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 3.20, CUDA Runtime Version = 3.20, NumDevs = 1, Device = ION


PASSED

Press <Enter> to Quit...
-----------------------------------------------------------

Code:
[bandwidthTest]
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\bin\win64\Relea
se\bandwidthTest.exe Starting...

Running on...

 Device 0: ION
 Quick Mode

 Host to Device Bandwidth, 1 Device(s), Paged memory
   Transfer Size (Bytes)        Bandwidth(MB/s)
   33554432                     138.6

 Device to Host Bandwidth, 1 Device(s), Paged memory
   Transfer Size (Bytes)        Bandwidth(MB/s)
   33554432                     167.1

 Device to Device Bandwidth, 1 Device(s)
   Transfer Size (Bytes)        Bandwidth(MB/s)
   33554432                     7025.2


[bandwidthTest] - Test results:
PASSED


Press <Enter> to Quit...
-----------------------------------------------------------

Also all Cuda C samples from NVIDIA GPU Computing SDK 3.2 Browser work correctly!

I tried all versions from https://bitcointalk.org/index.php?topic=167229.0

So how can I make cudaminer to recognize cuda?!

BTW I cannot run devicequery or bandwidthTest from anywhere, only from C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\bin\win64\Release (or NVIDIA GPU Computing SDK 3.2 Browser app). Is it normal or maybe some path should be set manually?

I tried to configure it manually like here: http://coitweb.uncc.edu/~abw/SIGCSE2011Workshop/ConfiguringVSforCUDA.pdf but it's still the same Sad

Help!


Best regards,
Val
infinitybo
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 24, 2013, 03:21:20 PM
 #2

Hi Vainkop, your CUDA version seems outdated anyways you should use the "services" section.
vainkop (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 29, 2013, 03:42:43 AM
 #3

Hi Vainkop, your CUDA version seems outdated anyways you should use the "services" section.

I also tried the latest cuda toolkit 5.5 & it's still the same.

Can you tell me a little bit more about "services section" I should use to make cudaminer work?

Thanks!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!