发明名称 Sharing non-page aligned memory
摘要 A method for sharing memory between a central processing unit (CPU) and an input/output (I/O) device of a computing device is described. The method may include creating an allocation of memory for the I/O device to operate on. The method includes detecting whether the allocation is not page-aligned, wherein an allocation is page-aligned when its base address and size be evenly divisible by the applicable page-size. The allocation may be successfully shared, even if not page-aligned, even if an operating system of the computing device doesn't support sharing of non-page-aligned allocations.
申请公布号 US9478000(B2) 申请公布日期 2016.10.25
申请号 US201314039495 申请日期 2013.09.27
申请人 Intel Corporation 发明人 Rao Jayanth;Lanka Pavan;Silvas Ronald
分类号 G06T1/60;G06T1/20;G06F12/02 主分类号 G06T1/60
代理机构 International IP Law Group, P.L.L.C. 代理人 International IP Law Group, P.L.L.C.
主权项 1. A method for sharing memory between a central processing unit (CPU) and graphics processing unit (GPU) of a computing device, comprising: creating an allocation of memory of one or more pages for the GPU to operate on; determining whether the allocation is in a GPU domain by referencing a GPU affinity database, wherein creating of the allocation continues if the one or more pages are not in the GPU domain, and wherein creating of the allocation is delayed until the GPU has completed any pending operational commands if the one or more pages are in the GPU domain; detecting whether the allocation is not page-aligned, wherein an allocation is page-aligned when a base address of the allocation and size of the allocation are evenly divisible by the applicable page-size; and successfully sharing the allocation, even if not page-aligned, and even if an operating system of the computing device doesn't support sharing of non-page-aligned allocations.
地址 Santa Clara CA US