发明名称 SUBBUFFER OBJECTS
摘要 A method and an apparatus for a parallel computing program using subbuffers to perform a data processing task in parallel among heterogeneous compute units are described. The compute units can include a heterogeneous mix of central processing units (CPUs) and graphic processing units (GPUs). A system creates a subbuffer from a parent buffer for each of a plurality of heterogeneous compute units. If a subbuffer is not associated with the same compute unit as the parent buffer, the system copies data from the subbuffer to memory of that compute unit. The system further tracks updates to the data and transfers those updates back to the subbuffer.
申请公布号 US2014313214(A1) 申请公布日期 2014.10.23
申请号 US201414254801 申请日期 2014.04.16
申请人 Apple Inc. 发明人 Munshi Aaftab A.;Ollmann Ian R.
分类号 G06T1/60 主分类号 G06T1/60
代理机构 代理人
主权项 1. A computerized method of managing a plurality of subbuffers associated with a parent buffer in a heterogeneous compute environment, the method comprising: allocating the parent buffer for a process, wherein the process uses a plurality of heterogeneous compute units, the plurality of heterogeneous compute units includes a central processing unit and a graphics processing unit, and the plurality of heterogeneous compute units is resident on a single device: for each subbuffer in the plurality of subbuffers, creating that subbuffer for one of the plurality of heterogeneous compute units from the parent buffer, wherein there is a different subbuffer for each of the plurality of heterogeneous compute units and each of the plurality of subbuffers occupies a different memory region in the parent buffer that was allocated for the process, andstoring subbuffer data in that subbuffer: for each subbuffer that corresponds to one of the plurality of heterogeneous compute units not associated with the parent buffer, managing updates to the subbuffer data in a private memory of a corresponding compute unit; and for each subbuffer that corresponds to one of the plurality of heterogeneous compute units associated with the parent buffer, accessing the subbuffer data through a pointer to that subbuffer in the parent buffer.
地址 Cupertino CA US