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

Add target configuration to compiler for specifying assumed/required features #50

Open
benvanik opened this issue Oct 13, 2019 · 2 comments
Assignees
Labels
compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) enhancement ➕ New feature or request

Comments

@benvanik
Copy link
Collaborator

Right now we are hardcoding which backends we target and assuming the same parameters for all of them. To allow benchmarking of changes that may require specific target capabilities (Vulkan/SPIR-V extensions, device limits, etc) we should be able to specify these as flags to the compiler and produce a variety of executables. At runtime we should then match against those to select the best suited for the given runtime configuration and allow overrides to make it easier to compare.

@benvanik benvanik added the enhancement ➕ New feature or request label Oct 13, 2019
@benvanik benvanik added this to the Benchmarking Infrastructure milestone Oct 13, 2019
@benvanik benvanik added this to Ideas in Runtime Development via automation Oct 13, 2019
@benvanik benvanik added this to Ideas in Compiler Development via automation Oct 13, 2019
@benvanik benvanik moved this from Ideas to To do in Compiler Development Oct 13, 2019
@benvanik benvanik moved this from Ideas to To do in Runtime Development Oct 13, 2019
@benvanik
Copy link
Collaborator Author

Some of this work is happening in the Vulkan dialect with the target_env attributes, however we'll want something more general that wraps that so that we have a unified way of specifying targets across all backends.

@antiagainst
Copy link
Contributor

+1. I think I'll be able to get to this when trying to come up with a real case for demo purpose. Assigning to myself for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) enhancement ➕ New feature or request
Projects
No open projects
Status: No status
Development

No branches or pull requests

3 participants