You are located in service: RWTH High Performance Computing (Linux)

NVIDIA GPU Computing SDK

NVIDIA GPU Computing SDK

Kurzinformation

The NVIDIA GPU Computing SDK provides various examples in CUDA C (and in older versions also examples in OpenCL C). They can be used to verify the correct setup of the GPU, as starting point for your own application and to give you an idea how to implement certain algorithms on a GPU.

 

Please Note

As of CUDA version 11.6, you can find all CUDA samples only on the GitHub repository

Detailinformation

The CUDA samples come with the CUDA toolkits. Thus, they can be found in the cluster's toolkit installation path (denoted in the environment variable $CUDA_ROOT after loading CUDA).You need write permissions to build the examples. Therefore, copy the samples directory to your home or work directory (by following symbolic links):

module load CUDA/11.5.0
cp -r -L $CUDA_ROOT/samples $WORK/

Then go to samples and make all CUDA examples by denoting the installation path.

make CUDA_INSTALL_PATH=$CUDA_ROOT

If you would like to build only selected examples, you can find the source codes in the samples folder as well. In either case you will find the executables in bin -> linux -> release.

last changed on 04/28/2023

How did this content help you?

Creative Commons Lizenzvertrag
This work is licensed under a Creative Commons Attribution - Share Alike 3.0 Germany License