CUpti_ActivityOpenAcc Struct Reference
[CUPTI Activity API]

The base activity record for OpenAcc records. More...


Data Fields

uint64_t async
uint64_t asyncMap
uint32_t cuContextId
uint32_t cuDeviceId
uint32_t cuProcessId
uint32_t cuStreamId
uint32_t cuThreadId
uint32_t deviceNumber
uint32_t deviceType
uint64_t end
uint32_t endLineNo
CUpti_OpenAccEventKind eventKind
uint32_t externalId
uint32_t funcEndLineNo
uint32_t funcLineNo
uint32_t implicit
CUpti_ActivityKind kind
uint32_t lineNo
CUpti_OpenAccConstructKind parentConstruct
uint64_t start
uint32_t threadId
uint32_t version


Detailed Description

The OpenACC activity API part uses a CUpti_ActivityOpenAcc as a generic representation for any OpenACC activity. The 'kind' field is used to determine the specific activity kind, and from that the CUpti_ActivityOpenAcc object can be cast to the specific OpenACC activity record type appropriate for that kind.

Note that all OpenACC activity record types are padded and aligned to ensure that each member of the record is naturally aligned.

See also:
CUpti_ActivityKind

Field Documentation

Value of async() clause of the corresponding directive

Internal asynchronous queue number used

CUDA context id Valid only if deviceType is acc_device_nvidia.

CUDA device id Valid only if deviceType is acc_device_nvidia.

The ID of the process where the OpenACC activity is executing.

CUDA stream id Valid only if deviceType is acc_device_nvidia.

The ID of the thread where the OpenACC activity is executing.

Device number

Device type

CUPTI end timestamp

For an OpenACC construct, this contains the line number of the end of the construct. A zero value means the line number is not known.

CUPTI OpenACC event kind (

See also:
CUpti_OpenAccEventKind)

The OpenACC correlation ID. Valid only if deviceType is acc_device_nvidia. If not 0, it uniquely identifies this record. It is identical to the externalId in the preceeding external correlation record of type CUPTI_EXTERNAL_CORRELATION_KIND_OPENACC.

The last line number of the function named in funcName. A zero value means the line number is not known.

The line number of the first line of the function named in funcName. A zero value means the line number is not known.

1 for any implicit event, such as an implicit wait at a synchronous data construct 0 otherwise

The kind of this activity.

The line number of the directive or program construct or the starting line number of the OpenACC construct corresponding to the event. A zero value means the line number is not known.

CUPTI OpenACC parent construct kind (

See also:
CUpti_OpenAccConstructKind)
Note that for applications using PGI OpenACC runtime < 16.1, this will always be CUPTI_OPENACC_CONSTRUCT_KIND_UNKNOWN.

CUPTI start timestamp

ThreadId

Version number


Generated on Fri Feb 3 03:33:50 2023 for Cupti by  doxygen 1.5.8