changeset e18a6c55bec0 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=e18a6c55bec0
description:
        gpu-compute: Fixed a bug in global memory pipeline

        Added a condition when inflightStores is incremented to prevent a 
deadlock
        caused by many memory fence requests generated by a CU

diffstat:

 src/gpu-compute/global_memory_pipeline.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bf08fb8ccf4b -r e18a6c55bec0 src/gpu-compute/global_memory_pipeline.cc
--- a/src/gpu-compute/global_memory_pipeline.cc Fri Jun 03 16:20:08 2016 -0400
+++ b/src/gpu-compute/global_memory_pipeline.cc Fri Jun 03 16:20:08 2016 -0400
@@ -139,7 +139,7 @@
         } else {
             if (inflightStores >= gmQueueSize) {
                 return;
-            } else {
+            } else if (mp->m_op == Enums::MO_ST) {
                 ++inflightStores;
             }
         }
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to