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

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages