diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2017-12-15 11:37:37 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | 724079d6fce3bf6a05cd6c7b4884b132b27e9e90 (patch) | |
tree | 4677c5f845531b45895c82664168ba8ac996f25c /tests/benchmark/GLES_COMPUTE | |
parent | b34b9d4db3c6c75d1a167a4fc25d40214b351f80 (diff) | |
download | ComputeLibrary-724079d6fce3bf6a05cd6c7b4884b132b27e9e90.tar.gz |
COMPMID-959 Add benchmark namespace in benchmark tests
Change-Id: Ieef1c5380bff1c019af0203fb7e4734f48a2fb63
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/113499
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/benchmark/GLES_COMPUTE')
10 files changed, 37 insertions, 7 deletions
diff --git a/tests/benchmark/GLES_COMPUTE/BatchNormalizationLayer.cpp b/tests/benchmark/GLES_COMPUTE/BatchNormalizationLayer.cpp index e615860ec8..6e5836ef9e 100644 --- a/tests/benchmark/GLES_COMPUTE/BatchNormalizationLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/BatchNormalizationLayer.cpp @@ -39,6 +39,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F16, DataType::F32 }); @@ -87,5 +89,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(GoogLeNetInceptionV4BatchNormalizationLayer, GCB framework::dataset::make("Batches", { 4, 8 }))); TEST_SUITE_END() TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/ConvolutionLayer.cpp b/tests/benchmark/GLES_COMPUTE/ConvolutionLayer.cpp index 0d8edb757d..4cb020caf4 100644 --- a/tests/benchmark/GLES_COMPUTE/ConvolutionLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/ConvolutionLayer.cpp @@ -43,6 +43,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F16 }); @@ -115,5 +117,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(YOLOV2ConvolutionLayer, GCConvolutionLayerFixtur framework::dataset::make("Batches", { 1, 4, 8 }))); TEST_SUITE_END() TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/DepthwiseConvolutionLayer.cpp b/tests/benchmark/GLES_COMPUTE/DepthwiseConvolutionLayer.cpp index 9a0cbe3dd1..0633acb27a 100644 --- a/tests/benchmark/GLES_COMPUTE/DepthwiseConvolutionLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/DepthwiseConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2018 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -37,6 +37,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ const auto data_types = framework::dataset::make("DataType", { DataType::F16 }); using GCDepthwiseConvolutionLayerFixture = DepthwiseConvolutionLayerFixture<GCTensor, GCDepthwiseConvolutionLayer3x3, GCAccessor>; @@ -47,5 +49,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(MobileNetDepthwiseConvLayer, GCDepthwiseConvolut framework::dataset::make("Batches", { 1 }))); TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/DirectConvolutionLayer.cpp b/tests/benchmark/GLES_COMPUTE/DirectConvolutionLayer.cpp index 89ca192f83..784f8e85ef 100644 --- a/tests/benchmark/GLES_COMPUTE/DirectConvolutionLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/DirectConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -42,6 +42,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F32, DataType::F16 }); @@ -103,5 +105,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(YOLOV2DirectConvolutionLayer, GCConvolutionLayer framework::dataset::make("Batches", { 1, 4, 8 }))); TEST_SUITE_END() TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/FullyConnectedLayer.cpp b/tests/benchmark/GLES_COMPUTE/FullyConnectedLayer.cpp index 36578edbfb..8d2cc7236f 100644 --- a/tests/benchmark/GLES_COMPUTE/FullyConnectedLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/FullyConnectedLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -41,6 +41,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F32, DataType::F16 }); @@ -102,5 +104,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(GoogLeNetInceptionV4FullyConnectedLayer, GCFully framework::dataset::make("Batches", { 4, 8 }))); TEST_SUITE_END() TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/GEMM.cpp b/tests/benchmark/GLES_COMPUTE/GEMM.cpp index 97c92c679b..3e561138ef 100644 --- a/tests/benchmark/GLES_COMPUTE/GEMM.cpp +++ b/tests/benchmark/GLES_COMPUTE/GEMM.cpp @@ -38,6 +38,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F32 }); @@ -60,5 +62,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(GoogleNetGEMM, GCGEMMFixture, framework::Dataset reshape_b_only_once)); TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/NormalizePlanarYUVLayer.cpp b/tests/benchmark/GLES_COMPUTE/NormalizePlanarYUVLayer.cpp index 332418015d..3ba65d427c 100644 --- a/tests/benchmark/GLES_COMPUTE/NormalizePlanarYUVLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/NormalizePlanarYUVLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -37,6 +37,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F16 }); @@ -52,5 +54,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(GoogLeNetInceptionV4NormalizePlanarYUVLayer, GCN framework::dataset::make("Batches", 1))); TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/PoolingLayer.cpp b/tests/benchmark/GLES_COMPUTE/PoolingLayer.cpp index 87c5382073..2a8e5dacb3 100644 --- a/tests/benchmark/GLES_COMPUTE/PoolingLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/PoolingLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -43,6 +43,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F32 }); @@ -124,5 +126,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(YOLOV2PoolingLayer, GCPoolingLayerFixture, frame framework::dataset::make("Batches", { 4, 8 }))); TEST_SUITE_END() TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/Scale.cpp b/tests/benchmark/GLES_COMPUTE/Scale.cpp index 12f3151fd9..dc7ebe13fe 100644 --- a/tests/benchmark/GLES_COMPUTE/Scale.cpp +++ b/tests/benchmark/GLES_COMPUTE/Scale.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -37,6 +37,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F16 }); @@ -57,5 +59,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(LargeScaleLayer, GCScaleLayerFixture<half>, fram TEST_SUITE_END() TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute diff --git a/tests/benchmark/GLES_COMPUTE/SoftmaxLayer.cpp b/tests/benchmark/GLES_COMPUTE/SoftmaxLayer.cpp index 66123aa57f..63ddd8a5a5 100644 --- a/tests/benchmark/GLES_COMPUTE/SoftmaxLayer.cpp +++ b/tests/benchmark/GLES_COMPUTE/SoftmaxLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -37,6 +37,8 @@ namespace arm_compute { namespace test { +namespace benchmark +{ namespace { const auto data_types = framework::dataset::make("DataType", { DataType::F16, DataType::F32 }); @@ -56,5 +58,6 @@ REGISTER_FIXTURE_DATA_TEST_CASE(SoftmaxLayer, GCSoftmaxLayerFixture, framework:: TEST_SUITE_END() TEST_SUITE_END() +} // namespace benchmark } // namespace test } // namespace arm_compute |