forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set cpu affinity to numa in MULTI situation (openvinotoolkit#13407)
* change gpunum to 3 * hold threads for GPU for MULTI:GPU,CPU * need to first check if there is a CPU in the device list * use getNumberOfCPUCores to get CPU cores * load GPU first * assign the correct value to multiSContext->_devicePriorities * load GPU first and load CPU last and set numa for CPU * MULTI set CPU affinity to “NUMA” during load network * Load the CPU last while maintaining the original device priority * not using vector for CPU * There is no user setting affinity in MULTI, and NUMA is set for the CPU * pass key ENABLE_HYPER_THREAD to CPU plugin and merge xiaoxia PR * set ENABLE_HYPER_THREAD to NO * modify log * Modify the code according to xiaoxia and wanglei comments * Modify the code according to bell comments
- Loading branch information
Showing
6 changed files
with
126 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters