From 7d6bf6aa901d5fe08f37276533ef0ba45f1f69ff Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Wed, 1 Nov 2017 14:59:30 +0000 Subject: COMPMID-650 Check we have all the DirectConvolution benchmarks Change-Id: I90e5e28d3cf3b484f01fe5aaa394ee4d159898df Reviewed-on: http://mpd-gerrit.cambridge.arm.com/94043 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- tests/benchmark/NEON/DirectConvolutionLayer.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'tests/benchmark/NEON/DirectConvolutionLayer.cpp') diff --git a/tests/benchmark/NEON/DirectConvolutionLayer.cpp b/tests/benchmark/NEON/DirectConvolutionLayer.cpp index 5096eaff6e..4b93eeabc6 100644 --- a/tests/benchmark/NEON/DirectConvolutionLayer.cpp +++ b/tests/benchmark/NEON/DirectConvolutionLayer.cpp @@ -45,12 +45,13 @@ namespace test { namespace { +// Special data types for networks that need 5x5 direct convolution, which does not support Fixed Point #ifdef ARM_COMPUTE_ENABLE_F16 -const auto data_types = framework::dataset::make("DataType", { DataType::QS8, DataType::F16, DataType::F32 }); +const auto data_types = framework::dataset::make("DataType", { DataType::QS8, DataType::F16, DataType::F32 }); +const auto data_types_no_fixed = framework::dataset::make("DataType", { DataType::F16, DataType::F32 }); #else /* ARM_COMPUTE_ENABLE_F16 */ -// Special data types for AlexNet as 5x5 direct convolution is not supported for Fixed Point -const auto data_types_alexnet = framework::dataset::make("DataType", { DataType::F32 }); -const auto data_types = framework::dataset::make("DataType", { DataType::QS8, DataType::F32 }); +const auto data_types = framework::dataset::make("DataType", { DataType::QS8, DataType::F32 }); +const auto data_types_no_fixed = framework::dataset::make("DataType", { DataType::F32 }); #endif /* ARM_COMPUTE_ENABLE_F16 */ } // namespace @@ -59,11 +60,11 @@ using NEConvolutionLayerFixture = ConvolutionLayerFixture