You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/arm/executor_runner/CMakeLists.txt
+95-41Lines changed: 95 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,59 @@
6
6
cmake_minimum_required(VERSION 3.20)
7
7
project(arm_executor_runner)
8
8
9
-
option(SEMIHOSTING "Enable semihosting"OFF)
10
-
option(
11
-
ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE
12
-
"Set ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE to specify memory alloction pool size"
13
-
OFF
14
-
)
15
9
option(
16
10
ET_MODEL_PTE_ADDR
17
11
"Place in memory that the PTE file is located/flashed, if set to OFF the PTE is built into the code as a big data area."
18
12
OFF
19
13
)
20
-
option(ET_BUNDLE_IO "Set to compile in BundleIO support"OFF)
21
-
option(ET_ATOL "Set atol to use for BundleIO testing"OFF)
22
-
option(ET_RTOL "Set rtol to use for BundleIO testing"OFF)
23
-
option(ET_DUMP_INPUT "Dump input in log"OFF)
24
-
option(ET_DUMP_OUTPUT "Dump output in log"ON)
25
-
option(FETCH_ETHOS_U_CONTENT
26
-
"Fetch ethos_u dependencies instead of relying on pre-downloads"ON
27
-
)
14
+
28
15
set(ET_NUM_INFERENCES
29
16
"1"
30
17
CACHESTRING"Number of inferences to run"
31
18
)
32
19
20
+
option(ET_LOG_DUMP_INPUT "Dump input in log"OFF)
21
+
option(ET_LOG_DUMP_OUTPUT "Dump output in log"ON)
22
+
23
+
option(ET_BUNDLE_IO "Set to compile in BundleIO support"OFF)
24
+
set(ET_ATOL
25
+
"0.01"
26
+
CACHESTRING"Set atol to use for BundleIO testing (Requires ET_BUNDLE_IO)"
27
+
)
28
+
set(ET_RTOL
29
+
"0.01"
30
+
CACHESTRING"Set atol to use for BundleIO testing (Requires ET_BUNDLE_IO)"
31
+
)
32
+
33
+
option(
34
+
ET_DUMP_OUTPUTS
35
+
"Collect and print outputs as a base64 buffer in the log (Requires EXECUTORCH_ENABLE_EVENT_TRACER)"
36
+
OFF
37
+
)
38
+
option(
39
+
ET_DUMP_INTERMEDIATE_OUTPUTS
40
+
"Collect and print intermediate outputs as a base64 buffer in the log (Requires EXECUTORCH_ENABLE_EVENT_TRACER)"
41
+
OFF
42
+
)
43
+
set(ET_DEBUG_BUFFER_SIZE
44
+
"2097152"
45
+
CACHE
46
+
STRING
47
+
"Size of buffer to collect intermediate outputs/outputs buffers (Requires EXECUTORCH_ENABLE_EVENT_TRACER and ET_DUMP_OUTPUTS or ET_DUMP_INTERMEDIATE_OUTPUTS)"
48
+
)
49
+
50
+
option(SEMIHOSTING "Enable semihosting"OFF)
51
+
52
+
option(
53
+
ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE
54
+
"Set ET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE to specify memory alloction pool size"
55
+
OFF
56
+
)
57
+
58
+
option(FETCH_ETHOS_U_CONTENT
59
+
"Fetch ethos_u dependencies instead of relying on pre-downloads"ON
60
+
)
61
+
33
62
if(NOTDEFINED ET_MODEL_PTE_ADDR
34
63
ANDNOTDEFINED ET_PTE_FILE_PATH
35
64
ANDNOTDEFINED SEMIHOSTING
@@ -322,37 +351,29 @@ if(NOT ${ET_MODEL_PTE_ADDR} AND NOT SEMIHOSTING)
0 commit comments