If the queue device doesn't match the device on any memory object, use the queue device from the memory object. Change-Id: I5fdcf00494f8391574f4443332c01788b8da44ef [ROCm/hip commit: 678b3eeed5]
678b3eeed5