mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Previously the FindOpenACC module had issues where the contents of OpenACC_<lang>_FLAGS could not be used with target_compile_options when it contained multiple compiler flags.
10 lines
189 B
Fortran
10 lines
189 B
Fortran
program t
|
|
integer(4) a(10000)
|
|
a = [ (1+i,i=1,10000) ]
|
|
!$acc kernels
|
|
do i = 1, 10000
|
|
if (a(i)/3000*3000.eq.a(i)) print *," located ",i,a(i),i.gt.5000,a(i)/5.0
|
|
end do
|
|
!$acc end kernels
|
|
end
|