2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
8 #include <cl/ClContextControl.hpp>
9 #include <backendsCommon/WorkloadFactory.hpp>
11 template<bool ProfilingEnabled>
12 struct ClContextControlFixtureBase
14 // Initialising ClContextControl to ensure OpenCL is loaded correctly for each test case
15 ClContextControlFixtureBase()
16 : m_ClContextControl(nullptr, nullptr, ProfilingEnabled) {}
18 armnn::ClContextControl m_ClContextControl;
21 using ClContextControlFixture = ClContextControlFixtureBase<false>;
22 using ClProfilingContextControlFixture = ClContextControlFixtureBase<true>;