[all-commits] [llvm/llvm-project] 55cff5: [OpenMP][libomptarget] make omp_get_initial_device...

Joachim via All-commits all-commits at lists.llvm.org
Wed Sep 30 15:58:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 55cff5b288650f0ce814c3c85041852bbed554b8
      https://github.com/llvm/llvm-project/commit/55cff5b288650f0ce814c3c85041852bbed554b8
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M openmp/libomptarget/include/omptarget.h
    M openmp/libomptarget/src/api.cpp
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_ftn_entry.h

  Log Message:
  -----------
  [OpenMP][libomptarget] make omp_get_initial_device 5.1 compliant

OpenMP 5.1 defines omp_get_initial_device to return the same value as omp_get_num_devices.
Since this change is also 5.0 compliant, no versioning is needed.

Differential Revision: https://reviews.llvm.org/D88149


  Commit: 6104b30446aa976006fd322af4a57a8f0124f94f
      https://github.com/llvm/llvm-project/commit/6104b30446aa976006fd322af4a57a8f0124f94f
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M openmp/runtime/src/kmp_gsupport.cpp
    M openmp/runtime/src/kmp_taskdeps.cpp
    M openmp/runtime/src/ompt-specific.h
    M openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
    A openmp/runtime/test/ompt/tasks/task_if0-depend.c
    M openmp/runtime/test/ompt/tasks/taskwait-depend.c

  Log Message:
  -----------
  [OpenMP][OMPT] Update OMPT tests for newly added GOMP interface patches

This patch updates the expected results for the GOMP interface patches: D87267, D87269, and D87271.
The taskwait-depend test is changed to really use taskwait-depend and copied to an task_if0-depend test.

To pass the tests, the handling of the return address was fixed.

Differential Revision: https://reviews.llvm.org/D87680


Compare: https://github.com/llvm/llvm-project/compare/37b2e2b04cf4...6104b30446aa


More information about the All-commits mailing list