Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么GPU和CPU如此相仿? #9

Open
li2508264 opened this issue Sep 29, 2020 · 1 comment
Open

为什么GPU和CPU如此相仿? #9

li2508264 opened this issue Sep 29, 2020 · 1 comment

Comments

@li2508264
Copy link

感谢大佬在ncnn项目中的付出指点,我用此项目做android GPU测试,在Samsung Galaxy S8(CPU:骁龙835 GPU:Adreno (TM) 540)上用GPU CPU分别同样图像跑1000次,CPU耗时110ms GPU耗时约100ms,看起来没有实质差别,是因为大佬把CPU优化得实在太好了吗?核心测试代码如下
图像 1

@luodahei
Copy link

luodahei commented Jul 7, 2022

我测试的也是差不多的结果,cpu和gpu速度上差异很小。另外想请教下,你测试的时候cpu和gpu的推理结果完全一致嘛?我这边在安卓手机上测试的结果,有些时候是一致的,有些时候推理结果不一样。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants