mirror of https://github.com/intel/gmmlib.git
Fixing the XE_HPC macro usage for Cache Policy settings
This commit is contained in:
parent
f7194832aa
commit
ed44b3a0c8
|
@ -1110,6 +1110,7 @@ GMM_CACHE_POLICY *GMM_STDCALL GmmLib::Context::CreateCachePolicyCommon()
|
|||
case IGFX_GEN12_CORE:
|
||||
case IGFX_XE_HP_CORE:
|
||||
case IGFX_XE_HPG_CORE:
|
||||
case IGFX_XE_HPC_CORE:
|
||||
if(GetSkuTable().FtrLocalMemory)
|
||||
{
|
||||
pGmmCachePolicy = new GmmLib::GmmGen12dGPUCachePolicy(CachePolicy, this);
|
||||
|
@ -1173,7 +1174,8 @@ GMM_TEXTURE_CALC *GMM_STDCALL GmmLib::Context::CreateTextureCalc(PLATFORM Platfo
|
|||
case IGFX_GEN12_CORE:
|
||||
case IGFX_XE_HP_CORE:
|
||||
case IGFX_XE_HPG_CORE:
|
||||
default:
|
||||
case IGFX_XE_HPC_CORE:
|
||||
default:
|
||||
return new GmmGen12TextureCalc(this);
|
||||
break;
|
||||
}
|
||||
|
@ -1195,7 +1197,8 @@ GMM_PLATFORM_INFO_CLASS *GMM_STDCALL GmmLib::Context::CreatePlatformInfo(PLATFOR
|
|||
case IGFX_GEN12LP_CORE:
|
||||
case IGFX_GEN12_CORE:
|
||||
case IGFX_XE_HP_CORE:
|
||||
case IGFX_XE_HPG_CORE:
|
||||
case IGFX_XE_HPG_CORE:
|
||||
case IGFX_XE_HPC_CORE:
|
||||
return new GmmLib::PlatformInfoGen12(Platform, (GMM_LIB_CONTEXT *)this);
|
||||
break;
|
||||
case IGFX_GEN11_CORE:
|
||||
|
|
Loading…
Reference in New Issue