void ProcessGroupUCC::WorkUCC::setException()

in src/torch_ucc.cpp [159:164]


void ProcessGroupUCC::WorkUCC::setException() {
  if (exception() || !entry_) {
    return;
  }
  exception_ = entry_->eptr_;
}