debugging gpu migration routine.