Skip to content

Is it possible to communicate between agents using messages inside a host function? #942

Answered by mondus
Himeshi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Himeshi . I will answer these separately.

  1. It is not possible for agents to read message on the host. Host functions are not designed for agent behaviour but rather for serial processes that may be required in between agent behaviour on the device. The host API does allow things like creation of agents and reading agent state but it is recommended to keep behaviour within device functions (as much as possible) to avoid the overhead of host to device communication. Another reason for this is that at some stage we plan on introducing a CPU back-end for FLAME as part of this the choice between device and host execution would be abstracted from users in line with our core design principl…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Himeshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants