Struct faiss::simd_result_handlers::DummyResultHandler

struct DummyResultHandler : public faiss::SIMDResultHandler

Dummy structure that just computes a chqecksum on results (to avoid the computation to be optimized away)

Public Functions

inline virtual void handle(size_t q, size_t b, simd16uint16 d0, simd16uint16 d1) final

called when 32 distances are computed and provided in two simd16uint16. (q, b) indicate which entry it is in the block.

inline virtual void set_block_origin(size_t, size_t) final

set the sub-matrix that is being computed

inline ~DummyResultHandler()

Public Members

size_t cs = 0
bool is_CMax = false
uint8_t sizeof_ids = 0
bool with_fields = false