[Openmp-commits] [PATCH] D55579: [OMPT] Second chunk of final OMPT 5.0 interface updates

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 12 00:51:53 PST 2018


protze.joachim marked an inline comment as done.
protze.joachim added inline comments.


================
Comment at: runtime/src/ompt-general.cpp:347
     ompt_enabled.enabled = !!ompt_start_tool_result->initialize(
-        ompt_fn_lookup, &(ompt_start_tool_result->tool_data));
+        ompt_fn_lookup, /*omp_get_initial_device()*/-10, &(ompt_start_tool_result->tool_data));
 
----------------
This part relies on a meaningful implementation of omp_get_initial_device(). Currently this function is not provided by the OpenMP runtime. 
Therefore this patch depends on D55578


Repository:
  rOMP OpenMP

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55579/new/

https://reviews.llvm.org/D55579





More information about the Openmp-commits mailing list