PR #11597: Compile F32, BF16 and S32 constants in cuDNN graph.
PR #11597: Compile F32, BF16 and S32 constants in cuDNN graph.

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

Support compiling F32, BF16 and S32 constants in cuDNN graph.
This PR is blocked until cuDNN frontend dependency is upgraded to v1.3.
Copybara import of the project:

--
e8c6a3f4186242d812a00e8849350febd204f867 by Elfie Guo <elfieg@nvidia.com>:

Compile F32, BF16 and S32 constants in cuDNN graph.

Merging this change closes #11597

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/11597 from elfiegg:cudnn_scalar_constants_2 e8c6a3f4186242d812a00e8849350febd204f867
