You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/10/18 01:04:10 UTC

[GitHub] [incubator-mxnet] SpaceView edited a comment on issue #15492: No CMAKE_CUDA_COMPILER could be found

SpaceView edited a comment on issue #15492: No CMAKE_CUDA_COMPILER could be found
URL: https://github.com/apache/incubator-mxnet/issues/15492#issuecomment-543428380
 
 
   Tried various CMake versions, got the same error, I suppose this is a cuda version problem, and I checked that visual studio 2019 supports only cuda 10.1 (I didn't check a lot on old versions), as below,
   https://developer.nvidia.com/gameworksdownload#?dn=nsight-visual-studio-edition-2019-3
   
   and I checked my build folder, only cuda10.1 exists, as below,
   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations
   
   I don't have visual studio 2017 installed, so have no idea about older versions.
   I add 
   set(CMAKE_CUDA_COMPILER "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/bin/nvcc.exe")
   before the line 73 project(mxnet C CXX CUDA), and other errors popped up as below
   The CUDA compiler
       "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/bin/nvcc.exe"
     is not able to compile a simple test program.
   
   suppose visual studio 2019 + cuda 10.1 will solve the problem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services