STT-tensorflow/tensorflow/lite/micro/memory_planner
Advait Jain 66531e40a3 Added a run_ makefile target for non-test binaries.
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
2021-02-10 14:39:30 -08:00
..
BUILD Added a run_ makefile target for non-test binaries. 2021-02-10 14:39:30 -08:00
greedy_memory_planner_test.cc Add a MicroPrintf function that is independant of the ErrorReporter. 2021-02-05 10:42:08 -08:00
greedy_memory_planner.cc Fix compile errors. 2020-06-04 09:22:37 +02:00
greedy_memory_planner.h Merge pull request from jenselofsson:offline_memory_planner 2020-06-15 13:37:09 -07:00
linear_memory_planner_test.cc Add a MicroPrintf function that is independant of the ErrorReporter. 2021-02-05 10:42:08 -08:00
linear_memory_planner.cc
linear_memory_planner.h
memory_planner.h