UCT/MM: Extract guid calculation to a function.
UCT/MM: Extract guid calculation to a function.

sergsagal1/ucx_rocm,manjugv/ucx,shssf/ucx,abouteiller/ucx,manjugv/ucx,sergsagal1/ucx_rocm,shssf/ucx,sergsagal1/ucx_rocm,abouteiller/ucx,abouteiller/ucx,shssf/ucx,abouteiller/ucx,manjugv/ucx