内容简介:Depending on the target platform, some recently published EXT extensions allow sharing memory between different physical devices.
Depending on the target platform, some recently published EXT extensions allow sharing memory between different physical devices.
VK_EXT_external_memory_host enables importing host allocations or host-mapped foreign device memory using a host pointer as the handle.
VK_EXT_external_memory_dma_buf enables importing dma_buf handles on Linux which can possibly come from another physical device.
The spec now also has a table where it's listed which external memory handle types require a matching physical device and which don't.
Additionally, I'd also like to draw your attention to additional features which enable execution control across multiple physical devices. At least on Linux (and possibly other POSIX based systems) semaphores and fences can be shared across physical devices if the FENCE_FD and SYNC_FD handle types are used. These are part of the KHR external semaphore/fence extensions.
扩展 VK_EXT_external_memory_host
在 2018
年 4
月 04
被合并到 Android
主分支,后续的版本可能可以使用这个插件了,这个使得显卡设备可以直接使用 CPU
创建的内存指针,减少内存的拷贝操作。
参考链接
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
免费:商业的未来
Chris Anderson / 中信出版集团 / 2015-10-1 / 35.40
《免费》,这是一个商业模式不断被颠覆、被改写的时代。一种商业模式既可以统摄未来市场,也可以挤垮当前市场——在我们这个现代经济社会里,这并不是一件不可能的事情。“免费”就是这样的一种商业模式,它代表了互联网时代的商业未来。 “免费”商业模式是一种建立在以电脑字节为基础上的经济学,而非过去建立在物理原子基础上的经济学。在原子经济中,随着时间的推移,我们周围的物品都在逐渐升值。但是在字节经济的网络......一起来看看 《免费:商业的未来》 这本书的介绍吧!