Skip to content

Commit c430f67

Browse files
matborzyszkowskiigcbot
authored andcommitted
Add CRI support
Add CRI support
1 parent 0a9af32 commit c430f67

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

IGC/AdaptorOCL/ocl_igc_interface/extensions/SPIRVExtensions.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def IGFX_BMG : Platform<"IGFX_BMG">;
3434
def IGFX_LUNARLAKE : Platform<"IGFX_LUNARLAKE">;
3535
def IGFX_PTL : Platform<"IGFX_PTL">;
3636
def IGFX_NVL_XE3G : Platform<"IGFX_NVL_XE3G">;
37+
def IGFX_CRI : Platform<"IGFX_CRI">;
3738

3839
// Core Families
3940
def IGFX_GEN12_CORE : CoreFamily<"IGFX_GEN12_CORE">;
@@ -43,6 +44,7 @@ def IGFX_XE_HPG_CORE : CoreFamily<"IGFX_XE_HPG_CORE">;
4344
def IGFX_XE_HPC_CORE : CoreFamily<"IGFX_XE_HPC_CORE">;
4445
def IGFX_XE2_HPG_CORE : CoreFamily<"IGFX_XE2_HPG_CORE">;
4546
def IGFX_XE3_CORE : CoreFamily<"IGFX_XE3_CORE">;
47+
def IGFX_XE3P_CORE : CoreFamily<"IGFX_XE3P_CORE">;
4648

4749
// Define Platform Groups for common use cases
4850
def CUSTOM_GROUP : PlatformGroup<[IGFX_DG2, IGFX_PVC]>;

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ class CPlatform {
568568
case IGFX_DG2:
569569
case IGFX_PVC:
570570
case IGFX_BMG:
571+
case IGFX_CRI:
571572
return false;
572573
default:
573574
return true;

inc/common/igfxfmid.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ typedef enum {
4242
IGFX_LUNARLAKE = 1275,
4343
IGFX_PTL = 1300,
4444
IGFX_NVL_XE3G = 1340,
45+
IGFX_CRI = 1380,
4546
IGFX_MAX_PRODUCT,
4647

4748

@@ -91,10 +92,11 @@ typedef enum {
9192
IGFX_GEN12_CORE = 17, // Gen12 Family
9293
IGFX_GEN12LP_CORE = 18, // Gen12 LP Family
9394
IGFX_XE_HP_CORE = 0x0c05, // XeHP Family
94-
IGFX_XE_HPG_CORE = 0x0c07, // XE_HPG Family
95-
IGFX_XE_HPC_CORE = 0x0c08, // XE_HPC Family
95+
IGFX_XE_HPG_CORE = 0x0c07, // XE_HPG Family
96+
IGFX_XE_HPC_CORE = 0x0c08, // XE_HPC Family
9697
IGFX_XE2_HPG_CORE = 0x0c09, // XE2_HPG Family
97-
IGFX_XE3_CORE = 0x1e00, // XE3 Family
98+
IGFX_XE3_CORE = 0x1e00, // XE3 Family
99+
IGFX_XE3P_CORE = 0x2300, // XE3P Family
98100
IGFX_MAX_CORE, // Max Family, for lookup table
99101

100102
IGFX_GENNEXT_CORE = 0x7ffffffe, //GenNext

0 commit comments

Comments
 (0)