On Wed, Aug 15, 2018 at 11:58 AM, Robert Maynard <robert.mayn...@kitware.com
> wrote:

> The MSVC / CUDA support recently has been very challenging to keep track
> of. In general CUDA will only support a single patch release of MSVC, and
> given how MSVC 2017 doesn't easily allow rollbacks and has a pretty
> aggressive update policy ( compared to older MSVC versions ) causes lots of
> pain. This in general has been a community wide MSVC+CUDA issue.
>
> CUDA 8 has zero support for VS2017 ( https://docs.nvidia.com/
> cuda/archive/8.0/cuda-installation-guide-microsoft-windows/index.html )
> CUDA 9.0 and 9.1 only supports VS 2017 15.0 (https://docs.nvidia.com/cuda/
> archive/9.0/cuda-installation-guide-microsoft-windows/index.html,
> https://docs.nvidia.com/cuda/archive/9.1/cuda-installation-
> guide-microsoft-windows/index.html)
> CUDA 9.2 only supports VS 2017 15.0 and 15.6
>
> When using MSVC 2017 and CUDA you will need to specify an explicit host
> side compiler with -T version=15.## including the minor version (
> https://cmake.org/cmake/help/v3.12/release/3.12.html#id3 ).
>


sigh... of course (though be careful with the term does not and cannot and
zero support - I am a thinkin I could get CMake to support CUDA 8 in VS2017
- if I realy wanted to - I mean it's not realy VS/MSVC doing the compiling
is it?-rhetorical).  This is making the case for what I had to do in the
2.8 days (well also again when NVIDIA could not decide on where to put
their.... stuff in the file system and CMake was always one version or so
behind) and roll my own CMake cuda support... yes this happened... and it
could again.  Time to look back into my old svn tree.  sweet... kickin it
with svn again the good old days.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to