Skip to content

OpenMP #238

Aug 9, 2022 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @terryfrankcombe,

I've tried to play around with this before... basically: any use of OpenMP will be inherited from PyTorch, so your best bet is to look through the PyTorch discussion forums to find out the best way to enable this for your hardware. It is very picky to get this working, in my experience, but these things also change a lot between PyTorch versions and I last looked at this a while ago.

Pay particular attention to the combination of whether or not PyTorch is using MKL, whether you have AMD or Intel, etc. --- you may for example need to set MKL_NUM_THREADS.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by terryfrankcombe
Comment options

You must be logged in to vote
3 replies
@Linux-cpp-lisp
Comment options

@terryfrankcombe
Comment options

@Linux-cpp-lisp
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants