GPUCoalescer.cc (11321:02e930db812d) GPUCoalescer.cc (11325:67cc559d513a)
1/*
2 * Copyright (c) 2013-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:

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

315 !m_mandatory_q_ptr->areNSlotsAvailable(1, clockEdge()));
316
317 int total_outstanding M5_VAR_USED =
318 m_writeRequestTable.size() + m_readRequestTable.size();
319
320 assert(m_outstanding_count == total_outstanding);
321
322 // See if we should schedule a deadlock check
1/*
2 * Copyright (c) 2013-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:

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

315 !m_mandatory_q_ptr->areNSlotsAvailable(1, clockEdge()));
316
317 int total_outstanding M5_VAR_USED =
318 m_writeRequestTable.size() + m_readRequestTable.size();
319
320 assert(m_outstanding_count == total_outstanding);
321
322 // See if we should schedule a deadlock check
323 if (deadlockCheckEvent.scheduled() == false) {
323 if (!deadlockCheckEvent.scheduled()) {
324 schedule(deadlockCheckEvent, m_deadlock_threshold + curTick());
325 }
326
327 Addr line_addr = makeLineAddress(pkt->getAddr());
328 if ((request_type == RubyRequestType_ST) ||
329 (request_type == RubyRequestType_ATOMIC) ||
330 (request_type == RubyRequestType_ATOMIC_RETURN) ||
331 (request_type == RubyRequestType_ATOMIC_NO_RETURN) ||

--- 1066 unchanged lines hidden ---
324 schedule(deadlockCheckEvent, m_deadlock_threshold + curTick());
325 }
326
327 Addr line_addr = makeLineAddress(pkt->getAddr());
328 if ((request_type == RubyRequestType_ST) ||
329 (request_type == RubyRequestType_ATOMIC) ||
330 (request_type == RubyRequestType_ATOMIC_RETURN) ||
331 (request_type == RubyRequestType_ATOMIC_NO_RETURN) ||

--- 1066 unchanged lines hidden ---