<div dir="ltr">In news CUDA 10 release notes include the statement:<div><br></div>- Starting with CUDA 10.0, nvcc supports all versions of Visual Studio 2017 (past and upcoming updates)<div><br></div><div>So the problems of matching VS versions and CUDA versions should be behind us.</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 18, 2018 at 11:56 AM Brian Davis <<a href="mailto:bitminer@gmail.com">bitminer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>With CUDA 8.0 and 9.0 installed and Visual Stuido 2013 (and god only knows what versions of 2017 updated up grades with whatever tools versions)</div><div><br></div><div><br></div><div>CMake -> Visual Studio 12 2013 Win64 -> Optional toolset to use (arguments to -T -> cuda=8.0</div><div><br></div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">The CXX compiler identification is MSVC 18.0.31101.0</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">The CUDA compiler identification is NVIDIA 8.0.60</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compiler ABI info</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compiler ABI info - done</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compile features</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compile features - done</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/bin/nvcc.exe</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/bin/nvcc.exe -- works</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CUDA compiler ABI info</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CUDA compiler ABI info - done</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Found OpenGL: opengl32 <br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">So, ok finds CUDA 8.0 nvcc</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">
</p><div>CMake -> Visual Studio 15 2017 Win64 -> Optional toolset to use (arguments to -T -> cuda=8.0</div><div><br></div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.16299.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">The CXX compiler identification is MSVC 19.15.26726.0</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">The CUDA compiler identification is unknown</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x64/cl.exe -- works</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compiler ABI info</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compiler ABI info - done</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compile features</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Detecting CXX compile features - done</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">CMake Error at CMakeLists.txt:14 (PROJECT):<br>  No CMAKE_CUDA_COMPILER could be found.</span></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Though I am pretty sure it's there</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"> Directory of c:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin<br><br>08/15/2018  06:47 PM    <DIR>          .<br>08/15/2018  06:47 PM    <DIR>          ..<br>09/02/2017  08:45 AM           163,840 bin2c.exe<br>08/15/2018  06:46 PM    <DIR>          crt<br>07/10/2018  04:50 PM        60,549,120 cublas64_90.dll<br>09/02/2017  08:45 AM           347,136 cuda-memcheck.exe<br>09/02/2017  08:45 AM         3,930,112 cudafe++.exe<br>09/02/2017  08:45 AM         4,226,048 cudafe.exe<br>09/02/2017  08:46 AM           299,520 cudart32_90.dll<br>09/02/2017  08:46 AM           373,760 cudart64_90.dll<br>08/15/2018  10:07 AM       288,159,744 cudnn64_7.dll<br>09/02/2017  08:46 AM       131,197,952 cufft64_90.dll<br>09/02/2017  08:46 AM           199,680 cufftw64_90.dll<br>09/02/2017  08:46 AM         3,575,808 cuinj32_90.dll<br>09/02/2017  08:46 AM         4,495,360 cuinj64_90.dll<br>09/02/2017  08:45 AM         1,411,072 cuobjdump.exe<br>09/02/2017  08:46 AM        48,057,344 curand64_90.dll<br>09/02/2017  08:46 AM        75,222,016 cusolver64_90.dll<br>09/02/2017  08:46 AM        54,782,464 cusparse64_90.dll<br>09/02/2017  08:45 AM           246,784 fatbinary.exe<br>09/02/2017  08:46 AM         1,274,880 gpu-library-advisor.exe<br>09/02/2017  08:46 AM           205,824 nppc64_90.dll<br>09/02/2017  08:46 AM         9,744,384 nppial64_90.dll<br>09/02/2017  08:46 AM         3,953,664 nppicc64_90.dll<br>09/02/2017  08:46 AM         1,035,264 nppicom64_90.dll<br>09/02/2017  08:46 AM         7,291,392 nppidei64_90.dll<br>09/02/2017  08:46 AM        55,641,088 nppif64_90.dll<br>09/02/2017  08:46 AM        26,491,904 nppig64_90.dll<br>09/02/2017  08:46 AM         4,767,232 nppim64_90.dll<br>09/02/2017  08:46 AM        14,943,232 nppist64_90.dll<br>09/02/2017  08:46 AM           179,200 nppisu64_90.dll<br>09/02/2017  08:46 AM         2,629,120 nppitc64_90.dll<br>09/02/2017  08:46 AM         9,024,512 npps64_90.dll<br>07/10/2018  04:49 PM           241,664 nvblas64_90.dll<br><b>09/02/2017  08:45 AM           325,632 nvcc.exe</b><br>09/02/2017  08:45 AM               328 nvcc.profile<br>09/02/2017  08:45 AM        16,261,120 nvdisasm.exe<br>09/02/2017  08:46 AM        15,747,584 nvgraph64_90.dll<br>09/02/2017  08:45 AM         7,202,304 nvlink.exe<br>09/02/2017  08:45 AM         4,005,376 nvprof.exe<br>09/02/2017  08:45 AM           181,248 nvprune.exe<br>09/02/2017  08:46 AM         3,182,592 nvrtc-builtins64_90.dll<br>09/02/2017  08:46 AM        17,302,016 nvrtc64_90.dll<br>09/02/2017  08:46 AM                53 nvvp.bat<br>05/16/2018  04:16 PM         7,082,496 ptxas.exe<br>              42 File(s)    885,951,869 bytes<br>               3 Dir(s)  675,381,178,368 bytes free<br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Dare I ask/look to see how CMake finds nvcc these days?</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Dare I ask the question: Is CMake compatible/does it work with Visual Studio and CUDA anymore?  Have we entered the days where CMake is always x^N versions behind VS and CUDA?</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Is there a test case in CMake I can run to check to see if it works with my VS Version (2017 15.1, 15.2, 15.3, 15.4, 15.5 (from MS web link above) +++ granted I am now running after update 15.8.1) and CUDA 8.0, 9.0, 9,1. <br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Is there a CMake compatibility chart some where I can plug in my versions on a x/y table to see if it sunk my battle ship? <br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p></div></div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div>