Updating implementation of OMPT as specified in OpenMP 5.0 Preview 2 (TR6)
The TR6 document is expected to be publically released around November 15. This patch does not implement OMPT for libomptarget. Patch by Simon Convent and Joachim Protze Differential Revision: https://reviews.llvm.org/D39182 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@317339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1097,9 +1097,10 @@ inline static void propagateFPControl(kmp_team_t *team) {
|
||||
|
||||
// There is no point looking at t_fp_control_saved here.
|
||||
// If it is TRUE, we still have to update the values if they are different
|
||||
// from those we now have. If it is FALSE we didn't save anything yet, but
|
||||
// our objective is the same. We have to ensure that the values in the team
|
||||
// are the same as those we have.
|
||||
// from those we now have.
|
||||
// If it is FALSE we didn't save anything yet, but our objective is the
|
||||
// same. We have to ensure that the values in the team are the same as
|
||||
// those we have.
|
||||
// So, this code achieves what we need whether or not t_fp_control_saved is
|
||||
// true. By checking whether the value needs updating we avoid unnecessary
|
||||
// writes that would put the cache-line into a written state, causing all
|
||||
|
||||
Reference in New Issue
Block a user