SWDEV-478624 - Use readback workaround to ensure kernel arg coherence

Use env var DEBUG_CLR_KERNARG_HDP_FLUSH_WA=1 to fall back to HDP flush
workaround. The default is 0

Change-Id: I7bdb9be61da60c30d15ac9991b7cd27351e1831c
This commit is contained in:
Saleel Kudchadker committed 2024-09-11 14:53:15 -04:00
1 parent 5a810f789a
commit 9de6d4d46c
2 files changed
+7 -1

No files matched your search

+3 -1
Vedi File
@@ -258,7 +258,9 @@ release(bool, HIP_ALWAYS_USE_NEW_COMGR_UNBUNDLING_ACTION, false, \
release(bool, DEBUG_HIP_KERNARG_COPY_OPT, true, \
"Enable/Disable multiple kern arg copies") \
release(bool, DEBUG_CLR_USE_STDMUTEX_IN_AMD_MONITOR, false, \
"Use std::mutext in amd::monotor") \
"Use std::mutex in amd::monotor") \
release(bool, DEBUG_CLR_KERNARG_HDP_FLUSH_WA, false, \
"Toggle kernel arg copy workaround") \
namespace amd {