diff --git a/cub/docs/developer_overview.rst b/cub/docs/developer_overview.rst index 106c51cd4f4..dc97b3854e1 100644 --- a/cub/docs/developer_overview.rst +++ b/cub/docs/developer_overview.rst @@ -744,3 +744,16 @@ contains hidden visibility attribute. To satisfy (3), CUB symbols are placed inside an inline namespace containing the set of GPU architectures for which the TU is being compiled. + + +NVTX +************************************ + +The `NVIDIA Tools Extension SDK (NVTX) `_ is a cross-platform API +for annotating source code to provide contextual information to developer tools. +All device-scope algorithms in CUB are annotated with NVTX ranges, +allowing their start and stop to be visualized in profilers +like `NVIDIA Nsight Systems `_. +Only the public APIs available in the ```` headers are annotated, +excluding direct calls to the dispatch layer. +NVTX annotations can be disabled by defining ``NVTX_DISABLE`` during compilation.