1 #ifndef HALIDE_FUSE_GPU_THREAD_LOOPS_H 2 #define HALIDE_FUSE_GPU_THREAD_LOOPS_H Stmt fuse_gpu_thread_loops(Stmt s)
Converts Halide's GPGPU IR to the OpenCL/CUDA/Metal model.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt) ...
Not visible externally, similar to 'static' linkage in C.
Stmt zero_gpu_loop_mins(const Stmt &s)
Rewrite all GPU loops to have a min of zero.