From 2000d381a8cbfec64bfd3c0909e0edd5e16e1eee Mon Sep 17 00:00:00 2001 From: hppeng Date: Fri, 24 Jun 2022 20:26:26 -0700 Subject: [PATCH] Incremental progress --- builder/doc.html | 1436 +++++++++++++++++++++++++++++++++++++++ js/computation_graph.js | 2 + 2 files changed, 1438 insertions(+) create mode 100644 builder/doc.html diff --git a/builder/doc.html b/builder/doc.html new file mode 100644 index 0000000..da5e87a --- /dev/null +++ b/builder/doc.html @@ -0,0 +1,1436 @@ + + + + + + + + + + + WynnBuilder + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + diff --git a/js/computation_graph.js b/js/computation_graph.js index 0066186..283f54a 100644 --- a/js/computation_graph.js +++ b/js/computation_graph.js @@ -1,3 +1,4 @@ +let all_nodes = []; class ComputeNode { /** * Make a generic compute node. @@ -16,6 +17,7 @@ class ComputeNode { this.dirty = true; this.inputs_dirty = new Map(); this.inputs_dirty_count = 0; + all_nodes.push(this); } /**