dispatcher.cc (13345:1c9e1df05191) | dispatcher.cc (13784:1941dc118243) |
---|---|
1/* 2 * Copyright (c) 2011-2015,2018 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: --- 237 unchanged lines hidden (view full) --- 246 } 247 248 pkt->makeAtomicResponse(); 249 250 return pioDelay; 251} 252 253 | 1/* 2 * Copyright (c) 2011-2015,2018 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: --- 237 unchanged lines hidden (view full) --- 246 } 247 248 pkt->makeAtomicResponse(); 249 250 return pioDelay; 251} 252 253 |
254BaseMasterPort& 255GpuDispatcher::getMasterPort(const std::string &if_name, PortID idx) | 254Port & 255GpuDispatcher::getPort(const std::string &if_name, PortID idx) |
256{ 257 if (if_name == "translation_port") { 258 return *tlbPort; 259 } 260 | 256{ 257 if (if_name == "translation_port") { 258 return *tlbPort; 259 } 260 |
261 return DmaDevice::getMasterPort(if_name, idx); | 261 return DmaDevice::getPort(if_name, idx); |
262} 263 264void 265GpuDispatcher::exec() 266{ 267 int fail_count = 0; 268 269 // There are potentially multiple outstanding kernel launches. --- 124 unchanged lines hidden --- | 262} 263 264void 265GpuDispatcher::exec() 266{ 267 int fail_count = 0; 268 269 // There are potentially multiple outstanding kernel launches. --- 124 unchanged lines hidden --- |