parenchyma icon indicating copy to clipboard operation
parenchyma copied to clipboard

Just-in-time (JIT) compilation

Open jonysy opened this issue 7 years ago • 1 comments

Add a graph along w/ a JIT compiler.

Design: ..

jonysy avatar Mar 17 '17 19:03 jonysy

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.

jonysy avatar Mar 26 '17 01:03 jonysy