[Openmp-commits] [PATCH] D41171: [OMPT] Handle null pointer in set_callback to improve performance

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 21 06:24:29 PST 2017

protze.joachim added inline comments.

Comment at: runtime/test/ompt/misc/unset_callback.c:8
+  int x = 0;
+  #pragma omp parallel num_threads(1)
Hahnfeld wrote:
> Not needed.
Some OpenMP activity is needed to initialize the OpenMP runtime, let the runtime call ompt_start_tool and ompt_inittialize, so that ompt_set_callback is set to non-NULL.

  rOMP OpenMP


More information about the Openmp-commits mailing list