Use mwaitx when busy-waiting signals
Use mwaitx instructions when busy waiting for signals to reduce CPU energy usage. This can be disabled by setting HSA_ENABLE_MWAITX=0 Change-Id: Ic207895a491b2bf6dacba47ef0921df3faad5b5a
Cette révision appartient à :
1 Parent
0ed1568afc
révision
cc48dfdbff
8 fichiers modifiés
+59
-14
Aucun fichier ne correspond à votre recherche
@@ -86,6 +86,7 @@ namespace AMD {
|
||||
|
||||
namespace core {
|
||||
extern bool g_use_interrupt_wait;
|
||||
extern bool g_use_mwaitx;
|
||||
|
||||
/// @brief Runtime class provides the following functions:
|
||||
/// - open and close connection to kernel driver.
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur