2 Array<char> *LocalComm::sendDataToLocalDevice(int64_t deviceId, Array<char> *data) throws InterruptedException {
3 printf("Passing Locally\n");
5 if (deviceId == t1->getMachineId()) {
6 // return t1.localCommInput(data);
7 } else if (deviceId == t2->getMachineId()) {
8 // return t2.localCommInput(data);
10 throw new Error("Cannot send to " + deviceId + " using this local comm");