xmos-ai-tools 1.3.2.dev314__py3-none-macosx_10_15_universal2.whl → 1.3.2.dev322__py3-none-macosx_10_15_universal2.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.
@@ -1,9 +1,21 @@
1
1
  #ifndef _FAST_FLASH_H_
2
2
  #define _FAST_FLASH_H_
3
3
 
4
+ #include <xcore/chanend.h>
4
5
  #include <quadflash.h>
5
6
 
6
- #ifdef __XC__
7
+ // typedef struct {
8
+ // unsigned qspiCS;
9
+ // unsigned qspiSCLK;
10
+ // unsigned qspiSIO;
11
+ // unsigned qspiClkblk;
12
+ // } fl_QSPIPorts;
13
+
14
+ // typedef struct {
15
+ // unsigned int byte_address; // Address in flash
16
+ // unsigned int byte_count; // Number of bytes to read/write
17
+ // } fl_QuadDeviceSpec;
18
+
7
19
  /** Fast flash library.
8
20
  * Before calling any of the functions in here, lib_quad_flash must be initialised as normal by using
9
21
  * fl_connectToDevice(qspi, flash_spec, n_flash_spec).
@@ -30,7 +42,7 @@
30
42
  * \returns a negative value of -1..-5 if the window is too small (size 0..4)
31
43
  * zero if successful
32
44
  */
33
- int fast_flash_init(fl_QSPIPorts &qspi);
45
+ int fast_flash_init(fl_QSPIPorts *qspi);
34
46
 
35
47
  /** Function that reads a sequential set of bytes from memory.
36
48
  * This function assumes that nibbles have been reversed ((x << 4) & 0xf0 | (x >> 4) & 0x0f)
@@ -43,11 +55,6 @@ int fast_flash_init(fl_QSPIPorts &qspi);
43
55
  * \param read_data array to store data in to.
44
56
  * \param c_out_data optional channel end over which data is out() instead.
45
57
  */
46
- void fast_flash_read(fl_QSPIPorts &qspi, unsigned addr, unsigned word_count, unsigned read_data[], chanend ?c_data_out);
47
-
48
- #else
49
- int fast_flash_init(fl_QSPIPorts *qspi);
50
58
  void fast_flash_read(fl_QSPIPorts *qspi, unsigned addr, unsigned word_count, unsigned read_data[], chanend_t c_data_out);
51
- #endif
52
59
 
53
60
  #endif
@@ -1,7 +1,13 @@
1
1
  #ifndef _flash_server_h_
2
2
  #define _flash_server_h_
3
3
 
4
- #include <quadflash.h>
4
+ #include "fast_flash.h"
5
+
6
+ #ifdef __cplusplus
7
+ #define EXTERN_C extern "C"
8
+ #else
9
+ #define EXTERN_C
10
+ #endif
5
11
 
6
12
  /** Struct holding the "file system" meta information for each client
7
13
  * The flash is partitioned and each client has a section in the flash
@@ -65,7 +71,7 @@ void flash_server(chanend c_flash_clients[], flash_t headers[],
65
71
  int n_flash_clients, fl_QSPIPorts &qspi,
66
72
  fl_QuadDeviceSpec flash_spec[], int n_flash_spec);
67
73
  #else
68
- void flash_server(chanend_t *c_flash_clients, flash_t *headers,
74
+ EXTERN_C void flash_server(chanend_t *c_flash_clients, flash_t *headers,
69
75
  int n_flash_clients, fl_QSPIPorts *qspi,
70
76
  fl_QuadDeviceSpec *flash_spec, int n_flash_spec);
71
77
  #endif
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xmos_ai_tools
3
- Version: 1.3.2.dev314
3
+ Version: 1.3.2.dev322
4
4
  Summary: XMOS AI Tools
5
5
  Home-page: https://github.com/xmos/ai_tools
6
6
  Author: XMOS
@@ -41,4 +41,4 @@ Dynamic: summary
41
41
  Documentation
42
42
  -------------
43
43
 
44
- Click [here](https://github.com/xmos/ai_tools/blob/e358ca58e3fa05f0132d216e1dfefac098d2bb63/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
44
+ Click [here](https://github.com/xmos/ai_tools/blob/d219818405b6febda5f28a0e6d39dd8d9d372528/README.md) for documentation on using xmos-ai-tools to deploy AI models on xcore.
@@ -3,7 +3,8 @@ xmos_ai_tools/io_server/__init__.py,sha256=Wr8MHyIxhY80hnvwUH0AsE3BojqIt-AwbYBj-
3
3
  xmos_ai_tools/runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  xmos_ai_tools/runtime/buildfiles/aitoolslib.cmake,sha256=yxN1_9nhMo2PVQ3A7uroPjBudDB_Kx6_DcJ5eik5W50,525
5
5
  xmos_ai_tools/runtime/buildfiles/aitoolslib.make,sha256=D4GFs74BsWTuQT6R_yxXwR4LLH0pzyFiAXnGpe5hntI,253
6
- xmos_ai_tools/runtime/include/flash_server.h,sha256=4OQaauv9maSV9pFnxmf6R1LL_TzgnFdXeVPPVWSKPhU,3322
6
+ xmos_ai_tools/runtime/include/fast_flash.h,sha256=SzqbuSk4tTl0dQ59YxA8GA9VNAP8PK2qtQUHnxlAZIo,2311
7
+ xmos_ai_tools/runtime/include/flash_server.h,sha256=sGJGvnbIlPra18p1cbsOg9tRiuwrQbZB5UnBjj7MIYY,3410
7
8
  xmos_ai_tools/runtime/include/ioserver.h,sha256=gEVBhuVLjwi9c00vHUKDEByibl6GVtSUpl5ePAk5GiE,1045
8
9
  xmos_ai_tools/runtime/include/tile_ram_server.h,sha256=Ad3XKz6sihH3Ot40cMAJmbmRlDo_GVbP51tCovYLm7Y,1546
9
10
  xmos_ai_tools/runtime/include/flatbuffers/allocator.h,sha256=7U_8vFjicWgq8yl-VXtF5JGX5mV7lXhS4aXkHI37XjA,2587
@@ -72,7 +73,6 @@ xmos_ai_tools/runtime/include/lib_nn/api/xs3_vpu.h,sha256=xuEpNayaSWeEIoL1--EfQA
72
73
  xmos_ai_tools/runtime/include/lib_nn/api/xs3a_registers.h,sha256=5i6Tue1VplRI2VlIes-gaD2BXOKreuUit51OYTsbgFs,139774
73
74
  xmos_ai_tools/runtime/include/lib_nn/src/asm/asm_constants.h,sha256=VB8pk_H4vI4S18xYfPFCOGZoLG6S0FYW5uVfG3u9glU,1018
74
75
  xmos_ai_tools/runtime/include/lib_nn/src/asm/window_op_plan.h,sha256=4I5u3jkbPOXQnj073h24346uJTYApf0A2oegNc0TKjc,704
75
- xmos_ai_tools/runtime/include/lib_tflite_micro/api/fast_flash.h,sha256=ob6pARd2fzBAAvy8oDt8oROHzuL6e8VMoKkxmIxGx-Q,2175
76
76
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/inference_engine.h,sha256=BluOxaYHsrfx0x1j7gbyM989-3Ci4K6uIC0O4Pxrx4o,9204
77
77
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/load_weights.h,sha256=nzQ7lodtCKUpqCKHJ6f15RzaG5T2RO4FmAk_xN2P3js,2309
78
78
  xmos_ai_tools/runtime/include/lib_tflite_micro/api/memory_parallel_transport.h,sha256=P6o4-yWfE3GW_R08zf_kTsg-h4589eAhg9lNvJA7ZCM,1932
@@ -380,8 +380,8 @@ xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/metrics.h
380
380
  xmos_ai_tools/runtime/include/tensorflow/lite/micro/tools/benchmarking/op_resolver.h,sha256=g0dl9tzUqngiINvjBlqDclFqvkC85MC4kbU13vE4OkY,6071
381
381
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_generated.h,sha256=hSumwEqc-LmMHG82KKl1yPLiVMNbLj_q19-VRPCR7ng,1093175
382
382
  xmos_ai_tools/runtime/include/tensorflow/lite/schema/schema_utils.h,sha256=tkHMDPARjIqppYCVInIowwdHxjNP3pfSS9O7vx-ODeo,1333
383
- xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=zNVlVeITK-V46GeccRWRBh-e33bLq1zJr4jpj6b-q1U,2479336
384
- xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=SQU77BXngIHnTu1q9o6_no3cvvMoL93yCSy8cBj9F8E,72202704
383
+ xmos_ai_tools/runtime/lib/libhost_xtflitemicro.a,sha256=NPk5z69rONporCSWMD1KgZz5-ZXjAIXGDdZWc3Q_Xyc,2479336
384
+ xmos_ai_tools/runtime/lib/libxtflitemicro.a,sha256=FA0nQApX2g3Y12T6iuqsmk_wsyF1e3b2E1HX402pPro,72233090
385
385
  xmos_ai_tools/xformer/__init__.py,sha256=a4K06oiSu2TYVwGvzwMDGGejPUYTvW9-5Uw6SfuFCX4,1903
386
386
  xmos_ai_tools/xformer/flash.py,sha256=MG4coi_Lvvg-oQmw1pomJD8eeOH4gAMjixjBFvO2BCk,6376
387
387
  xmos_ai_tools/xinterpreters/__init__.py,sha256=PFRB9VxOLKaA--j2ZvWGcmesv2C6uNYqJ_kBam68aUI,50
@@ -389,8 +389,8 @@ xmos_ai_tools/xinterpreters/exceptions.py,sha256=HOjADxHYMPI9mN0YIbWxtw9hSeL2B6X
389
389
  xmos_ai_tools/xinterpreters/host_interpreter.py,sha256=ZdvzXUnAdnCcSU-dNQvq6ad2MDk9PZqu9UyNoBgBYKI,25755
390
390
  xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.1.0.1.dylib,sha256=mQp_HoqoSMCxV3Wj1MVVSjtoobePEkDJxgXolJmJsPA,2359560
391
391
  xmos_ai_tools/xinterpreters/libs/macos/xtflm_python.dylib,sha256=mQp_HoqoSMCxV3Wj1MVVSjtoobePEkDJxgXolJmJsPA,2359560
392
- xmos_ai_tools-1.3.2.dev314.data/data/bin/xcore-opt,sha256=F9lfM3nO9moykySibqzSvqf0fR_dl-SOCiumIEa2nVw,286686296
393
- xmos_ai_tools-1.3.2.dev314.dist-info/METADATA,sha256=4PARxhHjjMdc_jnNIG63WgAEbsQ_UfR3ww_QpZllsZ8,1574
394
- xmos_ai_tools-1.3.2.dev314.dist-info/WHEEL,sha256=98VLpmTXZiW_X2RJ0T4x1A5tW4Utj3RcaNGBZZbavbg,112
395
- xmos_ai_tools-1.3.2.dev314.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
396
- xmos_ai_tools-1.3.2.dev314.dist-info/RECORD,,
392
+ xmos_ai_tools-1.3.2.dev322.data/data/bin/xcore-opt,sha256=Iw1tc7QVc5eaKGNx5_fyi5YFszlW6WMwtO5vCjBQ6ao,286686440
393
+ xmos_ai_tools-1.3.2.dev322.dist-info/METADATA,sha256=gb6R26H_28O1y2zxXR_zkE4_aBQo9oL023uoCN-q__Q,1574
394
+ xmos_ai_tools-1.3.2.dev322.dist-info/WHEEL,sha256=yyx1P4GMlu6A5tUMDhWs8PEnY8AIWOWoUTRz8ysfY2E,112
395
+ xmos_ai_tools-1.3.2.dev322.dist-info/top_level.txt,sha256=YWegea73ll3tMlRWRdHJemUy2VOuEYDdOIaffxu_eF0,14
396
+ xmos_ai_tools-1.3.2.dev322.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-macosx_10_15_universal2
5
5