Lines Matching refs:packet
94 * derive the gpu mem packet from the packet and then count the bank conflicts
97 LdsState::countBankConflicts(PacketPtr packet, unsigned *bankAccesses)
99 Packet::SenderState *baseSenderState = packet->senderState;
114 // Count the total number of bank conflicts for the local memory packet
177 * receive the packet from the CU
180 LdsState::CuSidePort::recvTimingReq(PacketPtr packet)
182 return ownerLds->processPacket(packet);
186 LdsState::getDynInstr(PacketPtr packet)
190 packet->senderState);
195 * process an incoming packet, add it to the return queue
198 LdsState::processPacket(PacketPtr packet)
201 // the number of conflicts this packet will have when accessing the LDS
202 unsigned bankConflicts = countBankConflicts(packet, &bankAccesses);
209 GPUDynInstPtr dynInst = getDynInstr(packet);
218 // choose (delay + last packet in queue) or (now + delay) as the time to
222 return returnQueuePush(std::make_pair(doneAt, packet));
231 // TODO add time limits (e.g. one packet per cycle) and queue size limits
244 * receive a packet in functional mode
283 PacketPtr packet = returnQueue.front().second;
287 packet->senderState);
293 packet->makeTimingResponse();
297 bool success = cuPort.sendTimingResp(packet);