[all-commits] [llvm/llvm-project] f73a43: [OMPIRBuilder] Introduce struct to hold default ke...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Wed Jan 8 08:36:19 PST 2025
Branch: refs/heads/users/skatrak/host-eval-03-ompirbuilder-struct
Home: https://github.com/llvm/llvm-project
Commit: f73a439832c4e8454274b7677570d190231dcf46
https://github.com/llvm/llvm-project/commit/f73a439832c4e8454274b7677570d190231dcf46
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-01-08 (Wed, 08 Jan 2025)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.h
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
M mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
Log Message:
-----------
[OMPIRBuilder] Introduce struct to hold default kernel teams/threads
This patch introduces the `OpenMPIRBuilder::TargetKernelDefaultAttrs` structure
used to simplify passing default and constant values for number of teams and
threads, and possibly other target kernel-related information in the future.
This is used to forward values passed to `createTarget` to `createTargetInit`,
which previously used a default unrelated set of values.
Commit: 45c6667a70aa16409d0cc24df8f88168c883c51d
https://github.com/llvm/llvm-project/commit/45c6667a70aa16409d0cc24df8f88168c883c51d
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-01-08 (Wed, 08 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:
-----------
Move IsSPMD into the new structure
Compare: https://github.com/llvm/llvm-project/compare/e3cdc93fbeea...45c6667a70aa
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