Open xzg-wang-er opened 2 years ago
hi, I have met the same problem. I wonder how you fix it?
Hi,
I ran into the same problem. It is because in the meantime Halide itself changed the signature of its boundary functions. Now you should be using the Range object defined in Halide.h, that defines a slice between min and max (like [min:max] in Python) as:
Func imgs_mirror = BoundaryConditions::mirror_interior(imgs, {Range(0, width), Range(0, height)}); instead of the former Func imgs_mirror = BoundaryConditions::mirror_interior(imgs, 0, width, 0, height);
Do it anywhere there is a call of boundary routines and it should not raise errors anymore. Hope it helps!