8000 Problems when Adding New Benchmark · Issue #1 · VIA-Research/uPIMulator · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Problems when Adding New Benchmark #1

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

Open
Wu0103 opened this issue Mar 13, 2024 · 1 comment
Open

Problems when Adding New Benchmark #1

Wu0103 opened this issue Mar 13, 2024 · 1 comment

Comments

@Wu0103
Copy link
Wu0103 commented Mar 13, 2024

I am trying to add new benchmarks on uPIMulator but I've encountered some issues.

1.Do we still need to write host-side code for the new benchmarks?
2.How can we avoid generating DPU-side code with instructions that you haven't implemented? For example, what code should we avoid writing, or how should we modify DPU side code after unimplemented instructions show up?

Thank you!

@Wu0103 Wu0103 changed the title Add New Benchmark Problems when Adding New Benchmark Mar 13, 2024
@bongjoonhyun
Copy link
Collaborator
bongjoonhyun commented Mar 13, 2024

Hello,

  1. No, you don't need to write host-side code for simulation. However, you have to prepare input/output data to the device-side code.
  2. Sorry, we don't have an answer for this question since we used UPMEM's compiler as-is. That means, we didn't implement the compiler. But we found that the compiler only generates a handful of instructions that we can simulate with uPIMulator. As a general rule of thumb, if you don't use int64, uint64, float, or double data types, those unimplemented instructions won't be generated. If the simulator encounters unimplemented instructions, it will crash. We are currently working on extending uPIMulator so it can simulate the complete UPMEM ISA.

I hope this can answer your question, and if you have further questions, please don't hesitate to reach out to us.

Thank you,
Bongjoon

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

No branches or pull requests

2 participants
0