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

[AOT] Refactor AOTExecutorCodegenModule using new AOT passes #12549

Closed
wants to merge 2 commits into from

Conversation

mbaret
Copy link
Contributor

@mbaret mbaret commented Aug 22, 2022

Tracking issue: #12548

This commit refactors the AOTExecutorCodegenModule to make use of the newly introduced AOT passes AOTLowerMain, CreateFunctionMetadata and CreateExecutor metadata. Some modifications are additionally made to the 'Codegen' interface to make important code generation options explicit.

@mbaret mbaret force-pushed the aot-refactor branch 2 times, most recently from cb31974 to 9d68820 Compare August 24, 2022 14:34
@areusch areusch added needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it and removed needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it labels Oct 19, 2022
@mbaret mbaret force-pushed the aot-refactor branch 2 times, most recently from fd4aeb3 to e6d45bb Compare November 1, 2022 13:50
@mbaret mbaret force-pushed the aot-refactor branch 3 times, most recently from d47bb10 to 3405e4f Compare November 4, 2022 12:40
Device contexts created handles with no corresponding buffer which
would confuse CreateFunctionMetadata causing a segfault. The
logic has been changed to check that a buffer exists and a test
updated to include this case.
This commit refactors the AOTExecutorCodegenModule to make use
of the newly introduced AOT passes AOTLowerMain,
CreateFunctionMetadata and CreateExecutor metadata. Some
modifications are additionally made to the 'Codegen' interface
to make important code generation options explicit.
@mbaret mbaret changed the title [DRAFT][AOT] Refactor of AOTCodegenExecutor [AOT] Refactor AOTExecutorCodegenModule using new AOT passes Nov 15, 2022
@tvm-bot
Copy link
Collaborator

tvm-bot commented Nov 15, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@tqchen tqchen closed this Dec 10, 2024
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.

4 participants