Skip to content

Commit

Permalink
Remove deprecated Halide::Output type (halide#6685)
Browse files Browse the repository at this point in the history
It was deprecated (in favor of `OutputFileType` in Halide 14; let's remove it entirely for Halide 15.
  • Loading branch information
steven-johnson authored and ardier committed Mar 3, 2024
1 parent bedf0be commit 1e44d19
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions src/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,42 +43,6 @@ enum class OutputFileType {
stmt_html,
};

class HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") Output {
public:
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType assembly = OutputFileType::assembly;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType bitcode = OutputFileType::bitcode;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType c_header = OutputFileType::c_header;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType c_source = OutputFileType::c_source;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType compiler_log = OutputFileType::compiler_log;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType cpp_stub = OutputFileType::cpp_stub;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType featurization = OutputFileType::featurization;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType llvm_assembly = OutputFileType::llvm_assembly;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType object = OutputFileType::object;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType python_extension = OutputFileType::python_extension;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType pytorch_wrapper = OutputFileType::pytorch_wrapper;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType registration = OutputFileType::registration;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType schedule = OutputFileType::schedule;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType static_library = OutputFileType::static_library;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType stmt = OutputFileType::stmt;
HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output")
static constexpr OutputFileType stmt_html = OutputFileType::stmt_html;
}; // namespace Output

/** Type of linkage a function in a lowered Halide module can have.
Also controls whether auxiliary functions and metadata are generated. */
enum class LinkageType {
Expand Down

0 comments on commit 1e44d19

Please sign in to comment.