esiaccel 0.0.17.dev447__cp310-cp310-win_amd64.whl → 0.0.17.dev527__cp310-cp310-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
@@ -147,7 +147,7 @@ std::ostream &operator<<(std::ostream &, const esi::AppID &);
147
147
  //===----------------------------------------------------------------------===//
148
148
 
149
149
  namespace esi {
150
- std::string toHex(uint32_t val);
150
+ std::string toHex(uint64_t val);
151
151
  } // namespace esi
152
152
 
153
153
  #endif // ESI_COMMON_H
@@ -193,6 +193,8 @@ private:
193
193
 
194
194
  class HostMem : public Service {
195
195
  public:
196
+ static constexpr std::string_view StdName = "esi.service.std.hostmem";
197
+
196
198
  virtual ~HostMem() = default;
197
199
  virtual std::string getServiceSymbol() const override;
198
200
 
@@ -200,9 +202,19 @@ public:
200
202
  /// deconstructed.
201
203
  struct HostMemRegion {
202
204
  virtual ~HostMemRegion() = default;
205
+ /// Get a pointer to the host memory.
203
206
  virtual void *getPtr() const = 0;
207
+ /// Sometimes the pointer the device sees is different from the pointer the
208
+ /// host sees. Call this functon to get the device pointer.
209
+ virtual void *getDevicePtr() const { return getPtr(); }
204
210
  operator void *() const { return getPtr(); }
205
211
  virtual std::size_t getSize() const = 0;
212
+ /// Flush the memory region to ensure that the device sees the latest
213
+ /// contents. Because some platforms require it before DMA transactions, it
214
+ /// is recommended to call this before any DMA on all platforms. On
215
+ /// platforms which don't require it, it is a cheap no-op virtual method
216
+ /// call.
217
+ virtual void flush() {}
206
218
  };
207
219
 
208
220
  /// Options for allocating host memory.
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.dev447
3
+ Version: 0.0.17.dev527
4
4
  Summary: ESI accelerators runtime
5
5
  Author-email: John Demme <John.Demme@microsoft.com>
6
6
  License: ==============================================================================
@@ -1,28 +1,28 @@
1
- esiaccel/ESICppRuntime.dll,sha256=kdre7n1A7yy6RCadIyQKxpZAKt0m0HYNzgmt4a-7IAk,3004928
2
- esiaccel/ESICppRuntime.lib,sha256=nk0SCW_YojZGwD1O-v5Gm42JXnBM8CU7ljtuU5mvWi0,12047472
1
+ esiaccel/ESICppRuntime.dll,sha256=xzFcxP5VSZH_LgR9UArr0MeVU3RIXbPo9_F9MrIUg5A,3005440
2
+ esiaccel/ESICppRuntime.lib,sha256=de6AoJf6DBenuSi8ZxW7ycuU-H-uRfhUqMJZzYdpmxE,12048292
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.cp310-win_amd64.pyd,sha256=s5HBqQLYSf4As4espLHo0hKvu4jsieXONn2BGZAPy4k,426496
6
+ esiaccel/esiCppAccel.cp310-win_amd64.pyd,sha256=F_7TkShotWUeeYpI4QwrxP9m-H6Baq6F_fOGP3qGKZY,426496
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=9H4VQE53GJV7U4FK9M6Ee-r5qsYd4bDKk3Pm5nioets,90624
10
- esiaccel/bin/esiquery.exe,sha256=bFL1RGqSkx9M8s4fyXqS-gRTxItJdPf64yalNzDps4c,45056
9
+ esiaccel/zlib1.dll,sha256=1vLT7Tuwmk-k_mN6q7rEuaIuoaXsReh6Hy8iidgbFDI,90624
10
+ esiaccel/bin/esiquery.exe,sha256=mDx2rCsd3R4IMJI7FaVPh_0n2eOAGyTNhW8EwgGHCNU,45056
11
11
  esiaccel/cmake/esiaccelConfig.cmake,sha256=HcLuZRVSMGdr1ln6gsLTfo9iWCsAPf9wVLejnYqnpVE,564
12
12
  esiaccel/include/esi/Accelerator.h,sha256=uLjRYBDUrG0LxVL3X834BXvE1RtCZdCpvBQWVKH6nJc,8855
13
- esiaccel/include/esi/Common.h,sha256=rEpR8KQPa_O10G95CpEOpnjQtvYs4bbmrwamGSMJ9Yg,5047
13
+ esiaccel/include/esi/Common.h,sha256=lw3DiFMqPmQCvmli67YXHL-vXmQmFy75T7D0GEAntT0,5047
14
14
  esiaccel/include/esi/Context.h,sha256=0o9desdPYzqTnZWqR74d6Mvg75PnoTAbr7tvJYclubc,2371
15
15
  esiaccel/include/esi/Design.h,sha256=DFcmUA7j-xWQO2L0rWnq5Jfc_BDXX90GD92pYS20CpY,4446
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=NLkrSeE8GcQLo7TdKynOJAWCP9VHeh2OA0owzwzYaSk,9204
19
- esiaccel/include/esi/Services.h,sha256=uJJ70QlotY9YY6YAF7UEujQ95i4U30gfYYd93qAENzU,12864
19
+ esiaccel/include/esi/Services.h,sha256=q64MClIQsXNGVT17rj_STXR9m6m-UmThswb2FI0bHuM,13541
20
20
  esiaccel/include/esi/Types.h,sha256=l2QafIcLQC0a_kBvWYki24gOR4KgfNS88rMkfQZQOyw,5196
21
21
  esiaccel/include/esi/Utils.h,sha256=KPd75GajIFeTBVJocXBjwsJqhbZg-ShWZCIe3oQdBss,3061
22
22
  esiaccel/include/esi/backends/Trace.h,sha256=_kEADJRs-h3MMDqf7Dl_dgTfbNyttHyP8gTwsrYC4UY,3370
23
- esiaccel-0.0.17.dev447.dist-info/LICENSE,sha256=vtnVnB8_lN1yPYcA5MeT56R8UsQtBhyzZLBvu_KMf7I,13468
24
- esiaccel-0.0.17.dev447.dist-info/METADATA,sha256=9pEk-hPw4Hp0509M8le78-HwV_U4Uq3LRO3X2Hkao6M,16128
25
- esiaccel-0.0.17.dev447.dist-info/WHEEL,sha256=yrvteVAZzxQvtDnzdCRh4dP01sPIxYhLXIXplC7o50E,102
26
- esiaccel-0.0.17.dev447.dist-info/entry_points.txt,sha256=_CuNLV0fyTURxRREFwpzGycifZW_-7-MyuJNEwKK9J8,137
27
- esiaccel-0.0.17.dev447.dist-info/top_level.txt,sha256=fYWTWMDK4PDu4ePQ9NtcFHas2k8-d1kWhTs2avPpgB4,9
28
- esiaccel-0.0.17.dev447.dist-info/RECORD,,
23
+ esiaccel-0.0.17.dev527.dist-info/LICENSE,sha256=vtnVnB8_lN1yPYcA5MeT56R8UsQtBhyzZLBvu_KMf7I,13468
24
+ esiaccel-0.0.17.dev527.dist-info/METADATA,sha256=bgDU-t5wp1xxlfZ-fHgZFg0PS3F-Iz6QKRUqB0k6TE4,16128
25
+ esiaccel-0.0.17.dev527.dist-info/WHEEL,sha256=yrvteVAZzxQvtDnzdCRh4dP01sPIxYhLXIXplC7o50E,102
26
+ esiaccel-0.0.17.dev527.dist-info/entry_points.txt,sha256=_CuNLV0fyTURxRREFwpzGycifZW_-7-MyuJNEwKK9J8,137
27
+ esiaccel-0.0.17.dev527.dist-info/top_level.txt,sha256=fYWTWMDK4PDu4ePQ9NtcFHas2k8-d1kWhTs2avPpgB4,9
28
+ esiaccel-0.0.17.dev527.dist-info/RECORD,,