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
This commit is contained in:
Tuan Ta 2016-06-03 16:20:08 -04:00
parent 289a8ebdb1
commit b6d20c25c3

View file

@ -139,7 +139,7 @@ GlobalMemPipeline::exec()
} else {
if (inflightStores >= gmQueueSize) {
return;
} else {
} else if (mp->m_op == Enums::MO_ST) {
++inflightStores;
}
}