Skip to content

Commit

Permalink
Update Thrust examples ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Dec 2, 2024
1 parent 9f8e379 commit a974f26
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions thrust/examples/README.md
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).

0 comments on commit a974f26

Please sign in to comment.