PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

function/procedure calls not supported
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
mkcolg



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

PostPosted: Fri Mar 02, 2012 10:28 am    Post subject: Reply with quote

Hi Saumik,

Quote:
The problem I am facing is that the subroutine definitions contain alternate return statements/data statements/format statements/assigned goto statements making them not inlinable
Unfortunately these constructs also make then not suitable for a GPU.

Quote:
Is there a workaround?
The other option is to push the acc directives into the subroutine and then use a data region and reflected directives to pass device data. Though, if the subroutine does not contain enough parallelization, you may not see much gain in performance.

Quote:
The fact remains that it is virtually impossible to tinker with these statements without destroying the existing structure of the code.
While ideally porting to a GPU would require no changes to existing code, in your case it does seem some changes may be necessary.

- 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
Goto page Previous  1, 2
Page 2 of 2

 
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