#include <mim/axm.h>#include <mim/tuple.h>#include <mim/world.h>#include "mim/plug/buffer/buffer.h"Go to the source code of this file.
Namespaces | |
| namespace | mim |
| namespace | mim::plug |
| namespace | mim::plug::buffer |
| The buffer Plugin | |
Functions | |
%buffer.Buf | |
| const Def * | mim::plug::buffer::normalize_Buf (const Def *, const Def *callee, const Def *arg) |
| Buf (r, s, T) with literal size-1 axes in s ↦ Buf (r', s', T) with those axes dropped. | |
%buffer.read | |
| const Def * | mim::plug::buffer::normalize_read (const Def *type, const Def *, const Def *arg) |
| read (constant v) idx ↦ v. | |
%buffer.write | |
| const Def * | mim::plug::buffer::normalize_write (const Def *, const Def *, const Def *) |
%buffer.shape | |
| const Def * | mim::plug::buffer::normalize_shape (const Def *type, const Def *, const Def *arg) |
| shape buf i ↦ the i-th size, read off the buffer's type. | |