Patent ID: 7822891

Claim:
A method for transferring a multidimensional array of data to a destination memory space comprising: reading an element indexed in the multidimensional array; determining if a first block of memory within the destination memory space includes sufficient space to store the element such that the element can be stored in a first location in the first block determined based on indices at which the element is indexed within the multidimensional array; storing the element in the first location responsive to a determination that the first block of memory includes sufficient space to store the element; and storing the element in a second location in a second block of the destination memory responsive to a determination that the first block of memory does not include sufficient space to store the element, wherein the first and second blocks are non-contiguous memory blocks, and wherein the second location is determined based on a size of the first block, a destination address in the second block, and a block size of the second block.