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
[RISCV] Simplify MIPS CCMov patterns. NFC (#125318)
[llvm-project.git]
/
offload
/
test
/
offloading
/
fortran
/
basic_target_region.f90
blob
d13c19b013b6bdbce23856ad8ef3b311b26a8993
1
! Basic offloading test with a target region
2
! REQUIRES: flang, amdgpu
3
4
! RUN: %libomptarget-compile-fortran-run-and-check-generic
5
program
main
6
integer
::
x
;
7
x
=
0
8
!$omp target map(from:x)
9
x
=
5
10
!$omp end target
11
print
*,
"x = "
,
x
12
end program
main
13
14
! CHECK: x = 5
15