20.11
ClContextControlFixture.hpp
Go to the documentation of this file.
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, ProfilingEnabled) {}
17
18
armnn::ClContextControl
m_ClContextControl
;
19
};
20
21
using
ClContextControlFixture
=
ClContextControlFixtureBase<false>
;
22
using
ClProfilingContextControlFixture
=
ClContextControlFixtureBase<true>
;
armnn::ClContextControl
Definition:
ClContextControl.hpp:15
ClContextControl.hpp
WorkloadFactory.hpp
ClContextControlFixtureBase::m_ClContextControl
armnn::ClContextControl m_ClContextControl
Definition:
ClContextControlFixture.hpp:18
ClContextControlFixtureBase::ClContextControlFixtureBase
ClContextControlFixtureBase()
Definition:
ClContextControlFixture.hpp:15
ClContextControlFixtureBase
Definition:
ClContextControlFixture.hpp:12
src
backends
cl
test
ClContextControlFixture.hpp
Generated on Wed Nov 25 2020 09:59:12 for ArmNN by
1.8.13