[PATCH] D43897: [OMPT] Fix task-type test with GCC

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 03:28:42 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL326428: [OMPT] Fix task-type test with GCC (authored by jprotze, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D43897?vs=136374&id=136491#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43897

Files:
  openmp/trunk/runtime/test/ompt/tasks/task_types.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
@@ -5,6 +5,9 @@
 #include <math.h>
 
 int main() {
+  //initialize the OpenMP runtime
+  omp_get_num_threads();
+
   // initial task
   print_ids(0);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43897.136491.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180301/4d11f0cc/attachment.bin>


More information about the llvm-commits mailing list