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][DOC] Allow captures in "if_device_has", etc (#8840)
Lift the restrictions in `if_device_has` and `if_architecture_is`
disallowing captures in the lamdba expressions. I originally added these
restrictions because I thought we could not implement these APIs in the
JIT case if they had captures. However, I have an outline for the JIT
design now, which will support captures.
Since we allow captures now, there isn't any need for the lambdas to
accept user-supplied parameters because the user can just capture
whatever variables they need. Therefore, this PR also removes support
for the parameters.
0 commit comments