https://github.com/halide/Halide
Raw File
Tip revision: b2e3cc34434b48098be7301fd567f561af550221 authored by Andrew Adams on 04 October 2023, 19:22:12 UTC
Merge branch 'abadams/fix_riscv_vx_vi' into abadams/fix_7871
Tip revision: b2e3cc3
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