[all-commits] [llvm/llvm-project] aad04f: [MLIR][OpenMP] Host lowering of distribute-paralle...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Fri Feb 21 02:20:58 PST 2025
Branch: refs/heads/users/skatrak/target-spmd-05-mlir-composite
Home: https://github.com/llvm/llvm-project
Commit: aad04faf1796c328ac2a4280939a7fb9d7503ab1
https://github.com/llvm/llvm-project/commit/aad04faf1796c328ac2a4280939a7fb9d7503ab1
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-02-21 (Fri, 21 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