Home > Back-end >  OpenMP invoked only 32 nuclear
OpenMP invoked only 32 nuclear

Time:01-16

I have 56 nuclear in a workstation, generated by VS OpenMP parallel program, when the number of threads more than 32, a resource manager in the work shown in nuclear only 32, master is there anyone know how to solve?

CodePudding user response:

Since OpenMP with Open prefix, most propbably is Open source,
Its source code is how many nuclear can find most of macro definition or constant or variable?

CodePudding user response:

Can use OMP_GET_NUM_PROCS () function to check the most can call on the number of CPU cores, but only 32

CodePudding user response:

VS the IDE in the OMP_GET_NUM_PROCS () on the right mouse button, choose "go to definition" in the pop-up menu,

CodePudding user response:

SetThreadGroupAffinity
  • Related