arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.13326cs.LG
收藏

RISC-V RVV 在ANN算法中的效率

RISC-V RVV efficiency for ANN algorithms

YADRO(亚德罗公司);Moscow State University(莫斯科国立大学)

Konstantin Rumyantsev, Pavel Yakovlev, Andrey Gorshkov, Andrey P. Sokolov

AI总结:

本研究针对RISC-V的RVV向量扩展,优化常用ANN算法,通过瓶颈识别与参数化向量块模型,确定平均最优配置以实现最高理论性能。

摘要:

处理海量数据在当今世界至关重要。高性能计算的发展产生了对并行化的需求,尤其是在机器学习算法领域,如ANN(近似最近邻)。为了提高这些算法的速度,针对特定处理器架构进行优化非常重要。RISC-V(精简指令集计算机第五代)是现代处理器架构之一,其特点是具有称为RVV(RISC-V向量扩展)的向量指令集。在机器学习算法中,向量扩展被广泛用于提高海量数据的处理效率。本研究考察了将RVV应用于常用ANN算法的有效性。在识别主要瓶颈后,算法被适配到RISC-V并使用RVV进行优化。此外,我们开发了一个参数化向量块的理论模型,并确定了在平均情况下最佳的配置,该配置在固定其他CPU参数时,展示了所研究ANN算法的最高理论性能。

英文摘要:

Handling vast amounts of data is crucial in today's world. The growth of high-performance computing has created a need for parallelization, particularly in the area of machine learning algorithms such as ANN (Approximate Nearest Neighbors). To improve the speed of these algorithms, it is important to optimize them for specific processor architectures. RISC-V (Reduced Instruction Set Computer Five) is one of the modern processor architectures, which features a vector instruction set called RVV (RISC-V Vector Extension). In machine learning algorithms, vector extensions are widely utilized to improve the processing of voluminous data. This study examines the effectiveness of applying RVV to commonly used ANN algorithms. The algorithms were adapted for RISC-V and optimized using RVV after identifying the primary bottlenecks. Additionally, we developed a theoretical model of a parameterized vector block and identified the best on average configuration that demonstrates the highest theoretical performance of the studied ANN algorithms when the other CPU parameters are fixed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑