LocalIOCommunicationClient

lamp.data.distributed.LocalCommunication$.LocalIOCommunicationClient
class LocalIOCommunicationClient(ranks: Ref[IO, List[Queue[IO, Command]]], storedUid: Deferred[IO, NcclUniqueId]) extends DistributedCommunicationNonRoot

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def join(q: Queue[IO, Command]): IO[NcclUniqueId]

Side effect which performs two actions:

Side effect which performs two actions:

  • joins the control communication clique and fetches the nccl unique id from the root rank
  • the server part of the control communiation clique may not be ready yet, in which case this client must try again
  • at the same time connects the given queue to the control communication clique's message channel. After this side effect is completed it is expected that commands are delivered to the give queue.

Attributes