PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Loop unrolling
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
xray



Joined: 21 Jan 2010
Posts: 85

PostPosted: Sun Feb 05, 2012 4:22 am    Post subject: Reply with quote

Any news on this issue? It is really tedious to do the unrolling manually :-(
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Feb 06, 2012 10:55 am    Post subject: Reply with quote

Hi Sandra,

Let me ping Michael again. Both he and I have been travelling a lot the last few weeks so are behind on our responses.

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



Joined: 07 Mar 2014
Posts: 15

PostPosted: Fri Mar 21, 2014 5:38 am    Post subject: Reply with quote

Hi all,
I am experiencing a similar problem, I would like to force the unroll of an inner loop, but all of my attempts seem to be ignored.

Which is the right way to do it?


Thanks in advance,

Enrico
Back to top
View user's profile
EnricoC



Joined: 07 Mar 2014
Posts: 15

PostPosted: Wed Mar 26, 2014 3:30 am    Post subject: Reply with quote

Update:

Looking at the gpu/ptx code using the "keep" option I noticed that the loops I would like to unroll are actually implicitly unrolled in any case, independently from the use of the unroll keyword which seems actually to be ignored.

Loops are not completely unrolled, but just by 4, is this a predefined behaviour? Is there any way to control it?


Thaks in advance,

Enrico
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