Skip to content

Commit c4db251

Browse files
[SYCL] Add missing Intel archs to sycl_ext_oneapi_device_architecture (#10716)
This patch updates sycl_ext_oneapi_device_architecture extension with the following: * add missing architecture: * intel_gpu_ehl and its sibling - intel_gpu_jsl * add missing aliases to existing architectures: * intel_gpu_bxt (alias to intel_gpu_apl) * intel_gpu_dg2_g10 (alias to intel_gpu_acm_g10) * intel_gpu_dg2_g11 (alias to intel_gpu_acm_g11) * intel_gpu_dg2_g12 (alias to intel_gpu_acm_g12) * remove unnecessary implementation details for intel_gpu_rpl_s from the driver and make it dependent on intel_gpu_adl_s as they are the same architectures
1 parent c6f82ed commit c4db251

File tree

6 files changed

+104
-72
lines changed

6 files changed

+104
-72
lines changed

clang/lib/Driver/ToolChains/SYCL.cpp

Lines changed: 61 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -641,65 +641,66 @@ void SYCL::gen::BackendCompiler::ConstructJob(Compilation &C,
641641

642642
StringRef SYCL::gen::resolveGenDevice(StringRef DeviceName) {
643643
StringRef Device;
644-
Device = llvm::StringSwitch<StringRef>(DeviceName)
645-
.Cases("intel_gpu_bdw", "intel_gpu_8_0_0", "bdw")
646-
.Cases("intel_gpu_skl", "intel_gpu_9_0_9", "skl")
647-
.Cases("intel_gpu_kbl", "intel_gpu_9_1_9", "kbl")
648-
.Cases("intel_gpu_cfl", "intel_gpu_9_2_9", "cfl")
649-
.Cases("intel_gpu_apl", "intel_gpu_9_3_0", "apl")
650-
.Cases("intel_gpu_glk", "intel_gpu_9_4_0", "glk")
651-
.Cases("intel_gpu_whl", "intel_gpu_9_5_0", "whl")
652-
.Cases("intel_gpu_aml", "intel_gpu_9_6_0", "aml")
653-
.Cases("intel_gpu_cml", "intel_gpu_9_7_0", "cml")
654-
.Cases("intel_gpu_icllp", "intel_gpu_11_0_0", "icllp")
655-
.Cases("intel_gpu_tgllp", "intel_gpu_12_0_0", "tgllp")
656-
.Case("intel_gpu_rkl", "rkl")
657-
.Case("intel_gpu_adl_s", "adl_s")
658-
.Case("intel_gpu_rpl_s", "rpl_s")
659-
.Case("intel_gpu_adl_p", "adl_p")
660-
.Case("intel_gpu_adl_n", "adl_n")
661-
.Cases("intel_gpu_dg1", "intel_gpu_12_10_0", "dg1")
662-
.Case("intel_gpu_acm_g10", "acm_g10")
663-
.Case("intel_gpu_acm_g11", "acm_g11")
664-
.Case("intel_gpu_acm_g12", "acm_g12")
665-
.Case("intel_gpu_pvc", "pvc")
666-
.Case("nvidia_gpu_sm_50", "sm_50")
667-
.Case("nvidia_gpu_sm_52", "sm_52")
668-
.Case("nvidia_gpu_sm_53", "sm_53")
669-
.Case("nvidia_gpu_sm_60", "sm_60")
670-
.Case("nvidia_gpu_sm_61", "sm_61")
671-
.Case("nvidia_gpu_sm_62", "sm_62")
672-
.Case("nvidia_gpu_sm_70", "sm_70")
673-
.Case("nvidia_gpu_sm_72", "sm_72")
674-
.Case("nvidia_gpu_sm_75", "sm_75")
675-
.Case("nvidia_gpu_sm_80", "sm_80")
676-
.Case("nvidia_gpu_sm_86", "sm_86")
677-
.Case("nvidia_gpu_sm_87", "sm_87")
678-
.Case("nvidia_gpu_sm_89", "sm_89")
679-
.Case("nvidia_gpu_sm_90", "sm_90")
680-
.Case("amd_gpu_gfx700", "gfx700")
681-
.Case("amd_gpu_gfx701", "gfx701")
682-
.Case("amd_gpu_gfx702", "gfx702")
683-
.Case("amd_gpu_gfx801", "gfx801")
684-
.Case("amd_gpu_gfx802", "gfx802")
685-
.Case("amd_gpu_gfx803", "gfx803")
686-
.Case("amd_gpu_gfx805", "gfx805")
687-
.Case("amd_gpu_gfx810", "gfx810")
688-
.Case("amd_gpu_gfx900", "gfx900")
689-
.Case("amd_gpu_gfx902", "gfx902")
690-
.Case("amd_gpu_gfx904", "gfx904")
691-
.Case("amd_gpu_gfx906", "gfx906")
692-
.Case("amd_gpu_gfx908", "gfx908")
693-
.Case("amd_gpu_gfx90a", "gfx90a")
694-
.Case("amd_gpu_gfx1010", "gfx1010")
695-
.Case("amd_gpu_gfx1011", "gfx1011")
696-
.Case("amd_gpu_gfx1012", "gfx1012")
697-
.Case("amd_gpu_gfx1013", "gfx1013")
698-
.Case("amd_gpu_gfx1030", "gfx1030")
699-
.Case("amd_gpu_gfx1031", "gfx1031")
700-
.Case("amd_gpu_gfx1032", "gfx1032")
701-
.Case("amd_gpu_gfx1034", "gfx1034")
702-
.Default("");
644+
Device =
645+
llvm::StringSwitch<StringRef>(DeviceName)
646+
.Cases("intel_gpu_bdw", "intel_gpu_8_0_0", "bdw")
647+
.Cases("intel_gpu_skl", "intel_gpu_9_0_9", "skl")
648+
.Cases("intel_gpu_kbl", "intel_gpu_9_1_9", "kbl")
649+
.Cases("intel_gpu_cfl", "intel_gpu_9_2_9", "cfl")
650+
.Cases("intel_gpu_apl", "intel_gpu_bxt", "intel_gpu_9_3_0", "apl")
651+
.Cases("intel_gpu_glk", "intel_gpu_9_4_0", "glk")
652+
.Cases("intel_gpu_whl", "intel_gpu_9_5_0", "whl")
653+
.Cases("intel_gpu_aml", "intel_gpu_9_6_0", "aml")
654+
.Cases("intel_gpu_cml", "intel_gpu_9_7_0", "cml")
655+
.Cases("intel_gpu_icllp", "intel_gpu_11_0_0", "icllp")
656+
.Cases("intel_gpu_ehl", "intel_gpu_jsl", "ehl")
657+
.Cases("intel_gpu_tgllp", "intel_gpu_12_0_0", "tgllp")
658+
.Case("intel_gpu_rkl", "rkl")
659+
.Cases("intel_gpu_adl_s", "intel_gpu_rpl_s", "adl_s")
660+
.Case("intel_gpu_adl_p", "adl_p")
661+
.Case("intel_gpu_adl_n", "adl_n")
662+
.Cases("intel_gpu_dg1", "intel_gpu_12_10_0", "dg1")
663+
.Cases("intel_gpu_acm_g10", "intel_gpu_dg2_g10", "acm_g10")
664+
.Cases("intel_gpu_acm_g11", "intel_gpu_dg2_g11", "acm_g11")
665+
.Cases("intel_gpu_acm_g12", "intel_gpu_dg2_g12", "acm_g12")
666+
.Case("intel_gpu_pvc", "pvc")
667+
.Case("nvidia_gpu_sm_50", "sm_50")
668+
.Case("nvidia_gpu_sm_52", "sm_52")
669+
.Case("nvidia_gpu_sm_53", "sm_53")
670+
.Case("nvidia_gpu_sm_60", "sm_60")
671+
.Case("nvidia_gpu_sm_61", "sm_61")
672+
.Case("nvidia_gpu_sm_62", "sm_62")
673+
.Case("nvidia_gpu_sm_70", "sm_70")
674+
.Case("nvidia_gpu_sm_72", "sm_72")
675+
.Case("nvidia_gpu_sm_75", "sm_75")
676+
.Case("nvidia_gpu_sm_80", "sm_80")
677+
.Case("nvidia_gpu_sm_86", "sm_86")
678+
.Case("nvidia_gpu_sm_87", "sm_87")
679+
.Case("nvidia_gpu_sm_89", "sm_89")
680+
.Case("nvidia_gpu_sm_90", "sm_90")
681+
.Case("amd_gpu_gfx700", "gfx700")
682+
.Case("amd_gpu_gfx701", "gfx701")
683+
.Case("amd_gpu_gfx702", "gfx702")
684+
.Case("amd_gpu_gfx801", "gfx801")
685+
.Case("amd_gpu_gfx802", "gfx802")
686+
.Case("amd_gpu_gfx803", "gfx803")
687+
.Case("amd_gpu_gfx805", "gfx805")
688+
.Case("amd_gpu_gfx810", "gfx810")
689+
.Case("amd_gpu_gfx900", "gfx900")
690+
.Case("amd_gpu_gfx902", "gfx902")
691+
.Case("amd_gpu_gfx904", "gfx904")
692+
.Case("amd_gpu_gfx906", "gfx906")
693+
.Case("amd_gpu_gfx908", "gfx908")
694+
.Case("amd_gpu_gfx90a", "gfx90a")
695+
.Case("amd_gpu_gfx1010", "gfx1010")
696+
.Case("amd_gpu_gfx1011", "gfx1011")
697+
.Case("amd_gpu_gfx1012", "gfx1012")
698+
.Case("amd_gpu_gfx1013", "gfx1013")
699+
.Case("amd_gpu_gfx1030", "gfx1030")
700+
.Case("amd_gpu_gfx1031", "gfx1031")
701+
.Case("amd_gpu_gfx1032", "gfx1032")
702+
.Case("amd_gpu_gfx1034", "gfx1034")
703+
.Default("");
703704
return Device;
704705
}
705706

@@ -716,10 +717,10 @@ SmallString<64> SYCL::gen::getGenDeviceMacro(StringRef DeviceName) {
716717
.Case("aml", "INTEL_GPU_AML")
717718
.Case("cml", "INTEL_GPU_CML")
718719
.Case("icllp", "INTEL_GPU_ICLLP")
720+
.Case("ehl", "INTEL_GPU_EHL")
719721
.Case("tgllp", "INTEL_GPU_TGLLP")
720722
.Case("rkl", "INTEL_GPU_RKL")
721723
.Case("adl_s", "INTEL_GPU_ADL_S")
722-
.Case("rpl_s", "INTEL_GPU_RPL_S")
723724
.Case("adl_p", "INTEL_GPU_ADL_P")
724725
.Case("adl_n", "INTEL_GPU_ADL_N")
725726
.Case("dg1", "INTEL_GPU_DG1")

clang/test/Driver/sycl-oneapi-gpu.cpp

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=apl -DMAC_STR=APL
2121
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_9_3_0 -### %s 2>&1 | \
2222
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=apl -DMAC_STR=APL
23+
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_bxt -### %s 2>&1 | \
24+
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=apl -DMAC_STR=APL
2325
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_glk -### %s 2>&1 | \
2426
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=glk -DMAC_STR=GLK
2527
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_9_4_0 -### %s 2>&1 | \
@@ -42,6 +44,10 @@
4244
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_11_0_0 -### %s 2>&1 | \
4345
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=icllp \
4446
// RUN: -DMAC_STR=ICLLP
47+
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_ehl -### %s 2>&1 | \
48+
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=ehl -DMAC_STR=EHL
49+
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_jsl -### %s 2>&1 | \
50+
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=ehl -DMAC_STR=EHL
4551
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -### %s 2>&1 | \
4652
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=tgllp \
4753
// RUN: -DMAC_STR=TGLLP
@@ -54,8 +60,8 @@
5460
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=adl_s \
5561
// RUN: -DMAC_STR=ADL_S
5662
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_rpl_s -### %s 2>&1 | \
57-
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=rpl_s \
58-
// RUN: -DMAC_STR=RPL_S
63+
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=adl_s \
64+
// RUN: -DMAC_STR=ADL_S
5965
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_adl_p -### %s 2>&1 | \
6066
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=adl_p \
6167
// RUN: -DMAC_STR=ADL_P
@@ -69,12 +75,21 @@
6975
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_acm_g10 -### %s 2>&1 | \
7076
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=acm_g10 \
7177
// RUN: -DMAC_STR=ACM_G10
78+
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_dg2_g10 -### %s 2>&1 | \
79+
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=acm_g10 \
80+
// RUN: -DMAC_STR=ACM_G10
7281
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_acm_g11 -### %s 2>&1 | \
7382
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=acm_g11 \
7483
// RUN: -DMAC_STR=ACM_G11
84+
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_dg2_g11 -### %s 2>&1 | \
85+
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=acm_g11 \
86+
// RUN: -DMAC_STR=ACM_G11
7587
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_acm_g12 -### %s 2>&1 | \
7688
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=acm_g12 \
7789
// RUN: -DMAC_STR=ACM_G12
90+
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_dg2_g12 -### %s 2>&1 | \
91+
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=acm_g12 \
92+
// RUN: -DMAC_STR=ACM_G12
7893
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -### %s 2>&1 | \
7994
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=pvc -DMAC_STR=PVC
8095
// MACRO: clang{{.*}} "-triple" "spir64_gen-unknown-unknown"

sycl/doc/UsersManual.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,24 @@ and not recommended to use in production environment.
4040
support are accepted, providing a streamlined interface for AOT. Only one of
4141
these values at a time is supported.
4242
* intel_gpu_pvc - Ponte Vecchio Intel graphics architecture
43-
* intel_gpu_acm_g12 - Alchemist G12 Intel graphics architecture
44-
* intel_gpu_acm_g11 - Alchemist G11 Intel graphics architecture
45-
* intel_gpu_acm_g10 - Alchemist G10 Intel graphics architecture
43+
* intel_gpu_acm_g12, intel_gpu_dg2_g12 - Alchemist G12 Intel graphics architecture
44+
* intel_gpu_acm_g11, intel_gpu_dg2_g11 - Alchemist G11 Intel graphics architecture
45+
* intel_gpu_acm_g10, intel_gpu_dg2_g10 - Alchemist G10 Intel graphics architecture
4646
* intel_gpu_dg1, intel_gpu_12_10_0 - DG1 Intel graphics architecture
4747
* intel_gpu_adl_n - Alder Lake N Intel graphics architecture
4848
* intel_gpu_adl_p - Alder Lake P Intel graphics architecture
49-
* intel_gpu_rpl_s - Raptor Lake Intel graphics architecture
49+
* intel_gpu_rpl_s - Raptor Lake Intel graphics architecture (equal to intel_gpu_adl_s)
5050
* intel_gpu_adl_s - Alder Lake S Intel graphics architecture
5151
* intel_gpu_rkl - Rocket Lake Intel graphics architecture
5252
* intel_gpu_tgllp, intel_gpu_12_0_0 - Tiger Lake Intel graphics architecture
53+
* intel_gpu_jsl - Jasper Lake Intel graphics architecture (equal to intel_gpu_ehl)
54+
* intel_gpu_ehl - Elkhart Lake Intel graphics architecture
5355
* intel_gpu_icllp, intel_gpu_11_0_0 - Ice Lake Intel graphics architecture
5456
* intel_gpu_cml, intel_gpu_9_7_0 - Comet Lake Intel graphics architecture
5557
* intel_gpu_aml, intel_gpu_9_6_0 - Amber Lake Intel graphics architecture
5658
* intel_gpu_whl, intel_gpu_9_5_0 - Whiskey Lake Intel graphics architecture
5759
* intel_gpu_glk, intel_gpu_9_4_0 - Gemini Lake Intel graphics architecture
60+
* intel_gpu_bxt - Broxton Intel graphics architecture (equal to intel_gpu_apl)
5861
* intel_gpu_apl, intel_gpu_9_3_0 - Apollo Lake Intel graphics architecture
5962
* intel_gpu_cfl, intel_gpu_9_2_9 - Coffee Lake Intel graphics architecture
6063
* intel_gpu_kbl, intel_gpu_9_1_9 - Kaby Lake Intel graphics architecture

sycl/doc/extensions/experimental/sycl_ext_oneapi_device_architecture.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,14 @@ enum class architecture : /* unspecified */ {
104104
intel_gpu_kbl,
105105
intel_gpu_cfl,
106106
intel_gpu_apl,
107+
intel_gpu_bxt = intel_gpu_apl,
107108
intel_gpu_glk,
108109
intel_gpu_whl,
109110
intel_gpu_aml,
110111
intel_gpu_cml,
111112
intel_gpu_icllp,
113+
intel_gpu_ehl,
114+
intel_gpu_jsl = intel_gpu_ehl,
112115
intel_gpu_tgllp,
113116
intel_gpu_rkl,
114117
intel_gpu_adl_s,
@@ -117,8 +120,11 @@ enum class architecture : /* unspecified */ {
117120
intel_gpu_adl_n,
118121
intel_gpu_dg1,
119122
intel_gpu_acm_g10,
123+
intel_gpu_dg2_g10 = intel_gpu_acm_g10,
120124
intel_gpu_acm_g11,
125+
intel_gpu_dg2_g11 = intel_gpu_acm_g11,
121126
intel_gpu_acm_g12,
127+
intel_gpu_dg2_g12 = intel_gpu_acm_g12,
122128
intel_gpu_pvc,
123129

124130
nvidia_gpu_sm_50,

sycl/include/sycl/ext/oneapi/experimental/device_architecture.hpp

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ enum class architecture {
1919
intel_gpu_kbl,
2020
intel_gpu_cfl,
2121
intel_gpu_apl,
22+
intel_gpu_bxt = intel_gpu_apl,
2223
intel_gpu_glk,
2324
intel_gpu_whl,
2425
intel_gpu_aml,
2526
intel_gpu_cml,
2627
intel_gpu_icllp,
28+
intel_gpu_ehl,
29+
intel_gpu_jsl = intel_gpu_ehl,
2730
intel_gpu_tgllp,
2831
intel_gpu_rkl,
2932
intel_gpu_adl_s,
@@ -32,8 +35,11 @@ enum class architecture {
3235
intel_gpu_adl_n,
3336
intel_gpu_dg1,
3437
intel_gpu_acm_g10,
38+
intel_gpu_dg2_g10 = intel_gpu_acm_g10,
3539
intel_gpu_acm_g11,
40+
intel_gpu_dg2_g11 = intel_gpu_acm_g11,
3641
intel_gpu_acm_g12,
42+
intel_gpu_dg2_g12 = intel_gpu_acm_g12,
3743
intel_gpu_pvc,
3844
// NVIDIA architectures
3945
nvidia_gpu_sm_50,
@@ -128,6 +134,9 @@ static constexpr ext::oneapi::experimental::architecture max_architecture =
128134
#ifndef __SYCL_TARGET_INTEL_GPU_ICLLP__
129135
#define __SYCL_TARGET_INTEL_GPU_ICLLP__ 0
130136
#endif
137+
#ifndef __SYCL_TARGET_INTEL_GPU_EHL__
138+
#define __SYCL_TARGET_INTEL_GPU_EHL__ 0
139+
#endif
131140
#ifndef __SYCL_TARGET_INTEL_GPU_TGLLP__
132141
#define __SYCL_TARGET_INTEL_GPU_TGLLP__ 0
133142
#endif
@@ -137,9 +146,6 @@ static constexpr ext::oneapi::experimental::architecture max_architecture =
137146
#ifndef __SYCL_TARGET_INTEL_GPU_ADL_S__
138147
#define __SYCL_TARGET_INTEL_GPU_ADL_S__ 0
139148
#endif
140-
#ifndef __SYCL_TARGET_INTEL_GPU_RPL_S__
141-
#define __SYCL_TARGET_INTEL_GPU_RPL_S__ 0
142-
#endif
143149
#ifndef __SYCL_TARGET_INTEL_GPU_ADL_P__
144150
#define __SYCL_TARGET_INTEL_GPU_ADL_P__ 0
145151
#endif
@@ -287,10 +293,10 @@ static constexpr bool is_allowable_aot_mode =
287293
(__SYCL_TARGET_INTEL_GPU_AML__ == 1) ||
288294
(__SYCL_TARGET_INTEL_GPU_CML__ == 1) ||
289295
(__SYCL_TARGET_INTEL_GPU_ICLLP__ == 1) ||
296+
(__SYCL_TARGET_INTEL_GPU_EHL__ == 1) ||
290297
(__SYCL_TARGET_INTEL_GPU_TGLLP__ == 1) ||
291298
(__SYCL_TARGET_INTEL_GPU_RKL__ == 1) ||
292299
(__SYCL_TARGET_INTEL_GPU_ADL_S__ == 1) ||
293-
(__SYCL_TARGET_INTEL_GPU_RPL_S__ == 1) ||
294300
(__SYCL_TARGET_INTEL_GPU_ADL_P__ == 1) ||
295301
(__SYCL_TARGET_INTEL_GPU_ADL_N__ == 1) ||
296302
(__SYCL_TARGET_INTEL_GPU_DG1__ == 1) ||
@@ -364,14 +370,14 @@ struct IsAOTForArchitectureClass {
364370
__SYCL_TARGET_INTEL_GPU_CML__ == 1;
365371
arr[static_cast<int>(arch::intel_gpu_icllp)] =
366372
__SYCL_TARGET_INTEL_GPU_ICLLP__ == 1;
373+
arr[static_cast<int>(arch::intel_gpu_ehl)] =
374+
__SYCL_TARGET_INTEL_GPU_EHL__ == 1;
367375
arr[static_cast<int>(arch::intel_gpu_tgllp)] =
368376
__SYCL_TARGET_INTEL_GPU_TGLLP__ == 1;
369377
arr[static_cast<int>(arch::intel_gpu_rkl)] =
370378
__SYCL_TARGET_INTEL_GPU_RKL__ == 1;
371379
arr[static_cast<int>(arch::intel_gpu_adl_s)] =
372380
__SYCL_TARGET_INTEL_GPU_ADL_S__ == 1;
373-
arr[static_cast<int>(arch::intel_gpu_rpl_s)] =
374-
__SYCL_TARGET_INTEL_GPU_RPL_S__ == 1;
375381
arr[static_cast<int>(arch::intel_gpu_adl_p)] =
376382
__SYCL_TARGET_INTEL_GPU_ADL_P__ == 1;
377383
arr[static_cast<int>(arch::intel_gpu_adl_n)] =

sycl/source/detail/device_info.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,7 @@ struct get_device_info_impl<
601601
{0x02418000, oneapi_exp_arch::intel_gpu_aml},
602602
{0x0241c000, oneapi_exp_arch::intel_gpu_cml},
603603
{0x02c00000, oneapi_exp_arch::intel_gpu_icllp},
604+
{0x02c08000, oneapi_exp_arch::intel_gpu_ehl},
604605
{0x03000000, oneapi_exp_arch::intel_gpu_tgllp},
605606
{0x03004000, oneapi_exp_arch::intel_gpu_rkl},
606607
{0x03008000, oneapi_exp_arch::intel_gpu_adl_s},

0 commit comments

Comments
 (0)