https://github.com/halide/Halide
Raw File
Tip revision: 680a984676fdd4306cf41c6ce3b1fda249b2bfd1 authored by Z Stern on 26 December 2017, 14:18:00 UTC
Try making the auto scheduler tests non-parallel so they don't fail as
Tip revision: 680a984
AlignLoads.h
#ifndef HALIDE_ALIGN_LOADS_H
#define HALIDE_ALIGN_LOADS_H

/** \file
 * Defines a lowering pass that rewrites unaligned loads into
 * sequences of aligned loads.
 */
#include "IR.h"
#include "Target.h"
namespace Halide {
namespace Internal {

/** Attempt to rewrite unaligned loads from buffers which are known to
 * be aligned to instead load aligned vectors that cover the original
 * load, and then slice the original load out of the aligned
 * vectors. */
Stmt align_loads(Stmt s, int alignment);

}
}

#endif
back to top