[Mlir-commits] [mlir] [mlir][XeVM] Use libocloc API for binary generation. (PR #188353)

Md Abdullah Shahneous Bari llvmlistbot at llvm.org
Thu Apr 9 11:01:04 PDT 2026


mshahneo wrote:

> Although Intel compute runtime includes libocloc in the distribution, `ocloc_api.h` isn't included. I don't think the code change uses many function and variable declarations from `ocloc_api.h`. If that is the case, can you just add some extern declarations like how SPIRVTranslateModule is declared here? https://github.com/llvm/llvm-project/blob/main/mlir/lib/Target/LLVM/XeVM/Target.cpp#L282

Thanks, SangIk, good suggestion. Updated to use the external declarations instead of `ocloc_api.h`.

https://github.com/llvm/llvm-project/pull/188353


More information about the Mlir-commits mailing list