1 ! RUN: %python %S/../test_modfile.py %s %flang_fc1 -fopenacc
4 real :: data_create(100)
5 !$acc declare create(data_create)
7 real :: data_copyin(10)
8 !$acc declare copyin(data_copyin)
10 real :: data_copyinro(10)
11 !$acc declare copyin(readonly: data_copyinro)
13 real :: data_device_resident(20)
14 !$acc declare device_resident(data_device_resident)
16 integer :: data_link(50)
17 !$acc declare link(data_link)
19 !$acc routine(sub10) seq
43 !$acc routine gang(dim:2)
47 !$acc routine bind("sub7_")
51 !$acc routine bind(sub7)
56 !$acc routine seq bind(sub7)
57 !$acc routine gang bind(sub8)
64 !$acc routine device_type(nvidia) gang device_type(*) seq
68 !$acc routine device_type(host) bind(sub7) device_type(multicore) bind(sub8)
74 ! real(4)::data_create(1_8:100_8)
75 ! !$acc declare create(data_create)
76 ! real(4)::data_copyin(1_8:10_8)
77 ! !$acc declare copyin(data_copyin)
78 ! real(4)::data_copyinro(1_8:10_8)
79 ! !$acc declare copyin(readonly: data_copyinro)
80 ! real(4)::data_device_resident(1_8:20_8)
81 ! !$acc declare device_resident(data_device_resident)
82 ! integer(4)::data_link(1_8:50_8)
83 ! !$acc declare link(data_link)
95 ! !$acc routine vector
98 ! !$acc routine worker
101 ! !$acc routine gang(dim:2)
104 ! !$acc routine bind("sub7_")
107 ! !$acc routine bind(sub7)
110 ! !$acc routine vector
111 ! !$acc routine seq bind(sub7)
112 ! !$acc routine gang bind(sub8)
118 ! !$acc routine device_type(nvidia) gang device_type(*) seq
121 ! !$acc routine device_type(host) bind(sub7) device_type(multicore) bind(sub8)