Skip to content

Commit 722e4ca

Browse files
committed
Remove "aot-compiler-id" from config file
We decided that the `aot-compiler-id` entry in the config file did not add enough value, so remove it. We can add it later if we want without breaking backward compatibility.
1 parent a818156 commit 722e4ca

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

sycl/doc/OptionalDeviceFeatures.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -591,29 +591,16 @@ the supported aspects, sub-group sizes and AOT compiler ID. For example:
591591
gen11_1:
592592
aspects: [1, 2, 3]
593593
sub-group-sizes: [8, 16]
594-
aot-compiler-id: gen-spir64
595594
gen_icl:
596595
aspects: [2, 3]
597596
sub-group-sizes: [8, 16]
598-
aot-compiler-id: gen-spir64
599597
x86_64_avx512:
600598
aspects: [1, 2, 3, 9, 11]
601599
sub-group-sizes: [8, 32]
602-
aot-compiler-id: x86-spir64
603600
```
604601

605602
The values of the aspects in this configuration file can be the numerical
606603
values from the `enum class aspect` enumeration or the enum identifier itself.
607-
For each valid AOT compiler ID the driver has a built-in rule how to construct
608-
an AOT compilation command line based on given architecture name. For example,
609-
for the `gen11_1` and `gen_icl` architectures, the driver sees `gen-spir64`
610-
as the AOT compiler ID, so it knows that the `ocloc` tool must be used, and it
611-
also knows how to translate the `gen11_1` or `gen_icl` to proper `ocloc`
612-
architecture specification option.
613-
614-
**NOTE**: New kinds of AOT compilers are expected to appear very rarely, so
615-
developing some kind of "AOT compiler plugin" mechanism is impractical, and
616-
hard coding AOT compiler types in the driver is reasonable.
617604

618605
One advantage to encoding this information in a textual configuration file is
619606
that customers can update the file if necessary. This could be useful, for

0 commit comments

Comments
 (0)