repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
OpenACC documentation updates.
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.oacc-c
/
lib-7.c
blob
e78734b30116795357d02c24d591bdd3fd3a2fc8
1
/* { dg-do run } */
2
3
#include <stdlib.h>
4
#include <openacc.h>
5
6
int
7
main
(
int
argc
,
char
**
argv
)
8
{
9
if
(
acc_get_num_devices
(
acc_device_none
) !=
0
)
10
abort
();
11
12
if
(
acc_get_num_devices
(
acc_device_host
) ==
0
)
13
abort
();
14
15
return
0
;
16
}
17
18
/* { dg-output "" } */