[all-commits] [llvm/llvm-project] a707d0: [OpenMP][OMPT] Indicate loop schedule for workshar...

Joachim via All-commits all-commits at lists.llvm.org
Wed Jul 3 00:33:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a707d0883b5ab9de6a0a864df614ef14909a4de1
      https://github.com/llvm/llvm-project/commit/a707d0883b5ab9de6a0a864df614ef14909a4de1
  Author: Joachim <jenke at itc.rwth-aachen.de>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M openmp/runtime/src/kmp_csupport.cpp
    M openmp/runtime/src/kmp_dispatch.cpp
    M openmp/runtime/src/kmp_sched.cpp
    M openmp/runtime/src/ompt-specific.h
    M openmp/runtime/test/ompt/callback.h
    M openmp/runtime/test/ompt/synchronization/ordered_dependences.c
    M openmp/runtime/test/ompt/tasks/taskloop.c
    M openmp/runtime/test/ompt/tasks/taskloop_dispatch.c
    M openmp/runtime/test/ompt/teams/distribute_dispatch.c
    M openmp/runtime/test/ompt/worksharing/for/auto.c
    M openmp/runtime/test/ompt/worksharing/for/auto_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/auto_split.c
    M openmp/runtime/test/ompt/worksharing/for/base.h
    M openmp/runtime/test/ompt/worksharing/for/base_serialized.h
    M openmp/runtime/test/ompt/worksharing/for/base_split.h
    M openmp/runtime/test/ompt/worksharing/for/guided_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/loop_dispatch.c
    M openmp/runtime/test/ompt/worksharing/for/runtime.c
    M openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
    M openmp/runtime/test/ompt/worksharing/for/runtime_split.c
    M openmp/runtime/test/ompt/worksharing/sections.c
    M openmp/runtime/test/ompt/worksharing/sections_dispatch.c
    M openmp/runtime/test/ompt/worksharing/single.c

  Log Message:
  -----------
  [OpenMP][OMPT] Indicate loop schedule for worksharing-loop events (#97429)

Use more specific values from `ompt_work_t` to allow the tool identify
the schedule of a worksharing-loop. With this patch, the runtime will
report the schedule chosen by the runtime rather than necessarily the
schedule literally requested by the clause.
E.g., for guided + just one iteration per thread, the runtime would
choose and report static.

Fixes issue #63904



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list