Halide 16.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
CanonicalizeGPUVars.h
Go to the documentation of this file.
1#ifndef HALIDE_CANONICALIZE_GPU_VARS_H
2#define HALIDE_CANONICALIZE_GPU_VARS_H
3
4/** \file
5 * Defines the lowering pass that canonicalize the GPU var names over.
6 */
7
8#include "Expr.h"
9
10namespace Halide {
11namespace Internal {
12
13/** Canonicalize GPU var names into some pre-determined block/thread names
14 * (i.e. __block_id_x, __thread_id_x, etc.). The x/y/z/w order is determined
15 * by the nesting order: innermost is assigned to x and so on. */
17
18} // namespace Internal
19} // namespace Halide
20
21#endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt canonicalize_gpu_vars(Stmt s)
Canonicalize GPU var names into some pre-determined block/thread names (i.e.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
Expr cast(Expr a)
Cast an expression to the halide type corresponding to the C++ type T.
Definition IROperator.h:358
A reference-counted handle to a statement node.
Definition Expr.h:418