[PAL] Allow overriding reported asic revision

This is helpfull to do when debugging issues on lowend asics. Navi14 can be emulated as Navi10. So can Navi22 be emulated as Navi21.

Change-Id: I693ffd45a5b03657822afdc872781901bc69b65c


[ROCm/clr commit: 26d1b28b16]
This commit is contained in:
Vladislav Sytchenko
2020-10-12 16:15:08 -04:00
parent 0914a414db
commit fcae92ce47
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -243,7 +243,9 @@ release(bool, ROC_ACTIVE_WAIT, false, \
release(bool, ROC_ENABLE_LARGE_BAR, true, \
"Enable Large Bar if supported by the device") \
release(bool, HIP_FORCE_QUEUE_PROFILING, false, \
"Force command queue profiling by default")
"Force command queue profiling by default") \
release(uint, PAL_FORCE_ASIC_REVISION, 0, \
"Force a specific asic revision for all devices")
namespace amd {