https://github.com/halide/Halide
Raw File
Tip revision: 3577f88cc38e4def98a00dd8abaaf1bd6c2d4efa authored by Andrew Adams on 01 February 2024, 17:46:10 UTC
Fix type error in VectorizeLoops (#8055)
Tip revision: 3577f88
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