Commit f8b860e
authored
Eliminate the boring warning if no AOT enabled (#2180)
# Motivation
I would like to clarify that, according to the [FP64 Partial Emulation
Proposal](https://intel.sharepoint.com/:w:/s/MLTSHdGPU/EaroFZY371hOqNL9182g2_EBOe83qGYTriAavPB6WTWXYg?e=XSRnKt),
the SYCL compiler and IGC only perform FP64 conversion on the DG2 and
ATS-M architectures, and this is only available when AOT is enabled.
If AOT is not enabled, many warnings like the following will be emitted:
```bash
icx: warning: '-fsycl-fp64-conv-emu' option is supported only for AOT compilation of Intel GPUs. It will be ignored for other targets
```
To avoid these warnings, the `-fsycl-fp64-conv-emu` flag should only be
added when AOT is enabled for the specific target architectures.1 parent 2713310 commit f8b860e
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 104 | + | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
| |||
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
131 | | - | |
132 | 129 | | |
133 | 130 | | |
134 | 131 | | |
| |||
140 | 137 | | |
141 | 138 | | |
142 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| |||
0 commit comments