2c2
< * Copyright (c) 2014-2015 Advanced Micro Devices, Inc.
---
> * Copyright (c) 2014-2017 Advanced Micro Devices, Inc.
17,19c17,19
< * 3. Neither the name of the copyright holder nor the names of its contributors
< * may be used to endorse or promote products derived from this software
< * without specific prior written permission.
---
> * 3. Neither the name of the copyright holder nor the names of its
> * contributors may be used to endorse or promote products derived from this
> * software without specific prior written permission.
33c33,34
< * Author: Sooraj Puthoor
---
> * Authors: Sooraj Puthoor,
> * Anthony Gutierrez
36,37c37,38
< #ifndef __SCHEDULER_HH__
< #define __SCHEDULER_HH__
---
> #ifndef __GPU_COMPUTE_SCHEDULER_HH__
> #define __GPU_COMPUTE_SCHEDULER_HH__
39,40c40,41
< #include "gpu-compute/of_scheduling_policy.hh"
< #include "gpu-compute/rr_scheduling_policy.hh"
---
> #include <vector>
>
42d42
< #include "params/ComputeUnit.hh"
44,48c44
< enum SCHED_POLICY
< {
< OF_POLICY = 0,
< RR_POLICY
< };
---
> class ComputeUnitParams;
55c51
< void bindList(std::vector<Wavefront*> *list);
---
> void bindList(std::vector<Wavefront*> *sched_list);
58,60c54,59
< SCHED_POLICY schedPolicy;
< SchedulingPolicy<RRSchedulingPolicy> RRSchedPolicy;
< SchedulingPolicy<OFSchedulingPolicy> OFSchedPolicy;
---
> /**
> * Scheduling policy. Currently the model can support oldest-first
> * or round-robin scheduling.
> */
> SchedulingPolicy *schedPolicy;
> std::vector<Wavefront*> *scheduleList;
63c62
< #endif // __SCHEDULER_HH__
---
> #endif // __GPU_COMPUTE_SCHEDULER_HH__