-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f8e379
commit a974f26
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
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 | ||
`norm` example. | ||
|
||
```bash | ||
$ nvcc norm.cu -o norm | ||
``` | ||
|
||
These examples are also available online: | ||
https://github.com/NVIDIA/thrust/tree/main/examples | ||
https://github.com/NVIDIA/cccl/tree/main/thrust/examples | ||
|
||
For any serious experimentation, we recommend using CMake and [CCCL from GitHub](https://github.com/NVIDIA/cccl). | ||
We also provide consistent and convenient development environments as [devcontainers](../../.devcontainers/README.md). |