Struct faiss::simd_result_handlers::StoreResultHandler

struct StoreResultHandler

memorize results in a nq-by-nb matrix.

j0 is the current upper-left block of the matrix

Public Functions

inline StoreResultHandler(uint16_t *data, size_t ld)
inline void handle(size_t q, size_t b, simd16uint16 d0, simd16uint16 d1)
inline void set_block_origin(size_t i0, size_t j0)

Public Members

uint16_t *data
size_t ld
size_t i0 = 0
size_t j0 = 0