发明名称 System And Method For Unified Application Programming Interface And Model
摘要 Systems, computer readable media, and methods for a unified programming interface and language are disclosed. In one embodiment, the unified programming interface and language assists program developers write multi-threaded programs that can perform both graphics and data-parallel compute processing on GPUs. The same GPU programming language model can be used to describe both graphics shaders and compute kernels, and the same data structures and resources may be used for both graphics and compute operations. Developers can use multithreading efficiently to create and submit command buffers in parallel.
申请公布号 US2015348225(A1) 申请公布日期 2015.12.03
申请号 US201414502073 申请日期 2014.09.30
申请人 Apple Inc. 发明人 Schreyer Richard W.;Dyke Kenneth C.;Kan Alexander K.
分类号 G06T1/20;G06F9/30 主分类号 G06T1/20
代理机构 代理人
主权项 1. A non-transitory computer readable medium comprising instructions stored thereon to support both graphics and data-parallel computation workloads for a graphics processing unit (GPU), the instructions when executed cause one or more processors to: create a command buffer as a single-use object, the command buffer containing encoded commands, the encoded commands representing a native command format that a GPU can execute and being stored in the command buffer prior to the command buffer being submitted for execution; append one or more command buffers to a command queue, wherein the order in which command buffers are executed is determined by an order of the one or more command buffers in the command queue; and submit the command buffer to the GPU for execution.
地址 Cupertino CA US