diff options
author | Jacob Bohlin <jacob.bohlin@arm.com> | 2020-08-28 13:25:14 +0200 |
---|---|---|
committer | Jacob Bohlin <jacob.bohlin@arm.com> | 2020-09-03 10:50:10 +0200 |
commit | 0628a8c0136eebf3af8db7fd40b7aed94ff5d670 (patch) | |
tree | 65e7a49264f2df1f969122d8d7fb812773c0d4db /OPTIONS.md | |
parent | d2e3355813a33ccefaf112750f86c4f04d6ea12c (diff) | |
download | ethos-u-vela-0628a8c0136eebf3af8db7fd40b7aed94ff5d670.tar.gz |
MLBEDSW-2567: CLI option to specify allocation alignment
Added the CLI option. Only applies to CPU tensors. Added an
AllocationError which is raised when Allocation fails.
Signed-off-by: Jacob Bohlin <jacob.bohlin@arm.com>
Change-Id: I89164dea3ac7b7add7bc40aec2ce8fe50600105d
Diffstat (limited to 'OPTIONS.md')
-rw-r--r-- | OPTIONS.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -256,6 +256,17 @@ in optimisations that use less SRAM, albeit at the cost of performance (inferenc vela network.tflite --weight-estimation-scaling=1.2 ``` +### Allocation alignment + +Controls the allocation byte alignment. Only affects CPU tensors, NPU tensors will remain 16-byte +aligned independent of this option. Alignment has to be a power of two and greater or equal to 16. +**Type: Integer** +**Default: 16** + +```bash +vela network.tflite --allocation-alignment 128 +``` + ## Verbose Print Options All of the options below are disabled by default and enabling them will add |