Function Description
As the base class of the index that uses the INT8 feature vectors in FeatureRetrieval, AscendIndexInt8 defines APIs for other INT8 indexes in FeatureRetrieval.
Multi-thread concurrent calling is not supported. Therefore, you need to add locks in multi-thread scenarios. Otherwise, the retrieval API may be abnormal. In addition, one device cannot be shared by different threads. Currently, FeatureRetrieval uses the OMP for performance acceleration. The OMP cannot be used together with other multi-thread mechanisms. If new threads are repeatedly created to use the OMP, the memory usage keeps increasing. Therefore, you are advised to use fixed threads to run retrieval tasks.
Parent topic: AscendIndexInt8