Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 751 Bytes

File metadata and controls

33 lines (23 loc) · 751 Bytes

CUDA Tutorial Code Samples

Here we provide the codebase for samples that accompany the tutorial "CUDA and Applications to Task-based Programming".

Requirements:

  • Recent Clang/GCC/Microsoft Visual C++
  • CMake 3.20 (Ubuntu users please update!)
  • CUDA capable GPU with compute capability 5.2 or later
  • CUDA Toolkit 9.0 or later

Recommended:

  • GCC 10/Microsoft Visual C++ 2019 or later
  • Nsight Systems
  • Nsight Compute
  • CUDA capable GPU with compute capability 7.0 or later
  • CUDA Toolkit 11.0 or later

Build the code

To build the code, run the following command:

cmake -B build -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build build -j

To run the code, run the following command:

./build/00_MyGPU