| 62 | } |
| 63 | |
| 64 | string BufRendezvous::Hook::DebugString() const { |
| 65 | return absl::StrCat("[dev:", (prod_dev ? prod_dev->name() : "none"), |
| 66 | ", ctx:", reinterpret_cast<uint64>(prod_ctx), |
| 67 | ", val:", reinterpret_cast<uint64>(prod_value), |
| 68 | ", pcb:", reinterpret_cast<uint64>(&prod_cb), |
| 69 | ", ccb:", reinterpret_cast<uint64>(&cons_cb), "]"); |
| 70 | } |
| 71 | |
| 72 | void BufRendezvous::ProvideBuf(const string& key, Device* dev, |
| 73 | DeviceContext* dev_ctx, const Tensor* v, |
no test coverage detected