/CUDASandbox

Sandbox for experiments with NVIDIA's CUDA API.

Primary LanguageC++MIT LicenseMIT

CUDASandbox

Sandbox for experiments with NVIDIA's CUDA API.

Table of Contents

Dependencies

The following dependencies are mandatory:

  • C++ compiler (C++17)
  • CMake (>=3.12)
  • CUDA (>=11)

Building

Example snippet for building this project:

mkdir build && cd build
cmake \
  -DCMAKE_CUDA_COMPILER="/usr/local/cuda/bin/nvcc" \
  -DCMAKE_INSTALL_PREFIX="/apps/CUDASandbox/" \
  ..
cmake --build  . -- VERBOSE=1 -j8 install

CMake options for configuring this project:

CMake Variable name Description Default
BUILD_TESTING Enable automated testing. OFF