Revision bc30d6f83513724e9f832098d9e8d5fb87ebc9fc authored by Steven Johnson on 03 August 2023, 00:18:33 UTC, committed by GitHub on 03 August 2023, 00:18:33 UTC
* Revise labels on autoscheduler tests

This is step 1 in fixing https://github.com/halide/Halide/issues/7731: it replaces the `autoschedulers` tag with more granular ones, so that we can modify the build script to test the right autoscheduler(s) for a given backend. (Note that the `autoschedulers` tag was unused by the buildbots, which only used the generic `auto_schedule` tag.)

Step 2 will be to modify the buildbot script after this lands to use the new tags above.

Step 3 will be to remove the `auto_schedule` tag.

* Fix anderson2021 labels
1 parent 734df3f
Raw File
AddImageChecks.h
#ifndef HALIDE_INTERNAL_ADD_IMAGE_CHECKS_H
#define HALIDE_INTERNAL_ADD_IMAGE_CHECKS_H

/** \file
 *
 * Defines the lowering pass that adds the assertions that validate
 * input and output buffers.
 */
#include <map>
#include <string>
#include <vector>

#include "Bounds.h"
#include "Expr.h"

namespace Halide {

struct Target;

namespace Internal {

class Function;

/** Insert checks to make sure a statement doesn't read out of bounds
 * on inputs or outputs, and that the inputs and outputs conform to
 * the format required (e.g. stride.0 must be 1).
 */
Stmt add_image_checks(const Stmt &s,
                      const std::vector<Function> &outputs,
                      const Target &t,
                      const std::vector<std::string> &order,
                      const std::map<std::string, Function> &env,
                      const FuncValueBounds &fb,
                      bool will_inject_host_copies);

}  // namespace Internal
}  // namespace Halide

#endif
back to top