Skip to content

Add hint for some vm context function resolution errors. - #2460

Merged
ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:module-registration-error
Jul 10, 2020
Merged

ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:module-registration-error

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

If you just pass a VM bytecode module with no HAL module to iree_vm_context_create_with_modules, now the error message is:

Unable to resolve VM function 'hal.ex.shared_device'. Are all necessary modules registered?

(Encountered while setting up Java bindings)

If you just pass a VM bytecode module with no HAL module to `iree_vm_context_create_with_modules`, now the error message is:

```
Unable to resolve VM function 'hal.ex.shared_device'. Are all necessary modules registered?
```

@benvanik benvanik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe reword to be more directed: "ensure modules are registered with the context"

@ScottTodd
ScottTodd merged commit 17a68c7 into iree-org:main Jul 10, 2020
@ScottTodd
ScottTodd deleted the module-registration-error branch July 10, 2020 00:53
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