Cache the current hardware type once determined.