Recently upgraded to Mathematica 10.2 and MacOS 10.11 and CUDA stopped working? Firstly, I only noticed this when on the upgrade to 10.2. There may be a similar problem with version 10. Now to the problem.
I had the following situation
Needs["CUDALink`"]
CUDAInformation[]
reporting
"CUDA failed to load libraries. Refer to CUDALink System Requirements for system requirements. >>"
Here is what I did to get things working. First, uninstall the old CUDALink paclet, and install the latest version
This will take a while to download. At least now the basic CUDALink internals are operational. However one soon discovers that NVCC is not operational. For instance a call to
CUDAFunctionLoad[...]
will result in
"nvcc fatal : The version ('70000') of the host compiler ('Apple clang') is not supported"
Heading over to the NVidia website and download the CUDA Toolkit. At the time of this posting this could be found at
I used the local installer and installed the whole thing.
The final consideration involves passing CUDAFunctionLoad[] the argument “CompilerInstallation” thus
I am told that, at least for the situation that I documented, it’s the result of having an obsolete CUDALink paclet installed. The advice then was to execute the following.