11.07.2015 Views

CUPTI User's Guide

CUPTI User's Guide

CUPTI User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Enumerator:<strong>CUPTI</strong>_EVENT_COLLECTION_MODE_CONTINUOUS Events are collectedfor the entire duration between the cuptiEventGroupEnable andcuptiEventGroupDisable calls. This is the default mode.<strong>CUPTI</strong>_EVENT_COLLECTION_MODE_KERNEL Events are collected only forthe durations of kernel executions that occur between thecuptiEventGroupEnable and cuptiEventGroupDisable calls. Event collectionbegins when a kernel execution begins, and stops when kernel executioncompletes. If multiple kernel executions occur between thecuptiEventGroupEnable and cuptiEventGroupDisable calls then the event valuesmust be read after each kernel launch if those events need to be associated withthe specific kernel launch.enum CUpti_EventDomainAttributeEvent domain attributes. Except where noted, all the attributes can be read using eithercuptiDeviceGetEventDomainAttribute or cuptiEventDomainGetAttribute.Enumerator:<strong>CUPTI</strong>_EVENT_DOMAIN_ATTR_NAMEterminated const c-string.Event domain name. Value is a null<strong>CUPTI</strong>_EVENT_DOMAIN_ATTR_INSTANCE_COUNT Number of instancesof the domain for which event counts will be collected. The domain may haveadditional instances that cannot be profiled (see<strong>CUPTI</strong>_EVENT_DOMAIN_ATTR_TOTAL_INSTANCE_COUNT). Can beread only with cuptiDeviceGetEventDomainAttribute. Value is a uint32_t.<strong>CUPTI</strong>_EVENT_DOMAIN_ATTR_TOTAL_INSTANCE_COUNT Totalnumber of instances of the domain, including instances that cannot be profiled.Use <strong>CUPTI</strong>_EVENT_DOMAIN_ATTR_INSTANCE_COUNT to get thenumber of instances that can be profiled. Can be read only withcuptiDeviceGetEventDomainAttribute. Value is a uint32_t.enum CUpti_EventGroupAttributeEvent group attributes. These attributes can be read using cuptiEventGroupGetAttribute.Attributes marked [rw] can also be written using cuptiEventGroupSetAttribute.Enumerator:<strong>CUPTI</strong>_EVENT_GROUP_ATTR_EVENT_DOMAIN_ID The domain to whichthe event group is bound. This attribute is set when the first event is added tothe group. Value is a CUpti_EventDomainID.CUDA Tools SDK <strong>CUPTI</strong> User’s <strong>Guide</strong> DA-05679-001_v01 | 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!