[Openmp-commits] [PATCH] D38185: Implementation of OMPT as specified in OpenMP 5.0 Preview 1

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 26 01:01:10 PDT 2017


protze.joachim updated this revision to Diff 120365.
protze.joachim added a comment.

The latest update replaces things like "REQUIRES taskgroup" by explicit "XFAIL gcc" for testcases that are expected to fail because either gcc or the gomp interface of libomp don't support the construct or the construct has no runtime call. (see https://reviews.llvm.org/D38880)

Replaced the two function versions of __kmpc_omp_task_begin_if0, __kmpc_omp_task_complete_if0, __kmpc_omp_taskwait by a templated implementation.


https://reviews.llvm.org/D38185

Files:
  runtime/.clang-format
  runtime/CMakeLists.txt
  runtime/src/exports_so.txt
  runtime/src/extractExternal.cpp
  runtime/src/include/50/omp.h.var
  runtime/src/include/50/omp_lib.f.var
  runtime/src/include/50/omp_lib.f90.var
  runtime/src/include/50/omp_lib.h.var
  runtime/src/include/50/ompt.h.var
  runtime/src/kmp.h
  runtime/src/kmp_affinity.cpp
  runtime/src/kmp_affinity.h
  runtime/src/kmp_alloc.cpp
  runtime/src/kmp_atomic.cpp
  runtime/src/kmp_atomic.h
  runtime/src/kmp_barrier.cpp
  runtime/src/kmp_cancel.cpp
  runtime/src/kmp_config.h.cmake
  runtime/src/kmp_csupport.cpp
  runtime/src/kmp_debug.cpp
  runtime/src/kmp_debug.h
  runtime/src/kmp_debugger.cpp
  runtime/src/kmp_debugger.h
  runtime/src/kmp_dispatch.cpp
  runtime/src/kmp_environment.cpp
  runtime/src/kmp_environment.h
  runtime/src/kmp_error.cpp
  runtime/src/kmp_error.h
  runtime/src/kmp_ftn_cdecl.cpp
  runtime/src/kmp_ftn_entry.h
  runtime/src/kmp_ftn_extra.cpp
  runtime/src/kmp_ftn_os.h
  runtime/src/kmp_ftn_stdcall.cpp
  runtime/src/kmp_global.cpp
  runtime/src/kmp_gsupport.cpp
  runtime/src/kmp_i18n.cpp
  runtime/src/kmp_i18n.h
  runtime/src/kmp_import.cpp
  runtime/src/kmp_io.cpp
  runtime/src/kmp_io.h
  runtime/src/kmp_itt.cpp
  runtime/src/kmp_itt.h
  runtime/src/kmp_lock.cpp
  runtime/src/kmp_lock.h
  runtime/src/kmp_omp.h
  runtime/src/kmp_os.h
  runtime/src/kmp_platform.h
  runtime/src/kmp_runtime.cpp
  runtime/src/kmp_safe_c_api.h
  runtime/src/kmp_sched.cpp
  runtime/src/kmp_settings.cpp
  runtime/src/kmp_settings.h
  runtime/src/kmp_stats.cpp
  runtime/src/kmp_stats.h
  runtime/src/kmp_stats_timing.cpp
  runtime/src/kmp_stats_timing.h
  runtime/src/kmp_str.cpp
  runtime/src/kmp_str.h
  runtime/src/kmp_stub.cpp
  runtime/src/kmp_stub.h
  runtime/src/kmp_taskdeps.cpp
  runtime/src/kmp_tasking.cpp
  runtime/src/kmp_taskq.cpp
  runtime/src/kmp_threadprivate.cpp
  runtime/src/kmp_utility.cpp
  runtime/src/kmp_version.cpp
  runtime/src/kmp_version.h
  runtime/src/kmp_wait_release.cpp
  runtime/src/kmp_wait_release.h
  runtime/src/kmp_wrapper_getpid.h
  runtime/src/kmp_wrapper_malloc.h
  runtime/src/ompt-event-specific.h
  runtime/src/ompt-general.cpp
  runtime/src/ompt-internal.h
  runtime/src/ompt-specific.cpp
  runtime/src/ompt-specific.h
  runtime/src/z_Linux_util.cpp
  runtime/src/z_Windows_NT-586_util.cpp
  runtime/src/z_Windows_NT_util.cpp
  runtime/test/CMakeLists.txt
  runtime/test/lit.cfg
  runtime/test/lit.site.cfg.in
  runtime/test/ompt/callback.h
  runtime/test/ompt/cancel/cancel_parallel.c
  runtime/test/ompt/cancel/cancel_taskgroup.c
  runtime/test/ompt/cancel/cancel_worksharing.c
  runtime/test/ompt/loadtool/tool_available.c
  runtime/test/ompt/misc/api_calls.c
  runtime/test/ompt/misc/control_tool.c
  runtime/test/ompt/misc/control_tool_no_ompt_support.c
  runtime/test/ompt/misc/idle.c
  runtime/test/ompt/ompt-signal.h
  runtime/test/ompt/parallel/dynamic_enough_threads.c
  runtime/test/ompt/parallel/dynamic_not_enough_threads.c
  runtime/test/ompt/parallel/max_active_levels_serialized.c
  runtime/test/ompt/parallel/nested.c
  runtime/test/ompt/parallel/nested_lwt.c
  runtime/test/ompt/parallel/nested_serialized.c
  runtime/test/ompt/parallel/no_thread_num_clause.c
  runtime/test/ompt/parallel/normal.c
  runtime/test/ompt/parallel/not_enough_threads.c
  runtime/test/ompt/parallel/parallel_if0.c
  runtime/test/ompt/parallel/serialized.c
  runtime/test/ompt/synchronization/barrier/explicit.c
  runtime/test/ompt/synchronization/barrier/for_loop.c
  runtime/test/ompt/synchronization/barrier/for_simd.c
  runtime/test/ompt/synchronization/barrier/parallel_region.c
  runtime/test/ompt/synchronization/barrier/sections.c
  runtime/test/ompt/synchronization/barrier/single.c
  runtime/test/ompt/synchronization/critical.c
  runtime/test/ompt/synchronization/flush.c
  runtime/test/ompt/synchronization/lock.c
  runtime/test/ompt/synchronization/master.c
  runtime/test/ompt/synchronization/nest_lock.c
  runtime/test/ompt/synchronization/ordered.c
  runtime/test/ompt/synchronization/taskgroup.c
  runtime/test/ompt/synchronization/taskwait.c
  runtime/test/ompt/synchronization/test_lock.c
  runtime/test/ompt/synchronization/test_nest_lock.c
  runtime/test/ompt/synchronization/test_nest_lock_parallel.c
  runtime/test/ompt/tasks/dependences.c
  runtime/test/ompt/tasks/explicit_task.c
  runtime/test/ompt/tasks/serialized.c
  runtime/test/ompt/tasks/task_in_joinbarrier.c
  runtime/test/ompt/tasks/task_types.c
  runtime/test/ompt/tasks/task_types_serialized.c
  runtime/test/ompt/tasks/taskyield.c
  runtime/test/ompt/tasks/untied_task.c
  runtime/test/ompt/worksharing/for/auto_split.c
  runtime/test/ompt/worksharing/for/base.h
  runtime/test/ompt/worksharing/for/base_serialized.h
  runtime/test/ompt/worksharing/for/base_split.h
  runtime/test/ompt/worksharing/for/dynamic_split.c
  runtime/test/ompt/worksharing/for/guided_split.c
  runtime/test/ompt/worksharing/for/runtime_split.c
  runtime/test/ompt/worksharing/for/static_split.c
  runtime/test/ompt/worksharing/sections.c
  runtime/test/ompt/worksharing/single.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38185.120365.patch
Type: text/x-patch
Size: 670445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171026/21b85abd/attachment-0001.bin>


More information about the Openmp-commits mailing list