Assessing RISC-V Vector Extension for Machine Learning
dc.contributor.author | Hellström, Johan | |
dc.contributor.author | Ghamlouch, Marwan | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
dc.contributor.examiner | Peterson, Lena | |
dc.contributor.supervisor | Larsson-Edefors, Per | |
dc.date.accessioned | 2023-12-20T12:09:24Z | |
dc.date.available | 2023-12-20T12:09:24Z | |
dc.date.issued | 2023 | |
dc.date.submitted | 2023 | |
dc.description.abstract | This report presents a partial design and implementation of a soft RISC-V vector extension on a field-programmable gate array (FPGA) based on the most recent and ratified specification (v1.0), with the aim to investigate the suitability of RISC-V vector processor extensions for machine learning applications. The results were obtained by creating a matrix multiplication benchmarking program compiled in GCC and modifying configurations that altered the behavior of the designed prototype. The configurations that could be altered were vector length and whether or not forwarding from the execute stage was enabled. We also implemented our design in a synthesis tool (Vivado) in order to estimate resource usage, power consumption and timing. From our prototype we were able to find that we could, for our benchmarking program, improve the performance by up to 5.4 relative to a scalar RISC-V processor, but at the cost of a notable resource usage and power increase. In conclusion, we believe that vector extension is suitable for machine learning applications because of the achievable performance increase, however the design should be heavily optimized to reduce the resource utilization to capitalize on this. | |
dc.identifier.coursecode | DATX05 | |
dc.identifier.uri | http://hdl.handle.net/20.500.12380/307449 | |
dc.language.iso | eng | |
dc.setspec.uppsok | Technology | |
dc.subject | RISC-V | |
dc.subject | ISA | |
dc.subject | ISA extension | |
dc.subject | vector | |
dc.subject | processor | |
dc.subject | machine learning | |
dc.title | Assessing RISC-V Vector Extension for Machine Learning | |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.degree | Master's Thesis | en |
dc.type.uppsok | H | |
local.programme | Embedded electronic system design (MPEES), MSc |