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

Preprocessing pass to instantiate objects #21

Open
jakedves opened this issue Dec 30, 2024 · 0 comments
Open

Preprocessing pass to instantiate objects #21

jakedves opened this issue Dec 30, 2024 · 0 comments

Comments

@jakedves
Copy link
Collaborator

If the user doesn't wish to provide a host kernel they shouldn't have to. Scan through each kernel definition and collect information on what the user wishes to have. e.g.

scan the function annotated @tt.compute

it needs 2 generic circular buffers, 1 tailored circular buffer

scan the function annotated @tt.data_in

do the same, and @tt.data_out

check that these things work out and make sense

then add to list of dependencies.

do the same with other constructs that would be setup by host (DRAM, ...)

once global list of all dependencies is created, can generate host code (MLIR).
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

1 participant