[all-commits] [llvm/llvm-project] 5288d7: [OpenMP][OMPT] fix reduction test for 32-bit x86
Joachim via All-commits
all-commits at lists.llvm.org
Wed Feb 5 06:29:07 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: 5288d7af5bc1b6775e122df5346f7cde9f65881d
https://github.com/llvm/llvm-project/commit/5288d7af5bc1b6775e122df5346f7cde9f65881d
Author: protze at itc.rwth-aachen.de <protze at itc.rwth-aachen.de>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M openmp/runtime/test/ompt/synchronization/reduction/tree_reduce.c
Log Message:
-----------
[OpenMP][OMPT] fix reduction test for 32-bit x86
Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=44733 | TEST 'libomp :: ompt/synchronization/reduction/tree_reduce.c' FAILED on 32-bit x86 ]]
For 32-bit we need at least 3 variables to avoid atomic reduction to be
choosen by runtime function `__kmp_determine_reduction_method`.
This patch adds reduction variables to the testcase.
Reviewers: mgorny, Hahnfeld
Differential Revision: https://reviews.llvm.org/D73850
(cherry picked from commit 90e4ebdce55fd3c1f8877f19784a5339b9890f98)
More information about the All-commits
mailing list