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.

CUpti_ActivityAPICUpti_ActivityDeviceCUpti_ActivityEventCUpti_ActivityKernelCUpti_ActivityMemcpyCUpti_ActivityMemsetCUpti_ActivityMetricEnumerator:<strong>CUPTI</strong>_ACTIVITY_KIND_INVALIDThe activity record is invalid.<strong>CUPTI</strong>_ACTIVITY_KIND_MEMCPY A hosthost, hostdevice, ordevicedevice memory copy. The corresponding activity record structure isCUpti_ActivityMemcpy.<strong>CUPTI</strong>_ACTIVITY_KIND_MEMSET A memory set executing on the GPU. Thecorresponding activity record structure is CUpti_ActivityMemset.<strong>CUPTI</strong>_ACTIVITY_KIND_KERNEL A kernel executing on the GPU. Thecorresponding activity record structure is CUpti_ActivityKernel.<strong>CUPTI</strong>_ACTIVITY_KIND_DRIVER A CUDA driver API function execution.The corresponding activity record structure is CUpti_ActivityAPI.<strong>CUPTI</strong>_ACTIVITY_KIND_RUNTIME A CUDA runtime API function execution.The corresponding activity record structure is CUpti_ActivityAPI.<strong>CUPTI</strong>_ACTIVITY_KIND_EVENT An event value. The corresponding activityrecord structure is CUpti_ActivityEvent.<strong>CUPTI</strong>_ACTIVITY_KIND_METRIC A metric value. The corresponding activityrecord structure is CUpti_ActivityMetric.<strong>CUPTI</strong>_ACTIVITY_KIND_DEVICE Information about a device. Thecorresponding activity record structure is CUpti_ActivityDevice.<strong>CUPTI</strong>_ACTIVITY_KIND_CONTEXT Information about a context. Thecorresponding activity record structure is CUpti_ActivityContext.enum CUpti_ActivityMemcpyKindEach kind represents the source and destination targets of a memory copy. Targets arehost, device, and array.Enumerator:<strong>CUPTI</strong>_ACTIVITY_MEMCPY_KIND_UNKNOWNnot known.<strong>CUPTI</strong>_ACTIVITY_MEMCPY_KIND_HTOD<strong>CUPTI</strong>_ACTIVITY_MEMCPY_KIND_DTOHThe memory copy kind isA host to device memory copy.A device to host memory copy.CUDA Tools SDK <strong>CUPTI</strong> User’s <strong>Guide</strong> DA-05679-001_v01 | 35

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

Saved successfully!

Ooh no, something went wrong!