Challenges and Opportunities in the Co-design of Convolutions and RISC-V Vector Processors

Rani Gupta, S., Papadopoulou, N. and Pericàs, M. (2023) Challenges and Opportunities in the Co-design of Convolutions and RISC-V Vector Processors. In: SC-W 2023: Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis, Denver, CO, USA, 12-17 Nov 2023, pp. 1550-1556. ISBN 9798400707858 (doi: 10.1145/3624062.3624232)

[img] Text
320536.pdf - Published Version
Available under License Creative Commons Attribution.

587kB

Abstract

The RISC-V "V" extension introduces vector processing to the RISC-V architecture. Unlike most SIMD extensions, it supports long vectors which can result in significant improvement of multiple applications. In this paper, we present our ongoing research to implement and optimize a vectorized Winograd algorithm used in convolutional layers on RISC-V Vector(RISC-VV) processors. Our study identifies effective techniques for optimizing the kernels of Winograd on RISC-VV using intrinsic instructions, and showcases how certain instructions offer better performance. Our co-design findings suggest that the Winograd algorithm benefits from vector lengths up to 2048 bits and cache sizes up to 64MB. We use our experience with Winograd to highlight potential enhancements for the standard that would simplify code generation and aid low-level programming. Finally, we share our experience from experimenting with forks of gem5 for RISC-VV and stress the importance of a mature software ecosystem, to facilitate design space exploration and architectural optimization. Our study identifies effective techniques for optimizing the kernels of Winograd on RISC-VV using the available intrinsic instructions and showcases that certain instructions offer better performance to the vectorized algorithm. Furthermore, our co-design study reveals that the Winograd algorithm benefits from vector lengths up to 2048 bits and cache sizes up to 64MB.

Item Type:Conference Proceedings
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:Papadopoulou, Dr Nikela
Authors: Rani Gupta, S., Papadopoulou, N., and Pericàs, M.
College/School:College of Science and Engineering > School of Computing Science
ISBN:9798400707858
Copyright Holders:Copyright © 2023 The Authors
Publisher Policy:Reproduced under a Creative Commons licence

University Staff: Request a correction | Enlighten Editors: Update this record