https://github.com/halide/Halide
Raw File
Tip revision: 928ba6ebaa8f9a7bb5d07ec3775a71723d6d3b5f authored by Steven Johnson on 17 November 2021, 23:17:04 UTC
Merge branch 'master' into shoaibkamil/opengl_compute_tests
Tip revision: 928ba6e
MatlabWrapper.h
#ifndef HALIDE_MATLAB_OUTPUT_H
#define HALIDE_MATLAB_OUTPUT_H

/** \file
 *
 * Provides an output function to generate a Matlab mex API compatible object file.
 */

namespace llvm {
class Module;
class Function;
class Value;
}  // namespace llvm

namespace Halide {
namespace Internal {

/** Add a mexFunction wrapper definition to the module, calling the
 * function with the name pipeline_name. Returns the mexFunction
 * definition. */
llvm::Function *define_matlab_wrapper(llvm::Module *module,
                                      llvm::Function *pipeline_argv_wrapper,
                                      llvm::Function *metadata_getter);

}  // namespace Internal
}  // namespace Halide

#endif
back to top