Revision 9a07c7d4c5945a7fa4329ee6376cc92dad5f7589 authored by Andrew Adams on 06 July 2020, 21:58:37 UTC, committed by Andrew Adams on 06 July 2020, 21:58:37 UTC
1 parent a1cfd8e
Raw File
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