Skip to content

Commit 4c76b9c

Browse files
lwesiersigcbot
authored andcommitted
Added missing code for ADL_S and RKL
1 parent 0678779 commit 4c76b9c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

IGC/AdaptorOCL/ocl_igc_interface/impl/fcl_ocl_translation_ctx_impl.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,9 @@ static const char* getPlatformStr(PLATFORM platform)
426426
case IGFX_GEN12_CORE:
427427
case IGFX_GEN12LP_CORE:
428428
if (platform.eProductFamily == IGFX_TIGERLAKE_LP ||
429-
platform.eProductFamily == IGFX_DG1)
429+
platform.eProductFamily == IGFX_DG1 ||
430+
platform.eProductFamily == IGFX_ROCKETLAKE ||
431+
platform.eProductFamily == IGFX_ALDERLAKE_S )
430432
return "TGLLP";
431433
default:
432434
break;

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ bool hasNoInt64Inst() const {
458458
m_platformInfo.eProductFamily == IGFX_ELKHARTLAKE ||
459459
m_platformInfo.eProductFamily == IGFX_JASPERLAKE ||
460460
m_platformInfo.eProductFamily == IGFX_TIGERLAKE_LP ||
461+
m_platformInfo.eProductFamily == IGFX_ROCKETLAKE ||
462+
m_platformInfo.eProductFamily == IGFX_ALDERLAKE_S ||
461463
m_platformInfo.eProductFamily == IGFX_DG1;
462464
}
463465

@@ -468,6 +470,8 @@ bool hasNoFP64Inst() const {
468470
m_platformInfo.eProductFamily == IGFX_ELKHARTLAKE ||
469471
m_platformInfo.eProductFamily == IGFX_JASPERLAKE ||
470472
m_platformInfo.eProductFamily == IGFX_TIGERLAKE_LP ||
473+
m_platformInfo.eProductFamily == IGFX_ROCKETLAKE ||
474+
m_platformInfo.eProductFamily == IGFX_ALDERLAKE_S ||
471475
m_platformInfo.eProductFamily == IGFX_DG1;
472476
}
473477

@@ -477,7 +481,9 @@ bool hasCorrectlyRoundedMacros() const {
477481
m_platformInfo.eProductFamily != IGFX_LAKEFIELD &&
478482
m_platformInfo.eProductFamily != IGFX_JASPERLAKE &&
479483
m_platformInfo.eProductFamily != IGFX_TIGERLAKE_LP &&
480-
m_platformInfo.eProductFamily != IGFX_DG1;
484+
m_platformInfo.eProductFamily != IGFX_ROCKETLAKE &&
485+
m_platformInfo.eProductFamily != IGFX_DG1 &&
486+
m_platformInfo.eProductFamily != IGFX_ALDERLAKE_S;
481487
}
482488

483489
bool hasFusedEU() const { return m_platformInfo.eRenderCoreFamily >= IGFX_GEN12_CORE; }

0 commit comments

Comments
 (0)