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

Linux下如何绑定CPU核心运行 #16

Open
zwjwhxz opened this issue Apr 30, 2024 · 1 comment
Open

Linux下如何绑定CPU核心运行 #16

zwjwhxz opened this issue Apr 30, 2024 · 1 comment

Comments

@zwjwhxz
Copy link

zwjwhxz commented Apr 30, 2024

请问,在LIinux环境下,使用CPP ONNX,如何使用多线程编程,每个线程绑定到一个CPU核心上运行;目前设置线程数4个,调用线程绑定了CPU,但是仍然把所有CPU线程都跑到了100%,请问如何解决?谢谢

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