mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
19 lines
363 B
C
19 lines
363 B
C
|
/* { dg-additional-options "-save-temps" } */
|
||
|
/* { dg-do run { target openacc_nvidia_accel_selected } }
|
||
|
{ dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
int v1;
|
||
|
|
||
|
#pragma acc parallel vector_length (128)
|
||
|
#pragma acc loop vector
|
||
|
for (v1 = 0; v1 < 20; v1 += 2)
|
||
|
;
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
/* { dg-final { scan-assembler-not "bar.sync" } } */
|