mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Use proper FamilyType template argument
Change-Id: I0f2d132d0e0c9831e1c13266e5131db6123f473d Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
62ef24c52a
commit
07dc91df72
@@ -36,7 +36,7 @@ bool HardwareCommandsHelper<TGLLPFamily>::isPipeControlWArequired(const Hardware
|
||||
|
||||
template <>
|
||||
bool HardwareCommandsHelper<TGLLPFamily>::isPipeControlPriorToPipelineSelectWArequired(const HardwareInfo &hwInfo) {
|
||||
return (Gen12LPHelpers::pipeControlWaRequired(hwInfo.platform.eProductFamily)) && (hwInfo.platform.usRevId == REVISION_A0);
|
||||
return HardwareCommandsHelper<TGLLPFamily>::isPipeControlWArequired(hwInfo);
|
||||
}
|
||||
|
||||
template struct HardwareCommandsHelper<TGLLPFamily>;
|
||||
|
||||
@@ -260,7 +260,7 @@ HWCMDTEST_F(IGFX_GEN8_CORE, CommandEncodeStatesTest, givenCleanHeapsAndSlmNotCha
|
||||
GenCmdList commands;
|
||||
CmdParse<FamilyType>::parseCommandBuffer(commands, ptrOffset(cmdContainer->getCommandStream()->getCpuBase(), 0), cmdContainer->getCommandStream()->getUsed());
|
||||
|
||||
if (HardwareCommandsHelper<TGLLPFamily>::isPipeControlPriorToPipelineSelectWArequired(pDevice->getHardwareInfo())) {
|
||||
if (HardwareCommandsHelper<FamilyType>::isPipeControlPriorToPipelineSelectWArequired(pDevice->getHardwareInfo())) {
|
||||
auto itorPC = findAll<PIPE_CONTROL *>(commands.begin(), commands.end());
|
||||
EXPECT_EQ(2u, itorPC.size());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user