mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Rename ClHwHelper -> ClGfxCoreHelper
Related-To: NEO-6853 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
73b2104183
commit
91d39ad5bf
@@ -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
|
||||
|
||||
@@ -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>>();
|
||||
|
||||
Reference in New Issue
Block a user