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

Latest commit

 

History

History
19 lines (13 loc) · 555 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 555 Bytes

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.