Also, the x86 test behavior has changed: * removed the unnecessary testing script for x86 with Make and bazel. * This change means that we no longer need a special skylark rule for tflite_micro_cc_test and can instead directly use cc_test. * All the logs from the test are now visible on the terminal (previously we would only see logs on errors, which can be annoying for debugging) Tested that the following commands: ``` make -f tensorflow/lite/micro/tools/make/Makefile TARGET=xtensa OPTIMIZED_KERNEL_DIR=xtensa TARGET_ARCH=fusion_f1 XTENSA_CORE=F1_190305_swupgrade run_keyword_benchmark -j8 make -f tensorflow/lite/micro/tools/make/Makefile run_keyword_benchmark -j8 ``` execute without any error. The output is someting like: ``` InitializeKeywordRunner() took 39 ticks (0 ms) KeywordRunNIerations(1) took 42 ticks (0 ms) KeywordRunNIerations(10) took 187 ticks (0 ms) ``` Prior to this change, benchmarks would have to be run with `make test_keyword_benchmark` which would give a confusing output: ``` InitializeKeywordRunner() took 85 ticks (0 ms) KeywordRunNIerations(1) took 27 ticks (0 ms) KeywordRunNIerations(10) took 276 ticks (0 ms) make: *** [tensorflow/lite/micro/benchmarks/Makefile.inc:28: test_keyword_benchmark] Error 1 ``` Fixes http://b/168123200 Another relevant bug (for the asan failures): http://b/179930607 |
||
---|---|---|
.. | ||
BUILD | ||
greedy_memory_planner_test.cc | ||
greedy_memory_planner.cc | ||
greedy_memory_planner.h | ||
linear_memory_planner_test.cc | ||
linear_memory_planner.cc | ||
linear_memory_planner.h | ||
memory_planner.h |