OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomese-simd commits / 45d2d56

Add next phase of design notes
45d2d56673b282a8bf3c49945fdeddf07454225a
by Linas Vepštas <linasvepstas@gmail.com> · 2025-09-19T19:04:29.000Z

Changed files (3) +27 -1

Design-F.md +1 -1
……@@ -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
Design-G.md +25 -0
……@@ -0,0 +1,25 @@
1Design Notes G
2==============
3September 2025
4
5Notes about the mechanics of running AST's on GPU's.
6
7The base implementation of the GPU interfaces is now sufficiently
8advanced that the next steps open up: the ability to take a given
9Atomese AST and run it on a GPU. That is, to create a GPU-cenetric
10library of arithmetic functions, and then take a specific abstract
11syntax tree (AST) written as e.g. `(AccumLink (TimesLink A B))` and
12run it on the GPU. But what is the API to this, and what is the
13mechanics of doing this?
14
15One possibility is to have PlusGPULink and TimesGPULink, and then have
16RuleLinks to transpose the AST from its "abstract" form to these
17concrete Atoms. This is problematic because RuleLinks remain difficult
18to work with and apply. They seem like a great idea but are tough.
19There are also little details that threaten coherency: stuff that might
20need to run locally before getting pushed off to the GPU, and the rules
21for these could be very arcane and detailed and prone to bugs.
22
23Another possibility is to have an `(ExecOnGPULink AST)`, similar to
24`(PureExec AST)`
25
Design.md +1 -0
……@@ -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----------------------