diff options
Diffstat (limited to 'openmp/runtime/src/ompt-general.cpp')
| -rw-r--r-- | openmp/runtime/src/ompt-general.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/openmp/runtime/src/ompt-general.cpp b/openmp/runtime/src/ompt-general.cpp index 25ad19d03af..964f6cdd1d8 100644 --- a/openmp/runtime/src/ompt-general.cpp +++ b/openmp/runtime/src/ompt-general.cpp @@ -351,7 +351,7 @@ void ompt_post_init() { return; } - ompt_thread_t *root_thread = ompt_get_thread(); + kmp_info_t *root_thread = ompt_get_thread(); ompt_set_thread_state(root_thread, omp_state_overhead); @@ -509,6 +509,12 @@ OMPT_API_ROUTINE int ompt_get_task_info(int ancestor_level, int *type, task_frame, parallel_data, thread_num); } +OMPT_API_ROUTINE int ompt_get_task_memory(void **addr, size_t *size, + int block) { + // stub + return 0; +} + /***************************************************************************** * num_procs ****************************************************************************/ @@ -678,6 +684,10 @@ OMPT_API_ROUTINE uint64_t ompt_get_unique_id(void) { return __ompt_get_unique_id_internal(); } +OMPT_API_ROUTINE void ompt_finalize_tool(void) { + // stub +} + /***************************************************************************** * Target ****************************************************************************/ |

