Sanitizer_GraphNodeLaunchData Struct Reference
[Sanitizer Callback API]

Data passed into a graph node launch callback function. More...


Data Fields

union {
   Sanitizer_LaunchData   launchData
   Sanitizer_ResourceMemoryData   memAllocData
   Sanitizer_MemcpyData   memcpyData
   uint64_t   memFreeAddress
   Sanitizer_MemsetData   memsetData
}; 
CUgraphExec graphExec
uint32_t isGraphUpload
uint32_t launchId
CUgraphNode node
CUgraphNodeType nodeType


Detailed Description

Data passed into a graphs callback function as the cbdata argument to Sanitizer_CallbackFunc. The cbdata will be this type for domain equal to SANITIZER_CB_DOMAIN_GRAPHS and cbid equal to SANITIZER_CBID_GRAPHS_LAUNCH_NODE_BEGIN or SANITIZER_CBID_GRAPHS_LAUNCH_NODE_END. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.

Field Documentation

union { ... }

Data for this node launch.

Instance of the CUDA graph being launched.

Boolean value indicating if the node launch callback is part of a graph upload.

This is only valid if nodeType is CU_GRAPH_NODE_TYPE_KERNEL.

Launch ID for this CUDA graph instance

This is only valid if nodeType is CU_GRAPH_NODE_TYPE_MEM_ALLOC.

This is only valid if nodeType is CU_GRAPH_NODE_TYPE_MEMCPY.

The freed device pointer This is only valid if nodeType is CU_GRAPH_NODE_TYPE_MEM_FREE.

This is only valid if nodeType is CU_GRAPH_NODE_TYPE_MEMSET.

CUDA graphs node being launched.

CUDA graphs node type.


Generated on Mon Apr 15 23:05:33 2024 for SanitizerApi by  doxygen 1.5.8