[all-commits] [llvm/llvm-project] ac8b96: [MLIR][OpenMP] Host lowering of distribute-paralle...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Feb 25 02:31:23 PST 2025
Branch: refs/heads/users/skatrak/target-spmd-05-mlir-composite
Home: https://github.com/llvm/llvm-project
Commit: ac8b967a060a64985641462ab10f7a79c6982a74
https://github.com/llvm/llvm-project/commit/ac8b967a060a64985641462ab10f7a79c6982a74
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-02-25 (Tue, 25 Feb 2025)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
M mlir/test/Target/LLVMIR/openmp-todo.mlir
Log Message:
-----------
[MLIR][OpenMP] Host lowering of distribute-parallel-do/for
This patch adds support for translating composite `omp.parallel` +
`omp.distribute` + `omp.wsloop` loops to LLVM IR on the host. This is done by
passing an updated `WorksharingLoopType` to the call to `applyWorkshareLoop`
associated to the lowering of the `omp.wsloop` operation, so that
`__kmpc_dist_for_static_init` is called at runtime in place of
`__kmpc_for_static_init`.
Existing translation rules take care of creating a parallel region to hold the
workshared and workdistributed loop.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list