We've observed that the MLIR Jit Engine fails when the omp dialect is used due to a failure to register OpenMP-related translations. This small patch addresses this issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Added unit test
The test for this feature creates an MLIR execution engine using the C API with
an MLIR module containing 'omp' ops. The creation of the execution engine instance
would fail if OpenMP translation had not been activated as expected.
Comment Actions
Hi @mehdi_amini - I currently don't have commit access to the LLVM repo. If you could merge this approved change, that'd be great. Thanks!