IVGCVSW-5686 Add GpuAcc MLGO tuning file configuration argument
[platform/upstream/armnn.git] / src / backends / cl / test / ClContextControlFixture.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5
6 #pragma once
7
8 #include <cl/ClContextControl.hpp>
9 #include <backendsCommon/WorkloadFactory.hpp>
10
11 template<bool ProfilingEnabled>
12 struct ClContextControlFixtureBase
13 {
14     // Initialising ClContextControl to ensure OpenCL is loaded correctly for each test case
15     ClContextControlFixtureBase()
16         : m_ClContextControl(nullptr, nullptr, ProfilingEnabled) {}
17
18     armnn::ClContextControl m_ClContextControl;
19 };
20
21 using ClContextControlFixture = ClContextControlFixtureBase<false>;
22 using ClProfilingContextControlFixture = ClContextControlFixtureBase<true>;