[OpenMP][OMPT] Make sure that 0 is never used as ID in tests (NFC)

This commit is contained in:
Joachim Protze 2020-12-04 18:41:07 +01:00
parent fe7fdcac87
commit d3ec512b1d
1 changed files with 2 additions and 0 deletions

View File

@ -1139,6 +1139,8 @@ int ompt_initialize(
ompt_get_unique_id = (ompt_get_unique_id_t) lookup("ompt_get_unique_id");
ompt_finalize_tool = (ompt_finalize_tool_t)lookup("ompt_finalize_tool");
ompt_get_unique_id();
ompt_get_num_procs = (ompt_get_num_procs_t) lookup("ompt_get_num_procs");
ompt_get_num_places = (ompt_get_num_places_t) lookup("ompt_get_num_places");
ompt_get_place_proc_ids = (ompt_get_place_proc_ids_t) lookup("ompt_get_place_proc_ids");