Add an environment variable for setting a global CU mask

Change-Id: I773b152023c7b8e1e679a42015748f9b23fd946d
This commit is contained in:
Aryan Salmanpour
2020-10-29 17:32:15 -04:00
committed by Aryan Salmanpour
parent 393e118b91
commit d03ee6eff6
4 changed files with 110 additions and 13 deletions
+4 -1
View File
@@ -249,7 +249,10 @@ release(bool, HIP_FORCE_QUEUE_PROFILING, false, \
release(uint, PAL_FORCE_ASIC_REVISION, 0, \
"Force a specific asic revision for all devices") \
release(bool, PAL_EMBED_KERNEL_MD, false, \
"Enables writing kernel metadata into command buffers.")
"Enables writing kernel metadata into command buffers.") \
release(cstring, ROC_GLOBAL_CU_MASK, "", \
"Sets a global CU mask (entered as hex value) for all queues," \
"Each active bit represents using one CU (e.g., 0xf enables only 4 CUs)")
namespace amd {