-
Notifications
You must be signed in to change notification settings - Fork 55
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
Thread pinning #99
Comments
we don't have any plans |
@soumith thanks for quick reply. lua 'threads' package is used in Torch LMDB dataloader and pinning to dedicated cores can improve performance. |
you could directly use ffi and call the relevant C functions. it's probably a lot simpler to do it that way |
@soumith thanks for suggestion, just used pthread_setaffinity_np(pthread_self(), <core_id>). |
Hello, are there any plans to add support for thread pinning on CPU cores?
The text was updated successfully, but these errors were encountered: