diff options
Diffstat (limited to 'src/backends/cl/ClContextControl.cpp')
-rw-r--r-- | src/backends/cl/ClContextControl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backends/cl/ClContextControl.cpp b/src/backends/cl/ClContextControl.cpp index 7ab825f59e..fd2d0f53eb 100644 --- a/src/backends/cl/ClContextControl.cpp +++ b/src/backends/cl/ClContextControl.cpp @@ -28,8 +28,10 @@ namespace armnn { ClContextControl::ClContextControl(arm_compute::CLTuner *tuner, + arm_compute::CLGEMMHeuristicsHandle* heuristicsHandle, bool profilingEnabled) : m_Tuner(tuner) + , m_HeuristicsHandle(heuristicsHandle) , m_ProfilingEnabled(profilingEnabled) { // Ignore m_ProfilingEnabled if unused to avoid compiling problems when ArmCompute is disabled. @@ -156,7 +158,7 @@ void ClContextControl::DoLoadOpenClRuntime(bool updateTunedParameters) // Note the first argument (path to cl source code) will be ignored as they should be embedded in the armcompute. arm_compute::CLKernelLibrary::get().init(".", context, device); - arm_compute::CLScheduler::get().init(context, commandQueue, device, m_Tuner); + arm_compute::CLScheduler::get().init(context, commandQueue, device, m_Tuner, m_HeuristicsHandle); } void ClContextControl::ClearClCache() |