mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-11-17 17:38:18 +08:00
40 lines
1.2 KiB
Markdown
40 lines
1.2 KiB
Markdown
# cdpQuadtree - Quad Tree (CUDA Dynamic Parallelism)
|
|
|
|
## Description
|
|
|
|
This sample demonstrates Quad Trees implemented using CUDA Dynamic Parallelism. This sample requires devices with compute capability 3.5 or higher.
|
|
|
|
## Key Concepts
|
|
|
|
Cooperative Groups, CUDA Dynamic Parallelism
|
|
|
|
## Supported SM Architectures
|
|
|
|
SM 8.7 builds are disabled with the SBSA CUDA Toolkit. Linking its SM 8.6
|
|
device runtime into SM 8.7 code changes the reported PTX architecture,
|
|
which prevents Thrust from selecting the matching compiled policy.
|
|
DriveOS toolkits retain native SM 8.7 support.
|
|
|
|
## Supported OSes
|
|
|
|
Linux, Windows
|
|
|
|
## Supported CPU Architecture
|
|
|
|
x86_64, armv7l
|
|
|
|
## CUDA APIs involved
|
|
|
|
### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html)
|
|
cudaMemcpy, cudaFree, cudaGetLastError, cudaDeviceSetLimit, cudaMalloc, cudaGetDeviceProperties
|
|
|
|
## Dependencies needed to build/run
|
|
[CDP](../../../README.md#cuda-dynamic-parallellism)
|
|
|
|
## Prerequisites
|
|
|
|
Download and install the [CUDA Toolkit](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
|
|
Make sure the dependencies mentioned in [Dependencies]() section above are installed.
|
|
|
|
## References (for more details)
|