Sanitizer_GraphLaunchData Struct Reference
[Sanitizer Callback API]

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


Data Fields

CUcontext context
CUgraphExec graphExec
Sanitizer_StreamHandle hStream
uint32_t isGraphUpload
CUstream stream


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_BEGIN or SANITIZER_CBID_GRAPHS_LAUNCH_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

The context where the graph is launched.

Instance of the CUDA graph being launched.

Sanitizer_StreamHandle Sanitizer_GraphLaunchData::hStream

Unique handle for the stream.

Boolean value indicating if the launch callback is part of a graph upload. This field is only valid if the driver version is 510 or newer.

The stream where the graph is launched.


Generated on Mon Apr 15 19:27:57 2024 for SanitizerApi by  doxygen 1.5.8