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

[examples] Add Gemmini-baremetal examples and more conv2d examples. #451

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shirohasuki
Copy link

  1. Add Gemmini-baremetal examples for spike and verilator evaluation.
  2. Add more gemmini conv2d operation examples (like conv-2d-nhwc-fhwc).

…evaluation.

2. Add more gemmini conv2d operation examples.
Copy link
Member

@zhanghb97 zhanghb97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Giving some quick feedback:

  • Missing empty line at the end of the files.
  • Please use our pre-commit tools:
$ cd buddy-mlir
$ pip install pre-commit
$ pre-commit install


GEMMINI_EXAMPLE_DIR := ${BUDDY_MLIR_DIR}/examples/GemminiDialect/

ELF_CC := riscv64-unknown-elf-gcc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have not seen the E2E example.
Is the remaining E2E C++ error ('_start_main_argv') related to using riscv64-unknown-elf-gcc (expecting riscv64-unknown-elf-g++) for end-to-end?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, E2E example still block points at compiling with riscv64-unknown-elf-g++.
I will try to fix it and follow up with a full version commit.

Copy link
Member

@linuxlonelyeagle linuxlonelyeagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few nits to note.Finally, thank you for your contribution.

@shirohasuki
Copy link
Author

Add pre-commit tools and fix some glitches.

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.

3 participants