18735, "daviditen", "Spike: Investigate communicating from GPU to CPU", "2021-11-16T18:30:00Z"
We'd like to be able to launch an on statement from the GPU to the CPU. We think this will involve defining a location in shared memory that can be written to by a GPU thread and a CPU thread (the communication polling thread?) can read.
Try defining a location in shared memory, writing to it from the GPU and reading it from a polling thread on the CPU. Try extending this to executing an on
statement that goes from GPU to CPU.
This could also be a mechanism for communication across threads on the GPU, for example for a eureka event.