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:
parent
289a8ebdb1
commit
b6d20c25c3
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ GlobalMemPipeline::exec()
|
|||
} else {
|
||||
if (inflightStores >= gmQueueSize) {
|
||||
return;
|
||||
} else {
|
||||
} else if (mp->m_op == Enums::MO_ST) {
|
||||
++inflightStores;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue