The NVIDIA® Tools Extension SDK (NVTX) is a C-based Application Programming Interface (API) for annotating events, code ranges, and resources in your applications.
When clang++ is used as host compiler after nvcc, it emits a warning when compiling with -Wmissing-braces, because nvcc emits parentheses around the initializer for a union instead of braces.
Warning observed with clang++-17 and nvcc 12.4 when nvtx3.hpp is used inside CCCL.
When clang++ is used as host compiler after nvcc, it emits a warning when compiling with
-Wmissing-braces
, because nvcc emits parentheses around the initializer for a union instead of braces.Warning observed with clang++-17 and nvcc 12.4 when
nvtx3.hpp
is used inside CCCL.