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:
@@ -139,7 +139,7 @@ GlobalMemPipeline::exec()
|
||||
} else {
|
||||
if (inflightStores >= gmQueueSize) {
|
||||
return;
|
||||
} else {
|
||||
} else if (mp->m_op == Enums::MO_ST) {
|
||||
++inflightStores;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user