https://github.com/halide/Halide
Raw File
Tip revision: a2387dd92e5a9f664600dadd06a6fa2797d3060d authored by Andrew Adams on 06 February 2024, 19:38:35 UTC
Merge branch 'abadams/validate_gpu_schedules' of https://github.com/halide/Halide into abadams/validate_gpu_schedules
Tip revision: a2387dd
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