only check task finish with valid queue Change-Id: Ib2bd1360235a07f825a09c57453ccbff7951f17f [ROCm/clr commit: cfe1efd6b0]
cfe1efd6b0