Searched refs:CheckIdle (Results 1 – 1 of 1) sorted by relevance
5 static PetscErrorCode CheckIdle(PetscDeviceContext dctx, const char operation[]) in CheckIdle() function25 PetscCall(CheckIdle(dctx, "synchronization")); in TestQueryIdle()29 PetscCall(CheckIdle(dctx, "creating unrelated dctx")); in TestQueryIdle()33 PetscCall(CheckIdle(dctx, "destroying unrelated dctx")); in TestQueryIdle()37 PetscCall(CheckIdle(dctx, "duplication")); in TestQueryIdle()46 PetscCall(CheckIdle(dctx, "other context waited on it, and synchronizing the NULL context")); in TestQueryIdle()48 PetscCall(CheckIdle(other, "waiting on other context, and synchronizing the NULL context")); in TestQueryIdle()