Halide 19.0.0
Halide compiler and libraries
|
A stack which can store one item very efficiently. More...
#include <Scope.h>
Public Member Functions | |
SmallStack ()=default | |
void | pop () |
void | push (T t) |
T | top () const |
T & | top_ref () |
const T & | top_ref () const |
bool | empty () const |
size_t | size () const |
A stack which can store one item very efficiently.
Using this instead of std::stack speeds up Scope substantially.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |