cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kdavis119
Contributor
Contributor
507 Views
Registered: ‎04-23-2019

Vitis Vision Examples

I'm trying to follow tutorials to integration Vitis Libraries (specifically Vision) into my project.

https://beetlebox.org/getting-started-with-computer-vision-for-vitis-embedded-systems-part-4-vitis-vision-library/

I am using the FAST example from the Xilinx git repository.

However, when I go to add in my accelerated functions, there are no functions that appear under Add Hardware Function

The xf_fast_accel.cpp has a function called fast that I am expecting to be able to accelerate, and should see this in the pop up. 

I have followed the linked tutorial above to a T.

Additionally (possibly related?), every #pragma HLS XXXXX call like HLS DATAFLOW or HLS INTERFACE, is generating a warning when I build that says : 

"warning: ignoring #pragma HLS INTERFACE [-Wunknown-pragmas]

 

Any suggestions ? 

0 Kudos
2 Replies
stephenm
Moderator
Moderator
425 Views
Registered: ‎09-12-2007

Can you send a screenshot of what you are seeing? And what perspective you are in?

0 Kudos
akifoezkan
Visitor
Visitor
398 Views
Registered: ‎01-10-2019

You get these warnings when you compile HLS code by a C compiler (such as gcc, clang) that doesn't know the HLS pragmas.

 

If you are compiling an HLS code by a C compiler just to check functionality you are safe.

Unknown pragmas are ignored by compilers.

However, beware that you are not compiling the code for HLS when you get these warnings.

 

I guess you have to check your compilation flow and see what is going on.

0 Kudos