PR #13065: [NVIDIA] Disable the bias reuse for fp8 dot
PR #13065: [NVIDIA] Disable the bias reuse for fp8 dot

Imported from GitHub PR https://github.com/openxla/xla/pull/13065

For some operations, we might want to do the `output to operand aliasing` to reuse the memory space. For example, in the dot operation, we can alias the output to the bias operand, when they have the same shape.

However, this aliasing is not always safe especially when the dot outputs fp8 outputs. In this case the bias is 2x larger than expected output and the HLO verifier will complain.

This PR fixes this issue by disabling the `output to operand aliasing`  for fp8 dot.

cc. @philipphack @hx89 @nluehr 
Copybara import of the project:

--
711e3097a80d9ff6e48b80924a1e81ff940ac240 by kaixih <kaixih@nvidia.com>:

Disable bias reuse for fp8 dot

--
7d86b99396385f85e6e04a28dc8d824fd53e91f3 by kaixih <kaixih@nvidia.com>:

Update to a general solution

--
15f774667013045c7d8d9e38ac80a45645313b1e by kaixih <kaixih@nvidia.com>:

Address comments

Merging this change closes #13065

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/13065 from kaixih:disable_bias_reuse_in_fp8 15f774667013045c7d8d9e38ac80a45645313b1e
