aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/kmp_csupport.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-10-23 17:53:14 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-10-23 17:53:14 +0000
commit53265afff0dd5ba32642c444583e7d2bb25ca2e9 (patch)
tree62c6dca85a7f7ec8c3adb959c8d512cb140b705a /runtime/src/kmp_csupport.cpp
parent1756886afc900127720de68088f9adff3108ef61 (diff)
downloadsrc-vendor/llvm-openmp.tar.gz
src-vendor/llvm-openmp.zip
Vendor import of stripped LLVM openmp trunk r375505, the last commitvendor/llvm-openmp/openmp-trunk-r375505vendor/llvm-openmp
before the upstream Subversion repository was made read-only, and the LLVM project migrated to GitHub: https://llvm.org/svn/llvm-project/openmp/trunk@375505
Notes
Notes: svn path=/vendor/llvm-openmp/dist/; revision=353954 svn path=/vendor/llvm-openmp/openmp-r375505/; revision=353955; tag=vendor/llvm-openmp/openmp-trunk-r375505
Diffstat (limited to 'runtime/src/kmp_csupport.cpp')
-rw-r--r--runtime/src/kmp_csupport.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/src/kmp_csupport.cpp b/runtime/src/kmp_csupport.cpp
index c778c97022f5..d39bf9af4334 100644
--- a/runtime/src/kmp_csupport.cpp
+++ b/runtime/src/kmp_csupport.cpp
@@ -545,7 +545,8 @@ void __kmpc_end_serialized_parallel(ident_t *loc, kmp_int32 global_tid) {
if (ompt_enabled.ompt_callback_parallel_end) {
ompt_callbacks.ompt_callback(ompt_callback_parallel_end)(
&(serial_team->t.ompt_team_info.parallel_data), parent_task_data,
- ompt_parallel_invoker_program, OMPT_LOAD_RETURN_ADDRESS(global_tid));
+ ompt_parallel_invoker_program | ompt_parallel_team,
+ OMPT_LOAD_RETURN_ADDRESS(global_tid));
}
__ompt_lw_taskteam_unlink(this_thr);
this_thr->th.ompt_thread_info.state = ompt_state_overhead;
@@ -676,7 +677,8 @@ void __kmpc_flush(ident_t *loc) {
#endif // KMP_COMPILER_ICC
}
#endif // KMP_MIC
-#elif (KMP_ARCH_ARM || KMP_ARCH_AARCH64 || KMP_ARCH_MIPS || KMP_ARCH_MIPS64)
+#elif (KMP_ARCH_ARM || KMP_ARCH_AARCH64 || KMP_ARCH_MIPS || KMP_ARCH_MIPS64 || \
+ KMP_ARCH_RISCV64)
// Nothing to see here move along
#elif KMP_ARCH_PPC64
// Nothing needed here (we have a real MB above).