[all-commits] [llvm/llvm-project] fabc44: [OMPIRBuilder] Support runtime number of teams and...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Jan 14 04:34:58 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fabc443e9394e460d328984d75570d9f017fe709
https://github.com/llvm/llvm-project/commit/fabc443e9394e460d328984d75570d9f017fe709
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[OMPIRBuilder] Support runtime number of teams and threads, and SPMD mode (#116051)
This patch introduces a `TargetKernelRuntimeAttrs` structure to hold
host-evaluated `num_teams`, `thread_limit`, `num_threads` and trip count
values passed to the runtime kernel offloading call.
Additionally, kernel type information is used to influence target device
code generation and the `IsSPMD` flag is replaced by `ExecFlags`, which
provides more granularity.
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