MCPcopy Create free account
hub / github.com/ml-explore/mlx / SocketTask

Method SocketTask

mlx/distributed/ring/ring.cpp:155–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 private:
154 struct SocketTask {
155 SocketTask(void* b, size_t s, std::promise<void>&& p)
156 : buffer(b), size(s), promise(std::move(p)) {}
157 SocketTask(SocketTask&& t)
158 : buffer(t.buffer), size(t.size), promise(std::move(t.promise)) {}
159 void* buffer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected