Skip to content

Commit fc33d7c

Browse files
jgu222igcbot
authored andcommitted
[Autobackout][FuncReg]Revert of change: 32d6b47
Internal feature Change related to internal feature
1 parent 00e1ec8 commit fc33d7c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

visa/HWCaps.inc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -730,14 +730,12 @@ SPDX-License-Identifier: MIT
730730

731731
bool hasTwoGRFBank16Bundles() const
732732
{
733-
const TARGET_PLATFORM P = getPlatform();
734-
return P == XE_HP;
733+
return getPlatform() == XE_HP;
735734
}
736735

737736
bool hasOneGRFBank16Bundles() const
738737
{
739-
const TARGET_PLATFORM P = getPlatform();
740-
return P != XE_HP;
738+
return getPlatform() != XE_HP;
741739
}
742740

743741
bool hasDPASSrc0Src1BankConflict() const
@@ -778,8 +776,7 @@ SPDX-License-Identifier: MIT
778776
// Note that this function is intentionally omitted from HWCapsOpen.inc to avoid IP leak
779777
bool hasThreeALUPipes() const
780778
{
781-
const TARGET_PLATFORM P = getPlatform();
782-
return (P == XE_HP);
779+
return (getPlatform() == XE_HP);
783780
}
784781

785782
bool hasFusedEUWA() const

0 commit comments

Comments
 (0)