linuxstaticcudanvidianvtx

Missing static nVIDIA Toolkit Extension library for CUDA 10.0


For a Linux project, I am trying to profile a static library that makes use of CUDA NPP library calls. I would like to use the NVTX API to profile our routines to see which are the more efficient. However, even though the CUDA docs for NVTX speak of a nvToolsExt.a library, I can't find any such library in the 10.0 toolkit, although the shared libraries (ie libnvToolsExt.so) are there. Is it available anywhere, or has nVIDIA silently dropped support for profiling static libraries?


Solution

  • CUDA 10 for Linux doesn't contain a statically-linked version of the NVIDA Toolkit Extensions (NVTX) library, only a dynamically-linked one.

    the CUDA docs for NVTX speak of a nvToolsExt.a library

    As far as I, and RobertCrovella in his comment, can tell - the documentation doesn't refer to such statically-linked version of the library.