[all-commits] [llvm/llvm-project] e99207: [OpenMP][Tool] Handle detached tasks in Archer

Joachim via All-commits all-commits at lists.llvm.org
Tue Nov 3 04:33:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e99207feb4b901e8f7bb6d3e70388d31fafc4330
      https://github.com/llvm/llvm-project/commit/e99207feb4b901e8f7bb6d3e70388d31fafc4330
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M openmp/tools/archer/ompt-tsan.cpp
    M openmp/tools/archer/tests/CMakeLists.txt
    A openmp/tools/archer/tests/task/task_early_fulfill.c
    A openmp/tools/archer/tests/task/task_late_fulfill.c

  Log Message:
  -----------
  [OpenMP][Tool] Handle detached tasks in Archer

Since detached tasks are supported by clang and the OpenMP runtime, Archer
must expect to receive the corresponding callbacks.

This patch adds support to interpret the synchronization semantics of
omp_fulfill_event and cleans up the handling of task switches.


  Commit: b0eb19bf8af43b560106fdf30087606a0f65fa84
      https://github.com/llvm/llvm-project/commit/b0eb19bf8af43b560106fdf30087606a0f65fa84
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c

  Log Message:
  -----------
  [OpenMP][OMPT][NFC] Fix flaky test

As reported by @ronlieb, the test shows intermittent fails.
The test failed, if the dependent task was already finished, when the depending
task was to be created. We have other tests to check for the dependences pair.


  Commit: 71041a8b6bc48f0173ab6b82625e307fa8ffe264
      https://github.com/llvm/llvm-project/commit/71041a8b6bc48f0173ab6b82625e307fa8ffe264
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M openmp/libomptarget/test/unified_shared_memory/api.c

  Log Message:
  -----------
  [OpenMP][libomptarget][Tests] fix failing test

D88149 updated `omp_get_initial_device` behavior to conform with OpenMP 5.1.
omp_get_initial_device() == omp_get_num_devices()


Compare: https://github.com/llvm/llvm-project/compare/cbf25fbed5b4...71041a8b6bc4


More information about the All-commits mailing list