From a302d696211c4e715916f6d19e865dc709cdae5f Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Mon, 8 Jan 2018 16:19:23 +0000 Subject: COMPMID-753 Add benchmarks for QASYMM8 depthwise convolution layers used in MobileNet Change-Id: I72cdf54477838b01bc5fa1281b0b587646f1902b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/115396 Tested-by: Jenkins Reviewed-by: Gian Marco Iodice --- tests/benchmark/CL/DepthwiseConvolutionLayer.cpp | 8 ++++---- tests/benchmark/CL/DepthwiseSeparableConvolutionLayer.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/benchmark/CL') diff --git a/tests/benchmark/CL/DepthwiseConvolutionLayer.cpp b/tests/benchmark/CL/DepthwiseConvolutionLayer.cpp index 5e2980a4d6..1073cff802 100644 --- a/tests/benchmark/CL/DepthwiseConvolutionLayer.cpp +++ b/tests/benchmark/CL/DepthwiseConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017, 2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -28,7 +28,7 @@ #include "arm_compute/runtime/CL/functions/CLDepthwiseConvolutionLayer.h" #include "tests/CL/CLAccessor.h" #include "tests/benchmark/fixtures/DepthwiseConvolutionLayerFixture.h" -#include "tests/datasets/MobileNetDepthwiseConvolutionLayerDataset.h" +#include "tests/datasets/system_tests/mobilenet/MobileNetDepthwiseConvolutionLayerDataset.h" #include "tests/framework/Macros.h" #include "tests/framework/datasets/Datasets.h" #include "utils/TypePrinter.h" @@ -37,8 +37,8 @@ namespace arm_compute { namespace test { -const auto data_types = framework::dataset::make("DataType", { DataType::F32 }); -using CLDepthwiseConvolutionLayerFixture = DepthwiseConvolutionLayerFixture; +const auto data_types = framework::dataset::make("DataType", { DataType::F32, DataType::QASYMM8 }); +using CLDepthwiseConvolutionLayerFixture = DepthwiseConvolutionLayerFixture; TEST_SUITE(CL) diff --git a/tests/benchmark/CL/DepthwiseSeparableConvolutionLayer.cpp b/tests/benchmark/CL/DepthwiseSeparableConvolutionLayer.cpp index 7f5bb00583..82c506f506 100644 --- a/tests/benchmark/CL/DepthwiseSeparableConvolutionLayer.cpp +++ b/tests/benchmark/CL/DepthwiseSeparableConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017, 2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -28,7 +28,7 @@ #include "arm_compute/runtime/CL/functions/CLDepthwiseSeparableConvolutionLayer.h" #include "tests/CL/CLAccessor.h" #include "tests/benchmark/fixtures/DepthwiseSeparableConvolutionLayerFixture.h" -#include "tests/datasets/MobileNetDepthwiseSeparableConvolutionLayerDataset.h" +#include "tests/datasets/system_tests/mobilenet/MobileNetDepthwiseSeparableConvolutionLayerDataset.h" #include "tests/framework/Macros.h" #include "tests/framework/datasets/Datasets.h" #include "utils/TypePrinter.h" -- cgit v1.2.1