Allocation of Memory
AssigneeImagination Technologies Limited
InventorsIsuru Herath, Richard Broadhurst
Life of this patent
Estimating the term…
Abstract
Methods of memory allocation in which registers referenced by different groups of instances of the same task are mapped to individual logical memories. Other example methods describe the mapping of registers referenced by a task to different banks within a single logical memory and in various examples this mapping may take into consideration which bank is likely to be the dominant bank for the particular task and the allocation for one or more other tasks.
Claims20
A method of memory allocation in a processing system, the processing system comprising a plurality of logical memories and the method comprising:
- creating tasks, each of the tasks comprising a plurality of separate instances, each instance operating on a different data item;
- grouping instances of one of the tasks into one or more groups;
- for each of the groups, mapping registers referenced by the group to one of the plurality of logical memories based on a pre-defined allocation scheme adjusted by a current value of a group counter;
- and
- adjusting the group counter for each of the tasks.
A processing system comprising:
- a plurality of logical memories;
- a group counter;
- a task creation module configured to create tasks, each of the tasks comprising a plurality of separate instances, each instance operating on a different data item;
- a scheduler configured to group instances of one of the tasks into one or more groups;
- and
- an address generation unit configured, for each of the groups, to map registers referenced by the group to one of the plurality of logical memories based on a pre-defined allocation scheme adjusted by a current value of the group counter;
- and wherein either the task creation module or the scheduler is further configured to adjust the group counter for each of the tasks.
Dependencies are inferred from the claim text.