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