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

compileToFile #3

Open
dpwiz opened this issue Jun 8, 2023 · 1 comment
Open

compileToFile #3

dpwiz opened this issue Jun 8, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dpwiz
Copy link

dpwiz commented Jun 8, 2023

The library tutorial has a chapters on AOT and cross-compilation.

It uses compile targets and compile_to_file function, which is currently missing.

This looks useful for producing canned code and shipping stuff without runtime dependency on libhalide.

@twesterhout
Copy link
Owner

Hello @dpwiz, I think this could be a valuable addition to the library, but AOT compilation wasn't the highest priority when writing the first version. The reasoning was that it's already possible to generate the kernels ahead of time using the C++ or Python interfaces of Halide and then invoke them from Haskell...
In any case, this could be a good first issue, and I would gladly accept a PR adding this functionality.

@twesterhout twesterhout added enhancement New feature or request good first issue Good for newcomers labels Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants