diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-08-14 14:05:46 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-08-22 17:30:13 +0100 |
commit | e67edb238a3304dd767a34eca484d84bfebf76f5 (patch) | |
tree | fb0b7f1c13c7234c77e85953b4a9f6d4a0602617 /src/backends/backendsCommon/common.mk | |
parent | c33882d1369927ad02f665b273af129c89834229 (diff) | |
download | armnn-e67edb238a3304dd767a34eca484d84bfebf76f5.tar.gz |
IVGCVSW-3656 Make the reference backend optional
* Made the build of the reference backend depend on a new ARMCOMPUTEREF
macro
* Made the relevant targets dependent on the ref backend
* Moved Cl and Neon static registry initializers to separate files
* Wrapped some of the unit tests into proper ifdefs where necessary
Change-Id: I7f2c42699682630233a4c4b6aed2f005083de189
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'src/backends/backendsCommon/common.mk')
-rw-r--r-- | src/backends/backendsCommon/common.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backends/backendsCommon/common.mk b/src/backends/backendsCommon/common.mk index 0ac7cfeada..d7fe9b159f 100644 --- a/src/backends/backendsCommon/common.mk +++ b/src/backends/backendsCommon/common.mk @@ -33,5 +33,9 @@ COMMON_TEST_SOURCES := \ test/CommonTestUtils.cpp \ test/JsonPrinterTestImpl.cpp \ test/LayerTests.cpp \ - test/TensorCopyUtils.cpp \ + test/TensorCopyUtils.cpp + +ifeq ($(ARMNN_COMPUTE_REF_ENABLED),1) +COMMON_TEST_SOURCES += \ test/WorkloadDataValidation.cpp +endif # ARMNN_COMPUTE_REF_ENABLED == 1 |