跳转至

msptiActivityPopExternalCorrelationId

Supported Products

Note: For details about Ascend product models, see Ascend Product Models.

Product Type Supported
Ascend 950 products
Atlas A3 training products/Atlas A3 inference products
Atlas A2 training products/Atlas A2 inference products
Atlas 200I/500 A2 inference products
Atlas inference products ×
Atlas training series products ×

Description

Pops the external correlation ID for the calling thread.

Function Prototype

msptiResult msptiActivityPopExternalCorrelationId(msptiExternalCorrelationKind kind, uint64_t *lastId)

Parameter Description

Table 1 Command-line options

Type of the external API associated with the The

Parameter Name

Input/Output

Description

kind

input.

. Currently, the valid value is xxx_CUSTOM0.

lastId

Input

MSPTI pops the ID from the stack and writes it to lastId.

Return Values

MSPTI_SUCCESS indicates that the operation is successful. MSPTI_ERROR_INVALID_PARAMETER indicates that the operation fails because the external association type is invalid.