From 2b46d30fc7049fc5cc5b9f98df654509bb4d61a2 Mon Sep 17 00:00:00 2001 From: Joachim Protze Date: Tue, 15 Jan 2019 15:36:53 +0000 Subject: [OMPT] Second chunk of final OMPT 5.0 interface updates The omp-tools.h file is generated from the OpenMP spec to ensure that the interface is implemented as specified. The other changes are necessary to update the interface implementation to the final version as published in 5.0. The omp-tools.h header was previously called ompt.h, currently a copy under this name is installed for legacy tools. Patch partially perpared by @sconvent Reviewers: AndreyChurbanov, hbae, Hahnfeld Reviewed By: hbae Tags: #openmp, #ompt Differential Revision: https://reviews.llvm.org/D55579 llvm-svn: 351197 --- openmp/runtime/src/kmp_gsupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openmp/runtime/src/kmp_gsupport.cpp') diff --git a/openmp/runtime/src/kmp_gsupport.cpp b/openmp/runtime/src/kmp_gsupport.cpp index 646d75d2faa..c1f9bdd24c5 100644 --- a/openmp/runtime/src/kmp_gsupport.cpp +++ b/openmp/runtime/src/kmp_gsupport.cpp @@ -400,7 +400,7 @@ static ompt_team_size = __kmp_team_from_gtid(gtid)->t.t_nproc; ompt_callbacks.ompt_callback(ompt_callback_implicit_task)( ompt_scope_begin, &(team_info->parallel_data), - &(task_info->task_data), ompt_team_size, __kmp_tid_from_gtid(gtid)); + &(task_info->task_data), ompt_team_size, __kmp_tid_from_gtid(gtid), ompt_task_implicit); // TODO: Can this be ompt_task_initial? task_info->thread_num = __kmp_tid_from_gtid(gtid); } thr->th.ompt_thread_info.state = ompt_state_work_parallel; -- cgit v1.2.3