1. An apparatus comprising: a first device configured to generate control flow instructions; and a second device including: an array of memory cells; an execution unit to execute the control flow instructions; and a controller configured to control an execution of the control flow instructions on data stored in the array.