compute_unit.cc (12126:06c1fbaa5724) | compute_unit.cc (12680:91f4d6668b4f) |
---|---|
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: --- 60 unchanged lines hidden (view full) --- 69 prefetchStride(p->prefetch_stride), prefetchType(p->prefetch_prev_type), 70 xact_cas_mode(p->xactCasMode), debugSegFault(p->debugSegFault), 71 functionalTLB(p->functionalTLB), localMemBarrier(p->localMemBarrier), 72 countPages(p->countPages), barrier_id(0), 73 vrfToCoalescerBusWidth(p->vrf_to_coalescer_bus_width), 74 coalescerToVrfBusWidth(p->coalescer_to_vrf_bus_width), 75 req_tick_latency(p->mem_req_latency * p->clk_domain->clockPeriod()), 76 resp_tick_latency(p->mem_resp_latency * p->clk_domain->clockPeriod()), | 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: --- 60 unchanged lines hidden (view full) --- 69 prefetchStride(p->prefetch_stride), prefetchType(p->prefetch_prev_type), 70 xact_cas_mode(p->xactCasMode), debugSegFault(p->debugSegFault), 71 functionalTLB(p->functionalTLB), localMemBarrier(p->localMemBarrier), 72 countPages(p->countPages), barrier_id(0), 73 vrfToCoalescerBusWidth(p->vrf_to_coalescer_bus_width), 74 coalescerToVrfBusWidth(p->coalescer_to_vrf_bus_width), 75 req_tick_latency(p->mem_req_latency * p->clk_domain->clockPeriod()), 76 resp_tick_latency(p->mem_resp_latency * p->clk_domain->clockPeriod()), |
77 _masterId(p->system->getMasterId(name() + ".ComputeUnit")), | 77 _masterId(p->system->getMasterId(this, "ComputeUnit")), |
78 lds(*p->localDataStore), _cacheLineSize(p->system->cacheLineSize()), 79 globalSeqNum(0), wavefrontSize(p->wfSize), 80 kernelLaunchInst(new KernelLaunchStaticInst()) 81{ 82 /** 83 * This check is necessary because std::bitset only provides conversion 84 * to unsigned long or unsigned long long via to_ulong() or to_ullong(). 85 * there are * a few places in the code where to_ullong() is used, however --- 1829 unchanged lines hidden --- | 78 lds(*p->localDataStore), _cacheLineSize(p->system->cacheLineSize()), 79 globalSeqNum(0), wavefrontSize(p->wfSize), 80 kernelLaunchInst(new KernelLaunchStaticInst()) 81{ 82 /** 83 * This check is necessary because std::bitset only provides conversion 84 * to unsigned long or unsigned long long via to_ulong() or to_ullong(). 85 * there are * a few places in the code where to_ullong() is used, however --- 1829 unchanged lines hidden --- |