Message Boards Message Boards

0
|
6349 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
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" ->
    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?
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. http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-microsoft-windows/index.html#axzz3IQdKyXTk

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

Group Abstract Group Abstract