firstprivate clause in OpenACC

Hello,

I can not use firstprivate with a parallel clause.
This is the code:

for (i=0; i < size; i++){
   j = i;
   #pragma acc parallel loop copy(a[0:size*size]) firstprivate (j)
   for (j=i; j < size; j++){
      a[i] =a[j*size+i];
   }
}

An the output from PGI (12.5) compiler:

[ivan@garoe testcase]$ make
pgcc -fast -Minline -Minfo:all -Mcuda -acc -ta:nvidia lud_acc.c -o lud
PGC-S-0036-Syntax error: Recovery attempted by inserting before identifier firstprivate (lud_acc.c: 20)

I have tried with this syntax too:

for (i=0; i < size; i++){
   #pragma acc parallel copy(a[0:size*size]) firstprivate (j)
   #pragma acc loop independent
   for (j=i; j < size; j++){
      a[i] =a[j*size+i];
   }
}

But I get some problems as well:

PGC-S-0035-Syntax error: Recovery attempted by replacing identifier firstprivate by accparallel (lud_acc.c: 20)

Does anyone has any idea about how to use firstprivate?

Thanks in advance for your time and assintance.

Iván

==

accULL developer.

Support for the firstprivate clause will not be available until the 12.6 release.

Thank you for your reply!

I will be waiting for the next version ;-)