6 main (int argc
, char **argv
)
8 acc_device_t devtype
= acc_device_host
;
10 #if ACC_DEVICE_TYPE_nvidia
11 devtype
= acc_device_nvidia
;
13 if (acc_get_num_devices (devtype
) == 0)
24 /* { dg-output "device already active" } */
25 /* { dg-shouldfail "" } */