AscendIndexInt8FlatConfig

API Definition

AscendIndexInt8FlatConfig(uint32_t blockSize = BLOCK_SIZE)

Function

Constructor of AscendIndexInt8FlatConfig, which is used to generate AscendIndexInt8FlatConfig and configure blockSize on the device.

Input

uint32_t blockSize: block size on the device, which limits the amount of data calculated by the TIK operator at a time and the size of each storage vector after the base library sharding. The default value of BLOCK_SIZE is 262144 (16384 x 16).

Output

N/A

Return Value

N/A

Restrictions

The set of values that can be configured for blockSize is {16384, 32768, 65536, 131072, 262144}.