https://github.com/halide/Halide
Raw File
Tip revision: b7032904d311c7a88d6983a2a9c019ad0c8219ea authored by Steven Johnson on 03 April 2020, 00:38:50 UTC
Remove unnecessary includes of Buffer.h
Tip revision: b703290
AutoSchedule.h
#ifndef HALIDE_INTERNAL_AUTO_SCHEDULE_H
#define HALIDE_INTERNAL_AUTO_SCHEDULE_H

/** \file
 *
 * Defines the method that does automatic scheduling of Funcs within a pipeline.
 */

#include "Pipeline.h"
#include "Target.h"

namespace Halide {
namespace Internal {

class Function;

/** Generate schedules for Funcs within a pipeline. The Funcs should not already
 * have specializations or schedules as the current auto-scheduler does not take
 * into account user-defined schedules or specializations. This applies the
 * schedules and returns a string representation of the schedules. The target
 * architecture is specified by 'target'. */
std::string generate_schedules(const std::vector<Function> &outputs,
                               const Target &target,
                               const MachineParams &arch_params);

}  // namespace Internal
}  // namespace Halide

#endif
back to top