Files
2026-11-04 20:44:00 +00:00
..
2026-11-04 20:44:00 +00:00

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

cudaMemcpy, cudaFree, cudaGetLastError, cudaDeviceSetLimit, cudaMalloc, cudaGetDeviceProperties

Dependencies needed to build/run

CDP

Prerequisites

Download and install the CUDA Toolkit for your corresponding platform. Make sure the dependencies mentioned in Dependencies section above are installed.

References (for more details)