PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Functions/Procedure 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
Karthee



Joined: 08 Jul 2010
Posts: 4

PostPosted: Tue Jul 20, 2010 11:05 am    Post subject: Reply with quote

Hi Mat,

Thanks for your replies. Appreciate your time and effort.
We currently got the latest version of pgfortran 10.6. Complex arithmetic seems to be not working on this still.

Code:

       INTEGER,               ALLOCATABLE :: yxv(:,:,:)
       COMPLEX(kind=cx_kind), ALLOCATABLE :: k(:,:,:)
       COMPLEX(kind=cx_kind), ALLOCATABLE :: vtx(:,:,:,:)
       COMPLEX(kind=cx_kind) ctemp, phase3
........
!$acc region
!$acc do
        DO p = 1,npoints
          phase3 = 0
          DO r = 1,order+1
            DO mu = 0,NDIR-1
              ctemp = k(mu,r,p)
              DO i = 1,nterms
                phase3 = phase3 + ctemp*yxv(mu,r,i)
              END DO
            END DO
          END DO
          vtx(0,0,0,p) = phase3
        END DO
!$acc end region


I get the following message.
Accelerator restriction: struct/member references are not yet supported: imag(ctemp)
Accelerator restriction: struct/member references are not yet supported: real(ctemp)

Please advice.
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jul 21, 2010 10:18 am    Post subject: Reply with quote

Hi Karthee,
Quote:

Complex arithmetic seems to be not working on this still.
I checked with our compiler engineers. Complex arithmetic is supported, however this is a bug where the unroller where isn't copying the complex offset for complex scalar variables. They had found this a internally and have a fix in place for the 10.8 release.

Sorry for the error,
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