ml/ml-models-public: do not buid slow targets for kelvin
Do not build VMVX targets for Kelvin as they are very slow.
Change-Id: I150294f71185313f1652f0821602a5cd37cbe290
diff --git a/quant_models/CMakeLists.txt b/quant_models/CMakeLists.txt
index 7949575..0a2043e 100644
--- a/quant_models/CMakeLists.txt
+++ b/quant_models/CMakeLists.txt
@@ -146,42 +146,6 @@
iree_cc_binary(
NAME
- person_detection_bytecode_vmvx
- SRCS
- "iree_exec/person_detection.c"
- DEPS
- ::person_detection_bytecode_module_vmvx_c
- ::person_detection_quant_input_c
- model_util::util_vmvx
- LINKOPTS
- "LINKER:--defsym=__stack_size__=128k"
- "LINKER:--defsym=__heap_size__=200k"
- COPTS
- "-DBUILD_VMVX"
-)
-
-sparrow_test(
- NAME
- person_detection_emitc_vmvx
- SRCS
- "iree_exec/person_detection.c"
- DEPS
- ::person_detection_c_module_vmvx_emitc
- ::person_detection_quant_input_c
- model_util::util_vmvx
- LINKOPTS
- "LINKER:--defsym=__stack_size__=128k"
- "LINKER:--defsym=__heap_size__=200k"
- COPTS
- "-DBUILD_EMITC"
- "-DBUILD_VMVX"
- TESTFILES
- "iree_exec/person_detection_vmvx_test.run"
- "iree_exec/person_detection_test.filecheck"
-)
-
-iree_cc_binary(
- NAME
person_detection_bytecode_static
SRCS
"iree_exec/person_detection.c"
@@ -305,3 +269,39 @@
"iree_exec/mobilenet_v2_test.run"
"iree_exec/mobilenet_v2_test.filecheck"
)
+
+iree_cc_binary(
+ NAME
+ person_detection_bytecode_vmvx
+ SRCS
+ "iree_exec/person_detection.c"
+ DEPS
+ ::person_detection_bytecode_module_vmvx_c
+ ::person_detection_quant_input_c
+ model_util::util_vmvx
+ LINKOPTS
+ "LINKER:--defsym=__stack_size__=128k"
+ "LINKER:--defsym=__heap_size__=200k"
+ COPTS
+ "-DBUILD_VMVX"
+)
+
+sparrow_test(
+ NAME
+ person_detection_emitc_vmvx
+ SRCS
+ "iree_exec/person_detection.c"
+ DEPS
+ ::person_detection_c_module_vmvx_emitc
+ ::person_detection_quant_input_c
+ model_util::util_vmvx
+ LINKOPTS
+ "LINKER:--defsym=__stack_size__=128k"
+ "LINKER:--defsym=__heap_size__=200k"
+ COPTS
+ "-DBUILD_EMITC"
+ "-DBUILD_VMVX"
+ TESTFILES
+ "iree_exec/person_detection_vmvx_test.run"
+ "iree_exec/person_detection_test.filecheck"
+)