aboutsummaryrefslogtreecommitdiffstats
path: root/core/module.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-08 11:44:27 +0100
committereunhhu <[email protected]>2026-10-08 11:44:27 +0100
commit33e990862283a2b187ce5efc59a542cf06180ea2 (patch)
tree5032e57618cf8007c6b4787179d13c223a5f22cb /core/module.h
parentd0558a3a728af8c6c0d8bef2ce7fa55565c518a5 (diff)
downloadpure-33e990862283a2b187ce5efc59a542cf06180ea2.tar.gz
pure-33e990862283a2b187ce5efc59a542cf06180ea2.zip
Batch: a selection's rows given back affine over the lanes around when they are (a loop's value gathered: the end's checks know them, where lanes of rows gave the batch back: knapsack 48 to 11.5 ms); a module with no value planned for reuse spares the batch the looks (reuses); local_load inlined again
Diffstat (limited to 'core/module.h')
-rw-r--r--core/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/module.h b/core/module.h
index 61c2e00..ee47429 100644
--- a/core/module.h
+++ b/core/module.h
@@ -260,6 +260,7 @@ typedef struct {
* nothing changed between: at its code's first instruction, the earlier root + 1 and its code's length (reuse_from,
* reuse_length; 0: none); at such an earlier root, reuse_from PURE_REUSE_KEPT (its value kept for them). */
uint32_t *reuse_from, *reuse_length;
+ bool reuses; /* some value of it is planned so (else a batch need not look) */
struct PureJit *jit; /* its blocks compiled (module-jit.c, docs/design/021), or NULL */
bool batches; /* a loop of it is planned to run in batches (module-batch.c, docs/design/024) */
PureInputShape input[PURE_MODULE_INPUTS];