[all-commits] [llvm/llvm-project] d39d3a: [OpenMP][test] fix omp_get_wtime.c test to be more...

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Mon Aug 23 06:14:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d39d3a327b1303012370e47d991459ffbfce45ef
      https://github.com/llvm/llvm-project/commit/d39d3a327b1303012370e47d991459ffbfce45ef
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M openmp/runtime/test/api/omp_get_wtime.c

  Log Message:
  -----------
  [OpenMP][test] fix omp_get_wtime.c test to be more accommodating

The omp_get_wtime.c test fails intermittently if the recorded times are
off by too much which can happen when many tests are run in parallel.

Instead of failing if one timing is a little off, take average of 100
timings minus the 10 worst.

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




More information about the All-commits mailing list