Sie befinden sich im 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.

zuletzt geändert am 28.04.2023

Wie hat Ihnen dieser Inhalt geholfen?

Creative Commons Lizenzvertrag
Dieses Werk ist lizenziert unter einer Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz