UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor alterade2
Visitor
2,158 Views
Registered: ‎02-14-2013

disable loop pipelining

Jump to solution

Sdaccel document mentions that loop will be automatically unrolled under some conditions. The attribute "xcl_pipeline_loop" enables loop pipelining.

Is there a pragma or attribute that a user can use to disable loop pipelining ?

I hope the question makes sense. 

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
3,765 Views
Registered: ‎07-18-2014

Re: disable loop pipelining

Jump to solution

Hi @alterade2

 

You can use following commandline switch:

--xp "param:compiler.enableAutoPipelining=false" 

 

But this will apply to all loop, so with this switch, user should apply explicit pipeline pragma if needed.

 

Following Git example is using this switch (See the Makefile):

https://github.com/Xilinx/SDAccel_Examples/blob/master/getting_started/debug/debug_printf_ocl

 

-Heera

View solution in original post

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
3,766 Views
Registered: ‎07-18-2014

Re: disable loop pipelining

Jump to solution

Hi @alterade2

 

You can use following commandline switch:

--xp "param:compiler.enableAutoPipelining=false" 

 

But this will apply to all loop, so with this switch, user should apply explicit pipeline pragma if needed.

 

Following Git example is using this switch (See the Makefile):

https://github.com/Xilinx/SDAccel_Examples/blob/master/getting_started/debug/debug_printf_ocl

 

-Heera

View solution in original post

0 Kudos
Visitor alterade2
Visitor
1,980 Views
Registered: ‎02-14-2013

Re: disable loop pipelining

Jump to solution
Thanks
0 Kudos