计算机科学 > 分布式、并行与集群计算
[提交于 2023年1月17日]
标题:Custom 8-bit floating point value format for reducing shared memory bank conflict in approximate nearest neighbor search
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:The k-nearest neighbor search is used in various applications such as machine learning, computer vision, database search, and information retrieval. While the computational cost of the exact nearest neighbor search is enormous, an approximate nearest neighbor search (ANNS) has been attracting much attention. IVFPQ is one of the ANNS methods. Although we can leverage the high bandwidth and low latency of shared memory to compute the search phase of the IVFPQ on NVIDIA GPUs, the throughput can degrade due to shared memory bank conflict. To reduce the bank conflict and improve the search throughput, we propose a custom 8-bit floating point value format. This format doesn't have a sign bit and can be converted from/to FP32 with a few instructions. We use this format for IVFPQ on GPUs and achieved better performance without significant recall loss compared to FP32 and FP16.
提交历史
来自:Hiroyuki Ootomo[v1] 2023年1月17日 星期二 02:56:08 UTC