[Acc] [PATCH] balance ctx allocation across devices by available contexts