[Openmp-commits] [PATCH] D21531: Fix typos in Fortran headers
Terry Wilmarth via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jun 20 12:56:19 PDT 2016
tlwilmar created this revision.
tlwilmar added reviewers: jlpeyton, AndreyChurbanov.
tlwilmar added a subscriber: openmp-commits.
tlwilmar set the repository for this revision to rL LLVM.
Fix typos in Fortran headers to match spec.
Patch by Andrey Churbanov.
Repository:
rL LLVM
http://reviews.llvm.org/D21531
Files:
runtime/src/include/45/omp_lib.f90.var
runtime/src/include/45/omp_lib.h.var
Index: runtime/src/include/45/omp_lib.h.var
===================================================================
--- runtime/src/include/45/omp_lib.h.var
+++ runtime/src/include/45/omp_lib.h.var
@@ -186,7 +186,7 @@
subroutine omp_get_place_proc_ids(place_num, ids) bind(c)
import
integer (kind=omp_integer_kind), value :: place_num
- integer (kind=kmp_pointer_kind) ids
+ integer (kind=kmp_pointer_kind) ids(*)
end subroutine omp_get_place_proc_ids
function omp_get_place_num() bind(c)
@@ -201,7 +201,7 @@
subroutine omp_get_partition_place_nums(place_nums) bind(c)
import
- integer (kind=kmp_pointer_kind) place_nums
+ integer (kind=kmp_pointer_kind) place_nums(*)
end subroutine omp_get_partition_place_nums
function omp_get_wtime() bind(c)
@@ -490,7 +490,7 @@
subroutine omp_init_nest_lock_with_hint(nvar, hint) bind(c)
import
- integer (kind=omp_lock_kind) nvar
+ integer (kind=omp_nest_lock_kind) nvar
integer (kind=omp_lock_hint_kind), value :: hint
end subroutine omp_init_nest_lock_with_hint
Index: runtime/src/include/45/omp_lib.f90.var
===================================================================
--- runtime/src/include/45/omp_lib.f90.var
+++ runtime/src/include/45/omp_lib.f90.var
@@ -197,7 +197,7 @@
subroutine omp_get_place_proc_ids(place_num, ids) bind(c)
use omp_lib_kinds
integer (kind=omp_integer_kind), value :: place_num
- integer (kind=kmp_pointer_kind) ids
+ integer (kind=kmp_pointer_kind) ids(*)
end subroutine omp_get_place_proc_ids
function omp_get_place_num() bind(c)
@@ -212,7 +212,7 @@
subroutine omp_get_partition_place_nums(place_nums) bind(c)
use omp_lib_kinds
- integer (kind=kmp_pointer_kind) place_nums
+ integer (kind=kmp_pointer_kind) place_nums(*)
end subroutine omp_get_partition_place_nums
function omp_get_wtime() bind(c)
@@ -515,7 +515,7 @@
subroutine omp_init_nest_lock_with_hint(nvar, hint) bind(c)
use omp_lib_kinds
- integer (kind=omp_lock_kind) nvar
+ integer (kind=omp_nest_lock_kind) nvar
integer (kind=omp_lock_hint_kind), value :: hint
end subroutine omp_init_nest_lock_with_hint
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21531.61294.patch
Type: text/x-patch
Size: 2457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160620/c1a6703d/attachment-0001.bin>
More information about the Openmp-commits
mailing list