diff --git a/apps/hexagon_benchmarks/Makefile b/apps/hexagon_benchmarks/Makefile index 0c4a1f8bc804..30b79e95c29d 100644 --- a/apps/hexagon_benchmarks/Makefile +++ b/apps/hexagon_benchmarks/Makefile @@ -25,6 +25,8 @@ BIN ?= bin FILTERS ?= conv3x3a16 dilate3x3 median3x3 gaussian5x5 sobel conv3x3a32 +ITERATIONS ?= 10 + OBJS = $(patsubst %,$(BIN)/\%/%_hvx64.o, $(FILTERS)) OBJS += $(patsubst %,$(BIN)/\%/%_hvx128.o, $(FILTERS)) OBJS += $(patsubst %,$(BIN)/\%/%_cpu.o, $(FILTERS)) @@ -121,10 +123,10 @@ $(BIN)/process-%: process.cpp $(BIN)/%/filters.a process.h run-%-android: $(BIN)/process-%-android adb push $(BIN)/process-$*-android /data/ adb shell chmod +x /data/process-$*-android - adb shell /data/process-$*-android -n 10 + adb shell /data/process-$*-android -n $(ITERATIONS) run-host: $(BIN)/process-host - $(BIN)/process-host -n 10 + $(BIN)/process-host -n $(ITERATIONS) clean: rm -rf $(BIN)