Installing on MacBook Pro from 2010 doesn't work

I have the following software:

macOS: Sierra / OSX 10.12.2 (16C68)
Display: NVIDIA GeForce GT 330M 512 MB
Xcode: Version 8.2.1 (8C1002)

This is a 2010 system that I upgraded recently to macOS (Sierra).

I followed these instructions to install and verify CUDA: http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#install.

However, I encountered the error below after I built deviceQuery sample successfully and ran it:

$ ./deviceQuery
./deviceQuery Starting…

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

cudaGetDeviceCount returned 35
→ CUDA driver version is insufficient for CUDA runtime version
Result = FAIL

Any way to fix this issue? The 8.0 install did apply the latest driver. I tried to use cudadriver_3.1.10_macos for GT 330M but that didn’t fix the problem either.

CUDA 8 doesn’t support that GT330M GPU. The last CUDA version that supported it was CUDA 6.5.

If you do attempt to work around this by installing an older driver that supports that GPU, then that driver version will be insufficient for use with CUDA 8, exactly the error message you are receiving.

Older CUDA versions are still available on the legacy CUDA toolkits page, but whether they can be made to work correctly with the latest MacOS/Xcode, etc. I don’t know. There is a Mac install guide for each CUDA toolkit that you can look at.

I will install CUDA 6.5 and hope that it works. Thanks!