cuda: port AUTOPOLL command to new framework