简体   繁体   English

在嵌入式平台中充分利用GPU

[英]Getting the most of the GPU in an Embedded Platform

My platform is Ubuntu running ob Exynos4412CPU which has the Mali400GPU. 我的平台是运行Ob的具有Mali400GPU的Exynos4412CPU的Ubuntu。 I would like to do some computer vision using OpenCV and OpenGL, I'm also going to do some fragment shaders. 我想使用OpenCV和OpenGL做一些计算机视觉,我还要做一些片段着色器。 My question is what is the fastest way to copy the contents from the GPU to the CPU, which is really slow on my platform using glreadpixels. 我的问题是将内容从GPU复制到CPU的最快方法是什么,在使用glreadpixels的平台上这确实很慢。 Is it beneficial to utilize glreadpixels in its own thread or use OpenMP ? 在自己的线程中使用glreadpixels或使用OpenMP是否有益? Suggestions are welcome please :). 欢迎提出建议,请:)。

The Exynos 4412 doesn't have separate CPU and GPU memory at the hardware level; Exynos 4412在硬件级别上没有单独的CPU和GPU内存。 it's all the same RAM and physically accessible by both. 它们都是相同的RAM,并且两者均可物理访问。 Thus, there is likely to be some way to access the GPU's portion of the memory directly from the CPU. 因此,可能存在某种直接从CPU访问存储器的GPU部分的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM