1. An apparatus for controlling a cache memory that stores therein data transferred from a main storing unit, the apparatus comprising: a computing processing unit that executes a computing process using data; a connecting unit that connects an input portion and an output portion of the cache memory; a control unit that causes data in the main storing unit to be transferred to the output portion of the cache memory through the connecting unit when the data in the main storing unit is input from the input portion of the cache memory into the cache memory; and a transferring unit that transfers data transferred by the control unit to the output portion of the cache memory, to the computing processing unit.