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.

flags Flags controlling the reading modeevent The event to readeventValueBbufferSizeBytes The size of eventValueBuffer in bytes, and returns thenumber of bytes written to eventValueBuffereventValueBuffer Returns the event value(s)Return values:<strong>CUPTI</strong>_SUCCESS<strong>CUPTI</strong>_ERROR_NOT_INITIALIZED<strong>CUPTI</strong>_ERROR_INVALID_EVENT_ID<strong>CUPTI</strong>_ERROR_HARDWARE<strong>CUPTI</strong>_ERROR_INVALID_OPERATION if eventGroup is disabled<strong>CUPTI</strong>_ERROR_INVALID_PARAMETER if eventGroup,eventValueBufferSizeBytes or eventValueBuffer is NULLCUptiResult cuptiEventGroupRemoveAllEvents(CUpti_EventGroup eventGroup)Remove all events from an event group. Events cannot be removed if the event group isenabled.Parameters:eventGroup The event groupReturn values:<strong>CUPTI</strong>_SUCCESS<strong>CUPTI</strong>_ERROR_NOT_INITIALIZED<strong>CUPTI</strong>_ERROR_INVALID_OPERATION if eventGroup is enabled<strong>CUPTI</strong>_ERROR_INVALID_PARAMETER if eventGroup is NULLCUptiResult cuptiEventGroupRemoveEvent (CUpti_EventGroupeventGroup, CUpti_EventID event)Remove event from the an event group. The event cannot be removed if the event groupis enabled.Parameters:eventGroup The event groupevent The event to remove from the groupCUDA Tools SDK <strong>CUPTI</strong> User’s <strong>Guide</strong> DA-05679-001_v01 | 95

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

Saved successfully!

Ooh no, something went wrong!