Skip to content

Commit 7dad442

Browse files
author
Ashutosh Parkhi
committed
[CMSIS-NN] This change reduced the code size of AOT test runner binary for CMSIS-NN flow.
Presently, integration tests for CMSIS-NN generate binaries which includes all the CMSIS-NN kernels sources. This fix introduces additional compilation and runtime knobs to pick kernel sources for which TVM has generated the code. Change-Id: Id222ca0d32222882a7a9c6f47bafea281f578c43
1 parent c440c68 commit 7dad442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/python/relay/aot/corstone300.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ETHOSU_PATH=/opt/arm/ethosu
4242
DRIVER_PATH=${ETHOSU_PATH}/core_driver
4343
CMSIS_PATH=${ETHOSU_PATH}/cmsis
4444
PLATFORM_PATH=${ETHOSU_PATH}/core_platform/targets/corstone-300
45-
PKG_COMPILE_OPTS = -Wall -Ofast -Wno-incompatible-pointer-types -Wno-format -mcpu=${MCPU} -mthumb -mfloat-abi=${MFLOAT_ABI} -std=gnu99
45+
PKG_COMPILE_OPTS = -Wall -Ofast -Wno-incompatible-pointer-types -Wno-format -mcpu=${MCPU}${MCPU_FLAGS} -mthumb -mfloat-abi=${MFLOAT_ABI} -std=gnu99
4646
CMAKE = /opt/arm/cmake/bin/cmake
4747
CC = arm-none-eabi-gcc
4848
AR = arm-none-eabi-ar

0 commit comments

Comments
 (0)