PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Accelerator restriction: unknown right hand side reference ?
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: 6134
Location: The Portland Group Inc.

PostPosted: Wed Aug 11, 2010 8:17 am    Post subject: Reply with quote

Hi Alistair,

FYI, 10.8 was released yesterday. http://www.pgroup.com/support/downloads.php

- Mat
Back to top
View user's profile
xray



Joined: 21 Jan 2010
Posts: 85

PostPosted: Fri Nov 26, 2010 6:53 am    Post subject: Reply with quote

Hi,
I get also the message "Unknown right hand side reference" when using the Accelerator model: I use a character array which contains a 0 (as integer) or a 1 (as integer), my code fragments looks like the following:
Code:

!$acc region
!$acc do private()
    do j = 0, numberPoints-1
        [..]
        if (ICHAR(isPoint(j)) == 0) then
          cycle
        end if
        [..]
    end do
!$acc end region

For that I get the message:
Code:
     97, Accelerator region ignored
     99, Accelerator restriction: invalid loop
    107, Accelerator restriction: unknown right hand side reference

Could you please explain again what the problem is or rather what the message indicates? Thanks!
Sandra
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Nov 29, 2010 4:19 pm    Post subject: Reply with quote

Hi Sandra,

Strings as well as the ICHAR intrinsic aren't support within an accelerator region so most likely the root cause of the errors. However, we'd need a reproducing example to see what the "unknown right hand side reference" is referring to.

- 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