From 8dcae7205e9d4fc18cdd31bcd7daf813728e82c0 Mon Sep 17 00:00:00 2001 From: Mark Vousden Date: Fri, 27 Aug 2021 18:32:11 +0100 Subject: [PATCH 1/3] Add APP::EMPT message to Mothership message table. --- source/mothership.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/mothership.md b/source/mothership.md index 455faea..e1616f6 100644 --- a/source/mothership.md +++ b/source/mothership.md @@ -242,6 +242,14 @@ no other information about the application yet. | | | down the Mothership process as | | | | *quickly* as possible. | +-----------------+-----------------------+-----------------------------------+ +| `APP`, `EMPT` | 0. `std::string` | Loads all cores with instructions | +| | `codePath` | and data from the same binaries. | +| | 1. `std::string` | This is only used when the | +| | `dataPath` | Orchestrator is deploying an | +| | | application that uses hardware | +| | | level idle detection. This is not | +| | | application-specific. | ++-----------------+-----------------------+-----------------------------------+ | `APP`, `SPEC` | 0. `std::string` | Defines that an application on | | | `appName` | the receiving Mothership process | | | 1. `uint32_t` | must have received `distCount` | From 67567d187c20d2eb064073f98e4d25785d43b844 Mon Sep 17 00:00:00 2001 From: Mark Vousden Date: Fri, 27 Aug 2021 18:37:19 +0100 Subject: [PATCH 2/3] Add soloApp AppInfo field. --- source/mothership.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/mothership.md b/source/mothership.md index e1616f6..bf08795 100644 --- a/source/mothership.md +++ b/source/mothership.md @@ -477,9 +477,12 @@ information. `AppInfo` is a class with these fields: - `std::string name`: The name of the application, redundant with the map key. + - `bool soloApp`: Defines how applications are loaded onto the hardware via + the backend. Defined by an (`APP`, `SPEC`) message. + - `AppState state`: The state that the application is in. Table 3 shows how - C&C messages consumed by `MPICncResolver` drive application states. These - states are enumerated by `AppState` as: + C&C messages consumed by `MPICncResolver` drive application states. These + states are enumerated by `AppState` as: - `UNDERDEFINED`: The application has been partly sent to the Mothership process, but some cores have not been defined, or their binaries refer to From 2f764815292d5318bcce9f3e7facd4deb4577001 Mon Sep 17 00:00:00 2001 From: Mark Vousden Date: Fri, 27 Aug 2021 18:42:27 +0100 Subject: [PATCH 3/3] Add soloApp field to messages. --- source/mothership.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mothership.md b/source/mothership.md index bf08795..475779c 100644 --- a/source/mothership.md +++ b/source/mothership.md @@ -256,7 +256,7 @@ no other information about the application yet. | | `distCount` | unique distribution (`APP`, | | | 2. `uint8_t` | `DIST` and `APP`, `SUPD`) | | | `appNumber` | messages in order to be fully | -| | | defined. | +| | 3. `bool soloApp` | defined. | +-----------------+-----------------------+-----------------------------------+ | `APP`, `DIST` | 0. `std::string` | Defines the properties for a | | | `appName` | given core for a given |