CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
70 lines
2.5 KiB
C
70 lines
2.5 KiB
C
// clang-format off
|
|
// RUN: %libomp-compile-and-run | FileCheck %s
|
|
// REQUIRES: ompt
|
|
// UNSUPPORTED: gcc
|
|
// Compilation fails for icc
|
|
// XFAIL: icc
|
|
// clang-format on
|
|
|
|
#include "callback.h"
|
|
|
|
int main() {
|
|
#pragma omp target teams num_teams(1) thread_limit(1)
|
|
#pragma omp parallel num_threads(1)
|
|
{ printf("In teams\n"); }
|
|
return 0;
|
|
}
|
|
|
|
// clang-format off
|
|
// CHECK: 0: NULL_POINTER=[[NULL:.*$]]
|
|
|
|
// CHECK-NOT: 0: parallel_data initially not null
|
|
// CHECK-NOT: 0: task_data initially not null
|
|
// CHECK-NOT: 0: thread_data initially not null
|
|
|
|
// CHECK: {{^}}[[MASTER:[0-9]+]]: ompt_event_initial_task_begin:
|
|
// CHECK-SAME: task_id=[[INIT_TASK:[0-f]+]], {{.*}}, index=1
|
|
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_teams_begin:
|
|
// CHECK-SAME: parent_task_id=[[INIT_TASK]]
|
|
// CHECK-SAME: {{.*}} requested_num_teams=1
|
|
// CHECK-SAME: {{.*}} invoker=[[TEAMS_FLAGS:[0-9]+]]
|
|
|
|
// initial task in the teams construct starts
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_initial_task_begin:
|
|
// CHECK-SAME: task_id=[[INIT_TASK_0:[0-f]+]], actual_parallelism=1, index=0
|
|
|
|
// parallel region forked by runtime
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_parallel_begin:
|
|
// CHECK-SAME: {{.*}} parent_task_id=[[INIT_TASK_0]]
|
|
// CHECK-SAME: {{.*}} parallel_id=[[PAR_0:[0-f]+]]
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_implicit_task_begin:
|
|
// CHECK-SAME: {{.*}} parallel_id=[[PAR_0]], task_id=[[IMPL_TASK_0:[0-f]+]]
|
|
|
|
// user parallel region
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_parallel_begin:
|
|
// CHECK-SAME: {{.*}} parent_task_id=[[IMPL_TASK_0]]
|
|
// CHECK-SAME: {{.*}} parallel_id=[[PAR_00:[0-f]+]]
|
|
// CHECK-SAME: {{.*}} requested_team_size=1
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_implicit_task_begin:
|
|
// CHECK-SAME: {{.*}} parallel_id=[[PAR_00]], task_id=[[IMPL_TASK_00:[0-f]+]]
|
|
// CHECK-SAME: {{.*}} team_size=1, thread_num=0
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_implicit_task_end:
|
|
// CHECK-SAME: {{.*}} parallel_id={{[0-f]+}}, task_id=[[IMPL_TASK_00]]
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_parallel_end:
|
|
// CHECK-SAME: {{.*}} parallel_id=[[PAR_00]], task_id=[[IMPL_TASK_0]]
|
|
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_parallel_end:
|
|
// CHECK-SAME: {{.*}} parallel_id=[[PAR_0]], task_id=[[INIT_TASK_0]]
|
|
|
|
// initial task in the teams construct ends
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_initial_task_end:
|
|
// CHECK-SAME: task_id=[[INIT_TASK_0]], actual_parallelism=0, index=0
|
|
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_teams_end:
|
|
// CHECK-SAME: {{.*}} task_id=[[INIT_TASK]], invoker=[[TEAMS_FLAGS]]
|
|
|
|
// CHECK: {{^}}[[MASTER]]: ompt_event_initial_task_end:
|
|
// CHECK-SAME: task_id=[[INIT_TASK]], {{.*}}, index=1
|
|
// clang-format on
|