Open Ameya674 opened 1 month ago
Compile this example: https://github.com/oneapi-src/unified-runtime/tree/main/examples/codegen
Get the LLVM IR created at this: https://github.com/oneapi-src/unified-runtime/blob/a7920efd89bd137ac2929467ffaeeebefaa29953/examples/codegen/helpers.cpp#L73
We'll then figure out how to do it in our framework
codegen done and documented. now finding spirv mangling and demangling specs
@Ameya674 can you post LLVM IR that's used to generate SPIR-V kernel here? Can you try to correlate spir-v with LLVM to understand how spir-v/llvm translator works? I suspect you'll be able to generate this LLVM with c-lisp like in #71.