Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

pasuka/cmake-cuda-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CMake for CUDA samples

Purpose

As official CUDA samples only support Visual Studio for Windows OS, this is a in-house project which try to build these samples with CMake on Windows OS.

Usage

  1. Install Visual Studio(at least 2019), NV's CUDA samples(10.1+) and CMake tool(3.14+), i.e. anaconda, MSYS2.
  2. Modify the CMakeLists.txt to set correct root of CUDA samples and libraries.
  3. Run command
    1. mkdir build
    2. cd build
    3. cmake ..
    4. cmake --build .

TODO

Currently only limited cases were added.

About

Build CUDA sample with CMake under Windows OS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages