From edc5ffa62ab7c552539956eba8bb1d56fb48057c Mon Sep 17 00:00:00 2001 From: Kevin May Date: Wed, 22 May 2019 12:02:53 +0100 Subject: IVGCVSW-3116 Fix failing NN Driver Tests on Android Q * Refactor Convolution2d Unit test for fp16Enabled * Disable GpuAcc for Unit tests in Android Q Signed-off-by: Kevin May Change-Id: I9613eb325841bdf7d25abf51259fe2f5d973c929 --- test/1.1/Transpose.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/1.1/Transpose.cpp') diff --git a/test/1.1/Transpose.cpp b/test/1.1/Transpose.cpp index 6dc3e0ee..e32a25fe 100644 --- a/test/1.1/Transpose.cpp +++ b/test/1.1/Transpose.cpp @@ -21,7 +21,11 @@ using namespace armnn_driver; namespace { -static const boost::array COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; +#ifndef ARMCOMPUTECL_ENABLED + static const boost::array COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }}; +#else + static const boost::array COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; +#endif void TransposeTestImpl(const TestTensor & inputs, int32_t perm[], const TestTensor & expectedOutputTensor, armnn::Compute computeDevice) -- cgit v1.2.1