diff options
Diffstat (limited to 'test/1.1/Mean.cpp')
-rw-r--r-- | test/1.1/Mean.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/1.1/Mean.cpp b/test/1.1/Mean.cpp index 7d482433..cf9ddcb2 100644 --- a/test/1.1/Mean.cpp +++ b/test/1.1/Mean.cpp @@ -18,7 +18,11 @@ using namespace armnn_driver; namespace { -static const boost::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; +#ifndef ARMCOMPUTECL_ENABLED + static const boost::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }}; +#else + static const boost::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; +#endif void MeanTestImpl(const TestTensor& input, const hidl_vec<uint32_t>& axisDimensions, |