Loading...
Searching...
No Matches
HexagonOffload.h
Go to the documentation of this file.
#ifndef HALIDE_HEXAGON_OFFLOAD_H
#define HALIDE_HEXAGON_OFFLOAD_H
/** \file
* Defines a lowering pass to pull loops marked with the
* Hexagon device API to a separate module, and call them through the
* Hexagon host runtime module.
*/
#include "Buffer.h"
#include "Expr.h"
namespace Halide {
class Module;
struct Target;
namespace Internal {
/** Pull loops marked with the Hexagon device API to a separate
* module, and call them through the Hexagon host runtime module. */
Stmt inject_hexagon_rpc(Stmt s, const Target &host_target, Module &module);
Buffer<uint8_t> compile_module_to_hexagon_shared_object(const Module &device_code);
} // namespace Internal
} // namespace Halide
#endif
Buffer.h
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Halide::Buffer
A Halide::Buffer is a named shared reference to a Halide::Runtime::Buffer.
Definition Buffer.h:122
Halide::Module
A halide module.
Definition Module.h:142
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::inject_hexagon_rpc
Stmt inject_hexagon_rpc(Stmt s, const Target &host_target, Module &module)
Pull loops marked with the Hexagon device API to a separate module, and call them through the Hexagon...
Halide::Internal::compile_module_to_hexagon_shared_object
Buffer< uint8_t > compile_module_to_hexagon_shared_object(const Module &device_code)
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::OutputFileType::device_code
@ device_code
Definition Module.h:47
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427
Halide::Target
A struct representing a target machine and os to generate code for.
Definition Target.h:19