projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
289a8eb
)
gpu-compute: Fixed a bug in global memory pipeline
author
Tuan Ta
<taquangtuan1992@gmail.com>
Fri, 3 Jun 2016 20:20:08 +0000
(16:20 -0400)
committer
Tuan Ta
<taquangtuan1992@gmail.com>
Fri, 3 Jun 2016 20:20:08 +0000
(16:20 -0400)
Added a condition when inflightStores is incremented to prevent a deadlock
caused by many memory fence requests generated by a CU
src/gpu-compute/global_memory_pipeline.cc
patch
|
blob
|
history
diff --git
a/src/gpu-compute/global_memory_pipeline.cc
b/src/gpu-compute/global_memory_pipeline.cc
index 913327412fea1a96d297a63b1fdfa537bbcccf99..3550186663d45fcb43539f229c4375506edbb410 100644
(file)
--- a/
src/gpu-compute/global_memory_pipeline.cc
+++ b/
src/gpu-compute/global_memory_pipeline.cc
@@
-139,7
+139,7
@@
GlobalMemPipeline::exec()
} else {
if (inflightStores >= gmQueueSize) {
return;
- } else {
+ } else
if (mp->m_op == Enums::MO_ST)
{
++inflightStores;
}
}