MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / peer_pair_key

Function peer_pair_key

server/src/common/peer_access.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35static std::uint64_t peer_pair_key(int a, int b) {
36 const int lo = std::min(a, b);
37 const int hi = std::max(a, b);
38 return (std::uint64_t)(unsigned)lo << 32 | (unsigned)hi;
39}
40
41static void log_staged_cross_gpu_once() {
42 static bool logged = false;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected