Accelerating Content-Based Image Retrieval via GPU-Adaptive Index Structure
Figure 4
Two types of heap-array built for features of query images (ordered heap keeps the stored minimum elements ordered, but unordered heap does not need this requirement).