Skip gnat.dg/prot7.adb on hppa.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-fortran / lib-2.f
blob3c8d8dba3e79f1809973c0c418930b3c8da8416e
1 ! { dg-do run }
3 USE OPENACC
5 IF (ACC_GET_NUM_DEVICES (ACC_DEVICE_HOST) .NE. 1) STOP 1
6 CALL ACC_SET_DEVICE_TYPE (ACC_DEVICE_HOST)
7 IF (ACC_GET_DEVICE_TYPE () .NE. ACC_DEVICE_HOST) STOP 2
8 CALL ACC_SET_DEVICE_NUM (0, ACC_DEVICE_HOST)
9 IF (ACC_GET_DEVICE_NUM (ACC_DEVICE_HOST) .NE. 0) STOP 3
10 CALL ACC_SHUTDOWN (ACC_DEVICE_HOST)
12 CALL ACC_INIT (ACC_DEVICE_HOST)
13 CALL ACC_SHUTDOWN (ACC_DEVICE_HOST)
15 END