acltdtSetQueueRouteQueryInfo

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Sets the conditions for querying queue route relationships.

Prototype

1
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.

Call acltdtCreateQueueRouteQueryInfo to create data of the acltdtQueueRouteQueryInfo type in advance.

type

Input

Parameter type. For details about the type definition, see acltdtQueueRouteQueryInfoParamType.

len

Input

Number of bytes of the parameter value.

  • 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 a 32-bit OS or 8 for a 64-bit OS.

value

Input

Pointer to the parameter value.

Returns

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