forked from OSchip/llvm-project
[OpenMP] Fix warnings
Silenced compiler warnings after pushing the following change. https://reviews.llvm.org/D122107 Differential Revision: https://reviews.llvm.org/D123233
This commit is contained in:
parent
62a983ebc5
commit
090309d316
|
@ -711,6 +711,8 @@ static inline void __ompt_task_init(kmp_taskdata_t *task, int tid) {
|
|||
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:
|
||||
|
|
|
@ -57,7 +57,7 @@ typedef struct {
|
|||
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 {
|
||||
|
|
Loading…
Reference in New Issue