diff options
author | Shilei Tian <i@tianshilei.me> | 2024-08-06 10:55:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 10:55:15 -0400 |
commit | cee594cf36dc6c737df61e5417a98e09d807bd06 (patch) | |
tree | a26fe182f696ec325844812beebb69b7afe45d93 /llvm/lib/IR/Module.cpp | |
parent | f0178d881ce61e82b49fa63dcd023eed57c0804b (diff) | |
download | llvm-cee594cf36dc6c737df61e5417a98e09d807bd06.zip llvm-cee594cf36dc6c737df61e5417a98e09d807bd06.tar.gz llvm-cee594cf36dc6c737df61e5417a98e09d807bd06.tar.bz2 |
[Clang][Sema][OpenMP] Allow `num_teams` to accept multiple expressions (#99732)
By the OpenMP standard, `num_teams` clause can only accept one
expression (for now). In this patch, we extend it to allow to accept
multiple expressions when it is used with `target teams ompx_bare`
construct. This will allow to launch a multi-dim grid, same as CUDA/HIP.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions