CUpti_StreamAttrData Struct Reference
[CUPTI Callback API]

Stream attribute data passed into a resource callback function for CUPTI_CBID_RESOURCE_STREAM_ATTRIBUTE_CHANGED callback. More...


Data Fields

CUstreamAttrID attr
CUstream stream
const CUstreamAttrValue * value


Detailed Description

Data passed into a resource callback function as the cbdata argument to CUpti_CallbackFunc. The cbdata will be this type for domain equal to CUPTI_CB_DOMAIN_RESOURCE. The stream attribute 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

The type of the CUDA stream attribute

The CUDA stream handle for the attribute

const CUstreamAttrValue* CUpti_StreamAttrData::value

The value of the CUDA stream attribute


Generated on Fri Sep 8 19:53:22 2023 for Cupti by  doxygen 1.5.8