Revision 7af471fabebe12034c561ad6071bcab2eaeeaef7 authored by Andrew Adams on 12 October 2023, 18:47:40 UTC, committed by Andrew Adams on 12 October 2023, 18:47:40 UTC
1 parent 6a3fe1e
CanonicalizeGPUVars.h
#ifndef HALIDE_CANONICALIZE_GPU_VARS_H
#define HALIDE_CANONICALIZE_GPU_VARS_H
/** \file
* Defines the lowering pass that canonicalize the GPU var names over.
*/
#include "Expr.h"
namespace Halide {
namespace Internal {
/** Canonicalize GPU var names into some pre-determined block/thread names
* (i.e. __block_id_x, __thread_id_x, etc.). The x/y/z/w order is determined
* by the nesting order: innermost is assigned to x and so on. */
Stmt canonicalize_gpu_vars(Stmt s);
} // namespace Internal
} // namespace Halide
#endif
Computing file changes ...