[all-commits] [llvm/llvm-project] 2fbe76: [OMPIRBuilder] Support runtime number of teams and...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Wed Dec 4 06:17:05 PST 2024
Branch: refs/heads/users/skatrak/host-eval-04-ompirbuilder-teams-threads
Home: https://github.com/llvm/llvm-project
Commit: 2fbe762b53bb6d6ffdce2b5ae3d6de30584ed93b
https://github.com/llvm/llvm-project/commit/2fbe762b53bb6d6ffdce2b5ae3d6de30584ed93b
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-12-04 (Wed, 04 Dec 2024)
Changed paths:
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, `createTarget` is extended to take an `IsSPMD` flag, used to
influence target device code generation.
Commit: e9ea3a501bb97a4ddaa85b795874e343cae40f2b
https://github.com/llvm/llvm-project/commit/e9ea3a501bb97a4ddaa85b795874e343cae40f2b
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-12-04 (Wed, 04 Dec 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Log Message:
-----------
Address review comments
Commit: b1e4eb5699afa9582a136c589adb9c256cc0bc66
https://github.com/llvm/llvm-project/commit/b1e4eb5699afa9582a136c589adb9c256cc0bc66
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-12-04 (Wed, 04 Dec 2024)
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:
-----------
Fine-grained control of kernel execution mode
Compare: https://github.com/llvm/llvm-project/compare/e2b3ac479a53...b1e4eb5699af
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