Avoid crashing when a gpu is not in use.