1#ifndef HALIDE_CONCISE_CASTS_H
2#define HALIDE_CONCISE_CASTS_H
16namespace ConciseCasts {
20 return cast(t, std::move(e));
25 return cast(t, std::move(e));
30 return cast(t, std::move(e));
35 return cast(t, std::move(e));
40 return cast(t, std::move(e));
45 return cast(t, std::move(e));
50 return cast(t, std::move(e));
55 return cast(t, std::move(e));
60 return cast(t, std::move(e));
65 return cast(t, std::move(e));
70 return cast(t, std::move(e));
75 return cast(t, std::move(e));
Defines various operator overloads and utility functions that make it more pleasant to work with Hali...
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Type BFloat(int bits, int lanes=1)
Construct a floating-point type in the bfloat format.
Type UInt(int bits, int lanes=1)
Constructing an unsigned integer type.
Type Float(int bits, int lanes=1)
Construct a floating-point type.
Type Int(int bits, int lanes=1)
Constructing a signed integer type.
Internal::ConstantInterval cast(Type t, const Internal::ConstantInterval &a)
Cast operators for ConstantIntervals.
Internal::ConstantInterval saturating_cast(Type t, const Internal::ConstantInterval &a)
A fragment of Halide syntax.
HALIDE_ALWAYS_INLINE Type type() const
Get the type of this expression node.
Types in the halide type system.
HALIDE_ALWAYS_INLINE int lanes() const
Return the number of vector elements in this type.