[PATCH] D61860: Introduce new OpenMP 5.0 depend object type.

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 06:43:03 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL360774: Introduce new OpenMP 5.0 depend object type. (authored by achurbanov, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D61860?vs=199280&id=199600#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61860/new/

https://reviews.llvm.org/D61860

Files:
  openmp/trunk/runtime/src/include/50/omp.h.var
  openmp/trunk/runtime/src/include/50/omp_lib.f.var
  openmp/trunk/runtime/src/include/50/omp_lib.f90.var
  openmp/trunk/runtime/src/include/50/omp_lib.h.var


Index: openmp/trunk/runtime/src/include/50/omp.h.var
===================================================================
--- openmp/trunk/runtime/src/include/50/omp.h.var
+++ openmp/trunk/runtime/src/include/50/omp.h.var
@@ -149,6 +149,7 @@
 
     /* OpenMP 5.0 */
     extern int   __KAI_KMPC_CONVENTION  omp_get_device_num (void);
+    typedef void * omp_depend_t;
 
     /* kmp API functions */
     extern int    __KAI_KMPC_CONVENTION  kmp_get_stacksize          (void);
Index: openmp/trunk/runtime/src/include/50/omp_lib.f90.var
===================================================================
--- openmp/trunk/runtime/src/include/50/omp_lib.f90.var
+++ openmp/trunk/runtime/src/include/50/omp_lib.f90.var
@@ -41,6 +41,7 @@
         end type omp_alloctrait
 
         integer, parameter :: omp_pause_resource_kind = omp_integer_kind
+        integer, parameter :: omp_depend_kind = c_intptr_t
 
       end module omp_lib_kinds
 
Index: openmp/trunk/runtime/src/include/50/omp_lib.h.var
===================================================================
--- openmp/trunk/runtime/src/include/50/omp_lib.h.var
+++ openmp/trunk/runtime/src/include/50/omp_lib.h.var
@@ -48,6 +48,8 @@
       parameter(omp_alloctrait_val_kind=int_ptr_kind())
       integer omp_pause_resource_kind
       parameter(omp_pause_resource_kind=omp_integer_kind)
+      integer omp_depend_kind
+      parameter(omp_depend_kind=int_ptr_kind())
 
       integer(kind=omp_integer_kind)openmp_version
       parameter(openmp_version=@LIBOMP_OMP_YEAR_MONTH@)
Index: openmp/trunk/runtime/src/include/50/omp_lib.f.var
===================================================================
--- openmp/trunk/runtime/src/include/50/omp_lib.f.var
+++ openmp/trunk/runtime/src/include/50/omp_lib.f.var
@@ -44,6 +44,7 @@
         end type omp_alloctrait
 
         integer, parameter :: omp_pause_resource_kind = omp_integer_kind
+        integer, parameter :: omp_depend_kind = int_ptr_kind()
 
       end module omp_lib_kinds
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61860.199600.patch
Type: text/x-patch
Size: 1994 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190515/6a250353/attachment.bin>


More information about the llvm-commits mailing list