SaP API doxygen

Building examples

The SaPLibrary uses CMake to build the example executables found under examples. You must have a recent version of CMake and Nvidia’s CUDA installed in order to build.

First, grab the source code from the Git repositories:

git clone

Next, create a build directory and cd into it:

mkdir SaPLibrary/build
cd SaPLibrary/build

Open CMake, select the source (examples) and build (build) directories, and configure the build. If all goes well, CMake should automatically find CUDA and configure the build. If no warnings are shown, go ahead and generate the build files.

Go to the build directory and run make. If successful, you should now have a few example executables. See the README file in the source directory for more information on how to run.