code: @Override
      public void attachThreadToDevice(Thread thread, Integer deviceId) {
          attachThreadToDevice(thread.getId(), deviceId);
      }
docs: This method pairs specified thread & device
  
  @param thread
  @param deviceId