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网络推理耗时 #2853

Open
danpeng2 opened this issue Apr 29, 2024 · 1 comment
Open

纯GPU网络推理耗时 #2853

danpeng2 opened this issue Apr 29, 2024 · 1 comment
Labels
User The user ask question about how to use. Or don't use MNN correctly and cause bug.

Comments

@danpeng2
Copy link

在Android上使用GPU推理,请问如何分别查看网络推理和CPU-GPU数据传输耗时呢?

@jxt1234
Copy link
Collaborator

jxt1234 commented May 8, 2024

可以不进行 copy ,而是调 tensor->wait 等待 gpu 运行完成。以查看网络推理 gpu 延时

@jxt1234 jxt1234 added the User The user ask question about how to use. Or don't use MNN correctly and cause bug. label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User The user ask question about how to use. Or don't use MNN correctly and cause bug.
Projects
None yet
Development

No branches or pull requests

2 participants