added GPU mode to set_DM