https://github.com/halide/Halide
Raw File
Tip revision: 1a53d6b68179ffa6cb456023ad00828effad4044 authored by Derek Gerstmann on 24 April 2023, 19:52:24 UTC
Merge branch 'main' into vulkan-phase2-runtime
Tip revision: 1a53d6b
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