Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Fix Ambiguity in Overloaded Unary Minus Operator for bfloat16 (#…
…15393) This commit resolves an overload resolution ambiguity on Windows self-builds in downstream pulldown when using the unary minus operator with bfloat16. The operator now takes a const-qualified argument, enabling its use with both lvalues and rvalues and fixing the reported build error. --------- Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com> Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com> Signed-off-by: Soumi Manna <soumi.manna@intel.com> Co-authored-by: Steffen Larsen <steffen.larsen@intel.com> Co-authored-by: Fraser Cormack <fraser@codeplay.com> Co-authored-by: Artur Gainullin <artur.gainullin@intel.com> Co-authored-by: Nick Sarnie <sarnex@users.noreply.github.com> Co-authored-by: Kenneth Benzie (Benie) <k.benzie@codeplay.com> Co-authored-by: Chris Perkins <chris.perkins@intel.com> Co-authored-by: Michael Toguchi <michael.d.toguchi@intel.com>
- Loading branch information