Deleted Added
sdiff udiff text old ( 12717:2e2c211644d2 ) new ( 13449:2f7efa89c58b )
full compact
1/*
2 * Copyright (c) 2011-2015 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 23 unchanged lines hidden (view full) ---

32 *
33 * Authors: Lisa Hsu
34 */
35
36#include "gpu-compute/tlb_coalescer.hh"
37
38#include <cstring>
39
40#include "base/logging.hh"
41#include "debug/GPUTLB.hh"
42#include "sim/process.hh"
43
44TLBCoalescer::TLBCoalescer(const Params *p)
45 : MemObject(p),
46 clock(p->clk_domain->clockPeriod()),
47 TLBProbesPerCycle(p->probesPerCycle),
48 coalescingWindow(p->coalescingWindow),

--- 282 unchanged lines hidden (view full) ---

331 }
332
333 return true;
334}
335
336void
337TLBCoalescer::CpuSidePort::recvReqRetry()
338{
339 panic("recvReqRetry called");
340}
341
342void
343TLBCoalescer::CpuSidePort::recvFunctional(PacketPtr pkt)
344{
345
346 TheISA::GpuTLB::TranslationState *sender_state =
347 safe_cast<TheISA::GpuTLB::TranslationState*>(pkt->senderState);

--- 225 unchanged lines hidden ---