File indexing completed on 2026-05-10 08:45:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #ifndef NVTX_EXT_TYPES_GUARD
0022 #error Never include this file directly -- it is automatically included by nvToolsExt[EXTENSION].h.
0023 #endif
0024
0025 #if defined(NVTX_AS_SYSTEM_HEADER)
0026 #if defined(__clang__)
0027 #pragma clang system_header
0028 #elif defined(__GNUC__) || defined(__NVCOMPILER)
0029 #pragma GCC system_header
0030 #elif defined(_MSC_VER)
0031 #pragma system_header
0032 #endif
0033 #endif
0034
0035
0036
0037
0038
0039
0040 #ifndef NVTXEXTTYPES_H
0041 #define NVTXEXTTYPES_H
0042
0043 typedef intptr_t (NVTX_API * NvtxExtGetExportFunction_t)(uint32_t exportFunctionId);
0044
0045 typedef struct nvtxExtModuleSegment_t
0046 {
0047 size_t segmentId;
0048 size_t slotCount;
0049 intptr_t* functionSlots;
0050 } nvtxExtModuleSegment_t;
0051
0052 typedef struct nvtxExtModuleInfo_t
0053 {
0054 uint16_t nvtxVer;
0055 uint16_t structSize;
0056 uint16_t moduleId;
0057 uint16_t compatId;
0058 size_t segmentsCount;
0059 nvtxExtModuleSegment_t* segments;
0060 NvtxExtGetExportFunction_t getExportFunction;
0061 const void* extInfo;
0062 } nvtxExtModuleInfo_t;
0063
0064 typedef int (NVTX_API * NvtxExtInitializeInjectionFunc_t)(nvtxExtModuleInfo_t* moduleInfo);
0065
0066 #endif