[all-commits] [llvm/llvm-project] 0c19f7: [OMPIRBuilder] Support runtime number of teams and...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Jan 14 03:25:58 PST 2025
Branch: refs/heads/users/skatrak/host-eval-04-ompirbuilder-teams-threads
Home: https://github.com/llvm/llvm-project
Commit: 0c19f7119c1da0646466b0eb1c3c77faedabaebf
https://github.com/llvm/llvm-project/commit/0c19f7119c1da0646466b0eb1c3c77faedabaebf
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
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 provide 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