aclfvCreateRepoRange

Applicable Products

Product

Supported

Ascend 950PR&950DT products

×

Atlas A3 products

×

Atlas A2 products

×

Atlas 200I/500 A2 inference products

×

Atlas inference products

√

Atlas training products

×

Description

Creates data of the aclfvRepoRange type as the parameter specifying the feature repository range. To destroy data of the aclfvRepoRange type, call aclfvDestroyRepoRange.

Atlas inference accelerator modules do not support this API.

Prototype

1
aclfvRepoRange *aclfvCreateRepoRange(uint32_t id0Min, uint32_t id0Max, uint32_t id1Min, uint32_t id1Max)

Parameters

Parameter

Input/Output

Description

id0Min

Input

Minimum value of id0, which must be less than or equal to id0Max in the range of [0, 1023].

id0Max

Input

Maximum value of id0, which must be in the range of [0, 1023].

id1Min

Input

Minimum value of id1, which must be less than or equal to id1Max in the range of [0, 1023].

id1Max

Input

Maximum value of id1, which must be in the range of [0, 1023].

Return Value

  • Success: a pointer to data of the aclfvRepoRange type
  • Failure: nullptr