PR #12195: [GPU][NFC] Simplify generation of cuDNN uid-pointer maps.
PR #12195: [GPU][NFC] Simplify generation of cuDNN uid-pointer maps.

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


Copybara import of the project:

--
484b7b1e0c74caad30a29e4d7b0dee801830c10e by Ilia Sergachev <isergachev@nvidia.com>:

[GPU][NFC] Simplify generation of cuDNN uid-pointer maps.

Merging this change closes #12195

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/12195 from openxla:cudnn_cleanup 484b7b1e0c74caad30a29e4d7b0dee801830c10e
