cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
1,101 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
Observer
1,099 Views
Registered: ‎05-18-2017

Re: SDAccel sobel filter example not working

can someone advise?

Tags (2)
0 Kudos
Highlighted
Moderator
Moderator
1,054 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