Sanitizer_GraphExecData Struct Reference
[Sanitizer Callback API]

Data passed into a graphexec creation callback function. More...


Data Fields

uint32_t containsDeviceGraphLaunches
CUcontext deviceGraphLaunchesContext
CUgraph graph
CUgraphExec graphExec
uint32_t isDeviceLaunch


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_GRAPHEXEC_CREATING. 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

Boolean value indicating if the graphexec may launch device graphs. Only valid in the SANITIZER_CBID_GRAPHS_GRAPHEXEC_CREATED callback with driver version of 535 or newer.

Context where the graphexec can launch device graphs. NULL if the graphExec doesn't launch device graphs. Only valid in the SANITIZER_CBID_GRAPHS_GRAPHEXEC_CREATED callback with driver version of 535 or newer.

CUDA graph being instantiated.

Instance of the CUDA graph. Can be NULL for device graph launches in the SANITIZER_CBID_GRAPHS_GRAPHEXEC_CREATING callback.

Boolean value indicating if the graphexec is for a device graph launch


Generated on Wed Jun 5 20:54:15 2024 for SanitizerApi by  doxygen 1.5.8