tlb_coalescer.cc (12717:2e2c211644d2) tlb_coalescer.cc (13449:2f7efa89c58b)
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
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"
40#include "debug/GPUTLB.hh"
41#include "sim/process.hh"
42
43TLBCoalescer::TLBCoalescer(const Params *p)
44 : MemObject(p),
45 clock(p->clk_domain->clockPeriod()),
46 TLBProbesPerCycle(p->probesPerCycle),
47 coalescingWindow(p->coalescingWindow),

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

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

--- 225 unchanged lines hidden ---
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 ---