Patent ID: 7233335

Claim:
A method for allocation of a memory resource for a plurality of threads simultaneously executable in a graphics processor, comprising: determining a first set of threads, each of a first thread type, from said plurality of threads simultaneously executable in said graphics processor, and a second set of threads, each of a second thread type, from said plurality of threads simultaneously executable in said graphics processor; determining a first contiguous memory section to be allocated for said first set of threads, and allocating a memory space in said first contiguous memory section to each thread in said first set of threads; and determining a second contiguous memory section to be allocated for said second set of threads, and allocating a memory space in said second contiguous memory section to each thread in said second set of threads, wherein a memory space allocated to a particular thread in said first set of threads comprises two or more memory locations that are interleaved with two or more memory locations corresponding to memory spaces allocated to other threads in said first set of threads.