Move clGfxCoreHelper ownership to rootDeviceEnv

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-01-03 10:27:35 +00:00
committed by Compute-Runtime-Automation
parent 5ff0ff0997
commit 468d722efb
127 changed files with 440 additions and 393 deletions

View File

@@ -17,11 +17,7 @@ namespace NEO {
using Family = Gen8Family;
static auto gfxCore = IGFX_GEN8_CORE;
template <>
void populateFactoryTable<ClGfxCoreHelperHw<Family>>() {
extern ClGfxCoreHelper *clGfxCoreHelperFactory[IGFX_MAX_CORE];
clGfxCoreHelperFactory[gfxCore] = &ClGfxCoreHelperHw<Family>::get();
}
#include "opencl/source/helpers/cl_hw_helper_factory_init.inl"
template <>
cl_version ClGfxCoreHelperHw<Family>::getDeviceIpVersion(const HardwareInfo &hwInfo) const {