SWDEV-458943 - Add fast path in wait()
wait() is redesigned with two pathes: fast path: Use spinlock to wait for notify signal. If the signal hasn't been received for some loops, go to slow path. slow path: Use condition_variable's wait(). Improve monitor wrapper for better performance. Fix some bugs left from name removing patch. Change-Id: I893a8353121a25d11e37c8e631caf31cc1fc1f24
Dieser Commit ist enthalten in:
1 Ursprung
d208e8052f
Commit
f2ff56af9c
4 Dateien geändert
+152
-60
Keine Dateien entsprechen Ihrer Suche
@@ -265,7 +265,7 @@ release(bool, DEBUG_CLR_SYSMEM_POOL, false, \
|
||||
"Use sysmem pool implementation in runtime for amd commands") \
|
||||
release(bool, DEBUG_HIP_KERNARG_COPY_OPT, true, \
|
||||
"Enable/Disable multiple kern arg copies") \
|
||||
release(bool, DEBUG_CLR_USE_STDMUTEX_IN_AMD_MONITOR, false, \
|
||||
release(bool, DEBUG_CLR_USE_STDMUTEX_IN_AMD_MONITOR, true, \
|
||||
"Use std::mutex in amd::monitor") \
|
||||
release(bool, DEBUG_CLR_KERNARG_HDP_FLUSH_WA, false, \
|
||||
"Toggle kernel arg copy workaround") \
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren