1. A method for managing memory in a computing system, comprising: allocating a segment in a distributed array, wherein the distributed array is a global set of local memory regions; binding the segment to a physical memory region; and using the segment by a workgroup in a dispatched data parallel kernel, wherein a workgroup includes one or more work items.