CUDA sample using CMake 3.9

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

CUDA sample using CMake 3.9

CMake mailing list

Hi!

 

Can anyone point to a minimalistic sample of how a CUDA application is built using the new CMake 3.9 support for CUDA compilation? I am mostly interested in promoting similar syntax of building SYCL applications that share a very similar compilation model, as far as ComputeCpp is concerned.

 

Cheers,

Máté

 


--

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:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CUDA sample using CMake 3.9

Robert Maynard
Hi,
Here is a collection of samples using the CUDA 3.9 support, that are
targeted around specific features.
https://gitlab.kitware.com/robertmaynard/cmake_cuda_tests/tree/master

You can also look at the CUDA and CUDAOnly tests inside CMake.
https://gitlab.kitware.com/cmake/cmake/tree/master/Tests/Cuda and
https://gitlab.kitware.com/cmake/cmake/tree/master/Tests/CudaOnly

On Wed, Jun 7, 2017 at 10:17 AM, Nagy-Egri Máté Ferenc via CMake
<[hidden email]> wrote:

> Hi!
>
>
>
> Can anyone point to a minimalistic sample of how a CUDA application is built
> using the new CMake 3.9 support for CUDA compilation? I am mostly interested
> in promoting similar syntax of building SYCL applications that share a very
> similar compilation model, as far as ComputeCpp is concerned.
>
>
>
> Cheers,
>
> Máté
>
>
>
>
> --
>
> 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:
> http://public.kitware.com/mailman/listinfo/cmake
--

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:
http://public.kitware.com/mailman/listinfo/cmake
Loading...