acltdtSetQueueRouteQueryInfo

Applicability

Product

Supported

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

Description

Sets the conditions for querying queue route relationships.

Prototype

aclError acltdtSetQueueRouteQueryInfo(acltdtQueueRouteQueryInfo *param, acltdtQueueRouteQueryInfoParamType type, size_t len, const void *value)

Parameters

Parameter

Input/Output

Description

param

Input/Output

Pointer to the conditions for querying queue route relationships.

acltdtCreateQueueRouteQueryInfo

type

Input

Parameter type.

len

Input

Parameter value length.

  • If the attribute is of type *_UINT64, set this parameter to 8.
  • If the attribute is of type *_UINT32, set this parameter to 4.
  • If the attribute is of type *_PTR, set this parameter to 4 for 32-bit OS or 8 for 64-bit OS.

value

Input

Pointer to the parameter value.

Returns

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