11.07.2015 Views

CUPTI User's Guide

CUPTI User's Guide

CUPTI User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>CUPTI</strong>_DEVICE_ATTR_MAX_EVENT_DOMAIN_IDdomain IDs for a device. Value is a uint32_t.<strong>CUPTI</strong>_DEVICE_ATTR_GLOBAL_MEMORY_BANDWIDTHmemory bandwidth in Kbytes/sec. Value is a uint64_t.<strong>CUPTI</strong>_DEVICE_ATTR_INSTRUCTION_PER_CYCLEinstructions per cycle (for Fermi). Value is a uint32_t.Number of eventGet globalGet theoretical<strong>CUPTI</strong>_DEVICE_ATTR_INSTRUCTION_THROUGHPUT_SINGLE_PRECISIONGet theoretical number of single precision instructions that can be executed persecond. Value is a uint64_t.enum CUpti_EventAttributeEvent attributes. These attributes can be read using cuptiEventGetAttribute.Enumerator:<strong>CUPTI</strong>_EVENT_ATTR_NAMEc-string.<strong>CUPTI</strong>_EVENT_ATTR_SHORT_DESCRIPTIONValue is a null terminated const c-string.<strong>CUPTI</strong>_EVENT_ATTR_LONG_DESCRIPTIONValue is a null terminated const c-string.<strong>CUPTI</strong>_EVENT_ATTR_CATEGORYCUpti_EventCategory.enum CUpti_EventCategoryEvent name. Value is a null terminated constShort description of event.Long description of event.Category of event. Value isEach event is assigned to a category that represents the general type of the event. Aevent’s category is accessed using cuptiEventGetAttribute and the<strong>CUPTI</strong>_EVENT_ATTR_CATEGORY attribute.Enumerator:<strong>CUPTI</strong>_EVENT_CATEGORY_INSTRUCTION<strong>CUPTI</strong>_EVENT_CATEGORY_MEMORY<strong>CUPTI</strong>_EVENT_CATEGORY_CACHEAn instruction related event.A memory related event.A cache related event.<strong>CUPTI</strong>_EVENT_CATEGORY_PROFILE_TRIGGERenum CUpti_EventCollectionModeA profile-trigger event.The event collection mode determines the period over which the events within the enabledevent groups will be collected.CUDA Tools SDK <strong>CUPTI</strong> User’s <strong>Guide</strong> DA-05679-001_v01 | 82

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

Saved successfully!

Ooh no, something went wrong!