跳到主要导航 跳到搜索 跳到主要内容

RV-CVP: A Flexible Variable Precision RISC-V ISA Extension for Convolutional Neural Network

  • Jingyi Zhu
  • , Di Zhao*
  • , Weifeng Zhang*
  • , Zhijie Jia
  • , Boran Liu
  • , Guokai Chen
  • *此作品的通讯作者
  • CAS - Institute of Computing Technology
  • Peking University
  • University of Chinese Academy of Sciences
  • Alibaba Group Holding Ltd.

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Convolutional neural network (CNN) performs well in several research fields and achieves high accuracy. With the development of CNNs, various hardware acceleration methods have been proposed. Instruction Set Architecture (ISA) based acceleration methods are gaining attention by providing flexibility and efficiency. Meanwhile, for mobile or embedded environments, there is a preference for variable precision quantization data to meet different accuracy or performance requirements. In this paper, we design a new RISC-V ISA extension, named RV-CVP, which supports variable precision specifically for CNNs. It has 3 computational instructions for CNNs and 3 memory access instructions that closely match the computation. We implement the RV-CVP extension on the open-source processor NutShell. Then a CNN programming library is developed, which allows flexible use of the RV-CVP instructions and building CNN models. Finally, we implement our design in simulation and FPGA platforms and evaluate the code density, performance, hardware resource usage, and power consumption. The results show that the RV-CVP extension improves instruction density by up to 1.678x and program performance by up to 42.06x at the single operator level. While on real CNN models, the RV-CVP extension improves performance by 3.8x–4.4x. The code is available at https://gitee.com/OpenBPU/RV-CVP.

源语言英语
主期刊名Network and Parallel Computing - 20th IFIP WG 10.3 International Conference, NPC 2024, Haikou, China, December 7–8, 2024, Proceedings
编辑Xu Chen, Geyong Min, Deke Guo, Xia Xie, Lingjun Pu
出版商Springer Science and Business Media Deutschland GmbH
461-473
页数13
ISBN(印刷版)9789819628292
DOI
出版状态已出版 - 2025
已对外发布
活动20th IFIP WG 10.3 International Conference on Network and Parallel Computing, NPC 2024 - Haikou, 中国
期限: 7 12月 20248 12月 2024

出版系列

姓名Lecture Notes in Computer Science
15527 LNCS
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议20th IFIP WG 10.3 International Conference on Network and Parallel Computing, NPC 2024
国家/地区中国
Haikou
时期7/12/248/12/24

指纹

探究 'RV-CVP: A Flexible Variable Precision RISC-V ISA Extension for Convolutional Neural Network' 的科研主题。它们共同构成独一无二的指纹。

引用此