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