Change DebugMode and TdCtl registers on xehp

- refactor tests to use UnitTestHelper

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2021-09-23 16:46:42 +00:00
committed by Compute-Runtime-Automation
parent e7a7a61b4e
commit 0e58821455
12 changed files with 190 additions and 8 deletions

View File

@@ -51,6 +51,11 @@ struct UnitTestHelper {
static void setExtraMidThreadPreemptionFlag(HardwareInfo &hwInfo, bool value);
static uint32_t getDebugModeRegisterOffset();
static uint32_t getDebugModeRegisterValue();
static uint32_t getTdCtlRegisterOffset();
static uint32_t getTdCtlRegisterValue();
static const bool tiledImagesSupported;
static const uint32_t smallestTestableSimdSize;