[Openmp-commits] [PATCH] D123233: [OpenMP] Fix warnings
Hansang Bae via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Apr 6 10:35:27 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG090309d31624: [OpenMP] Fix warnings (authored by hbae).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123233/new/
https://reviews.llvm.org/D123233
Files:
openmp/runtime/src/kmp_tasking.cpp
openmp/runtime/src/ompt-internal.h
Index: openmp/runtime/src/ompt-internal.h
===================================================================
--- openmp/runtime/src/ompt-internal.h
+++ openmp/runtime/src/ompt-internal.h
@@ -57,7 +57,7 @@
ompt_data_t task_data;
struct kmp_taskdata *scheduling_parent;
int thread_num;
- ompt_dispatch_chunk_t dispatch_chunk = {0, 0};
+ ompt_dispatch_chunk_t dispatch_chunk;
} ompt_task_info_t;
typedef struct {
Index: openmp/runtime/src/kmp_tasking.cpp
===================================================================
--- openmp/runtime/src/kmp_tasking.cpp
+++ openmp/runtime/src/kmp_tasking.cpp
@@ -711,6 +711,8 @@
ompt_frame_runtime | ompt_frame_framepointer;
task->ompt_task_info.frame.enter_frame_flags =
ompt_frame_runtime | ompt_frame_framepointer;
+ task->ompt_task_info.dispatch_chunk.start = 0;
+ task->ompt_task_info.dispatch_chunk.iterations = 0;
}
// __ompt_task_start:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123233.420942.patch
Type: text/x-patch
Size: 923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220406/2d196c8f/attachment-0001.bin>
More information about the Openmp-commits
mailing list