- 1 About
- 2 Project Scope
- 3 Components and Repos
- 4 Stakeholders and Partners
- 5 Measure of Success
- 6 Timeline
- 7 RISE Requirement
- 8 Dependencies
- 9 Status
- 10 Updates
- 10.1 Feb 29, 2024
- 10.2 Nov 15, 2023
- 10.3 Oct 19, 2023
- 10.4 Jul 18, 2023
- 10.5 Aug 30, 2023
About
Valgrind is a widely-used instrumentation framework that is utilized for the development of dynamic analysis tools, including memcheck, which is particularly helpful in identifying memory management problems.
Project Scope
A framework for vector support
Several (tens of) RVV instructions support in Valgrind, it can run the following test cases and detect the memory issues (memcheck)
Components and Repos
riscv port of valgrind (not upstreamed to yet): https://github.com/petrpavlu/valgrind-riscv64.git
Stakeholders and Partners
RISE - Intel, T-Head
External
Petr Pavlu (https://github.com/petrpavlu) - maintainer of riscv port
valgrind community
Measure of Success
Code committed to riscv port
Timeline
Solution discussion - 8/31/2023
Prototype - 9/30/2023
Upstream - 12/31/2023
RISE Requirement
Not so far.
Dependencies
None.
Status
Development | ONGOING | |
|---|---|---|
Development Timeline | 2H 2023 |
|
Upstreaming | ONGOING |
|
Upstream Version | N/A |
|
Contacts | @Fei Wu (Intel) |
|
Dependencies |
|
|
Updates
Feb 29, 2024
Petr came up with another idea, each way has different pros and cons. https://sourceforge.net/p/valgrind/mailman/message/58743032/
My prototype has already supported a wide range of rvv instructions, it's able to run e.g., coremark with auto vectorization.
Nov 15, 2023
Petr had a prototype for ARM SVE, we are discussing how to have a unified solution for both sve and rvv. https://sourceforge.net/p/valgrind/mailman/valgrind-developers/?viewmonth=202311&viewday=13
Oct 19, 2023
Petr Pavlu acked to the patch and will take a look at https://sourceforge.net/p/valgrind/mailman/message/46305757/
Jul 18, 2023
The design is considered the right direction in general. https://sourceforge.net/p/valgrind/mailman/message/37872645/
Aug 30, 2023
Intel setup a public repository for this project, a vector-IR based framework and dozens of RVV instructions have been enabled