Started editing data-structures for splitting loops across devices.