cuda: port SET_DEVICE_LIST command to new framework