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] Fix 'move instead of copy' Coverity hits (#17619)
Avoid copying by:
- Making the `Queue` parameter of `completeSpecConstMaterialization`
passed by a const reference. Also changes `materializeSpecConstants`,
`getTargetInfo` and `getTargetFormat` to accomodate this change.
- Makes returned `DefaultValue` string non const so that the move ctor
is called automatically in two `get` functions.
- Remove dead if statement that copied value for a function call.
0 commit comments