Skip to main content
`Ctrl`+`K`

# 7.128. CUpti_BufferCallbackCompleteInfo

struct CUpti_BufferCallbackCompleteInfo

  Public Members

  size_t structSize

    Size of the data structure.

    CUPTI should set the size of the structure. It will be used by CUPTI clients to check what fields are available in the structure. Used to preserve backward compatibility.

  uint64_t threadId

    The thread ID that triggered the buffer completion.

    This field is useful when buffers are completed per-thread. Check CUpti_ActivityAttribute CUPTI_ACTIVITY_ATTR_PER_THREAD_ACTIVITY_BUFFER to know if per-thread activity buffers are enabled. For example: User can log which thread completed the buffer.

  CUpti_ActivityRecordLayout **ppRecordLayouts

    Array of record layouts present in the buffer.

    This field is useful when user-defined activity records are used. Check CUpti_ActivityAttribute CUPTI_ACTIVITY_ATTR_USER_DEFINED_RECORDS to know if user-defined activity records are enabled. For example: User can parse the buffer based on the record layouts.

  size_t numRecordLayouts

    Number of different record layouts present in the buffer.

    This field is useful when user-defined activity records are used. Check CUpti_ActivityAttribute CUPTI_ACTIVITY_ATTR_USER_DEFINED_RECORDS to know if user-defined activity records are enabled. For example: User can parse the buffer based on the record layouts.