Download User's Guide

Transcript
Modules
Returns
‣
CUPTI_SUCCESS
‣
CUPTI_ERROR_NOT_INITIALIZED
‣
CUPTI_ERROR_INVALID_PARAMETER
‣
if valueSize or value is NULL, or if attr is not an activity attribute
CUPTI_ERROR_PARAMETER_SIZE_NOT_SUFFICIENT
Indicates that the value buffer is too small to hold the attribute value.
Description
Read an activity API attribute and return it in *value.
CUptiResult cuptiActivityGetNextRecord (uint8_t
*buffer, size_t validBufferSizeBytes, CUpti_Activity
**record)
Iterate over the activity records in a buffer.
Parameters
buffer
The buffer containing activity records
validBufferSizeBytes
The number of valid bytes in the buffer.
record
Inputs the previous record returned by cuptiActivityGetNextRecord
and returns the next activity record from the buffer. If input value is
NULL, returns the first activity record in the buffer. Records of kind
CUPTI_ACTIVITY_KIND_CONCURRENT_KERNEL may contain invalid (0)
timestamps, indicating that no timing information could be collected for lack of
device memory.
Returns
‣
CUPTI_SUCCESS
‣
CUPTI_ERROR_NOT_INITIALIZED
‣
CUPTI_ERROR_MAX_LIMIT_REACHED
‣
if no more records in the buffer
CUPTI_ERROR_INVALID_PARAMETER
if buffer is NULL.
www.nvidia.com
CUPTI
DA-05679-001 _v5.5 | 46