aclfvCreateQueryTable

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

Function

Creates data of the aclfvQueryTable type for the search input table. To destroy data of the aclfvQueryTable type, see aclfvDestroyQueryTable.

Atlas inference accelerator module does not support this API.

Prototype

1
aclfvQueryTable *aclfvCreateQueryTable(uint32_t queryCnt, uint32_t tableLen, uint8_t *tableData, uint32_t tableDataLen)

Parameters

Parameter

Input/Output

Description

queryCnt

Input

Number of search requests, fixed at 1 in 1:N mode or up to 1024 in the N:M scenario.

tableLen

Input

Table length, fixed at 32 KB. The system verifies the length internally.

tableData

Input

Pointer to the feature value table, which is stored contiguously based on the feature length.

tableDataLen

Input

Length of the memory pointed by the tableData pointer, used for verification.

Returns

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