PR #10763: [XLA:GPU] Fix cuDNN FMHA fwd scale not passed into cuDNN
PR #10763: [XLA:GPU] Fix cuDNN FMHA fwd scale not passed into cuDNN

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

* FMHA fwd scale is not passed into cuDNN in pattern bmm1-scale-softmax-(dropout)-bmm2. Work correctly on other patterns (with bias/mask).
* A quick fix is that I simply copy what works in bwd scale setting.
* Weirdly e2e run does not capture this since we do have cases where fwd scale is not 1.
Copybara import of the project:

--
4a63497ba070f2b52c2942bccf8156f3a3bbd4ab by cjkkkk <ske@nvidia.com>:

fix scale is not passed into cudnn

--
b333fa3ce10712f6e9f4590478b6c053f331e00b by cjkkkk <ske@nvidia.com>:

increase scale in pattern bmm1-scale-softmax-bmm2 test

--
a6eb74b553b26d415be9d97265be0789a7bff47c by cjkkkk <ske@nvidia.com>:

use magic 37 as WAR

Merging this change closes #10763

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10763 from Cjkkkk:fix_fwd_scale_no_passed a6eb74b553b26d415be9d97265be0789a7bff47c
