repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
offload
/
test
/
Inputs
/
basic_array.f90
blob
30fe7c8c0ef4862ba20b59f252cd3bfbd2c500da
1
subroutine
increment_at
(
c_index
,
arr
)
bind
(
C
,
name
=
"increment_at"
)
2
use
ISO_C_BINDING
3
!$omp declare target
4
integer
(
C_INT
),
dimension
(*),
intent
(
inout
) ::
arr
5
integer
(
C_INT
),
value
::
c_index
6
arr
(
c_index
+
1
) =
arr
(
c_index
+
1
) +
1
7
end subroutine