GPUCoalescer.py (11308:7d8836fd043d) GPUCoalescer.py (11900:0787df49546b)
1# Copyright (c) 2015 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# For use for simulation and test purposes only
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8#

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

31#
32# Authors: Steve Reinhardt
33# Brad Beckmann
34
35from m5.params import *
36from m5.proxy import *
37from Sequencer import *
38
1# Copyright (c) 2015 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# For use for simulation and test purposes only
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8#

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

31#
32# Authors: Steve Reinhardt
33# Brad Beckmann
34
35from m5.params import *
36from m5.proxy import *
37from Sequencer import *
38
39class RubyGPUCoalescer(RubySequencer):
39class RubyGPUCoalescer(RubyPort):
40 type = 'RubyGPUCoalescer'
41 cxx_class = 'GPUCoalescer'
42 cxx_header = "mem/ruby/system/GPUCoalescer.hh"
43
44 # max_outstanding_requests = (wave front slots) x (wave front size)
45 max_outstanding_requests = Param.Int(40*64,
46 "max requests (incl. prefetches) outstanding")
47 assume_rfo = Param.Bool(True, "assume protocol implementes Read for "
48 "Ownership coherence");
40 type = 'RubyGPUCoalescer'
41 cxx_class = 'GPUCoalescer'
42 cxx_header = "mem/ruby/system/GPUCoalescer.hh"
43
44 # max_outstanding_requests = (wave front slots) x (wave front size)
45 max_outstanding_requests = Param.Int(40*64,
46 "max requests (incl. prefetches) outstanding")
47 assume_rfo = Param.Bool(True, "assume protocol implementes Read for "
48 "Ownership coherence");
49
50 icache = Param.RubyCache("")
51 dcache = Param.RubyCache("")
52 deadlock_threshold = Param.Cycles(500000,
53 "max outstanding cycles for a request before " \
54 "deadlock/livelock declared")
55 garnet_standalone = Param.Bool(False, "")
56 dcache_hit_latency = Param.Cycles(1, "Data cache hit latency")