Hi Ilmir! On Tue, 18 Mar 2014 16:37:24 +0400, Ilmir Usmanov <[email protected]> wrote: > This patch introduces support of OpenACC loop directive (and combined > directives) in C front-end up to GENERIC. Currently no clause is allowed.
> --- /dev/null
> +++ b/gcc/testsuite/c-c++-common/goacc/loop-1.c
> @@ -0,0 +1,89 @@
> +/* { dg-do compile } */
> +
> +int test1()
> +{
> + int i, j, k, b[10];
> + int a[30];
> + double d;
> + float r;
> + i = 0;
> + #pragma acc loop
> + for (i = 1; i < 10; i++)
> + {
> + }
Do you intend to support loop constructs that are not nested in a
parallel or kernels construct? As I'm reading it, the specification is
not clear on this. (I guess I'll raise this question with the OpenACC
guys.)
Grüße,
Thomas
pgpJV43AkyNA2.pgp
Description: PGP signature
