1 /*
2  * Copyright (C) 2020-2021 Intel Corporation
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  */
7 
8 #include "shared/source/helpers/populate_factory.h"
9 
10 #include "opencl/source/helpers/cl_hw_helper_base.inl"
11 #include "opencl/source/helpers/cl_hw_helper_bdw_and_later.inl"
12 
13 #include "hw_cmds.h"
14 
15 namespace NEO {
16 
17 using Family = BDWFamily;
18 static auto gfxCore = IGFX_GEN8_CORE;
19 
20 template <>
populateFactoryTable()21 void populateFactoryTable<ClHwHelperHw<Family>>() {
22     extern ClHwHelper *clHwHelperFactory[IGFX_MAX_CORE];
23     clHwHelperFactory[gfxCore] = &ClHwHelperHw<Family>::get();
24 }
25 
26 template <>
getDeviceIpVersion(const HardwareInfo & hwInfo) const27 cl_version ClHwHelperHw<Family>::getDeviceIpVersion(const HardwareInfo &hwInfo) const {
28     return makeDeviceIpVersion(8, 0, 0);
29 }
30 
31 template class ClHwHelperHw<Family>;
32 
33 } // namespace NEO
34