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
Replace deprecated [[intel::reqd_sub_group_size(SgSize)]] with [[sycl::reqd_sub_group_size(SIMD)]] and remove unnecessary attributes (#1828)
### Summary
This PR updates the codebase to replace the deprecated
`[[intel::reqd_sub_group_size(SgSize)]]` attribute with the new
`[[sycl::reqd_sub_group_size(SIMD)]]` attribute. Additionally, the
attribute has been removed from certain locations where it was deemed
unnecessary.These changes also aim to reduce the number of warnings,
thereby decreasing the log size.
### Changes
1. **Attribute Replacement**:
- Replaced all instances of `[[intel::reqd_sub_group_size(SgSize)]]`
with `[[sycl::reqd_sub_group_size(SIMD)]]` to align with the latest SYCL
specification and avoid using deprecated attributes.
2. **Attribute Removal**:
- Removed the `[[sycl::reqd_sub_group_size(SIMD)]]` attribute from
functions and kernels where it was not necessary. This was done to
simplify the code and avoid redundant specifications.
Co-authored-by: guangyey <[email protected]>
Co-authored-by: Yutao Xu <[email protected]>
Co-authored-by: Tomasz Socha <[email protected]>
0 commit comments