https://github.com/halide/Halide
Raw File
Tip revision: 576dda65d1a9a4ad292a55821960d66e74edbc04 authored by Steven Johnson on 23 August 2022, 17:01:17 UTC
Merge branch 'rootjalex/fix-sat-overflow' into srj/sat-fixes-exp
Tip revision: 576dda6
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