Location: examples/<example-name>/
Category: <Basics / Geometry / Physics / CUDA / Full Application / ...>
AdePT version tested: <vX.Y or "development">
Status: <working / experimental / WIP>
Describe in a few sentences what this example demonstrates and why it exists.
List concrete AdePT features shown here, e.g.:
- Geometry loading
- Navigation on GPU (VecGeom)
- G4HepEm physics integration
- CUDA RDC usage
- Device memory pools
- Particle queues
- Scoring
- Multi-stage or streamed transport
- AdePT installed and discoverable via
CMAKE_PREFIX_PATH - CUDA toolkit (version required by AdePT)
- Dependencies typically transitively found (VecGeom, VecCore, G4HepEm, G4VG)
If the example requires additional input files (geometry, materials), list them.
General build:
cmake -S . -B build \
-DCMAKE_PREFIX_PATH="<AdePT installation prefix>"
cmake --build build -- -jTo build only this example target:
cmake --build build --target <example-target>/build/examples/<example-name>/<binary> [options]Describe:
- Input parameters
- Required files
- Typical use cases
Transported 10000 electrons
Kernel time: 12.3 ms
Energy deposit: 4.5 MeVIf the example writes output files, list them here.
For physics or geometry examples, explain:
- expected physical behavior
- reference results
- CI checks or comparison criteria
examples/<example-name>/
README.md
CMakeLists.txt
src/
main.cu
kernels.cu
helpers.hh
data/ # if needed
scripts/ # validation or plottingRecord:
- common build issues
- CUDA limitations
- required GPU compute capability
- known bugs or TODOs
Use the repository-wide SPDX identifiers:
SPDX-FileCopyrightText: 2025 CERN for the benefit of the AdePT project
SPDX-License-Identifier: Apache-2.0
Documentation in this file is licensed under CC-BY-4.0.