You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][Driver] Add deprecated warning for backend GRF options on PVC (#12029)
With the `-ftarget-register-alloc-mode` option, the user doesn't need to
pass IGC flags to the compiler to set the GRF mode. On PVC, emit a
warning in the most common case to suggest the user use the new option.
This doesn't catch every case because the `-device` syntax is
complicated, but it can help in the most common use case.
---------
Signed-off-by: Sarnie, Nick <[email protected]>
// LARGE: warning: using '-ze-opt-large-register-file' to set GRF mode on PVC hardware is deprecated; use '-ftarget-register-alloc-mode=pvc:large'
21
+
// SMALL: warning: using '-ze-intel-128-GRF-per-thread' to set GRF mode on PVC hardware is deprecated; use '-ftarget-register-alloc-mode=pvc:small'
22
+
// AUTO: warning: using '-ze-intel-enable-auto-large-GRF-mode' to set GRF mode on PVC hardware is deprecated; use '-ftarget-register-alloc-mode=pvc:auto'
0 commit comments