acltdtGetQueueRouteParam

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

√

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 products

√

Function

Obtains information about the queue route configuration, such as the source queue ID and destination queue ID.

Prototype

1
aclError acltdtGetQueueRouteParam(const acltdtQueueRoute *route, acltdtQueueRouteParamType type, size_t len, size_t *paramRetSize, void *param)

Parameters

Parameter

Input/Output

Description

route

Input

Pointer to the queue route configuration.

Call acltdtCreateQueueRoute to create data of the acltdtQueueRoute type in advance.

type

Input

Route parameter type. For details about the type definition, see acltdtQueueRouteParamType.

len

Input

Number of bytes of the parameter value.

If the enumeration value of type ends with _UINT32 or _INT32, set this parameter to 4.

paramRetSize

Output

Pointer to the number of bytes of the actually returned parameter value.

param

Output

Pointer to the parameter value.

Returns

0 on success; otherwise, failure. For details, see aclError.