CUPTI User's Guide
CUPTI User's Guide
CUPTI User's Guide
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>CUPTI</strong> Callback APIData Structures◮ struct CUpti_CallbackDataData passed into a runtime or driver API callback function.◮ struct CUpti_ResourceDataData passed into a resource callback function.◮ struct CUpti_SynchronizeDataData passed into a synchronize callback function.Typedefs◮ typedef void(∗ CUpti_CallbackFunc )(void ∗userdata, CUpti_CallbackDomaindomain, CUpti_CallbackId cbid, const void ∗cbdata)Function type for a callback.◮ typedef uint32_t CUpti_CallbackIdAn ID for a driver API, runtime API, resource or synchronization callback.◮ typedef CUpti_CallbackDomain ∗ CUpti_DomainTablePointer to an array of callback domains.◮ typedef struct CUpti_Subscriber_st ∗ CUpti_SubscriberHandleA callback subscriber.Enumerations◮ enum CUpti_ApiCallbackSite {<strong>CUPTI</strong>_API_ENTER = 0,<strong>CUPTI</strong>_API_EXIT = 1 }Specifies the point in an API call that a callback is issued.CUDA Tools SDK <strong>CUPTI</strong> User’s <strong>Guide</strong> DA-05679-001_v01 | 62