Just to clarify the CUDA and CMake situation.
CMake 3.8 added the initial first class support of CUDA to CMake (
instead of using FindCUDA ). This work only supports the makefile and
ninja generators, which means that the visual studio IDE generator is
not supported. This doesn't mean that the Vis
I tried using VS solutions and MSBuild but building was still serialized.
Ninja is just better for Windows.
On Jul 28, 2017 9:06 AM, "Robert Maynard"
wrote:
> Just to clarify the CUDA and CMake situation.
>
> CMake 3.8 added the initial first class support of CUDA to CMake (
> instead of using F
@Robert
So how do I go about using it in 3.9? And more importantly does it
work? Does it generate hybrid CPP/CU projects that can be compiled in
visual studio the way FindCUDA (did/does?).
Currently using FindCUDA, but I have had some CUDA 7.5 / 8.0 and VS
13/15 cats in a bag trouble. Fi
@Caleb
I am asking how do I get it to work in post 3.8 or 3.9. Does it work.
I know how it worked before CMake 3.2 and prior both on Linux and
windows... ie ... it did not without considerable manual futzing due to
NVIDIA's inability to put their goop in a standard location that they
would
> So how do I go about using it in 3.9? And more importantly does it work?
> Does it generate hybrid CPP/CU projects that can be compiled in visual studio
> the way FindCUDA (did/does?).
It works and will generate hybrid C++ and CUDA projects. A very simple
example of making a library and an e
Hello,
I am trying to change my linker to ld.gold so that I can build LLVM and
CLANG faster. I have changed my environment variable with:
export LD=ld.gold
and I have changed CMAKE_LINKER in ccmake to /usr/bin/ld.gold. However,
when I generate the files, my linker is detected as GNU ld. Running t
@Robert
>> It works and will generate hybrid C++ and CUDA projects. A very
simple example of making a library and an executable that uses both
languages can be seen at:
https://gitlab.kitware.com/cmake/cmake/blob/v3.9.0/Tests/Cuda/ConsumeCompileFeatures/CMakeLists.txt
Thanks for the example
@Robert
Adding CUDA to my PROJECT(4DRTProto CXX CUDA)
Yields:
CMake Error at
C:/projects/4DRTProto/4DRTProto_3rdParty/platform/tools/cmake-3.9.0-rc6-win64-x64/share/cmake-3.9/Modules/CMakeTestCUDACompiler.cmake:45
(message):
The CUDA compiler "C:/Program Files/NVIDIA GPU Computing
Tool
Saying I could get this to work, which it is not how, would one using
project:
Project( myproject CXX CUDA)
specify the version of CUDA to use if I have CUDA 7.5 and 8 installed
simultaneously. FindCUDA could do it. And say if version of cuda could
be specified why not c++ 0x or 11... Ya