https://github.com/halide/Halide
Raw File
Tip revision: 88f2956f8c996e86d8f688ef8eb77949cbde1495 authored by Steven Johnson on 09 September 2022, 23:40:56 UTC
Allow use of bool|int|float for Generator type args
Tip revision: 88f2956
Qualify.h
#ifndef HALIDE_QUALIFY_H
#define HALIDE_QUALIFY_H

/** \file
 *
 * Defines methods for prefixing names in an expression with a prefix string.
 */
#include <string>

#include "Expr.h"

namespace Halide {
namespace Internal {

/** Prefix all variable names in the given expression with the prefix string. */
Expr qualify(const std::string &prefix, const Expr &value);

}  // namespace Internal
}  // namespace Halide

#endif
back to top