PR #10337: [ROCm] Add CudnnPadForConvolutions and CudnnVectorizeConvolutionsHLO pass to AMDGPU compiler
PR #10337: [ROCm] Add CudnnPadForConvolutions and CudnnVectorizeConvolutionsHLO pass to AMDGPU compiler

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


Copybara import of the project:

--
ea05b2bdf1eb07d040dc77e6138efea8938ba8ef by Harsha HS <harsha.havanurshamsundara@amd.com>:

Add CudnnPadForConvolutions and CudnnVecotrizeConvolutions HLO pass

--
ae95d4b4dc114104ccdf455a3a194be5fa64a85e by Pavel Emeliyanenko <pavel.emeliyanenko@amd.com>:

added std visitor to distinguish between gpu archs

--
ce6321ef093781167f931f63930ff0c2a24ed2e4 by Harsha HS <harsha.havanurshamsundara@amd.com>:

Add missing `tf_cuda_tets_tags` to unit tests

--
2b149983980de7c641683ce9e78c431a5a591160 by Harsha HS <harsha.havanurshamsundara@amd.com>:

Define TENSORFLOW_USE_ROCM when ROCm is configured

--
faea34b5db30430bf7f35b6caaf2a4d6f6741401 by Harsha HS <harsha.havanurshamsundara@amd.com>:

Address review comments

--
be14e59717dba77d03a4aae34109a3300a596070 by Harsha HS <harsha.havanurshamsundara@amd.com>:

Refactor and reduce number of `#ifdefs`

Merging this change closes #10337

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10337 from ROCm:ci_pad_vec_conv_20240307 be14e59717dba77d03a4aae34109a3300a596070
