Problem or Bug with the CUDACCompiler[] function and recognizing compilers.

Using WIndows 7 , Mathematica 9.0 , I entered:

In[33]:= CCompilers[]

Out[33]= {{"Name" -> "Visual Studio",
  "Compiler" ->
   CCompilerDriver`VisualStudioCompiler`VisualStudioCompiler,
  "CompilerInstallation" ->
   "C:\\Program Files\\Microsoft Visual Studio 11.0",
  "CompilerName" -> Automatic}, {"Name" -> "NVIDIA CUDA Compiler",
  "Compiler" -> NVCCCompiler,
  "CompilerInstallation" ->
   "C:\\Users\\jecalderon\\AppData\\Roaming\\Mathematica\\Paclets\\\
Repository\\CUDAResources-Win-9.0.0.0\\CUDAToolkit\\bin\\",
  "CompilerName" -> Automatic}}

Then I entered

In[34]:= CUDACCompilers[]

Out[34]= {}

The CCompilers function identifies the CUDA as a C compiler. But the CUDACCompilers function can not detect the very same NVidia as a CUDA compiler. Is in this a straight contradiction? Will this represent a bug?

Hi, I hope you have solved the problem already but I think you have to check if your CUDA toolkit version supports the installed visual studio version. For example for toolkit version 6.5, table 2 at the following website gives the list of supported versions.