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 32CodePudding 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