https://github.com/halide/Halide
Raw File
Tip revision: f1a362c4466addb0ac2b067a981ca9238450cf12 authored by Ron Lieberman on 05 March 2018, 22:58:11 UTC
Makefile to support building libhalide_hexagon_host.so for LE
Tip revision: f1a362c
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 "IR.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);

}
}

#endif
back to top