Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/smoke-dev/flang-273759/flang-273759.f95
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
! example of simple Fortran AMD GPU offloading
program main
implicit none
parameter (nsize=1000)
real a(nsize), b(nsize), c(nsize)
integer i
integer i, nsize

do i=1,nsize
a(i)=0
Expand All @@ -24,9 +25,10 @@ program main
! call exit(1)
end
subroutine foo(a,b,c)
implicit none
parameter (nsize=1000)
real a(nsize), b(nsize), c(nsize)
integer i
integer i, omp_q, nsize
!$omp target map(from:a) map(to:b,c) depend(out:omp_q)
!$omp parallel do
do i=1,nsize
Expand Down