diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-05-13 17:31:57 +0100 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-05-13 17:31:57 +0100 |
commit | 10de21720989166a6b51cbf48b21efacbb913f23 (patch) | |
tree | c3b78027d70d1b641f4fdfcb327dcb295b1c2c1e /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | b049870d3b47a93b0c53f3ad69b11c4731b39d7f (diff) | |
download | llvm-10de21720989166a6b51cbf48b21efacbb913f23.zip llvm-10de21720989166a6b51cbf48b21efacbb913f23.tar.gz llvm-10de21720989166a6b51cbf48b21efacbb913f23.tar.bz2 |
[libomptarget][amdgpu] Fix truncation error for partial wavefront
[libomptarget][amdgpu] Fix truncation error for partial wavefront
The partial barrier implementation involves one wavefront resetting and N-1
waiting. This change future proofs against launching with a number of threads
that is not a multiple of the wavefront size.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D102407
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions