https://github.com/halide/Halide
Raw File
Tip revision: f8260025de1541d5760c16f809378906e3044d0d authored by Alexander on 25 August 2023, 22:26:23 UTC
Merge branch 'rootjalex/x86-sat' of github.com:halide/Halide into rootjalex/x86-sat
Tip revision: f826002
PythonExtensionGen.h
#ifndef HALIDE_PYTHON_EXTENSION_GEN_H_
#define HALIDE_PYTHON_EXTENSION_GEN_H_

#include <iostream>
#include <string>
#include <vector>

namespace Halide {

class Module;

namespace Internal {

struct LoweredArgument;
struct LoweredFunc;

class PythonExtensionGen {
public:
    PythonExtensionGen(std::ostream &dest);

    void compile(const Module &module);

private:
    std::ostream &dest;

    void compile(const LoweredFunc &f);
};

}  // namespace Internal
}  // namespace Halide

#endif  // HALIDE_PYTHON_EXTENSION_GEN_H_
back to top