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
When building a SYCL program targeting an AMD GPU that has a sub group size of 64, [[intel::reqd_sub_group_size(32)]] will cause compile error. Will you disable the generation of the attribute ?
The compile time warning is
warning: attribute argument 32 is invalid and will be ignored; amdgcn requires sub_group size 64 [-Wincorrect-sub-group-size]
The runtime error is
terminate called after throwing an instance of 'sycl::_V1::exception'
what(): Sub-group size 32 is not supported on the device
Activity
tomflinda commentedon Feb 5, 2025
@jinz2014 Could you try to change "[[intel::reqd_sub_group_size(32)]]" to "[[sycl::reqd_sub_group_size(32)]]", and could it be built pass?
jinz2014 commentedon Feb 12, 2025
The compile time warning is
warning: attribute argument 32 is invalid and will be ignored; amdgcn requires sub_group size 64 [-Wincorrect-sub-group-size]
The runtime error is
terminate called after throwing an instance of 'sycl::_V1::exception'
what(): Sub-group size 32 is not supported on the device