shader.cc (11886:43b882cada33) | shader.cc (11900:0787df49546b) |
---|---|
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: --- 36 unchanged lines hidden (view full) --- 45#include "gpu-compute/dispatcher.hh" 46#include "gpu-compute/gpu_static_inst.hh" 47#include "gpu-compute/qstruct.hh" 48#include "gpu-compute/wavefront.hh" 49#include "mem/packet.hh" 50#include "mem/ruby/system/RubySystem.hh" 51#include "sim/sim_exit.hh" 52 | 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: --- 36 unchanged lines hidden (view full) --- 45#include "gpu-compute/dispatcher.hh" 46#include "gpu-compute/gpu_static_inst.hh" 47#include "gpu-compute/qstruct.hh" 48#include "gpu-compute/wavefront.hh" 49#include "mem/packet.hh" 50#include "mem/ruby/system/RubySystem.hh" 51#include "sim/sim_exit.hh" 52 |
53Shader::Shader(const Params *p) : SimObject(p), | 53Shader::Shader(const Params *p) : ClockedObject(p), |
54 clock(p->clk_domain->clockPeriod()), cpuThread(nullptr), gpuTc(nullptr), 55 cpuPointer(p->cpu_pointer), tickEvent(this), timingSim(p->timing), 56 hsail_mode(SIMT), impl_kern_boundary_sync(p->impl_kern_boundary_sync), 57 separate_acquire_release(p->separate_acquire_release), coissue_return(1), 58 trace_vgpr_all(1), n_cu((p->CUs).size()), n_wf(p->n_wf), 59 globalMemSize(p->globalmem), nextSchedCu(0), sa_n(0), tick_cnt(0), 60 box_tick_cnt(0), start_tick_cnt(0) 61{ --- 351 unchanged lines hidden --- | 54 clock(p->clk_domain->clockPeriod()), cpuThread(nullptr), gpuTc(nullptr), 55 cpuPointer(p->cpu_pointer), tickEvent(this), timingSim(p->timing), 56 hsail_mode(SIMT), impl_kern_boundary_sync(p->impl_kern_boundary_sync), 57 separate_acquire_release(p->separate_acquire_release), coissue_return(1), 58 trace_vgpr_all(1), n_cu((p->CUs).size()), n_wf(p->n_wf), 59 globalMemSize(p->globalmem), nextSchedCu(0), sa_n(0), tick_cnt(0), 60 box_tick_cnt(0), start_tick_cnt(0) 61{ --- 351 unchanged lines hidden --- |