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

Just-in-time (JIT) compilation #21

Open
jonysy opened this issue Mar 17, 2017 · 1 comment
Open

Just-in-time (JIT) compilation #21

jonysy opened this issue Mar 17, 2017 · 1 comment

Comments

@jonysy
Copy link
Owner

jonysy commented Mar 17, 2017

Add a graph along w/ a JIT compiler.

Design:
..

@jonysy jonysy changed the title JIT engine + API for custom kernels JIT engine Mar 17, 2017
@jonysy jonysy changed the title JIT engine Just-in-time (JIT) compilation Mar 17, 2017
@jonysy
Copy link
Owner Author

jonysy commented Mar 26, 2017

discussion:

With OpenCL 2 the compilation model changed some to be much more flexible. Now there is an LLVM backend that targets the new SPIR-V intermediate representation, so any language compiler that targets LLVM should be capable of being used to target OpenCL. Other than that the model is pretty much the same but gains a step, source compiles to LLVM IR, LLVM IR compiles to SPIR-V, driver handles final compilation and execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant