Skip to content

Adding iree_vm_native_module to wrap up all the boilerplate for C modules. - #2866

Closed
benvanik wants to merge 1 commit into
mainfrom
benvanik-native-modules
Closed

benvanik wants to merge 1 commit into
mainfrom
benvanik-native-modules

Conversation

@benvanik

Copy link
Copy Markdown
Collaborator

native_module_test.h demonstrates usage (simple static functions, imported
functions, and statefullness).

Future changes will rebase module_abi_cc.h on top of this (so that all
modules share code), add a tool for generating .h/c marshaling code based
on vm.import files, and add some ABI register access helpers.

@google-cla google-cla Bot added the cla: yes label Aug 13, 2020
@benvanik
benvanik force-pushed the benvanik-status branch 7 times, most recently from 2ff6ee6 to 836e81e Compare August 14, 2020 01:26
@benvanik
benvanik force-pushed the benvanik-native-modules branch from 1e7b074 to 7b00722 Compare August 14, 2020 02:21
Base automatically changed from benvanik-status to google August 18, 2020 00:20
…ules.

native_module_test.h demonstrates usage (simple static functions, imported
functions, and statefullness).

Future changes will rebase module_abi_cc.h on top of this (so that all
modules share code), add a tool for generating .h/c marshaling code based
on vm.import files, and add some ABI register access helpers.
@benvanik
benvanik force-pushed the benvanik-native-modules branch from 7b00722 to e403150 Compare August 19, 2020 01:03
@benvanik
benvanik changed the base branch from google to main August 19, 2020 06:11
@marbre

marbre commented Aug 26, 2020

Copy link
Copy Markdown
Member

@benvanik May I asked when this is might be ready-to-merge, as #2842 partially depends on this?

@benvanik

Copy link
Copy Markdown
Collaborator Author

Landed as part of #3091.

@benvanik benvanik closed this Sep 10, 2020
@marbre

marbre commented Sep 10, 2020

Copy link
Copy Markdown
Member

Awesome, thanks!

@benvanik

Copy link
Copy Markdown
Collaborator Author

Sorry it took so long! It required a lot deeper changes than I originally thought >_<

@marbre

marbre commented Sep 10, 2020

Copy link
Copy Markdown
Member

No worries! We had (or rather we have) to do enough other EmitC related work, so this was not blocking :)

@benvanik
benvanik deleted the benvanik-native-modules branch December 30, 2020 18:09
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.

2 participants