summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTony Gutierrez <anthony.gutierrez@amd.com>2016-10-26 22:48:28 -0400
committerTony Gutierrez <anthony.gutierrez@amd.com>2016-10-26 22:48:28 -0400
commitde72e36619350f9b3e3a3dc8de63b490c4cecf2d (patch)
tree8bb5b723e8d3cec80d56bc61ebdc6141b1330b39 /configs
parentb63eb1302b006682bd227a5e236f7b3b95e9b8e8 (diff)
downloadgem5-de72e36619350f9b3e3a3dc8de63b490c4cecf2d.tar.xz
gpu-compute: support in-order data delivery in GM pipe
this patch adds an ordered response buffer to the GM pipeline to ensure in-order data delivery. the buffer is implemented as a stl ordered map, which sorts the request in program order by using their sequence ID. when requests return to the GM pipeline they are marked as done. only the oldest request may be serviced from the ordered buffer, and only if is marked as done. the FIFO response buffers are kept and used in OoO delivery mode
Diffstat (limited to 'configs')
-rw-r--r--configs/example/apu_se.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py
index b8ec149d5..5ec3289d2 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -153,7 +153,9 @@ parser.add_option('--fast-forward-pseudo-op', action='store_true',
help = 'fast forward using kvm until the m5_switchcpu'
' pseudo-op is encountered, then switch cpus. subsequent'
' m5_switchcpu pseudo-ops will toggle back and forth')
-
+parser.add_option('--outOfOrderDataDelivery', action='store_true',
+ default=False, help='enable OoO data delivery in the GM'
+ ' pipeline')
Ruby.define_options(parser)
@@ -248,7 +250,9 @@ for i in xrange(n_cu):
localDataStore = \
LdsState(banks = options.numLdsBanks,
bankConflictPenalty = \
- options.ldsBankConflictPenalty)))
+ options.ldsBankConflictPenalty),
+ out_of_order_data_delivery =
+ options.outOfOrderDataDelivery))
wavefronts = []
vrfs = []
for j in xrange(options.simds_per_cu):