move some gpu status handling to core