VIA-Research / uPIMulator

MIT License
102 stars 14 forks source link

SpMV benchmark #3

Open cgiannoula opened 4 months ago

cgiannoula commented 4 months ago
  1. What is the data_prep_param that we need to use for SpMV?
  2. Can you explain in detail how can we run SpMV with different matrices and what is the format we can use for the matrices?
bongjoonhyun commented 4 months ago

Hello!

We didn't include BFS, SpMV, and NW benchmarks in our open-sourced version of uPIMulator because we think the official PrIM version of those benchmarks has minor bugs or utilized undisclosed functions within the UPMEM SDK. When writing our HPCA'24 paper, for SpMV, seqread is the undisclosed function within the UPMEM SDK, so we modify seqread to mram_read function. In addition, we changed the data type to int32. Then, you will be able to run SpMV benchmark using uPIMulator. As mentioned above, we applied those two changes from the original PrIM version of SpMV, so we use the format that the original PrIM's SpMV utilizes for matrices.

If you have any further questions, don't hesitate to reach out to us.

Thank you, Bongjoon Hyun