PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Accelerator "cache" cluase not working with PGI 12

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
sindimo



Joined: 30 Nov 2010
Posts: 29
Location: Saudi Aramco

PostPosted: Sun May 06, 2012 10:15 pm    Post subject: Accelerator "cache" cluase not working with PGI 12 Reply with quote

Dear Support,

We have some Fortran code we are trying to accelerator via directives. The code used to compile and run fine when using an older version of the compiler PGI 11.8 with cuda 3.2. We upgraded to the latest PGI 12.4 with cuda 4.0 and the code no longer compiles.

It gives the below error:
PGF90-S-0034-Syntax error at or near identifier cache

The array of concern "vv" is reflected:
!$acc reflected(vv)

The directive line giving the error is the following:
!$acc do parallel vector(16) kernel cache(vv)

If I take out the cache clause it compiles fine.

According to the PGI Accelerator Programming Model v 1.3, the cache clause is still valid.

Any idea what might be wrong here? Is the cache clause still supported with PGI 12.4?

Thank you for your help.

Mohamad Sindi
EXPEC Advanced Research Center
Saudi Aramco
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6120
Location: The Portland Group Inc.

PostPosted: Mon May 07, 2012 9:40 am    Post subject: Reply with quote

Hi Mohamad,

Thank you for the report. This is a known compiler error in 12.4 which will be fixed in the upcoming 12.5 release.

Best Regards,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group