[Openmp-commits] [PATCH] D14355: Improve OMPT initialization code

John Mellor-Crummey via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 4 15:52:44 PST 2015


jmellorcrummey created this revision.
jmellorcrummey added a reviewer: jlpeyton.
jmellorcrummey added subscribers: openmp-commits, llvm-commits.

Use of #ifdef OMPT_DEBUG was causing messages to be generated under normal operation when the OpenMP library was compiled with KMP_DEBUG enabled. Elsewhere, KMP_DEBUG evaluates assertions, but never produces messages during normal operation. To avoid this inconsistency, set OMPT_DEBUG using a cmake variable LIBOMP_OMPT_DEBUG.

While I was editing the associated ompt-specific.h and ompt-general.c files, make the spacing and comments consistent. 

http://reviews.llvm.org/D14355

Files:
  runtime/CMakeLists.txt
  runtime/src/kmp_config.h.cmake
  runtime/src/ompt-general.c
  runtime/src/ompt-specific.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14355.39278.patch
Type: text/x-patch
Size: 4582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20151104/769f2f77/attachment-0001.bin>


More information about the Openmp-commits mailing list