diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-04-06 13:03:20 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2022-04-06 16:03:23 +0100 |
commit | 68fdd119f38c37ab28066474086b0e352d991baf (patch) | |
tree | cedb897ff9128f7d07e54c5c53ff8eb6be6b2bb1 /tests/use_case/img_class/ImgClassificationUCTest.cc | |
parent | da2ec067da418d3d80b2829b111df25bd901eb5c (diff) | |
download | ml-embedded-evaluation-kit-68fdd119f38c37ab28066474086b0e352d991baf.tar.gz |
MLECO-3096: Removing data_acq and data_psn
Further to the HAL refactoring done in previous commits,
this CR simpifies HAL by removing data_acq and data_psn
"modules". The associated function pointers have been
removed.
Change-Id: I04c194c08dfe0aff98ce4e0f0f056bac254c137d
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'tests/use_case/img_class/ImgClassificationUCTest.cc')
-rw-r--r-- | tests/use_case/img_class/ImgClassificationUCTest.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/use_case/img_class/ImgClassificationUCTest.cc b/tests/use_case/img_class/ImgClassificationUCTest.cc index b989415..62d8eb8 100644 --- a/tests/use_case/img_class/ImgClassificationUCTest.cc +++ b/tests/use_case/img_class/ImgClassificationUCTest.cc @@ -44,12 +44,10 @@ TEST_CASE("Model info") TEST_CASE("Inference by index", "[.]") { hal_platform platform; - data_acq_module data_acq; - data_psn_module data_psn; platform_timer timer; /* Initialise the HAL and platform. */ - hal_init(&platform, &data_acq, &data_psn, &timer); + hal_init(&platform, &timer); hal_platform_init(&platform); /* Model wrapper object. */ @@ -84,12 +82,10 @@ TEST_CASE("Inference by index", "[.]") TEST_CASE("Inference run all images", "[.]") { hal_platform platform; - data_acq_module data_acq; - data_psn_module data_psn; platform_timer timer; /* Initialise the HAL and platform. */ - hal_init(&platform, &data_acq, &data_psn, &timer); + hal_init(&platform, &timer); hal_platform_init(&platform); /* Model wrapper object. */ @@ -120,12 +116,10 @@ TEST_CASE("Inference run all images", "[.]") TEST_CASE("List all images") { hal_platform platform; - data_acq_module data_acq; - data_psn_module data_psn; platform_timer timer; /* Initialise the HAL and platform. */ - hal_init(&platform, &data_acq, &data_psn, &timer); + hal_init(&platform, &timer); hal_platform_init(&platform); /* Model wrapper object. */ |