Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Func.h File Reference

Defines Func - the front-end handle on a halide function, and related classes. More...

#include "Argument.h"
#include "Expr.h"
#include "JITModule.h"
#include "Module.h"
#include "Param.h"
#include "Pipeline.h"
#include "RDom.h"
#include "Target.h"
#include "Tuple.h"
#include "Var.h"
#include <map>
#include <utility>

Go to the source code of this file.

Classes

struct  Halide::VarOrRVar
 A class that can represent Vars or RVars. More...
 
class  Halide::Stage
 A single definition of a Func. More...
 
class  Halide::FuncRef
 A fragment of front-end syntax of the form f(x, y, z), where x, y, z are Vars or Exprs. More...
 
class  Halide::FuncTupleElementRef
 A fragment of front-end syntax of the form f(x, y, z)[index], where x, y, z are Vars or Exprs. More...
 
class  Halide::EvictionKey
 Helper class for identifying purpose of an Expr passed to memoize. More...
 
class  Halide::Func
 A halide function. More...
 

Namespaces

namespace  Halide
 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.
 
namespace  Halide::Internal
 

Typedefs

typedef Stage Halide::ScheduleHandle
 

Functions

Expr Halide::min (const FuncRef &a, const FuncRef &b)
 Explicit overloads of min and max for FuncRef.
 
Expr Halide::max (const FuncRef &a, const FuncRef &b)
 
template<typename Last >
void Halide::Internal::check_types (const Tuple &t, int idx)
 
template<typename First , typename Second , typename... Rest>
void Halide::Internal::check_types (const Tuple &t, int idx)
 
template<typename Last >
void Halide::Internal::assign_results (Realization &r, int idx, Last last)
 
template<typename First , typename Second , typename... Rest>
void Halide::Internal::assign_results (Realization &r, int idx, First first, Second second, Rest &&...rest)
 
template<typename T >
HALIDE_NO_USER_CODE_INLINEHalide::evaluate (JITUserContext *ctx, const Expr &e)
 JIT-Compile and run enough code to evaluate a Halide expression.
 
template<typename T >
HALIDE_NO_USER_CODE_INLINEHalide::evaluate (const Expr &e)
 evaluate with a default user context
 
template<typename First , typename... Rest>
HALIDE_NO_USER_CODE_INLINE void Halide::evaluate (JITUserContext *ctx, Tuple t, First first, Rest &&...rest)
 JIT-compile and run enough code to evaluate a Halide Tuple.
 
template<typename First , typename... Rest>
HALIDE_NO_USER_CODE_INLINE void Halide::evaluate (Tuple t, First first, Rest &&...rest)
 JIT-compile and run enough code to evaluate a Halide Tuple.
 
void Halide::Internal::schedule_scalar (Func f)
 
template<typename T >
HALIDE_NO_USER_CODE_INLINEHalide::evaluate_may_gpu (const Expr &e)
 JIT-Compile and run enough code to evaluate a Halide expression.
 
template<typename First , typename... Rest>
HALIDE_NO_USER_CODE_INLINE void Halide::evaluate_may_gpu (Tuple t, First first, Rest &&...rest)
 JIT-compile and run enough code to evaluate a Halide Tuple.
 

Detailed Description

Defines Func - the front-end handle on a halide function, and related classes.

Definition in file Func.h.