aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h
diff options
context:
space:
mode:
authorPablo Tello <pablo.tello@arm.com>2022-03-10 17:05:34 +0000
committerPablo Marquez Tello <pablo.tello@arm.com>2022-07-13 14:40:03 +0000
commit29cab36ddd73c174bf6b2de453663aa49c1cc576 (patch)
treefe186889cfd93b90b0cbd7917e99d9dff62bff8c /tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h
parent2186aef84fe1206545f6d5bc321752044fdd1b3d (diff)
downloadComputeLibrary-29cab36ddd73c174bf6b2de453663aa49c1cc576.tar.gz
Fixed clang-cl errors on Windows native builds.
Partially resolves MLCE-739 Change-Id: Ice06a96d6a8a26b31e334ba4e697cd41d352b026 Signed-off-by: Pablo Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7364 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h')
-rw-r--r--tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h b/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h
index cecccc87bb..9fd973ad20 100644
--- a/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h
+++ b/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2021 Arm Limited.
+ * Copyright (c) 2017-2022 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -199,14 +199,14 @@ protected:
{
case DataType::QASYMM8:
{
- std::uniform_int_distribution<uint8_t> distribution(0, 15);
+ std::uniform_int_distribution<uint32_t> distribution(0, 15);
library->fill(tensor, distribution, i);
break;
}
case DataType::QASYMM8_SIGNED:
case DataType::QSYMM8_PER_CHANNEL:
{
- std::uniform_int_distribution<int8_t> distribution(-10, 10);
+ std::uniform_int_distribution<int32_t> distribution(-10, 10);
library->fill(tensor, distribution, i);
break;
}