New to CUDA so please bear with me.
I installed the OSX 10.11.4 Web Driver followed by the CUDA Toolkit 7.5 toolkit. Then tried one of the samples but get a driver initialization error:
cudaGetDeviceCount returned 35
→ CUDA driver version is insufficient for CUDA runtime version
Other forum threads about this error always point to the NVIDIA driver. But my driver is the latest available:
MacBook Pro (Retina, 15-inch, Late 2013)
Hardware specs: MacBook Pro (Retina, 15-inch, Late 2013) - Technical Specifications
NVIDIA GeForce GT 750M with 2GB of GDDR5 memory and automatic graphics switching
NVIDIA WebDriver: 346.03.06f01
CUDA Toolkit 7.5.27 (reported from System Preferences)
XCode 7.3 (7D175)
Here are the short steps to reproduce after installation:
$ cd /Developer/NVIDIA/CUDA-7.5/samples/1_Utilities/deviceQuery
$ make
/Developer/NVIDIA/CUDA-7.5/bin/nvcc -ccbin clang++ -I…/…/common/inc -m64 -Xcompiler -arch -Xcompiler x86_64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_52,code=compute_52 -o deviceQuery.o -c deviceQuery.cpp
/Developer/NVIDIA/CUDA-7.5/bin/nvcc -ccbin clang++ -m64 -Xcompiler -arch -Xcompiler x86_64 -Xlinker -rpath -Xlinker /Developer/NVIDIA/CUDA-7.5/lib -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_52,code=compute_52 -o deviceQuery deviceQuery.o
mkdir -p …/…/bin/x86_64/darwin/release
cp deviceQuery …/…/bin/x86_64/darwin/release
$ ./deviceQuery
Did I miss something??
More environment details:
$ clang --version
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.4.0
$ /Developer/NVIDIA/CUDA-7.5/bin/nvcc --version
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Mon_Apr_11_13:23:40_CDT_2016
Cuda compilation tools, release 7.5, V7.5.26
^^^ V7.5.26 differs from what’s reported by System Preferences | CUDA
Also, what seems odd is System Preferences | CUDA reports “No version found” for the GPU Driver Version. Does that indicate an install problem?
Is my environment supported?
Thanks in advance!
Tom