[Mlir-commits] [llvm] [mlir] [OpenMPIRBuilder] Cast device num_threads to i32 for __kmpc_parallel_60 (PR #194634)

Sergio Afonso llvmlistbot at llvm.org
Tue Apr 28 07:25:50 PDT 2026


================

----------------
skatrak wrote:

Nit: Target device modules aren't supposed to have host-eval clauses. These should be mapped here (and we should probably add an op verifier check at some point to make sure this is flagged).

We could probably get away with an empty `omp.parallel` region to check this, rather than having a full SPMD kernel we'd have to pass loop bounds to.

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


More information about the Mlir-commits mailing list