mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Move clGfxCoreHelper ownership to rootDeviceEnv
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5ff0ff0997
commit
468d722efb
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user