Revision 9a94756d01d9071ff1610bfc4cb170bd47f701a8 authored by Alexander Root on 21 July 2022, 15:01:16 UTC, committed by GitHub on 21 July 2022, 15:01:16 UTC
* use pmaddubsw 8-bit horizontal widening adds * add SSE3 versions too * add pmaddubsw tests
1 parent 967c3bf
UnsafePromises.h
#ifndef HALIDE_UNSAFE_PROMISES_H
#define HALIDE_UNSAFE_PROMISES_H
/** \file
* Defines the lowering pass that removes unsafe promises
*/
#include "Expr.h"
namespace Halide {
struct Target;
namespace Internal {
/** Lower all unsafe promises into either assertions or unchecked
code, depending on the target. */
Stmt lower_unsafe_promises(const Stmt &s, const Target &t);
/** Lower all safe promises by just stripping them. This is a good
* idea once no more lowering stages are going to use
* boxes_touched. */
Stmt lower_safe_promises(const Stmt &s);
} // namespace Internal
} // namespace Halide
#endif
Computing file changes ...