Skip to content

Commit 3a5b30f

Browse files
[SYCL] Remove intel_gpu_ehl target (#8521)
This commit removes the Elkhart Lake (intel_gpu_ehl) target from the valid SYCL targets. --------- Signed-off-by: Larsen, Steffen <[email protected]>
1 parent d2bc9d1 commit 3a5b30f

File tree

6 files changed

+0
-28
lines changed

6 files changed

+0
-28
lines changed

clang/lib/Driver/ToolChains/SYCL.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,6 @@ StringRef SYCL::gen::resolveGenDevice(StringRef DeviceName) {
646646
.Cases("intel_gpu_aml", "intel_gpu_9_6_0", "aml")
647647
.Cases("intel_gpu_cml", "intel_gpu_9_7_0", "cml")
648648
.Cases("intel_gpu_icllp", "intel_gpu_11_0_0", "icllp")
649-
.Cases("intel_gpu_ehl", "intel_gpu_11_2_0", "ehl")
650649
.Cases("intel_gpu_tgllp", "intel_gpu_12_0_0", "tgllp")
651650
.Case("intel_gpu_rkl", "rkl")
652651
.Case("intel_gpu_adl_s", "adl_s")
@@ -711,7 +710,6 @@ SmallString<64> SYCL::gen::getGenDeviceMacro(StringRef DeviceName) {
711710
.Case("aml", "INTEL_GPU_AML")
712711
.Case("cml", "INTEL_GPU_CML")
713712
.Case("icllp", "INTEL_GPU_ICLLP")
714-
.Case("ehl", "INTEL_GPU_EHL")
715713
.Case("tgllp", "INTEL_GPU_TGLLP")
716714
.Case("rkl", "INTEL_GPU_RKL")
717715
.Case("adl_s", "INTEL_GPU_ADL_S")

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@
4242
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_11_0_0 -### %s 2>&1 | \
4343
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=icllp \
4444
// RUN: -DMAC_STR=ICLLP
45-
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_ehl -### %s 2>&1 | \
46-
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=ehl -DMAC_STR=EHL
47-
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_11_2_0 -### %s 2>&1 | \
48-
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=ehl -DMAC_STR=EHL
4945
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -### %s 2>&1 | \
5046
// RUN: FileCheck %s --check-prefixes=DEVICE,MACRO -DDEV_STR=tgllp \
5147
// RUN: -DMAC_STR=TGLLP

sycl/doc/UsersManual.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ and not recommended to use in production environment.
4646
* intel_gpu_adl_s - Alder Lake S Intel graphics architecture
4747
* intel_gpu_rkl - Rocket Lake Intel graphics architecture
4848
* intel_gpu_tgllp, intel_gpu_12_0_0 - Tiger Lake Intel graphics architecture
49-
* intel_gpu_ehl, intel_gpu_11_2_0 - Elkhart Lake Intel graphics architecture
5049
* intel_gpu_icllp, intel_gpu_11_0_0 - Ice Lake Intel graphics architecture
5150
* intel_gpu_cml, intel_gpu_9_7_0 - Comet Lake Intel graphics architecture
5251
* intel_gpu_aml, intel_gpu_9_6_0 - Amber Lake Intel graphics architecture

sycl/doc/design/DeviceIf.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ recognizes:
4848
* `intel_gpu_aml`
4949
* `intel_gpu_cml`
5050
* `intel_gpu_icllp`
51-
* `intel_gpu_ehl`
5251
* `intel_gpu_tgllp`
5352
* `intel_gpu_rkl`
5453
* `intel_gpu_adl_s`
@@ -70,7 +69,6 @@ recognizes:
7069
* `intel_gpu_9_6_0` (alias for `intel_gpu_aml`)
7170
* `intel_gpu_9_7_0` (alias for `intel_gpu_cml`)
7271
* `intel_gpu_11_0_0` (alias for `intel_gpu_icllp`)
73-
* `intel_gpu_11_2_0` (alias for `intel_gpu_ehl`)
7472
* `intel_gpu_12_0_0` (alias for `intel_gpu_tgllp`)
7573
* `intel_gpu_12_10_0` (alias for `intel_gpu_dg1`)
7674
* `nvidia_gpu_sm_50`
@@ -144,7 +142,6 @@ one of the following corresponding C++ macro names:
144142
* `__SYCL_TARGET_INTEL_GPU_AML__`
145143
* `__SYCL_TARGET_INTEL_GPU_CML__`
146144
* `__SYCL_TARGET_INTEL_GPU_ICLLP__`
147-
* `__SYCL_TARGET_INTEL_GPU_EHL__`
148145
* `__SYCL_TARGET_INTEL_GPU_TGLLP__`
149146
* `__SYCL_TARGET_INTEL_GPU_RKL__`
150147
* `__SYCL_TARGET_INTEL_GPU_ADL_S__`

sycl/doc/extensions/experimental/sycl_ext_oneapi_device_architecture.asciidoc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ enum class architecture : /* unspecified */ {
109109
intel_gpu_aml,
110110
intel_gpu_cml,
111111
intel_gpu_icllp,
112-
intel_gpu_ehl,
113112
intel_gpu_tgllp,
114113
intel_gpu_rkl,
115114
intel_gpu_adl_s,
@@ -170,7 +169,6 @@ enum class architecture : /* unspecified */ {
170169
intel_gpu_9_6_0 = intel_gpu_aml,
171170
intel_gpu_9_7_0 = intel_gpu_cml,
172171
intel_gpu_11_0_0 = intel_gpu_icllp,
173-
intel_gpu_11_2_0 = intel_gpu_ehl,
174172
intel_gpu_12_0_0 = intel_gpu_tgllp,
175173
intel_gpu_12_10_0 = intel_gpu_dg1
176174
};
@@ -231,10 +229,6 @@ of these enumerators, and it provides a brief description of their meanings.
231229
|-
232230
|Ice Lake Intel graphics architecture.
233231

234-
|`intel_gpu_ehl`
235-
|-
236-
|Elkhart Lake Intel graphics architecture.
237-
238232
|`intel_gpu_tgllp`
239233
|-
240234
|Tiger Lake Intel graphics architecture.
@@ -319,10 +313,6 @@ of these enumerators, and it provides a brief description of their meanings.
319313
|-
320314
|Alias for `intel_gpu_icllp`.
321315

322-
|`intel_gpu_11_2_0`
323-
|-
324-
|Alias for `intel_gpu_ehl`.
325-
326316
|`intel_gpu_12_0_0`
327317
|-
328318
|Alias for `intel_gpu_tgllp`.

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ enum class architecture {
1818
intel_gpu_aml,
1919
intel_gpu_cml,
2020
intel_gpu_icllp,
21-
intel_gpu_ehl,
2221
intel_gpu_tgllp,
2322
intel_gpu_rkl,
2423
intel_gpu_adl_s,
@@ -79,7 +78,6 @@ enum class architecture {
7978
intel_gpu_9_6_0 = intel_gpu_aml,
8079
intel_gpu_9_7_0 = intel_gpu_cml,
8180
intel_gpu_11_0_0 = intel_gpu_icllp,
82-
intel_gpu_11_2_0 = intel_gpu_ehl,
8381
intel_gpu_12_0_0 = intel_gpu_tgllp,
8482
intel_gpu_12_10_0 = intel_gpu_dg1,
8583
};
@@ -124,9 +122,6 @@ static constexpr ext::oneapi::experimental::architecture max_architecture =
124122
#ifndef __SYCL_TARGET_INTEL_GPU_ICLLP__
125123
#define __SYCL_TARGET_INTEL_GPU_ICLLP__ 0
126124
#endif
127-
#ifndef __SYCL_TARGET_INTEL_GPU_EHL__
128-
#define __SYCL_TARGET_INTEL_GPU_EHL__ 0
129-
#endif
130125
#ifndef __SYCL_TARGET_INTEL_GPU_TGLLP__
131126
#define __SYCL_TARGET_INTEL_GPU_TGLLP__ 0
132127
#endif
@@ -286,7 +281,6 @@ static constexpr bool is_allowable_aot_mode =
286281
(__SYCL_TARGET_INTEL_GPU_AML__ == 1) ||
287282
(__SYCL_TARGET_INTEL_GPU_CML__ == 1) ||
288283
(__SYCL_TARGET_INTEL_GPU_ICLLP__ == 1) ||
289-
(__SYCL_TARGET_INTEL_GPU_EHL__ == 1) ||
290284
(__SYCL_TARGET_INTEL_GPU_TGLLP__ == 1) ||
291285
(__SYCL_TARGET_INTEL_GPU_RKL__ == 1) ||
292286
(__SYCL_TARGET_INTEL_GPU_ADL_S__ == 1) ||
@@ -364,8 +358,6 @@ struct IsAOTForArchitectureClass {
364358
__SYCL_TARGET_INTEL_GPU_CML__ == 1;
365359
arr[static_cast<int>(arch::intel_gpu_icllp)] =
366360
__SYCL_TARGET_INTEL_GPU_ICLLP__ == 1;
367-
arr[static_cast<int>(arch::intel_gpu_ehl)] =
368-
__SYCL_TARGET_INTEL_GPU_EHL__ == 1;
369361
arr[static_cast<int>(arch::intel_gpu_tgllp)] =
370362
__SYCL_TARGET_INTEL_GPU_TGLLP__ == 1;
371363
arr[static_cast<int>(arch::intel_gpu_rkl)] =

0 commit comments

Comments
 (0)