PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Undefined reference to `atomicaddd' using emulation mode
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
crip_crop



Joined: 28 Jul 2010
Posts: 68

PostPosted: Tue Nov 06, 2012 6:47 am    Post subject: Undefined reference to `atomicaddd' using emulation mode Reply with quote

Hi there,

ever since I included the atomicadd function in my GPU code I've not been able to compile the code to use emulation mode.

I get the following error:

Quote:
Undefined reference to `atomicaddd'


I'm using the function to accumulate double precision values in to a double precision array. It works perfectly on the GPU but I need to use the emulation mode to debug another part of the code.

Is this a compiler bug?

Cheers,
Crip_crop
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Nov 06, 2012 10:06 am    Post subject: Reply with quote

Hi Crip Crop,

Looks like our compiler team missed adding this one to the emulation library. We'll get it into 13.0. In the meantime we can send you an object file you can link with. Let me know if you want to wait or if you want me to send you the file.

Thanks,
Mat
Back to top
View user's profile
crip_crop



Joined: 28 Jul 2010
Posts: 68

PostPosted: Tue Nov 06, 2012 10:20 am    Post subject: Reply with quote

Please can you send me the object file. Do you need me to send you an email? I don't want to put my email on this thread.

Cheers,
Crip_crop
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Nov 06, 2012 10:32 am    Post subject: Reply with quote

Hi Crip Crop,

Actually, it looks like we did get this into 12.10. Are you able to update your compiler version? If not, I can send you the object (I can get your email address).

- Mat
Back to top
View user's profile
crip_crop



Joined: 28 Jul 2010
Posts: 68

PostPosted: Tue Nov 06, 2012 10:49 am    Post subject: Reply with quote

I should be able to get an update from IT services... I'll let you know if I can't.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 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