# 6.84. CUpti_ActivityOpenAccLaunch

struct CUpti_ActivityOpenAccLaunch

  The activity record for OpenACC launch.

  (CUPTI_ACTIVITY_KIND_OPENACC_LAUNCH).

  Public Members

  CUpti_ActivityKind kind

    The activity record kind, must be CUPTI_ACTIVITY_KIND_OPENACC_LAUNCH.

  CUpti_OpenAccEventKind eventKind

    CUPTI OpenACC event kind (.

    See also

    CUpti_OpenAccEventKind)

  CUpti_OpenAccConstructKind parentConstruct

    CUPTI OpenACC parent construct kind (.

    Note that for applications using PGI OpenACC runtime < 16.1, this will always be CUPTI_OPENACC_CONSTRUCT_KIND_UNKNOWN.

    See also

    CUpti_OpenAccConstructKind)

  uint32_t version

    Version number.

  uint32_t implicit

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

  uint32_t deviceType

    Device type.

  uint32_t deviceNumber

    Device number.

  uint32_t threadId

    ThreadId.

  uint64_t async

    Value of async() clause of the corresponding directive.

  uint64_t asyncMap

    Internal asynchronous queue number used.

  uint32_t lineNo

    The line number of the directive or program construct or the starting line number of the OpenACC construct corresponding to the event.

    A negative or zero value means the line number is not known.

  uint32_t endLineNo

    For an OpenACC construct, this contains the line number of the end of the construct.

    A negative or zero value means the line number is not known.

  uint32_t funcLineNo

    The line number of the first line of the function named in func_name.

    A negative or zero value means the line number is not known.

  uint32_t funcEndLineNo

    The last line number of the function named in func_name.

    A negative or zero value means the line number is not known.

  uint64_t start

    CUPTI start timestamp.

  uint64_t end

    CUPTI end timestamp.

  uint32_t cuDeviceId

    CUDA device id Valid only if deviceType is acc_device_nvidia.

  uint32_t cuContextId

    CUDA context id Valid only if deviceType is acc_device_nvidia.

  uint32_t cuStreamId

    CUDA stream id Valid only if deviceType is acc_device_nvidia.

  uint32_t cuProcessId

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

  uint32_t cuThreadId

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

  uint32_t externalId

    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 preceding external correlation record of type CUPTI_EXTERNAL_CORRELATION_KIND_OPENACC.

  const char *srcFile

    A pointer to null-terminated string containing the name of or path to the source file, if known, or a null pointer if not.

  const char *funcName

    A pointer to a null-terminated string containing the name of the function in which the event occurred.

  uint64_t numGangs

    The number of gangs created for this kernel launch.

  uint64_t numWorkers

    The number of workers created for this kernel launch.

  uint64_t vectorLength

    The number of vector lanes created for this kernel launch.

  const char *kernelName

    A pointer to null-terminated string containing the name of the kernel being launched, if known, or a null pointer if not.