[all-commits] [llvm/llvm-project] b86ff5: [OpenMP] Sync writes to child thread's data before...
Bryan Chan via All-commits
all-commits at lists.llvm.org
Tue Apr 14 11:32:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b86ff5f6efbed626fee135ae11311569d84b1e15
https://github.com/llvm/llvm-project/commit/b86ff5f6efbed626fee135ae11311569d84b1e15
Author: Bryan Chan <bryan.chan at huawei.com>
Date: 2020-04-14 (Tue, 14 Apr 2020)
Changed paths:
M openmp/runtime/src/kmp_barrier.cpp
Log Message:
-----------
[OpenMP] Sync writes to child thread's data before reduction
On systems with weak memory consistency, this patch fixes an intermittent crash
in the reduction function called by __kmp_hyper_barrier_gather, which suffers
from a race on a child thread's data.
Reviewed-By: AndreyChurbanov
Differential Revision: https://reviews.llvm.org/D77603
More information about the All-commits
mailing list