[Openmp-commits] [PATCH] D43191: [OMPT] Fix test tasks/serialized.c with optimization
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Feb 14 10:11:02 PST 2018
protze.joachim added inline comments.
================
Comment at: runtime/test/ompt/tasks/serialized.c:146
+ // CHECK: {{^}}[[THREAD_ID]]: ompt_event_barrier_end
+ // CHECK-SAME: parallel_id={{[0-9]+}}, task_id=[[IMPLICIT_TASK_ID]]
----------------
protze.joachim wrote:
> Hahnfeld wrote:
> > omalyshe wrote:
> > > Looks like parallel_id should be checked for PARALLEL_ID here.
> > > Same on line 149.
> > This doesn't work, `parallel_id=0` for these two events. I'd guess that's because the parallel region ended in the barrier, @protze.joachim?
> Yes, parallel_id=0 would be the right check for all worker threads.
Sorry, for all threads.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D43191
More information about the Openmp-commits
mailing list