Message Boards Message Boards

1 Reply
0 Total Likes
View groups...
Share this post:

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" ->
   "CompilerInstallation" ->
    "C:\\Program Files\\Microsoft Visual Studio 11.0",
   "CompilerName" -> Automatic}, {"Name" -> "NVIDIA CUDA Compiler",
   "Compiler" -> NVCCCompiler,
  "CompilerInstallation" ->
  "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?
POSTED BY: Jose Calderon
Posted 10 years ago

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.

POSTED BY: Nese Aral
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract