[PATCH] D158382: [OpenMP] Use default grid value for static grid size
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 20 20:06:39 PDT 2023
jdoerfert created this revision.
jdoerfert added reviewers: ye-luo, jhuber6, tianshilei1992.
Herald added subscribers: guansong, bollu, hiraditya, yaxunl, jvesely.
Herald added a project: All.
jdoerfert requested review of this revision.
Herald added subscribers: llvm-commits, jplehr, sstefan1.
Herald added a project: LLVM.
If the user did not provide any static clause to override the grid size,
we assume the default grid size as upper bound and use it to improve
code generation through vendor specific attributes.
Fixes: https://github.com/llvm/llvm-project/issues/64816
https://reviews.llvm.org/D158382
Files:
clang/test/OpenMP/amdgcn-attributes.cpp
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
openmp/libomptarget/test/offloading/default_thread_limit.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158382.551884.patch
Type: text/x-patch
Size: 8335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/9c6b3128/attachment.bin>
More information about the llvm-commits
mailing list