发明名称 Allocating memory and using the allocated memory in a workgroup in a dispatched data parallel kernel
摘要 In a computing system, memory may be managed by using a distributed array, which is a global set of local memory regions. A segment in the distributed array is allocated and is bound to a physical memory region. The segment is used by a workgroup in a dispatched data parallel kernel, wherein a workgroup includes one or more work items. When the distributed array is declared, parameters of the distributed array may be defined. The parameters may include an indication whether the distributed array is persistent (data written to the distributed array during one parallel dispatch is accessible by work items in a subsequent dispatch) or an indication whether the distributed array is shared (nested kernels may access the distributed array). The segment may be deallocated after it has been used.
申请公布号 US9244828(B2) 申请公布日期 2016.01.26
申请号 US201213397391 申请日期 2012.02.15
申请人 ADVANCED MICRO DEVICES, INC. 发明人 Gaster Benedict R.;Howes Lee W.
分类号 G06F12/02;G06F9/50 主分类号 G06F12/02
代理机构 Volpe and Koenig, P.C. 代理人 Volpe and Koenig, P.C.
主权项 1. A method for managing memory in a computing system, comprising: allocating a segment in a distributed array to an executing workgroup of a plurality of work-item groups each comprising one or more work items, wherein the distributed array is a global set of local memory regions; binding the segment to a physical memory region when a dispatched data parallel kernel is executed; and using, by the workgroup, the segment in the dispatched data parallel kernel by acquiring an identifier to the physical memory region bound to the segment.
地址 Sunnyvale CA US