[Openmp-commits] [PATCH] D16715: [OMPT] Create infrastructure and add first tests for OMPT

Jonas Hahnfeld via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 29 01:05:43 PST 2016


Hahnfeld created this revision.
Hahnfeld added reviewers: jmellorcrummey, jlpeyton.
Hahnfeld added subscribers: openmp-commits, tcramer.

Some basic checks next to the implementation should futher lower the possibility to introduce regressions. (Note that this would have catched the ordering issue fixed in r258866 and pointed to D16714.)

The tests are implementation depenedent in one point because they assume that thread ids are assigned in ascending order. This is not defined by the standard but currently ensured in libomp. We have to think about another way of ordering the threads should this ever be subject to change...

Note that this isn't aiming at replacing the implementation independent test-suite at https://github.com/OpenMPToolsInterface/ompt-test-suite!

http://reviews.llvm.org/D16715

Files:
  runtime/test/CMakeLists.txt
  runtime/test/lit.cfg
  runtime/test/lit.site.cfg.in
  runtime/test/ompt/callback.h
  runtime/test/ompt/omp_parallel.c
  runtime/test/ompt/omp_parallel_nested.c
  runtime/test/ompt/omp_parallel_nested_serialized.c
  runtime/test/ompt/omp_parallel_serialized.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16715.46363.patch
Type: text/x-patch
Size: 33688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160129/87de2802/attachment-0001.bin>


More information about the Openmp-commits mailing list