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

[META] Better X86 CPU targeting #6682

Closed
4 of 18 tasks
LebedevRI opened this issue Apr 6, 2022 · 0 comments
Closed
4 of 18 tasks

[META] Better X86 CPU targeting #6682

LebedevRI opened this issue Apr 6, 2022 · 0 comments

Comments

@LebedevRI
Copy link
Contributor

LebedevRI commented Apr 6, 2022

This is mostly a meta-issue to track sub-issues.

  • Add enum with the X86 cpu's that are supported by halide
  • Support specifying the particular CPU for which the LLVM should tune for (-mtune=/-mcpu= support for x86 AMD CPU's #6655)
  • Support auto-detecting the current host CPU
  • Run-time multi-version selection support for tune CPU
    • Support encoding the tune cpu for the purposes of multi-versioning
    • Host CPU auto-detection (ideally, don't duplicate the code to do that)
    • Exact match
    • Fallback in case of no exact match (???)
  • Support targeting the CPU (LLVM tune+halide features) by just the CPU name, similarly to -march=<...> (!!!)
  • Support precisely targeting the CPU (LLVM target-cpu + LLVM target-features + halide features) by just the CPU name, exactly what -march=<...> does (!!!!!!)
    • Support encoding the target cpu for the purposes of multi-versioning
    • Exact match
    • Fallback in case of no exact match (???)
@LebedevRI LebedevRI closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2022
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