Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade instrument helpful for conducting experiments #2

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

spisladqo
Copy link

@spisladqo spisladqo commented Mar 19, 2025

runtests.py is an instrument that helps to run experiments with Vortex.

Ivan Khromov is the original author, and he added the first version in his pull request #1. At that time, the instrument was capable of:

  • Configuration of Vortex hardware (threads, warps and cores).
  • Configuration of OpenCL tests (creating header files with macroses and given values for them).
  • Building the tests, collecting results and visualizing them.

Ivan also added kernels from https://cnugteren.github.io/tutorial/pages/page1.html.

I've added the following to runtests.py:

  • Jupiter Notebook was replaced with Python script for the ease of use.
  • Regular expressions for collectable statistics.
  • Tests can be run under RTL simulation and on FPGA.
  • Number of how many times to run every test can be chosen.
  • Instrument now saves outputs of tests for later use. When the number of runs is greater than 1, the results are saved in one file.
  • Most of normaltests from (https://github.com/spbu-se/measurements). I've set time collection and running normaltests for programs on FPGA by default.

I've also added simple draw.py script that I used to get more details about tests time.

NEW_STACK_BASE_ADDR macros was added to VX_config.vh for future experiments. An instruction on how to use it was also added.

spisladqo and others added 27 commits October 21, 2024 14:31
Don't worry, I have a backup
@spisladqo spisladqo changed the title Add instruments helpful for conducting experiments Upgrade instrument helpful for conducting experiments Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants