[Openmp-commits] [openmp] d6f0065 - [OpenMP][Runtime][test] Fix ompt task testcase fail randomly (#72337)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Nov 28 05:23:02 PST 2023
Author: Alex
Date: 2023-11-28T14:22:57+01:00
New Revision: d6f00654fbc686f5413f9c8d1bac2c4050fdf350
URL: https://github.com/llvm/llvm-project/commit/d6f00654fbc686f5413f9c8d1bac2c4050fdf350
DIFF: https://github.com/llvm/llvm-project/commit/d6f00654fbc686f5413f9c8d1bac2c4050fdf350.diff
LOG: [OpenMP][Runtime][test] Fix ompt task testcase fail randomly (#72337)
Fixed #72231
Added:
Modified:
openmp/runtime/test/ompt/tasks/explicit_task_thread_num.c
Removed:
################################################################################
diff --git a/openmp/runtime/test/ompt/tasks/explicit_task_thread_num.c b/openmp/runtime/test/ompt/tasks/explicit_task_thread_num.c
index 9f2d4abfbf74776..6f3c106476c0016 100644
--- a/openmp/runtime/test/ompt/tasks/explicit_task_thread_num.c
+++ b/openmp/runtime/test/ompt/tasks/explicit_task_thread_num.c
@@ -55,13 +55,12 @@ int main()
// parallel region used only to determine worker thread id
// CHECK: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin
- // CHECK-DAG: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin
- // CHECK-DAG: {{^}}[[WORKER_ID:[0-9]+]]: ompt_event_implicit_task_begin
+ // CHECK: {{^}}[[WID:[0-9]+]]: ompt_event_implicit_task{{.*}}thread_num=1
// thread_num must be equal to 1 for both explicit and the implicit tasks
- // CHECK: {{^}}[[WORKER_ID]]: ancestor_level=0 id=1 task_type=ompt_task_explicit
+ // CHECK: {{^}}[[WID]]: ancestor_level=0 id=1 task_type=ompt_task_explicit
// CHECK-SAME: thread_num=1
- // CHECK: {{^}}[[WORKER_ID]]: ancestor_level=1 id=0 task_type=ompt_task_implicit
+ // CHECK: {{^}}[[WID]]: ancestor_level=1 id=0 task_type=ompt_task_implicit
// CHECK-SAME: thread_num=1
return 0;
More information about the Openmp-commits
mailing list