clockwork icon indicating copy to clipboard operation
clockwork copied to clipboard

In prog: unsharp compute unit: hcompute_ratio_stencil has a mismatch between C++ and coreir

Open dillonhuff opened this issue 5 years ago • 1 comments

@jeffsetter now unsharp has an error in its compute units:

ERROR in compute unit: hcompute_ratio_stencil
in0_blur_unnormalized_stencil[0] -> 63743
in0_blur_unnormalized_stencil[0] -> 1111100011111111
in1_gray_stencil[0] -> 2
in1_gray_stencil[0] -> 0000000000000010
	coreir_result: 255
	cpp_result   : 192

dillonhuff avatar Nov 21 '20 04:11 dillonhuff

This is another instance where the shift is not behaving the same in coreir and the cpu. Similar to this: https://github.com/dillonhuff/clockwork/issues/108

jeffsetter avatar Nov 21 '20 06:11 jeffsetter