add bkupmem.remove() into cudaFree();