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   Sanitizer_GraphNodeLaunchData::memAllocData
   uint64_t   Sanitizer_GraphNodeLaunchData::memFreeAddress
}; 
CUgraphExec  graphExec
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

Instance of the CUDA graph being launched.

This is only valid if nodeType is CU_GRAPH_NODE_TYPE_KERNEL.


Generated on Sat Jul 31 19:25:47 2021 for SanitizerApi by  doxygen 1.5.8