message: Don't check for an active XLA device - there isn't one for the CC unit tests
diff: @@ -284,10 +284,17 @@ Status PoplarExecutor::InitializePoplarDevice(
  return Status{
  tensorflow::error::INTERNAL,
  tensorflow::strings::Printf(
  - "unrecognized poplar device type for ordinal %d: %d", ordinal_,
  + "Unrecognized poplar device type for ordinal %d: %d", ordinal_,
  type)};
  }
  + if (!poplar_device_.tryToAcquire()) {
  + return Status{
  + tensorflow::error::INTERNAL,
  + tensorflow::strings::Printf(
  + "Unable to acquire poplar device type for ordinal %d", ordinal_)};
  + }
  +
  random_type_ = cfg.random_type();
  active_xla_device_ = device;
  @@ -496,13 +503,6 @@ PoplarExecutor::ExecuteEngine(
  xla::DeviceMemoryAllocator* allocator,
  const Args& args) {
  - if (active_xla_device_ == nullptr) {
  - return Status{
  - tensorflow::error::INTERNAL,
  - tensorflow::strings::Printf(
  - "Poplar device not opened for ordinal %d", ordinal_)};
  - }
  -
  const auto& output_map = executable.OutputMapping();
  const auto& output_shape = executable.result_shape();
  const auto& engine = executable.Engine();
  