diff options
Diffstat (limited to 'test/Merger.cpp')
-rw-r--r-- | test/Merger.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Merger.cpp b/test/Merger.cpp index 16ac451c..9b3d847a 100644 --- a/test/Merger.cpp +++ b/test/Merger.cpp @@ -19,7 +19,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 MergerTestImpl(const std::vector<const TestTensor*> & inputs, |