diff options
author | Sergio Afonso <safonsof@amd.com> | 2025-01-14 12:34:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-14 12:34:37 +0000 |
commit | fabc443e9394e460d328984d75570d9f017fe709 (patch) | |
tree | 48f1301485b40eb1b037140a782f528aea852c33 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6a9e9878a200a6e494beed8944d6d08347945727 (diff) | |
download | llvm-fabc443e9394e460d328984d75570d9f017fe709.zip llvm-fabc443e9394e460d328984d75570d9f017fe709.tar.gz llvm-fabc443e9394e460d328984d75570d9f017fe709.tar.bz2 |
[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.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions