|
Halide 21.0.0
Halide compiler and libraries
|
Represents the bounds of a region of arbitrary dimension. More...
#include <Bounds.h>
Public Member Functions | |
| Box ()=default | |
| Box (size_t sz) | |
| Box (const std::vector< Interval > &b) | |
| size_t | size () const |
| bool | empty () const |
| Interval & | operator[] (size_t i) |
| const Interval & | operator[] (size_t i) const |
| void | resize (size_t sz) |
| void | push_back (const Interval &i) |
| bool | maybe_unused () const |
| Check if the used condition is defined and not trivially true. | |
Public Attributes | |
| Expr | used |
| The conditions under which this region may be touched. | |
| std::vector< Interval > | bounds |
| The bounds if it is touched. | |
Represents the bounds of a region of arbitrary dimension.
Zero dimensions corresponds to a scalar region.
|
default |
Referenced by operator<<.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Halide::Internal::Box::maybe_unused | ( | ) | const |
Check if the used condition is defined and not trivially true.
| Expr Halide::Internal::Box::used |
| std::vector<Interval> Halide::Internal::Box::bounds |
The bounds if it is touched.
Definition at line 58 of file Bounds.h.
Referenced by Box(), Box(), empty(), operator[](), operator[](), push_back(), resize(), and size().