[Openmp-commits] [PATCH] D41182: [OMPT] Add Workaround for Intel Compiler Bug
Phabricator via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 17 02:07:39 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL322622: [OMPT] Add Workaround for Intel Compiler Bug (authored by jprotze, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D41182?vs=129233&id=130110#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41182
Files:
openmp/trunk/runtime/test/ompt/tasks/task_types.c
openmp/trunk/runtime/test/ompt/tasks/task_types_serialized.c
Index: openmp/trunk/runtime/test/ompt/tasks/task_types.c
===================================================================
--- openmp/trunk/runtime/test/ompt/tasks/task_types.c
+++ openmp/trunk/runtime/test/ompt/tasks/task_types.c
@@ -4,7 +4,7 @@
#include <omp.h>
#include <math.h>
-
+__attribute__ ((noinline)) // workaround for bug in icc
void print_task_type(int id)
{
#pragma omp critical
Index: openmp/trunk/runtime/test/ompt/tasks/task_types_serialized.c
===================================================================
--- openmp/trunk/runtime/test/ompt/tasks/task_types_serialized.c
+++ openmp/trunk/runtime/test/ompt/tasks/task_types_serialized.c
@@ -4,6 +4,7 @@
#include "callback.h"
#include <omp.h>
+__attribute__ ((noinline)) // workaround for bug in icc
void print_task_type(int id)
{
#pragma omp critical
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41182.130110.patch
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180117/c887edac/attachment-0001.bin>
More information about the Openmp-commits
mailing list