Cupti: CUpti_SynchronizeData Struct Reference

# CUpti_SynchronizeData Struct Reference
[CUPTI Callback API]

Data passed into a synchronize callback function. More...

## Data Fields
CUcontext | context
CUstream | stream

## Detailed Description

Data passed into a synchronize callback function as the `cbdata` argument to CUpti_CallbackFunc. The `cbdata` will be this type for `domain` equal to CUPTI_CB_DOMAIN_SYNCHRONIZE. The callback data is valid only 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 that data.

## Field Documentation

CUcontext CUpti_SynchronizeData::context

The context of the stream being synchronized.

CUstream CUpti_SynchronizeData::stream

The stream being synchronized.