File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -730,12 +730,14 @@ SPDX-License-Identifier: MIT
730
730
731
731
bool hasTwoGRFBank16Bundles () const
732
732
{
733
- return getPlatform () == XE_HP;
733
+ const TARGET_PLATFORM P = getPlatform ();
734
+ return P == XE_HP;
734
735
}
735
736
736
737
bool hasOneGRFBank16Bundles () const
737
738
{
738
- return getPlatform () != XE_HP;
739
+ const TARGET_PLATFORM P = getPlatform ();
740
+ return P != XE_HP;
739
741
}
740
742
741
743
bool hasDPASSrc0Src1BankConflict () const
@@ -776,7 +778,8 @@ SPDX-License-Identifier: MIT
776
778
// Note that this function is intentionally omitted from HWCapsOpen.inc to avoid IP leak
777
779
bool hasThreeALUPipes () const
778
780
{
779
- return (getPlatform () == XE_HP);
781
+ const TARGET_PLATFORM P = getPlatform ();
782
+ return (P == XE_HP);
780
783
}
781
784
782
785
bool hasFusedEUWA () const
You can’t perform that action at this time.
0 commit comments