Skip to content

Commit

Permalink
Add old benchmarks back to make build (#2315)
Browse files Browse the repository at this point in the history
BUG=none
  • Loading branch information
rascani authored Nov 15, 2023
1 parent 5beca7c commit 0996efe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tensorflow/lite/micro/tools/make/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,14 @@ MICRO_LITE_INTEGRATION_TESTS += $(shell find $(TENSORFLOW_ROOT)tensorflow/lite/m
MICRO_LITE_GEN_MUTABLE_OP_RESOLVER_TEST += \
$(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/gen_micro_mutable_op_resolver_test/person_detect/Makefile.inc)

OLD_MICRO_LITE_BENCHMARKS := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/benchmarks/Makefile.inc)
MICRO_LITE_BENCHMARKS := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/benchmarking/Makefile.inc)

MICRO_LITE_LAYER_BY_LAYER_OUTPUT := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/Makefile.inc)

# TODO(b/152645559): move all benchmarks to benchmarks directory.
MICROLITE_BENCHMARK_SRCS := \
$(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/benchmarks/*benchmark.cc) \
$(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/benchmarking/*benchmark.cc)

CODEGEN_PREPROCESSOR_PATH := $(BINDIR)codegen_preprocessor
Expand Down Expand Up @@ -754,6 +756,7 @@ include ${MICRO_LITE_LAYER_BY_LAYER_OUTPUT}
endif

# Load the benchmarks.
include $(OLD_MICRO_LITE_BENCHMARKS)
include $(MICRO_LITE_BENCHMARKS)

# Load custom kernel tests.
Expand Down

0 comments on commit 0996efe

Please sign in to comment.