Skip to main content

Mojo function

wait_for_comms

wait_for_comms(ngpus: Int)

Spin-wait until communicators for ngpus have been initialized.

Use from non-zero device threads while device 0 calls init_comms.

Was this page helpful?