• Paul Fultz II's avatar
    Update trace_eval to preview the output buffers (#1073) · b20e3d4d
    Paul Fultz II authored
    Currently, MIGRAPHX_TRACE_EVAL=2 prints out the entire output buffer, but this can produce a lot of output. To make it easier to inspect and debug, using MIGRAPHX_TRACE_EVAL=2 now only prints 10 elements from the buffer(the first 5 and last 5) and shows any fp classifications found in the buffer(ie nans, infinity, etc). The previous behavior can still be enabled with MIGRAPHX_TRACE_EVAL=3.
    b20e3d4d
program.cpp 30.3 KB