thrust/examples at main · NVIDIA/thrust

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Latest commit

README.md

Once Thrust has been installed, these example programs can be compiled directly with nvcc. For example, the following command will compile the norm example. $ nvcc norm.cu -o norm

These examples are also available online: https://github.com/NVIDIA/thrust/tree/main/examples