# HG changeset patch # Parent 54cf9a388a9ddafb4d76c7daba6fb07e26635bc8 gpu-compute: Added a condition when inflightStores is incremented to prevent a deadlock caused by many memory fence requests generated by a CU diff -r 54cf9a388a9d -r e699d904d5e8 src/gpu-compute/global_memory_pipeline.cc --- a/src/gpu-compute/global_memory_pipeline.cc Mon May 16 15:36:24 2016 -0400 +++ b/src/gpu-compute/global_memory_pipeline.cc Wed May 18 12:12:35 2016 -0500 @@ -139,7 +139,7 @@ } else { if (inflightStores >= gmQueueSize) { return; - } else { + } else if (mp->m_op == Enums::MO_ST) { ++inflightStores; } }