halide / Halide

a language for fast, portable data-parallel computation
https://halide-lang.org
Other
5.8k stars 1.07k forks source link

HalideTraceViz: Second Trace Visualization rounded up. #3508

Open Bootstrap360 opened 5 years ago

Bootstrap360 commented 5 years ago

When visualising several traces from the same executable, TraceViz rounds the pixels up to their max value. Running the exact same pipeline causes two different videos to be produced. The videos can be found attached.

gradient_videos.tar.gz

I have followed the instructions on the README to build Halide at ~/repositories/Halide$ git rev-parse HEAD d46b547ef27377fc7e1997cd41c8dcc2be042dd8

My git repository can be found here: https://github.com/Bootstrap360/halide_sandbox Please checkout the branch showing-TraceViz-bug

steven-johnson commented 5 years ago

Sounds like a bug :-)

We'd love a fix to be contributed.