Halide
HexagonOffload.h
Go to the documentation of this file.
1 #ifndef HALIDE_HEXAGON_OFFLOAD_H
2 #define HALIDE_HEXAGON_OFFLOAD_H
3 
4 /** \file
5  * Defines a lowering pass to pull loops marked with the
6  * Hexagon device API to a separate module, and call them through the
7  * Hexagon host runtime module.
8  */
9 
10 #include "Module.h"
11 
12 namespace Halide {
13 namespace Internal {
14 
15 /** Pull loops marked with the Hexagon device API to a separate
16  * module, and call them through the Hexagon host runtime module. */
17 Stmt inject_hexagon_rpc(Stmt s, const Target &host_target, Module &module);
18 
19 Buffer<uint8_t> compile_module_to_hexagon_shared_object(const Module &device_code);
20 
21 } // namespace Internal
22 } // namespace Halide
23 
24 #endif
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
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AddAtomicMutex.h:21
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Module.h
Halide::Internal::compile_module_to_hexagon_shared_object
Buffer< uint8_t > compile_module_to_hexagon_shared_object(const Module &device_code)