Rename ClHwHelper -> ClGfxCoreHelper

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2022-11-30 17:06:04 +00:00
committed by Compute-Runtime-Automation
parent 73b2104183
commit 91d39ad5bf
52 changed files with 280 additions and 283 deletions

View File

@@ -17,16 +17,16 @@ using Family = Gen11Family;
static auto gfxCore = IGFX_GEN11_CORE;
template <>
void populateFactoryTable<ClHwHelperHw<Family>>() {
extern ClHwHelper *clHwHelperFactory[IGFX_MAX_CORE];
clHwHelperFactory[gfxCore] = &ClHwHelperHw<Family>::get();
void populateFactoryTable<ClGfxCoreHelperHw<Family>>() {
extern ClGfxCoreHelper *clGfxCoreHelperFactory[IGFX_MAX_CORE];
clGfxCoreHelperFactory[gfxCore] = &ClGfxCoreHelperHw<Family>::get();
}
template <>
cl_version ClHwHelperHw<Family>::getDeviceIpVersion(const HardwareInfo &hwInfo) const {
cl_version ClGfxCoreHelperHw<Family>::getDeviceIpVersion(const HardwareInfo &hwInfo) const {
return makeDeviceIpVersion(11, 0, 0);
}
template class ClHwHelperHw<Family>;
template class ClGfxCoreHelperHw<Family>;
} // namespace NEO

View File

@@ -21,7 +21,7 @@ using Family = Gen11Family;
struct EnableOCLGen11 {
EnableOCLGen11() {
populateFactoryTable<BufferHw<Family>>();
populateFactoryTable<ClHwHelperHw<Family>>();
populateFactoryTable<ClGfxCoreHelperHw<Family>>();
populateFactoryTable<CommandQueueHw<Family>>();
populateFactoryTable<ImageHw<Family>>();
populateFactoryTable<SamplerHw<Family>>();