diff --git a/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp b/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp index 51a5d5e7244b1..d873d9bedd2e0 100644 --- a/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp +++ b/torch/csrc/distributed/c10d/symm_mem/CUDASymmetricMemoryUtils.cpp @@ -251,12 +251,15 @@ void map_block( 0, reinterpret_cast(handle), 0ULL)); +<<<<<<< HEAD C10_HIP_CHECK(hipMemMap( *ptr, size, 0, reinterpret_cast(handle), 0ULL)); +======= +>>>>>>> 7a68a172a90 ([release/2.12] [ROCm] Fixed memory errors in SymmetricMemory caused by repeated call… (#3403)) hipMemAccessDesc desc; desc.location.type = hipMemLocationTypeDevice;