PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

complex(8), value :: triggers internal compiler error

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



Joined: 28 Jul 2004
Posts: 3

PostPosted: Fri Dec 03, 2010 9:05 am    Post subject: complex(8), value :: triggers internal compiler error Reply with quote

Hi,

In case anybody cares, this (trivial) kernel:

attributes(global) subroutine kernel_add_kets(src,dst,wgt)
complex(8), device :: src(:,:), dst(:,:)
complex(8), value :: wgt
end subroutine kernel_add_kets

triggers an internal compiler error with 10.9 compilers (pgf90 -fast -Mcuda=cc20):

PGF90-S-0000-Internal compiler error. unrec dtype in cp_iregarg 12

Have fun,

Serguei
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Dec 03, 2010 10:07 am    Post subject: Reply with quote

Hi Serguei,

Thank you for your post. This is a known issue having to do with passing complex variables by value. This error will be addressed in the upcoming 2011 release of the compilers.

Best Regards,
Mat
Back to top
View user's profile
jtull



Joined: 30 Jun 2004
Posts: 438

PostPosted: Tue Jul 19, 2011 2:35 pm    Post subject: TPR 17275 is fixed in 11.7 Reply with quote

Your complex type problem has been corrected in the 11.7 release.
Thanks again for the submission.

dave
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