Halide
InjectOpenGLIntrinsics.h
Go to the documentation of this file.
1 #ifndef HALIDE_INJECT_OPENGL_INTRINSICS_H
2 #define HALIDE_INJECT_OPENGL_INTRINSICS_H
3 
4 /** \file
5  * Defines the lowering pass that injects texture loads and texture
6  * stores for opengl.
7  */
8 
9 #include "Expr.h"
10 
11 namespace Halide {
12 namespace Internal {
13 
14 /** Take a statement with for kernel for loops and turn loads and
15  * stores inside the loops into OpenGL texture load and store
16  * intrinsics. Should only be run when the OpenGL target is active. */
17 Stmt inject_opengl_intrinsics(const Stmt &s);
18 
19 } // namespace Internal
20 } // namespace Halide
21 
22 #endif
Halide::Internal::inject_opengl_intrinsics
Stmt inject_opengl_intrinsics(const Stmt &s)
Take a statement with for kernel for loops and turn loads and stores inside the loops into OpenGL tex...
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.
Expr.h