No cuda-capable device?
I know that this MacBook Air has a CUDA-capable GPU. I installed the Snow Leopard CUDA driver. It installed successfully -- yet when I try to run code that uses CUDA it says that no CUDA-capable device is available?

Any help greatly appreciated!
I know that this MacBook Air has a CUDA-capable GPU. I installed the Snow Leopard CUDA driver. It installed successfully -- yet when I try to run code that uses CUDA it says that no CUDA-capable device is available?



Any help greatly appreciated!

#1
Posted 02/22/2010 07:30 AM   
[quote name='zajo' post='1005775' date='Feb 22 2010, 08:30 AM']I know that this MacBook Air has a CUDA-capable GPU. I installed the Snow Leopard CUDA driver. It installed successfully -- yet when I try to run code that uses CUDA it says that no CUDA-capable device is available?

Any help greatly appreciated![/quote]

Do you start in 32 Bit Kernel Mode ?
Until now the lastest CUDA drivers cant work in 64 Bit Kernel Mode = no cuda device found.
[quote name='zajo' post='1005775' date='Feb 22 2010, 08:30 AM']I know that this MacBook Air has a CUDA-capable GPU. I installed the Snow Leopard CUDA driver. It installed successfully -- yet when I try to run code that uses CUDA it says that no CUDA-capable device is available?



Any help greatly appreciated!



Do you start in 32 Bit Kernel Mode ?

Until now the lastest CUDA drivers cant work in 64 Bit Kernel Mode = no cuda device found.

#2
Posted 02/22/2010 07:42 AM   
[quote name='mitchde' post='1005781' date='Feb 21 2010, 11:42 PM']Do you start in 32 Bit Kernel Mode ?
Until now the lastest CUDA drivers cant work in 64 Bit Kernel Mode = no cuda device found.[/quote]
mitchde thanks for the good suggestion -- I did not know if I'm running 32-bit or 64-bit kernel mode but it turns out it is 32-bit so that's not my problem.

I forgot to mention that kexstat | grep "CUDA" outputs:

115 0 0x30263000 0x2000 0x1000 com.nvidia.CUDA (1.1.0) <4 1>

I tried reinstalling the driver and the toolkit, both installations claim success yet still no CUDA device found. :|
[quote name='mitchde' post='1005781' date='Feb 21 2010, 11:42 PM']Do you start in 32 Bit Kernel Mode ?

Until now the lastest CUDA drivers cant work in 64 Bit Kernel Mode = no cuda device found.

mitchde thanks for the good suggestion -- I did not know if I'm running 32-bit or 64-bit kernel mode but it turns out it is 32-bit so that's not my problem.



I forgot to mention that kexstat | grep "CUDA" outputs:



115 0 0x30263000 0x2000 0x1000 com.nvidia.CUDA (1.1.0) <4 1>



I tried reinstalling the driver and the toolkit, both installations claim success yet still no CUDA device found. :|

#3
Posted 02/22/2010 05:00 PM   
The same thing happened to me today actually. And I'm sure everything was working a few weeks ago. But today I couldn't find any device. I re-installed everything (driver and toolkit), restarted my Mac (even if I wasn't asked to do it). And everything was back to normal again. When I re-installed, I used CUDA 3.0 though. Which wasn't available to you at the time (at least not the final version). So if you're still having issues, you might want to try with CUDA 3.0.
The same thing happened to me today actually. And I'm sure everything was working a few weeks ago. But today I couldn't find any device. I re-installed everything (driver and toolkit), restarted my Mac (even if I wasn't asked to do it). And everything was back to normal again. When I re-installed, I used CUDA 3.0 though. Which wasn't available to you at the time (at least not the final version). So if you're still having issues, you might want to try with CUDA 3.0.

#4
Posted 03/24/2010 04:39 AM   
Just a quick precision, I have a Macbook Pro running 10.6.2...
Just a quick precision, I have a Macbook Pro running 10.6.2...

#5
Posted 03/24/2010 04:44 AM   
[quote name='zajo' post='1006046' date='Feb 22 2010, 07:00 PM']mitchde thanks for the good suggestion -- I did not know if I'm running 32-bit or 64-bit kernel mode but it turns out it is 32-bit so that's not my problem.

I forgot to mention that kexstat | grep "CUDA" outputs:

115 0 0x30263000 0x2000 0x1000 com.nvidia.CUDA (1.1.0) <4 1>

I tried reinstalling the driver and the toolkit, both installations claim success yet still no CUDA device found. :|[/quote]
Hopefully you found a solution by now.
But if not, I had a similar experience recently:
Between the uninstall and reinstall, did you reboot? Kextunload does not work after the uninstall.
Alternatively, kextunload first (and verify) then uninstall, then reinstall.
Hope this helps.
Regards
[quote name='zajo' post='1006046' date='Feb 22 2010, 07:00 PM']mitchde thanks for the good suggestion -- I did not know if I'm running 32-bit or 64-bit kernel mode but it turns out it is 32-bit so that's not my problem.



I forgot to mention that kexstat | grep "CUDA" outputs:



115 0 0x30263000 0x2000 0x1000 com.nvidia.CUDA (1.1.0) <4 1>



I tried reinstalling the driver and the toolkit, both installations claim success yet still no CUDA device found. :|

Hopefully you found a solution by now.

But if not, I had a similar experience recently:

Between the uninstall and reinstall, did you reboot? Kextunload does not work after the uninstall.

Alternatively, kextunload first (and verify) then uninstall, then reinstall.

Hope this helps.

Regards

#6
Posted 04/06/2010 07:16 PM   
Scroll To Top