esiaccel 0.0.17.dev618__cp39-cp39-win_amd64.whl → 0.0.17.dev644__cp39-cp39-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of esiaccel might be problematic. Click here for more details.

Binary file
Binary file
esiaccel/bin/esiquery.exe CHANGED
Binary file
Binary file
@@ -133,6 +133,13 @@ public:
133
133
  return clientEngines[id];
134
134
  }
135
135
 
136
+ Accelerator &getAccelerator() {
137
+ if (!ownedAccelerator)
138
+ throw std::runtime_error(
139
+ "AcceleratorConnection does not own an accelerator");
140
+ return *ownedAccelerator;
141
+ }
142
+
136
143
  protected:
137
144
  /// If `createEngine` is overridden, this method should be called to register
138
145
  /// the engine and all of the channels it services.
@@ -163,9 +170,8 @@ private:
163
170
 
164
171
  std::unique_ptr<AcceleratorServiceThread> serviceThread;
165
172
 
166
- /// List of accelerator objects owned by this connection. These are destroyed
167
- /// when the connection dies or is shutdown.
168
- std::vector<std::unique_ptr<Accelerator>> ownedAccelerators;
173
+ /// Accelerator object owned by this connection.
174
+ std::unique_ptr<Accelerator> ownedAccelerator;
169
175
  };
170
176
 
171
177
  namespace registry {
@@ -73,9 +73,7 @@ public:
73
73
  return ret;
74
74
  }
75
75
  /// Access the module's ports by ID.
76
- const std::map<AppID, const BundlePort &> &getPorts() const {
77
- return portIndex;
78
- }
76
+ const std::map<AppID, BundlePort &> &getPorts() const { return portIndex; }
79
77
  /// Access the services provided by this module.
80
78
  const std::vector<services::Service *> &getServices() const {
81
79
  return services;
@@ -86,13 +84,22 @@ public:
86
84
  /// the `poll` calls returns true.
87
85
  bool poll();
88
86
 
87
+ /// Attempt to resolve a path to a module instance. If a child is not found,
88
+ /// return null and set lastLookup to the path which wasn't found.
89
+ const HWModule *resolveInst(const AppIDPath &path,
90
+ AppIDPath &lastLookup) const;
91
+
92
+ /// Attempt to resolve a path to a port. If a child or port is not found,
93
+ /// return null and set lastLookup to the path which wasn't found.
94
+ BundlePort *resolvePort(const AppIDPath &path, AppIDPath &lastLookup) const;
95
+
89
96
  protected:
90
97
  const std::optional<ModuleInfo> info;
91
98
  const std::vector<std::unique_ptr<Instance>> children;
92
99
  const std::map<AppID, Instance *> childIndex;
93
100
  const std::vector<services::Service *> services;
94
101
  const std::vector<std::unique_ptr<BundlePort>> ports;
95
- const std::map<AppID, const BundlePort &> portIndex;
102
+ const std::map<AppID, BundlePort &> portIndex;
96
103
  };
97
104
 
98
105
  /// Subclass of `HWModule` which represents a submodule instance. Adds an AppID,
esiaccel/zlib1.dll CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: esiaccel
3
- Version: 0.0.17.dev618
3
+ Version: 0.0.17.dev644
4
4
  Summary: ESI accelerators runtime
5
5
  Author-email: John Demme <John.Demme@microsoft.com>
6
6
  License: ==============================================================================
@@ -1,18 +1,18 @@
1
- esiaccel/ESICppRuntime.dll,sha256=slbnx4qrFFzd1SFduMX5hm5AvBRYD9bHaHmboJ6FSWc,3308032
2
- esiaccel/ESICppRuntime.lib,sha256=0h8pe9g5PWSuqF7Q24OUFiyp7_KJ3k1u_rGoeyouf40,13455416
1
+ esiaccel/ESICppRuntime.dll,sha256=PRR1_5YgYjdfAx1FHQzIs74goaiB-JltJwws04OQicc,3364352
2
+ esiaccel/ESICppRuntime.lib,sha256=DmWgb61PYUJyyDoWOOPwlVRzMohZotsVyDiH3I9thII,13611488
3
3
  esiaccel/__init__.py,sha256=C0GLqCQuF5g5qTzmAkf_YAHmBV2XAyiJad3Qz7h8u1g,562
4
4
  esiaccel/accelerator.py,sha256=GM2FRZF_8nzAJ_7TSRSw_kaJCYWCHMK-cQD8ZZU8QVs,3071
5
5
  esiaccel/codegen.py,sha256=uoYELtnIabVvgLeCABj-mWras0BvmSKABPH-cd9nDFk,6560
6
- esiaccel/esiCppAccel.cp39-win_amd64.pyd,sha256=32z-hPwDTzmeU_ITBFxfyI-C---h5JgitpTzMYYJXCg,437760
6
+ esiaccel/esiCppAccel.cp39-win_amd64.pyd,sha256=DV9ELOlvx12vwTwaBvWW6CX177CH4nwc5kwRpWXR_no,449024
7
7
  esiaccel/types.py,sha256=quV7bQFrweocGVCvwX_8KZd-Wz3Y0Yvi2YGCmihKvZM,15132
8
8
  esiaccel/utils.py,sha256=nzar3WALJC_RfmM5v0GeUev5So1-EAYuAMxG9jLj3eQ,1062
9
- esiaccel/zlib1.dll,sha256=wv6l4kuQR5MOGXBjxB0WV4xi1hPO8vlWK_ybJIIXJYQ,90624
10
- esiaccel/bin/esiquery.exe,sha256=MzHD9eyEE8JcKmb1UEbrIa9LKQKZvPIX8prUvWZ0hRU,45056
9
+ esiaccel/zlib1.dll,sha256=YFvD2wmxqOMA97BPY8mMxxOdtEUj3Lacoh8JffWBuIA,90624
10
+ esiaccel/bin/esiquery.exe,sha256=l8NGuSdCEbCvQGiXzhcSLUpsH5nsoG9jBOMSouCBR3g,45056
11
11
  esiaccel/cmake/esiaccelConfig.cmake,sha256=HcLuZRVSMGdr1ln6gsLTfo9iWCsAPf9wVLejnYqnpVE,564
12
- esiaccel/include/esi/Accelerator.h,sha256=s_3bYulDQUBnKYs43oG7r1AMycy588V103tbWFZEwvI,9664
12
+ esiaccel/include/esi/Accelerator.h,sha256=RhkZ2HeMZ0iHc5BkHdDWXoeg9J9lyPQciH5bWq5Qc_w,9772
13
13
  esiaccel/include/esi/Common.h,sha256=GyB9S4GJn-1K4bZNWi6Fc5ftKsL2Y362QOsNYuCqk6I,5078
14
14
  esiaccel/include/esi/Context.h,sha256=0o9desdPYzqTnZWqR74d6Mvg75PnoTAbr7tvJYclubc,2371
15
- esiaccel/include/esi/Design.h,sha256=DFcmUA7j-xWQO2L0rWnq5Jfc_BDXX90GD92pYS20CpY,4446
15
+ esiaccel/include/esi/Design.h,sha256=mU8OwpCYijiWSdDq17l45LMzZxBca93nosudWCXNHfQ,4922
16
16
  esiaccel/include/esi/Logging.h,sha256=eAN4e_0l1-zKlbScsuwCm9wstjzw5-B8jAiS9EXB_xo,6984
17
17
  esiaccel/include/esi/Manifest.h,sha256=j3v9UA0ogtJQBlv6k5s4j_3sCsq-gwF9btVg5dKTBlg,2244
18
18
  esiaccel/include/esi/Ports.h,sha256=T2WbPBViUSvFbO5Jjxlcp_eGq9jMitguvNnz3O0564U,10543
@@ -20,9 +20,9 @@ esiaccel/include/esi/Services.h,sha256=1bjsDS9JvrONlDTGyxkIXprQL2wGSWIayrlxstyaq
20
20
  esiaccel/include/esi/Types.h,sha256=P4ExO8-zvm7qQocUmkM_ATIvamxtDZ8JT2ToLkFo1dk,5483
21
21
  esiaccel/include/esi/Utils.h,sha256=KPd75GajIFeTBVJocXBjwsJqhbZg-ShWZCIe3oQdBss,3061
22
22
  esiaccel/include/esi/backends/Trace.h,sha256=kx4wwLH3a0ndmRUdaDyYGZ1SP83zlpFrk30Nw8ZrJJA,3286
23
- esiaccel-0.0.17.dev618.dist-info/LICENSE,sha256=vtnVnB8_lN1yPYcA5MeT56R8UsQtBhyzZLBvu_KMf7I,13468
24
- esiaccel-0.0.17.dev618.dist-info/METADATA,sha256=eOgH-qTyEehQrCqRXXQ7zQSNK6UHKve0d3-Z0oVr6bo,16128
25
- esiaccel-0.0.17.dev618.dist-info/WHEEL,sha256=2xSj8c4s_gFbWpcImYQptdXS3JLuzC2uK5Om8I_SEKg,100
26
- esiaccel-0.0.17.dev618.dist-info/entry_points.txt,sha256=_CuNLV0fyTURxRREFwpzGycifZW_-7-MyuJNEwKK9J8,137
27
- esiaccel-0.0.17.dev618.dist-info/top_level.txt,sha256=fYWTWMDK4PDu4ePQ9NtcFHas2k8-d1kWhTs2avPpgB4,9
28
- esiaccel-0.0.17.dev618.dist-info/RECORD,,
23
+ esiaccel-0.0.17.dev644.dist-info/LICENSE,sha256=vtnVnB8_lN1yPYcA5MeT56R8UsQtBhyzZLBvu_KMf7I,13468
24
+ esiaccel-0.0.17.dev644.dist-info/METADATA,sha256=94y5wJORy-HCwpPOauOuZum6nR3zeBtrEWTvJOWlNhM,16128
25
+ esiaccel-0.0.17.dev644.dist-info/WHEEL,sha256=2xSj8c4s_gFbWpcImYQptdXS3JLuzC2uK5Om8I_SEKg,100
26
+ esiaccel-0.0.17.dev644.dist-info/entry_points.txt,sha256=_CuNLV0fyTURxRREFwpzGycifZW_-7-MyuJNEwKK9J8,137
27
+ esiaccel-0.0.17.dev644.dist-info/top_level.txt,sha256=fYWTWMDK4PDu4ePQ9NtcFHas2k8-d1kWhTs2avPpgB4,9
28
+ esiaccel-0.0.17.dev644.dist-info/RECORD,,