File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ But this is terrible, because the URL is ugly.
100100
101101Overall: the OO API seems pointless and useless.
102102
103- ### Stateless Executation
103+ ### Stateless Execution
104104A meta-problem might be that we needs something in between ` cog-execute! `
105105and ` cog-set-value! ` . The problem with ` cog-execute! ` is it takes just
106106one argument: the Atom to execute. Thus, a Link must be created to wrap
Original file line number Diff line number Diff line change 1+ Design Notes G
2+ ==============
3+ September 2025
4+
5+ Notes about the mechanics of running AST's on GPU's.
6+
7+ The base implementation of the GPU interfaces is now sufficiently
8+ advanced that the next steps open up: the ability to take a given
9+ Atomese AST and run it on a GPU. That is, to create a GPU-cenetric
10+ library of arithmetic functions, and then take a specific abstract
11+ syntax tree (AST) written as e.g. ` (AccumLink (TimesLink A B)) ` and
12+ run it on the GPU. But what is the API to this, and what is the
13+ mechanics of doing this?
14+
15+ One possibility is to have PlusGPULink and TimesGPULink, and then have
16+ RuleLinks to transpose the AST from its "abstract" form to these
17+ concrete Atoms. This is problematic because RuleLinks remain difficult
18+ to work with and apply. They seem like a great idea but are tough.
19+ There are also little details that threaten coherency: stuff that might
20+ need to run locally before getting pushed off to the GPU, and the rules
21+ for these could be very arcane and detailed and prone to bugs.
22+
23+ Another possibility is to have an ` (ExecOnGPULink AST) ` , similar to
24+ ` (PureExec AST) `
25+
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ actual design.
1919 unimplemented. Next step should be ` PlusLink ` and ` TimesLink ` running
2020 on the GPU.
2121* [ Design-F] ( ./Design-F.md ) ponders RNN/LTSM embeddings of the AtomSpace.
22+ * [ Design-G] ( ./Design-G.md ) ponders mechanics of running AST's on GPU's.
2223
2324Structuralism Overview
2425----------------------
You can’t perform that action at this time.
0 commit comments