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: 
Observer race
Observer
970 Views
Registered: ‎05-18-2017

SDAccel sobel filter example not working

 The sobel filter from Github is not working when B=1 (Hw-emu).  It is unable to partition the array.

 

0 Kudos
2 Replies
Observer race
Observer
968 Views
Registered: ‎05-18-2017

Re: SDAccel sobel filter example not working

can someone advise?

Tags (2)
0 Kudos
Highlighted
Moderator
Moderator
923 Views
Registered: ‎03-27-2012

Re: SDAccel sobel filter example not working

Hi @race,

 

The hw_emu will pass if you change line 139 of krnl_sobelfilter.cl to:

for(size_t x = 0; x < ((M(FILTER_WIDTH+B)-1)*B-2*(B<3)); x++) {

However, I am not familir with Sobel filter and can't tell if B<3 is really supported.

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos