PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

interface assignment (=)can't use in CUDA on GPU

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



Joined: 16 Dec 2009
Posts: 31

PostPosted: Tue Aug 17, 2010 1:00 am    Post subject: interface assignment (=)can't use in CUDA on GPU Reply with quote

interface assignment (=)
module procedure xx
end interface

contains

attributes(device) subroutine xx (qa, qb)
type (dd) ,intent (out):: qa
type (dd), intent (in):: qb
qa%dda= qb%dda
return
end subroutine


The procedure the contians interface assignment (=) work well on host ,but on device it can't work anyway.
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Aug 17, 2010 8:23 am    Post subject: Reply with quote

Hi SWL_EGGBABY,

I just tried this using the 10.8 compilers and it seems to work correctly. Though, I did have problems with earlier versions.

Do you mind trying 10.8 and see if your issue has been fixed? If not, can you please post an example of the error you are seeing?

Thanks,
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